From jcolby at colbyconsulting.com Sat Mar 1 01:52:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat Mar 1 01:52:00 2003 Subject: [AccessD] Daterange Withevents demo Message-ID: Some of you might remember Julie Schwalm's Date Range tool. It is an option group driven set of radio buttons that allow you to select one of 12 date ranges such as month to date, year to date etc. and the code then fills in two text boxes with the from date and to date. I just got through overhauling my reporting form in my Client Billing app. I used her date range selector, and moved that to a withevents class. One of the things that I never particularly liked was the size required to have an option group. I have changed the option group to a combo box. Otherwise, it is identical to the original. It is on my site under the Withevents demo button. DateRangeWithEvents. Open the demo and the date range form opens. Select a date range and watch the text boxes change. This is a classic example of actual useful Withevents programming. All you have to do to actually use the code in your projects is copy the class to your project, cut and paste the three controls to your form and cut and paste the form's class initialization code. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From subs at solution-providers.ie Sat Mar 1 04:14:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Sat Mar 1 04:14:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland From gustav at cactus.dk Sat Mar 1 06:25:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 06:25:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> Message-ID: <13312369686.20030301132446@cactus.dk> Hi Drew > .. but somehow fate kicked me to Dallas...go figure! A woman! /gustav From gustav at cactus.dk Sat Mar 1 06:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 06:37:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: References: Message-ID: <813044456.20030301133601@cactus.dk> Hi John Try running this command: winword.exe /a That should reset all registry settings of Word. /gustav > We have a user in our Probation department that has completely lost her > menu bar in MS Word. I cannot recreate the problem, and I have never > seen it before. This is the "main menu" bar...the one with "File", > "Edit", etc. From carbonnb at sympatico.ca Sat Mar 1 07:22:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sat Mar 1 07:22:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <813044456.20030301133601@cactus.dk> References: Message-ID: <3E606D75.16699.2210D2D@localhost> On 1 Mar 2003 at 13:36, Gustav Brock wrote: > Try running this command: > > winword.exe /a > > That should reset all registry settings of Word. winword.exe /a doesn't actually reset anything. It just loads Word without loading the normal.dot, any of the startup templates. I think the switch you are thinking of is /r, but don't quote me on that. It's not listed in the help file, so I think it's an undocumented switch -- Bryan Carbonnell - carbonnb at sympatico.ca RAM Disk is not an installation technique! From artful at rogers.com Sat Mar 1 07:58:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 1 07:58:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Message-ID: <042701c2dffa$76817990$8e01a8c0@Rock> Another approach that does not require moving to SQL and yet delivers all the speed of a one-MDB solution is to use Replication Manager and place a local replica on each PC using the app. Then on the server you place the Replication manager itself and synchronize the local replicas with the "server" replica every 5 minutes or every hour or whatever interval is appropriate to your app. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 1, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 1 08:12:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 08:12:00 2003 Subject: [AccessD] Can't Open the Mail Session In-Reply-To: <001001c2dea2$572d73e0$0c21fea9@OneVoiceLaptop> References: <001001c2dea2$572d73e0$0c21fea9@OneVoiceLaptop> Message-ID: <19318744723.20030301151101@cactus.dk> Hi Stephen Have you checked the registry setting: HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Run/OptionalComponents/MAPI/Installed Should be 1. /gustav > I'm having a problem with the SendObject function. I keep getting the > following error: "Microsoft Access Can't Open the Mail Session. Check Your > Mail Application to Make Sure That It's Working Properly." > I found the following KB Article on MS > (http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b283173) which > is the exact problem I'm having. Unfortunately the resolution does not work > for me since I do not have the registry key referenced by the article. I am > developing in Access 97 on a Windows XP Pro machine. From gustav at cactus.dk Sat Mar 1 08:19:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 08:19:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <3E606D75.16699.2210D2D@localhost> References: <3E606D75.16699.2210D2D@localhost> Message-ID: <17719165097.20030301151802@cactus.dk> Hi Bryan Hmmm .. you are probably right - I may recall that incorrectly, sorry. /gustav >> Try running this command: >> >> winword.exe /a >> >> That should reset all registry settings of Word. > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch From DWUTKA at marlow.com Sat Mar 1 08:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 1 08:51:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linke d tables Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821DA@main2.marlow.com> Did you find and follow the Opportunistic Locking issue, with Windows 2000 Servers? There is an article or two about it on the Knowledge Base. Drew -----Original Message----- From: Mark L. Breen To: accessd at databaseadvisors.com Sent: 3/1/03 4:25 AM Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Mar 1 08:51:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 1 08:51:08 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821DB@main2.marlow.com> Nope worse...a job! Drew -----Original Message----- From: Gustav Brock To: Drew Wutka Sent: 3/1/03 6:24 AM Subject: Re: [AccessD] OT Friday: Ice Adventure! Hi Drew > .. but somehow fate kicked me to Dallas...go figure! A woman! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Mar 1 09:58:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat Mar 1 09:58:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Message-ID: Mark, This is a known issue. Part of the problems is OPLOCKS or opportunistic locking as Drew already mentioned. The other is the lock manager, which under NT/Win 2000 performs poorly. The simple fix is that as soon as the app opens, open a reference to the BE and close this reference when the app completes. This can be as simple as opening a hidden form bound to a dummy table in the BE. The other issue here is virus scanners that check a file each time it's opened. When all references on a BE go out of scope, it's closed. Next time it's needed it's reopened and this sometimes causes a virus scan to occur. Make sure your virus scanner is not checking MDB files. Take a look at the following MSKB article which also offers some other pointers: Q300216 - HOW TO Keep a Jet 4.0 Database in Top Working Condition http://support.microsoft.com/default.aspx?scid=kb;[LN];Q300216 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Saturday, March 01, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.nu Sat Mar 1 10:00:00 2003 From: conny at qad.nu (Conny Johansson) Date: Sat Mar 1 10:00:00 2003 Subject: SV: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <3E606D75.16699.2210D2D@localhost> Message-ID: <000f01c2e00b$9360c550$0200a8c0@pappa> It's documeted here http://support.microsoft.com/?kbid=210565 Conny -----Ursprungligt meddelande----- Fr?n: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] F?r Bryan Carbonnell Skickat: den 1 mars 2003 14:21 Till: accessd at databaseadvisors.com ?mne: Re: [AccessD] OT - Menu bar missing in MS Word On 1 Mar 2003 at 13:36, Gustav Brock wrote: > Try running this command: > > winword.exe /a > > That should reset all registry settings of Word. winword.exe /a doesn't actually reset anything. It just loads Word without loading the normal.dot, any of the startup templates. I think the switch you are thinking of is /r, but don't quote me on that. It's not listed in the help file, so I think it's an undocumented switch -- Bryan Carbonnell - carbonnb at sympatico.ca RAM Disk is not an installation technique! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound meddelandet ?r kontrollerat och inneh?ller inga virus Virus Database (VPS): 2003-02-28 Testat den: 2003-03-01 16:59:34 avast! ?r copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From martyconnelly at shaw.ca Sat Mar 1 11:40:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 11:40:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! References: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> Message-ID: <3E60F05E.90308@shaw.ca> Doesn't anyone use tire chains anymore, they have quick strap ons now, not the old leather belt strap ons. They won't let you over some passes at times in washington state without them. Worthwhile in winter to keep a set in the trunk, along with a big bag of kitty litter, shovel,space blankets and a couple of candles. Kitty litter provides better traction than salt (salt only works at certain temperatures) and a 30 lb bag gives a little extra rearend traction. Candles (windows cranked down slightly) when lit will keep the internal heat in a car slightly above freezing even at 30 below so you don't have to run out of gas keeping the car heated or even worse if the exhaust gets plugged by snow. Drew Wutka wrote: >Maybe it's the weight distribution of that Caprice that makes it feel much >better on the ice. I spent some time in Idaho...early driving years...which >definitely gets the winter roads. In fact, the truck I had then was a >snowplow for most of it's life...however, the guy I bought it from put a >brand new engine in it, along with all sorts of other tweaks...including >putting 38" Mudders (can't remember the brand anymore) on. Man, I loved >that truck. It got great traction in the mud (obviously), pretty good on >road, excellent off road, and snow wasn't too bad either. But ice and >rain...LOOK OUT! (I usually drove my roommates car in the icy weather, >because those mudders had close to 0 traction on ice.). When I moved to >california later with that truck, that's when I learned how horrible mudders >do in wet weather (well wet with a little sprinkling of engine oil) . > >I have to admit my current 'new(er)' car has a decent traction system, Front >wheel drive, and it drive quite nicely with this weeks weather. Though it's >a small 'mid sized' car, and the Caprice is a monster car. So even though >both handle themselves well, I would have still have prefered driving my >Caprice...with that much more room and steel between me and the other >'drivers'. > >Personally, I swore I would never live in a 'hot' state (not after 2 tours >in the Persian Gulf....inside an engine room....) I wanted to stay in >Washington...but somehow fate kicked me to Dallas...go figure! > >Drew > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Friday, February 28, 2003 10:46 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT Friday: Ice Adventure! > > >With boats the steering is generally done at the propulsion end. Same is >true of most jet propelled aircraft. How many semi tractor trailers have >propulsion at the back trailer wheels. You really can't compare apples and >marshmallows or cars and ski doos. > >Where I live we often have snow for six months of the year. Generally >speaking, it is far more important to be able to stop or turn than to >accelerate. Traction at the drive wheels in the direction of propulsion is >necessary for getting in motion but, like flying, if you can't land, then >you had better not be taking off. > >Where the rubber meets the road is the prime consideration. Proper tires >will give you traction forward, backwards and lateral. Any attempt to >exceed the coefficient of friction will yeild a skid. If this happens while > >a vehicle is in motion in a turn, that end of the vehicle where traction is >lost will slip sideways with the centrifugal aceleration. If it's rear >wheel drive, the back whips around since the lateral forces are in addition >to the propulsive forces and they exceed forces on the passive wheels. Once > >the skid starts, the motion is lateral to the direction of travel and after >it exceeds 10 or 15 degrees, there is progressively less chance of stopping >the skid by steering into it. > >On a front drive vehicle, it is trivial to regain control. The centrifugal >forces slide the front end of the car in its direction of travel. The car >doesn't turn as well but you don't need to turn into the skid nearly as much > >as with a rear drive vehicle to maintain control. Sure you're going to >drift wide of your intended course but the same is even more true of a rear >wheel drive vehicle. In either case, if you have better tires, it benefits >both front and rear drive vehicles. > >One additional factor which makes all the difference in getting a car in >motion is the fact that the weight distribution of rear drive and front >drive cars is such that front wheel drives have, in the vast majority of >cases, a greater proportion of the weight over the drive wheels. The 50/50 >of a BMW is brilliant for dry pavement high G manouvering but in snow, the >61/39 of a VW Golf means that when acceleration is traction limited, with >equal tires, the Golf is going to leave the BMW in the flurries. The old >Beetles with their rear engine rear drive were acceleration monsters but, >that heavy rear end was a weather vane in a skid. Don't be going there. > >I've driven front and rear drive cars and my current commuter vehicle has 4 >wheel drive capability. When it gets real slick, I get out and lock the >front hubs. The last time I engaged them during a commute was last winter. > >I find that the biggest advantage of driving in 4wd mode is that I can get >out of the way of all the incompetent drivers. Although 4 times 0 traction >is 0 acceleration, 4 times 20 foot pounds acceleration is double 2 times 20 >foot pounds. A four wheel drive can out accelerate and out climb any two >wheel drive vehicle with similar tires. In a skid you get a relatively >controllable four wheel drift and, if you have a manual transmission, you >have very smooth engine braking signficantly superior to that which you get >with an automatic. Absolute best is AWD with electronic traction control >(braking on spinning wheels). I've driven for over 33 years of 6 month >winter and have never had a traction loss induced accident. The most >driving fun I ever had was an 81 Tercel front drive sub compact. In reverse > >at speed, blip the throttle when you haul on the wheel and the heavy front >weather vanes around like an arrow. Hit the clutch and throw her into 2nd >and you're off like a bullet in exactly the direction you were headed in >reverse. Going forward, haul on the park brake and your back will whip any >direction you please because your front wheels are still pulling and in >control. Great for sliding sideways into that parking spot that you >couldn't parallel park into. > >The worst snow drivers I ever met are warm climate immigrants who grew up >without learning to drive until later in life. Next are people who lack >winter driving experience. I remember driving through northern California >and once over Denver. The roads were closed because people were all over >the road, in ditches and slid against guard rails on those fancy steep >banked mountain roads. In Denver, we told them we're from Canada and they >let us pass through after turning around several thousand cars. In >California, I just ran the road block because they insisted we put on chains > >and I didn't have any and have never had the need for them driving a >passenger vehicle. It was no worse than conditions we experience driving >across town several months of every year. I suppose they truly believed >they were saving us from certain death but I couldn't allow myself to be >governed by a bunch of misguided lunatics. I'm very pleased not to be in >the DFW region this week because it would have seriously tried my patience. > >Hen > > > > >>From: Drew Wutka >>Reply-To: accessd at databaseadvisors.com >>To: "'accessd at databaseadvisors.com'" >>Subject: RE: [AccessD] OT Friday: Ice Adventure! >>Date: Fri, 28 Feb 2003 19:53:40 -0600 >> >>I live in Mckinney, and work in Dallas, so I know what you are talking >>about. I drove home Monday night at around 1 am. It took over 2 hours to >>get home, however, at least most of the road was 'ice chunks', it hadn't >>glazed over yet. >> >>However, one thing is for sure, Texans don't know how to drive in rain, >>snow, or ice. Especially ice. Somehow, a texan in a 4WD vehicle thinks >>they have more traction by having four wheel drive. Not quite, you just >>have a vehicle that has 4 powered wheels with no traction! I even >>heard a newsperson tell people that they better use front wheel drive >>vehicles. Why? Have you even seen a snow mobile with it's 'skis' in the >>back? No, the tread is in the back, and the skis are up front steering. >>When you have slippery terrain, the last thing you want is the 'turning' >>mechanism trying to 'pull' your vehicle. That just causes your back wheels >>to spin out behind you. You need a rear wheel drive vehicle, that is >>pushing your front wheels/skis. >> >>Just my observation. I stayed home Tuesday, spending most of the day >>badgering my DSL company...hehehehe Then Wednesday I had to find a doctor >>who was open, so I could get a sinus infection cleared up. Hot cold hot >>cold...means Drew is gonna have his teeth hurting from a sinus infection! >> >> >>I must say, I will treasure Tuesday for some time to come. My 4 year old >>daughter and I went to check our mail (which is up a pretty big hill....) >>on >>Tuesday, and she just had the time of her life slipping and sliding all >>over >>the ice (none of her shoes have 'rugged' soles, they're all pretty 'flat', >>I >>have a good pair of hiking sneakers with almost cleat like tread.). Not >>too >>mention I ice skated a lot as a kid, and my late teens (bet none of you >>knew >>I got 2 silver medals for figure skating in the junior olympics (I think it >>was in Calgary...but I was between 8 and 10, so geography wasn't my strong >>point then.....)). >> >>Personally, I think the snow storm was a plot to keep me from getting my >>flat screen monitor this weekend. (It is now 'marked' for Monday). It was >>probably sitting on I-35 since Tuesday......it better not have cracked in >>the cold! >> >>Drew >>-----Original Message----- >>From: Elam, Debbie [mailto:DElam at jenkens.com] >>Sent: Friday, February 28, 2003 6:05 PM >>To: 'accessd at databaseadvisors.com' >>Subject: [AccessD] OT Friday: Ice Adventure! >> >> >>Since it is Friday, I thought all of you might be entertained by my ice >>storm mishaps. >> >>As many of you probably heard, Monday night the DFW area was hit with a >>winter mix storm. This one was almost entirely sleet, but enough freezing >>rain to weld it together and give it a slick crust. >> >>I have a VBA training class this week. The trainer came into town for this >>week only so there was no way to make the class up. I was determined then >>to make it in to work despite the ice. >> >>Tuesday morning was not bad in spite of the layer of ice on the streets. >>Only a few spots were so slippery that driving slow was not enough to >>compensate. I drove to the park and ride and got on the bus and made it in >>just about double normal driving time. Coming home was a different story. >> >>First, I arrived at the bus stop around 5:00. Another woman had been >>waiting since 4:00, but no busses had come by. She called Dart (Dallas >>Area >>Rapid Transit) and discovered there were fewer than normal busses due to >>driver absences and the first bus had gotten stuck on another street. >>Eventually the bus after showed up. We got stuck with the wheels spinning >>a >>couple of times in downtown, but the driver managed to get us started again >>in a few minutes. >> >>On the freeway home, 3 18 wheelers had slid slightly sideways and one after >>the other blocking the entire freeway. Forced to exit we got stuck on the >>service road. A roving band of helpful men were walking the area with >>shovels and broke the ice under the wheels of our bus and other stuck >>vehicles. We were on the way again. >> >>We stopped again when the driver realized the side street she had chosen >>ran >>through a large gully. The bus would never had made it up the other side. >>Turning around was hampered by drivers going ahead of the bus then behind >>it, then ahead. Because of this we were stuck across several lanes or >>traffic when letting us go would have gotten us out of everyone's way in 5 >>minutes if traffic had stopped for us. >> >>Once turned around we make good progress for awhile. Then about 2 miles >> >> >>from the park and ride we come upon a handicap bus stuck near the top of a > > >>low incline. Breaking our momentum was deadly we got stuck at the bottom. >>I considered walking to the park and ride, but did not get desperate enough >>to do it until we had been there for nearly 2 hours. At this point my >>normally less than 1 hour bus ride had taken over 5 hours. >> >>I bailed from the bus, intending to walk to the park and ride and get my >>truck. It was slippery enough I chose to walk in the grass. It was harder >>and I had to stomp a little to break through the ice crust, but I only fell >>down twice. >> >>On the walk I encountered cars that had either slid into drainage ditches, >>or were unable to get enough traction to move every 200 yards or so. This >>was demoralizing enough that I decided, if I tried to drive home, I would >>end up abandoning the truck or sleeping in it. The park and ride was a >>much >>better place to abandon and I decided to try to walk the rest of the way >>home. Unfortunately this is another 5 miles. Do-able, but tough. >> >>I called Hunter to tell him of my decision. He talked about coming to get >>me, but we discarded that idea since he would likely just end up abandoning >>or wrecking our other car too. Then he realized we have an ATV that could >>make the short trip if anything could. We agreed to meet partway. He had >>one bad spot getting to me. He yielded to a truck coming the other >>direction (it needed the momentum a lot more than the ATV) and ended up >>sliding into a ditch that was deep enough to have liquid water in it. So >>Hunter, rather wet and cold by that time, finds me at the agreed meeting >>place. I get on the back of the ATV, hold on tight and see a blur because >>my helmet visor fogs up. we make it home with no more incident, just a few >>slightly slippery corners. We made it home about 1:00 AM. >> >>To top all of this off, I had lost my voice due to the crud going around, >>and I was hacking up some really disgusting stuff. Everyone was very >>concerned that I had gotten too cold while walking, but actually I was too >>hot. The stomping gait was so energetic that I was sweating for much of >>the >>walk. The only really cold part was on the ATV. For the most part, the >>drive just cooled me down to normal. There was ice on the back of the seat >> >> >>from the storm and my rear melted it during the drive. Needless to say > > >>this >>got my rear soaked and THAT was cold. >> >>I did not even attempt to leave the house until 5:00 PM the next day when >>we >>could finally see the road where the 34 degree temperatures and a little >>traffic had melted it. The driveway still nearly trapped us though. >> >>I found out yesterday that the bus never made it to the park and ride. >>They >>got out of the spot where they were stuck, but had to turn around and only >>got a little closer before they gave up at 11:00. A few brave souls gave >>the others rides the rest of the way to the park and ride. everyone I >>spoke >>to had not made it home in their cars. They had to abandon them along the >>way as they got stuck too. One woman nearly slid into a creek, and >>abandoned the car rather than take the chance of sliding off the bridge >>while she tried to get unstuck. She had a tow-truck pull it to a melted >>spot late Wednesday and drove it home then. >> >>Debbie >> >> >>- JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject >>to the Attorney-Client Privilege, (2) an attorney work product, or (3) >>strictly confidential. If you are not the intended recipient of this >>message, you may not disclose, print, copy or disseminate this information. >>If you have received this in error, please reply and notify the sender >>(only) and delete the message. Unauthorized interception of this e-mail is >>a >>violation of federal criminal law. >> >> This communication does not reflect an intention by the sender or the >>sender's client or principal to conduct a transaction or make any agreement >>by electronic means. Nothing contained in this message or in any >>attachment >>shall satisfy the requirements for a writing, and nothing contained herein >>shall constitute a contract or electronic signature under the Electronic >>Signatures in Global and National Commerce Act, any version of the Uniform >>Electronic Transactions Act or any other statute governing electronic >>transactions. >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 1 11:53:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 11:53:01 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E60F352.5090909@shaw.ca> Windows 2000 SP3 has the necessary fix for this OPLOCKS problem. However it must be loaded on both the server and the workstations. http://support.microsoft.com/default.aspx?scid=KB;EN-US;q260910& Jim Dettman wrote: >Mark, > > This is a known issue. Part of the problems is OPLOCKS or opportunistic >locking as Drew already mentioned. > > The other is the lock manager, which under NT/Win 2000 performs poorly. >The simple fix is that as soon as the app opens, open a reference to the BE >and close this reference when the app completes. This can be as simple as >opening a hidden form bound to a dummy table in the BE. > > The other issue here is virus scanners that check a file each time it's >opened. When all references on a BE go out of scope, it's closed. Next >time it's needed it's reopened and this sometimes causes a virus scan to >occur. Make sure your virus scanner is not checking MDB files. > > Take a look at the following MSKB article which also offers some other >pointers: > >Q300216 - HOW TO Keep a Jet 4.0 Database in Top Working Condition >http://support.microsoft.com/default.aspx?scid=kb;[LN];Q300216 > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen >Sent: Saturday, March 01, 2003 5:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access & Windows 2000 Performance issues with linked >tables > > >Hello All, > >I was asked recently to move a database that I created three years ago from >a Win NT 4.0 Server server to a new Windows 2000 Server server. > >The database application that I developed is built on a FE, a BE and a MDA >file and also a .mdw file. > >When the backend is on the NT server, performance is fine, but when I move >it to the new Windows 2000 server ( a super duper server with loads of disk >/ ram / processor ), it grinds to a halt. > >To make a long story short, it appears that Microsoft have introduced >something to the Win2K and WinXP OS's that cause linked tables to perform >very slowly. There is an article in the KB about this. > >Their suggestion (as opposed to the fix) is instead of talking to the >properties of the linked tables, to programatically open the backend and >talk directly to the properties of the source tables. > >In my case, I would have to re-write the entire application and it is not >ecomomical to do so, a better alternative to that would be simply to rebuild >the app in SQL and use ADO. > >However, I had another idea which was to bring the BE back into the FE and >leave it as one .mdb file. When I tried that it solved my problem. > >The purpose of this email is to share the information with you guys and ask >if you have experienced this also. > >Incidently, the 'normal' operations such as reading data, querying etc, was >never impaired, it was only when talking to linked tables, > >If you wish to demonstrate this for yourself, create a db with one table and >with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win >2k machine, it can be Pro or Server. Then create another db and link to >Somename_BE.mdb. Finally, let the form wizard create a new form and pull >all the fields in. The form creatation should talk you about ten seconds or >so. If you do the same thing on a Win NT Server, it happens in one second. > >I do not know if this will help anyone, but hopefully it might. > >Best Regards > > >Mark L. Breen >Solution Providers Ltd >Ireland > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 1 12:02:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 12:02:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E60F4DE.4070602@shaw.ca> Here is an article on Opportunistic Locking (OPLOCK) and Read Caching on Microsoft Windows Networks Although it is for DataFlex databases applies to Access too. http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html From hsimpson88 at hotmail.com Sat Mar 1 12:37:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sat Mar 1 12:37:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: I always used the old metal chains and only ever needed them for trailer towing in the mountains in severe winter conditions. Put them on driving through the western USA to Mexico in the late 60's or early 70's. Maximum speed was only about 20 kph or they would tear apart the inside of the wheel wells. Still, better than spending the night on the road. You give good advice and I'd like to add that a cell phone can be a life saver. I often drove in -40 weather in Northern Alberta. The distance between towns like Wandering River and Ft. McMurray is 63 miles and until recently it was a no shoulder two lane. Not one farm or building or human habitation of any kind between these and many other points. I never needed it to get help for myself or others but it is a potential emergency response time life saver. What kills in winter driving is excessive speed. The biggest factors are visibility (worst chain reaction accidents in history are due to sand storms, fog and blowing snow), and traction. When visiblity goes down, and it also goes down due to uncleared or fogged windows (Windows may have flaws but we can't blame Microsoft for these), then many people drive too fast for the conditions and they overreact when they abruptly encounter a situation and their vehicle can not respond adequately with the reduced traction and warning time. If you don't want to be hit, please make sure you have your lights on even during daylight. The other drivers are often too lazy to clear his windows of ice or fog. Highbeams mostly light up fog and blowing snow and reduce a driver's ability to see a distance but low beams and tail lights are important and let others see you. Hen >From: MartyConnelly >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT Friday: Ice Adventure! >Date: Sat, 01 Mar 2003 09:39:42 -0800 > >Doesn't anyone use tire chains anymore, they have quick strap ons now, not >the old leather belt >strap ons. They won't let you over some passes at times in washington state >without them. >Worthwhile in winter to keep a set in the trunk, along with a big bag of >kitty litter, shovel,space blankets and a couple of candles. >Kitty litter provides better traction than salt (salt only works at certain >temperatures) and a 30 lb bag >gives a little extra rearend traction. Candles (windows cranked down >slightly) when lit will keep the internal heat in a car slightly above >freezing even at 30 below so you don't have to run out of gas keeping the >car heated or even worse if the exhaust gets plugged by snow. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jhale at houston.rr.com Sat Mar 1 14:04:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 1 14:04:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C670@TAPPEEXCH01> Message-ID: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> I have found that many of these products don't handle a mixture of portrait and landscape pages in the same report. Jim H -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Friday, February 21, 2003 8:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] PDF for word ... I tested PDF995 with our Access based quoting system, and the results were identical to that of Acrobat. The quotes produced by this application range between 20 and 100 pages, and contain embedded graphics (logos), lines and boxes. I noticed that the files produced were larger, but still we're talking KB not MB or GB! I guess the burning question is this: Is it really necessary to have output that is IDENTICAL to Acrobat? After all, I have seen Acrobat mangle up certain documents, so is it really necessary to have a competing product emulate that result? I would like to hear the differences, though. We are about to purchase licenses for all of our workstations (~50), and it would be nice to know about any limitations before purchasing it. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, February 21, 2003 7:23 AM To: Brett Barabash Subject: Re: [AccessD] PDF for word ... Hi Brett and Tom et al Be careful with these. I did a test some months ago and none of them (nor Win2pdf) created output identical to that from Acrobat. For some cases any pdf is fine, I know, but for critical jobs it is not. /gustav > How about PDF995 (www.pdf995.com)? Installs like any other Windows print > driver, so you can create PDF files from any document just by printing to > it. And under $10 bucks to boot! > FYI - low price - $35 & $40. > http://www.docauto.com/MakePDF.htm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbcfour at triad.rr.com Sat Mar 1 14:26:01 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:01 2003 Subject: [AccessD] Access 2002 database format Message-ID: <001301c33dac$187eac90$9865fea9@cook> Posted on behalf of William Hindman, who's posts don't appear to be making it through. Donna ...there is a problem with bloating in the XP storage format ...creating an empty mdb and importing everything into it will get rid of the bloat ...MS will get around to fixing this sooner or later :( ...in the meantime, since I do require mdes, I'm stuck with the XP format ...so far the bloating, now that I can fix it easily, isn't a major problem ...but if I didn't require mdes I'd be using the 2K format. ...there appears to be VERY little information available on the differences other than some vague reference to the XP format having some features applicable to future Access versions and supposedly more efficient storage ...considering the definite bloat problem, I have issues with the MS definition of "efficient" :( William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Wednesday, February 26, 2003 9:54 AM Subject: RE: [AccessD] Access 2002 database format Charlotte - Here is something to be aware of. Microsoft Knowledge Base Article - 810415 Access 2002 Format Database Bloat Is Not Stopped by Compacting The KB article describes a system table in XP that is not compacted when it should be. Microsoft confirms that this is a problem and they recommend developing using the 2000 format when you can. I was developing an ~ 15 Mb database in 2002 format, but it bloated to 3 - 4 times this size, and decompiling/compacting didn't shrink it. I moved all the objects to a 2000 db file, and then was able to get it back down to the normal size. Dan Waters --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:23 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:23 2003 Subject: [AccessD] Test Message-ID: <001401c33dac$19ffa740$9865fea9@cook> Message Donna --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:35 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:35 2003 Subject: [AccessD] .NET Message-ID: <001501c33dac$289af8e0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna ...fwiw, Mike Gunderloy has a pretty good synopsis of the next Access in his latest newsletter ...you can read it at www.larkware.com William Hindman ----- Original Message ----- From: > To: > Sent: Monday, February 24, 2003 12:43 PM Subject: RE: [AccessD] .NET > Stuff it > > Office 11 contains a lot of XML related stuff. Access has little of Interest > but some improvements to XML exports and a few other minor things. > > Access 12 may see major changes towardds .NET They are already working on it. > > Major disappointment awaits the ADP people with the new version of SQL Server. > > Martin > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:36 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:36 2003 Subject: [AccessD] .NET Message-ID: <001601c33dac$29f2c0b0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna > > > Sent: 23 February 2003 00:42 > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] .NET > > > > > > > > > I think that it's time we created a .Net list. Clearly many of us are > > > > > interested, but it has little or nothing to do with Access, so let's > > > > > take these threads elsewhere, to spare the pure-Access folk. A. ...there is a problem with bloating in the XP storage format ...creating an empty mdb and importing everything into it will get rid of the bloat ...MS will get around to fixing this sooner or later :( ...in the meantime, since I do require mdes, I'm stuck with the XP format ...so far the bloating, now that I can fix it easily, isn't a major problem ...but if I didn't require mdes I'd be using the 2K format. ...there appears to be VERY little information available on the differences other than some vague reference to the XP format having some features applicable to future Access versions and supposedly more efficient storage ...considering the definite bloat problem, I have issues with the MS definition of "efficient" :( William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Wednesday, February 26, 2003 9:54 AM Subject: RE: [AccessD] Access 2002 database format Charlotte - Here is something to be aware of. Microsoft Knowledge Base Article - 810415 Access 2002 Format Database Bloat Is Not Stopped by Compacting The KB article describes a system table in XP that is not compacted when it should be. Microsoft confirms that this is a problem and they recommend developing using the 2000 format when you can. I was developing an ~ 15 Mb database in 2002 format, but it bloated to 3 - 4 times this size, and decompiling/compacting didn't shrink it. I moved all the objects to a 2000 db file, and then was able to get it back down to the normal size. Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, February 25, 2003 2:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access 2002 database format Does anyone know of reasons to chose the 2002 format over the default 2000 format, or vice versa, in AXP? I can't think of any reason except to be able to create an mde, which we can't do with our app anyhow because of the design changes it makes to itself at runtime. Charlotte Foust --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:48 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:48 2003 Subject: [AccessD] more on printing Message-ID: <001701c33dac$2b5e5ea0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna Susan ...if you do this from code then you may need to look into using three methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the default printer if none is specified in the report properties ...but you can use OpenReport to preview the report, PrtDevNames to select an available printer, and PrintOut to select its properties such as copies to print, print range, print quality, etc. ...in other words it is possible to use the full range of available printers and their capabilities from code ...HTH :) William Hindman ----- Original Message ----- From: "Susan Harkins" > To: > Sent: Thursday, February 27, 2003 11:34 PM Subject: [AccessD] more on printing > After setting all the appropriate Printer properties and choosing a > nondefault printer, how do you actually print a report? Will the OpenReport > method print to the set printer or always print to the default printer? > > Susan H. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:27:00 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:27:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <001801c33dac$2cb7d420$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be making it through. Bryan ...the /a loads Word without any of the template settings, startup macros, add-ins, or registry data key settings ...basically it tosses anything the user could have done ...if the menu bar loads correctly, it greatly simplifies finding the problem. William Hindman ----- Original Message ----- From: "Bryan Carbonnell" > To: > Sent: Saturday, March 01, 2003 8:21 AM Subject: Re: [AccessD] OT - Menu bar missing in MS Word > On 1 Mar 2003 at 13:36, Gustav Brock wrote: > > > Try running this command: > > > > winword.exe /a > > > > That should reset all registry settings of Word. > > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > RAM Disk is not an installation technique! > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From jhale at houston.rr.com Sat Mar 1 14:48:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 1 14:48:00 2003 Subject: [AccessD] Daterange Withevents demo In-Reply-To: Message-ID: <01b201c2e033$f18dc830$2602a8c0@D4MXWR01> Cool. Thanks. Jim H -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Saturday, March 01, 2003 1:52 AM To: AccessD Subject: [AccessD] Daterange Withevents demo Some of you might remember Julie Schwalm's Date Range tool. It is an option group driven set of radio buttons that allow you to select one of 12 date ranges such as month to date, year to date etc. and the code then fills in two text boxes with the from date and to date. I just got through overhauling my reporting form in my Client Billing app. I used her date range selector, and moved that to a withevents class. One of the things that I never particularly liked was the size required to have an option group. I have changed the option group to a combo box. Otherwise, it is identical to the original. It is on my site under the Withevents demo button. DateRangeWithEvents. Open the demo and the date range form opens. Select a date range and watch the text boxes change. This is a classic example of actual useful Withevents programming. All you have to do to actually use the code in your projects is copy the class to your project, cut and paste the three controls to your form and cut and paste the form's class initialization code. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 1 16:53:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 1 16:53:00 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> Message-ID: <06b701c2e045$3cc628e0$e1ecffcc@SusanOne> I think my main problem has been the definite separation between setting the default printer for the session and setting the printer for a particular form and report -- I think I'm OK now. :) Thanks everyone for your help and hope you don't hear from me again on the subject! ;) Susan H. > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > default printer if none is specified in the report properties ...but you can > use OpenReport to preview the report, PrtDevNames to select an available > printer, and PrintOut to select its properties such as copies to print, > print range, print quality, etc. ...in other words it is possible to use the > full range of available printers and their capabilities from code ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From budge at magicaldesk.com Sat Mar 1 20:48:00 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Sat Mar 1 20:48:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Mar 2 00:06:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 2 00:06:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sun Mar 2 01:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 2 01:56:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> References: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> Message-ID: <75583729.20030302085523@cactus.dk> Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. From gustav at cactus.dk Sun Mar 2 03:19:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 2 03:19:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> References: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <1235584409.20030302101843@cactus.dk> Hi Rocky At that price one would expect a brand name slightly-over-entry level server machine (IBM, HP) at 1.6 to 2.0 GHz P4 and an 18 GB SCSI drive with three years warranty with at least the first year as on-site warranty. It's true that a work machine can act as a server but it doesn't make it a server machine. These are built for continuos run and have better cooling and space for drives - and often they have server monitoring facilities. However, there is a "grey zone" of entry level servers with IDE disks and often these are little more than renamed tower cased work machines. This would be an upgrade of your client's setting - a working shared Win98 machine is pure luck - it's proved but still pure luck. A real server can be expected to work without luck. This does cost some more money. What is certainly missing from the budget is a backup solution. Don't go without it. The budget for hours is too low. Aside from the server installation all service packs must be applied, data moved, printers installed and tested - and all the work machines will need a walk through. It will take some hours just to test a backup not to mention if the client wants proof of a true and complete restore from the tape. Two days for a skilled guy is more appropriate. If your client wants to go for a Windows server, consider the small business OEM pack which carries a cut down SQL Server as well. But why five licenses? Ten will be needed - where did this supplier earn his reputation? Or didn't your client provide full needed specs? The cost for a Novell NetWare Small Business pack will be much smaller and the client will need only six licenses as they count for concurrent users (not by seat). If budget is tight consider Linux, say a Red Hat or Caldera server distribution, which are at zero cost in licensing and a small amount for the package. Also, processor requirement for Novell and Linux is about 50% of that for a Windows server which means that your client will be fine with a good machine on sale with as little as 500 MHz processor speed. For current models, your client can do with an entry level server. But given the additional costs for software, backup solution and installation the difference in the total budget may be of minor importance. But no matter what, go for a brand name machine (yes, I know, there are bunches of fine white boxes. But this is not you but your client). /gustav > I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with > 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. > A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that > is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. > Right now his "server" is an old Win98 box, slow, but effective. > My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? From ralphb at cwgsy.net Sun Mar 2 08:48:00 2003 From: ralphb at cwgsy.net (Ralph Bryce) Date: Sun Mar 2 08:48:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> Hi Rocky At 22:06 1/3/2003 -0800, you wrote: >I have a client who wants to upgrade the server on his network. There's >about 10 seats on his network, of which maybe 6 are being used. Seems to >me that he could use any good, fast P4 box with 1/2 gig of RAM , >etc. Which is well under $1000 these days from dell, or gateway, with >three years on-site. >A local, old, fairly reputable company in San Diego - Datel - is quoting >him $1457 for and Intel entry level server with a P4 (speed unknown), >512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another >$775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 >and 10 hours of installation charged at a price unspecified in the quote. > >My question is, what is the difference between a box that someone like >Dell calls a server and an ordinary computer? Does he need a server? Buy a "proper" server - check out the prices of Dell servers these days (the 1600SC comes to mind); they're excellent value and come with 2GHz Xeons, ECC RAM (error checking RAM - very important in my view), better cooling, the ability to expand to dual power supplies, multiple hard disks and RAID arrays for data mirroring. The base machines are not that much more than a decent PC. You will need ten client access licenses (CALs) for between 5 and 10 users (CALs come in blocks of five). You should also thoroughly verify your server hard disk integrity before committing data to it. Something like Steve Gibson's Spinrite should do the trick - that will take some considerable time to run a thorough test on your drive - don't underestimate the time for installation and setup (5-10 hours is pretty conservative). And don't forget the UPS and the backup - some backup solutions can cost almost as much as the server, but consider the cost of lost data... HTH Ralph Bryce From jcolby at colbyconsulting.com Sun Mar 2 10:10:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 2 10:10:00 2003 Subject: [AccessD] Record Selector Withevents Demo Message-ID: I have added another withevents demo class to my site that is actually useful if you like the technique. This class creates a combo box that is used as a record selector for finding records in bound forms. The class is initialized passing in the form, the record selector combo and a text box bound to the autonumber PK field. When the user selects a record in the combo, the AfterUpdate event handler in the class is activated. It finds the record in the form and sets the form's bookmark to that record so that the form "moves to" that record. The class exposes a public method that the form's current event calls that keeps the record selector combo pointing to the same record that the form is on if the user moves through the records manually by page down etc. This class is fully functional, and can be used in your projects simply by importing the class, cutting and pasting the combo and text box onto your form, binding the text box to the PK field for that form, and setting the combo's SQL to the recID and one or more fields that allow the user to choose a record. Cut and paste the code in the demo form and you are up and running with a record selector on any bound form. The demo is fully functional and demonstrates this technique. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,208 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 2 13:25:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun Mar 2 13:25:00 2003 Subject: [AccessD] Iraq In-Reply-To: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> References: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> Message-ID: <1046633074.3e625a722fd59@hosea.qub.ac.uk> http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm More on the destruction of rockets Martin From andy at minstersystems.co.uk Sun Mar 2 13:35:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 2 13:35:00 2003 Subject: [AccessD] Iraq In-Reply-To: <1046633074.3e625a722fd59@hosea.qub.ac.uk> Message-ID: <006201c2e0f2$5c8f5540$b274d0d5@andypc> Was that perhaps meant to go to the OT list Martin? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Mwp.Reid at queens-belfast.ac.uk > Sent: 02 March 2003 19:25 > To: accessd at databaseadvisors.com > Subject: [AccessD] Iraq > > > http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm > > More on the destruction of rockets > > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 2 13:43:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun Mar 2 13:43:00 2003 Subject: [AccessD] Iraq In-Reply-To: <006201c2e0f2$5c8f5540$b274d0d5@andypc> References: <006201c2e0f2$5c8f5540$b274d0d5@andypc> Message-ID: <1046634174.3e625ebe901a0@hosea.qub.ac.uk> Opps. Was indeed Andy. Sorry folks. Spent all day rebuilding a machine and am shattered. Martin Quoting Andy Lacey : > Was that perhaps meant to go to the OT list Martin? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Mwp.Reid at queens-belfast.ac.uk > > Sent: 02 March 2003 19:25 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Iraq > > > > > > http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm > > > > More on the destruction of rockets > > > > > > Martin > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mastercafe at ctv.es Sun Mar 2 15:11:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 15:11:00 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <1046633074.3e625a722fd59@hosea.qub.ac.uk> Message-ID: Hi all... I have a problem creating a new data structure. How to create an Autonumber field?? We check the help of Access and there isn't any help of this. In the begining we use a Long digit, but this isn't enough. Some ideas?? Thanks Juan Menendez Mastercafe SL www.mastercafe.com From bchacc at san.rr.com Sun Mar 2 15:28:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 2 15:28:00 2003 Subject: [AccessD] AUTONUMBER References: Message-ID: <012801c2e102$8764a760$6601a8c0@HAL9002> In the design view of the table the combo box under the data type for the field has Autonumber as an option. Rocky Smolin Beach Access Software ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 1:10 PM Subject: [AccessD] AUTONUMBER > Hi all... I have a problem creating a new data structure. > > How to create an Autonumber field?? > We check the help of Access and there isn't any help of this. In the > begining we use a Long digit, but this isn't enough. > > Some ideas?? > > Thanks > > Juan Menendez > Mastercafe SL > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sun Mar 2 15:45:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 2 15:45:00 2003 Subject: [AccessD] Combo DblClick and NotInList handlers using WithEvents Message-ID: I have added another demo to the Withevents web page demonstrating handling the DblClick of a combo to open a list form modal to edit the data behind the combo. The list form opens modally, then when the edits are done, the combo requeries to display the edited data. Likewise in the same class a NotInList demo to show how to automatically add data to a field in a table if it is not in the combo's list data. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,211 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From dbcfour at triad.rr.com Sun Mar 2 16:20:01 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Sun Mar 2 16:20:01 2003 Subject: [AccessD] Re: OT Server Needed In-Reply-To: <1811357081.20030302090816@cactus.dk> Message-ID: <000001c2e109$d6c3b2e0$1508a8c0@CookLT> In case William is still not making it through. Donna ************************************************************************ *********** ...unfortunately Spinrite doesn't work on NTFS formatted drives :( ...but Dell includes utilities that are more than adequate. William Hindman ----- Original Message ----- From: "Ralph Bryce" To: Sent: Sunday, March 02, 2003 9:47 AM Subject: Re: [AccessD] OT: Server Needed > Hi Rocky > > At 22:06 1/3/2003 -0800, you wrote: > > >I have a client who wants to upgrade the server on his network. There's > >about 10 seats on his network, of which maybe 6 are being used. Seems to > >me that he could use any good, fast P4 box with 1/2 gig of RAM , > >etc. Which is well under $1000 these days from dell, or gateway, with > >three years on-site. > > >A local, old, fairly reputable company in San Diego - Datel - is quoting > >him $1457 for and Intel entry level server with a P4 (speed unknown), > >512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another > >$775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 > >and 10 hours of installation charged at a price unspecified in the quote. > > > >My question is, what is the difference between a box that someone like > >Dell calls a server and an ordinary computer? Does he need a server? > > Buy a "proper" server - check out the prices of Dell servers these days > (the 1600SC comes to mind); they're excellent value and come with 2GHz > Xeons, ECC RAM (error checking RAM - very important in my view), better > cooling, the ability to expand to dual power supplies, multiple hard disks > and RAID arrays for data mirroring. > The base machines are not that much more than a decent PC. > > You will need ten client access licenses (CALs) for between 5 and 10 users > (CALs come in blocks of five). > > You should also thoroughly verify your server hard disk integrity before > committing data to it. > Something like Steve Gibson's Spinrite should do the trick - that will take > some considerable time to run a thorough test on your drive - don't > underestimate the time for installation and setup (5-10 hours is pretty > conservative). > > And don't forget the UPS and the backup - some backup solutions can cost > almost as much as the server, but consider the cost of lost data... > > HTH > > Ralph Bryce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From dbcfour at triad.rr.com Sun Mar 2 16:27:00 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Sun Mar 2 16:27:00 2003 Subject: [AccessD] RE: OT Server Needed In-Reply-To: <20030302180000.18510.689.Mailman@databaseadvisors.com> Message-ID: <000101c2e10a$dab5df30$1508a8c0@CookLT> One more from William, just in case. Donna ----- Original Message ----- From: "William Hindman" To: > Rocky > > ...ditto on most of gustav's points ...except of course the novell or Linux > comments :) > > ...Novell reported another quarterly loss ...the last thing you want to > recommend to your client is a server software without support behind it > ...and even if Novell does avoid bankruptcy, it has not put any real > resources into its server products in quite some time :( > > ...Linux is more interesting ...its essentially freeware upfront and has > proven to be very reliable in server environments ...but its much more > technically demanding than current MS products to install and maintain, > especially if you make frequent changes ...and while you can train a client > power user to be a reasonable Windows 2000 Server Administrator (wizards > will help him/her do most maintenance tasks) the same cannot be said of any > Linux version I've yet seen. > > ...so while either Novell or Linux are certainly lower in > "out-of-the-box-costs", your client's total cost of operation (and > frustration) may well be much higher with either unless he has a resident > notwork geek ...and if he did, he wouldn't be asking you. > > ...stay with well tested server software ...Win2K SP3 is highly reliable > ...unlike its NT4 predecessor, I've not had to reboot a client system in > ages because of server software problems. On the other hand, it will be at > least two years before MS's Windows 2003 Server due for release any time now > will reach the same level of reliability ...its far too complex a piece of > software to be fully debugged in beta trials ...inevitably the user > marketplace along with hackers find bugs that the most intensive beta trials > don't ...and there is nothing in W2003S that your client will need today > ...so stick with W2K Server, making sure SP3 is installed. > > ...on the other hand, while a lot of the server installation complexity > depends upon your client's internet configuration and security, two days for > an MS W2K Server install, configuration, and training is minimum ...any > installer telling you otherwise is simply low-balling you ...waiting for > your client to ask the first question ..."Oh, you didn't tell me you wanted > me to do the client setups ...or software updates (hours upon hours upon > hours, even with SP3, trust me) ...or "simple" security setup, etc, etc, ad > infinitum :( > > ...I usually recommend MS's Small Business Server for client's similar to > yours but again that takes an assessment of your client's actual needs > ...does he actually need SQL Server and Exchange Server ...bang for the buck > though, it is the best all-in-one solution going ...and contrary to gustav's > comment, its SQL Server implementation is the real thing :) > > ...as for CALS, count the client computers and any print servers and buy the > next higher CAL pack ...a 5 pak is the standard included with your W2K > Server but your client will need at least another 5 pak ...and if you or the > client intends to do any server maintenance themselves, the Resource Kits > are cheap insurance. > > ...as for hardware, the three major hardware brands simply can't be beat > when it comes to server quality vs price vs support ...its no longer > possible for local builders to compete with them on any of those points > ...no matter what the local guys say ...nor can they come close to providing > the configuration and maintenance software the major brands do which is no > small consideration when you're up to your ass in network alligators. > > ...Gateway is about to go under and who knows what will come out of > bankruptcy ...they are so desperate for sales that their boxes are starting > to turn up in computer flea markets ...and they still can't go head to head > with Dell. > > ...Compaq/HP build good stuff which is well supported ...while higher priced > than Dell, they've been in the server business a lot longer ...my major beef > with them is that they use proprietary parts which lock you into them for > support ...and then charge you enormously inflated prices when you need > replacements ...if you can find the parts in the first place ...and having a > client with a dead server waiting more than a week while Compaq finds a part > can be wearing on any client relationship where you made the server > recommendation ...it doesn't happen often but once was more than enough for > me. > > ...so I now spec Dell servers with their 3 year warranty ...and make damn > sure if you buy the server software from them that you also buy their > software support up front ...MS won't even talk to you about a Dell > purchased W2K Server for instance without you giving them $250 upfront on > your credit card ...for EACH problem you have ...thus I no longer recommend > that my clients buy the server software preinstalled (another misleading > phrase since its not actually anything more than imaged onto a partition on > your disk ...trust me, server installation is a LOT more than that) ...your > client can get the same software in the market place with full MS support > for less money. > > ...the most important factors in a server are reliability and speed ...and > that means at the very least a RAID 1 configuration with SCSI disks > (mirrored disks) for pure reliability ...or, if your client can afford it, a > RAID 5 configuration (striped disks) for both reliability and speed ...the > cpu in your type of file server installation is much less important than the > disks and ram ...again, if your client can afford it, go with a hardware > RAID controller rather than using W2K's software RAID (for people who don't > read the small print, a software RAID 5 requires its own disk which money > could have been better spent on a HW controller) ...better to pay for a HW > RAID controller than to pay for a 2.6Ghz cpu over a 1.6GHz cpu since the cpu > has far less impact than disk access speed in your client's configuration. > > ...buy the 10K scsi disks rather than the new 15K ones ...despite the pitch > their sales people give, the techs will tell you the 15Ks still have heat > build-up and reliability problems. > > ...buy as much fast ram as your client can afford ...512 is the absolute > minimum and I use 1Gb as my minimum ...lots of ram will cure a host of > server problems that nothing else will. > > ...besides the RAID hardware, a real server will give you hot swappable HDs > which means in a RAID 5 configuration you can pull a failed disk and replace > it without interrupting server operation (ok, it WILL slow down but it will > still work) ...and at least dual hot swappable power supplies ...Dell gives > you three on all of its servers ...and multiple fans to ensure continuous > operations, high availability, and long life ...and a well engineered > component layout designed for maximum airflow and reliability. > > ...be sure to spec two identical nics, one for your internal network and one > for the internet ...any single nic configuration has high security problems > even with h/w nat routers. > > ...and one last consideration ...Dell has its net based refurbished systems > outlet where you can pick up a new, 3 year warranted server for as much as > 40% off their retail list price ...I say new because its exactly the same as > a new server except that a client returned it because something failed on > initial install ...Dell replaced the defective part but cannot sell it as > new any more ...so they put it up for sale on their refurbished outlet > ...but its exactly the same box and warranty as that being sold as new on > their retail pages. > > ...all in all, $4-6K is imnsho, a more reasonable price range for a viable > server and software configuration ...plus installation costs ...but when it > comes to servers, everyone has their opinions ...this is mine ...others will > certainly differ ...take it for what it cost you :) > > William Hindman --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From mastercafe at ctv.es Sun Mar 2 16:54:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 16:54:00 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <012801c2e102$8764a760$6601a8c0@HAL9002> Message-ID: Excuse me... I explain very bad... sorry. This is the main code Dim ws As Workspace Dim db As Database Dim dbdest As Database Dim tdf As TableDef Set db = CurrentDb Set ws = DBEngine.Workspaces(0) Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) Set tdf = dbdest.CreateTableDef("Base Clientes") With tdf .Fields.Append .CreateField("Cliente", dbText, 15) .Fields.Append .CreateField("ClteNombre", dbText, 50) .Fields.Append .CreateField("ClteFnac", dbDate) .Fields.Append .CreateField("acumcompra", dbSingle) .Fields.Append .CreateField("transmit", dbBoolean) .Fields.Append .CreateField("modif", dblong) End With dbdest.TableDefs.Append tdf The problem is how generate a CreateField Autonumber?? Thanks Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Rocky Smolin - Beach Access Software Enviado el: domingo, 02 de marzo de 2003 22:27 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] AUTONUMBER In the design view of the table the combo box under the data type for the field has Autonumber as an option. Rocky Smolin Beach Access Software ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 1:10 PM Subject: [AccessD] AUTONUMBER > Hi all... I have a problem creating a new data structure. > > How to create an Autonumber field?? > We check the help of Access and there isn't any help of this. In the > begining we use a Long digit, but this isn't enough. > > Some ideas?? > > Thanks > > Juan Menendez > Mastercafe SL > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbusergroups at optushome.com.au Sun Mar 2 16:59:00 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Sun Mar 2 16:59:00 2003 Subject: [AccessD] AUTONUMBER Message-ID: <200303022258.h22MwqT20872@mail013.syd.optusnet.com.au> Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 From mastercafe at ctv.es Sun Mar 2 17:15:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 17:15:01 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <200303022258.h22MwqT20872@mail013.syd.optusnet.com.au> Message-ID: Really very simple, many thanks with this.... Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B Enviado el: domingo, 02 de marzo de 2003 23:59 Para: accessd at databaseadvisors.com Asunto: Re: RE: [AccessD] AUTONUMBER Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at achmea.nl Mon Mar 3 03:15:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon Mar 3 03:15:01 2003 Subject: [AccessD] Integration IPAQ and Telephone Message-ID: Dear group, I am looking for information, tips, trics or sample applications for the following - Integrate compaqs Ipaq with an access application. So export data from the access database to the ipaq - Integrate a telephone service in Access. For example if you put in the phoneline into a modem in the pc. Can I read out the telephone number?. Any help, suggestions are welcom, Thanks, marcel "MastercafeCTV" @databaseadvisors.com op 03-03-2003 00:13:09 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: cc: Onderwerp: RE: RE: [AccessD] AUTONUMBER Really very simple, many thanks with this.... Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B Enviado el: domingo, 02 de marzo de 2003 23:59 Para: accessd at databaseadvisors.com Asunto: Re: RE: [AccessD] AUTONUMBER Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From j.r.porter at strath.ac.uk Mon Mar 3 04:19:01 2003 From: j.r.porter at strath.ac.uk (John R. Porter) Date: Mon Mar 3 04:19:01 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <042701c2dffa$76817990$8e01a8c0@Rock> Message-ID: Do you have the address of the KB article? John R. Porter I.T.Services University of Strathclyde Jordanhill Campus 76 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel. 0141 950 3289 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: 01 March 2003 13:57 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access & Windows 2000 Performance issues with linked tables Another approach that does not require moving to SQL and yet delivers all the speed of a one-MDB solution is to use Replication Manager and place a local replica on each PC using the app. Then on the server you place the Replication manager itself and synchronize the local replicas with the "server" replica every 5 minutes or every hour or whatever interval is appropriate to your app. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 1, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 3 05:29:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 05:29:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <000f01c2e00b$9360c550$0200a8c0@pappa> References: <000f01c2e00b$9360c550$0200a8c0@pappa> Message-ID: <1616332745.20030303122841@cactus.dk> Hi Bryan Well, I checked with my colleague again, and - yes - it may not reset anything but nevertheless it does something to Word. He has used this switch with success several times for exactly this purpose. /gustav >> Try running this command: >> >> winword.exe /a >> >> That should reset all registry settings of Word. > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch From Lembit.Soobik at t-online.de Mon Mar 3 05:32:00 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon Mar 3 05:32:00 2003 Subject: [AccessD] Integration IPAQ and Telephone References: Message-ID: <051d01c2e178$aafc45e0$0300a8c0@S856> marcel on your second point, there is software which will display the number (and name) of a caller on an ISDN line. Do not know how to do it with Analog lines. I am using a free software called power ISDN Monitor (German, so dont know whether that helps). The software writes a log of callers which you might be able to import into Access. the web site is www.powerisdnmonitor.de Lembit Soobik ----- Original Message ----- From: To: Sent: Monday, March 03, 2003 10:14 AM Subject: [AccessD] Integration IPAQ and Telephone > > Dear group, > > I am looking for information, tips, trics or sample applications for the > following > > - Integrate compaqs Ipaq with an access application. So export data from > the access database to the ipaq > - Integrate a telephone service in Access. For example if you put in the > phoneline into a modem in the pc. Can I read out the telephone number?. > > > Any help, suggestions are welcom, Thanks, > > marcel > > > > > > > > "MastercafeCTV" @databaseadvisors.com op 03-03-2003 > 00:13:09 > > Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-admin at databaseadvisors.com > > > Aan: > cc: > > Onderwerp: RE: RE: [AccessD] AUTONUMBER > > > Really very simple, many thanks with this.... > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B > Enviado el: domingo, 02 de marzo de 2003 23:59 > Para: accessd at databaseadvisors.com > Asunto: Re: RE: [AccessD] AUTONUMBER > > > Hello MastercafeCTV, > > .Fields.Append .CreateField("MyAutoNumber", dbLong) > .Fields("MyAutoNumber").Attributes = dbAutoIncrField > > > ======= At 2003-03-02, 23:52:00 you wrote: ======= > > >Excuse me... I explain very bad... sorry. > > > >This is the main code > > > >Dim ws As Workspace > >Dim db As Database > >Dim dbdest As Database > >Dim tdf As TableDef > > > >Set db = CurrentDb > >Set ws = DBEngine.Workspaces(0) > >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", > dbLangGeneral) > >Set tdf = dbdest.CreateTableDef("Base Clientes") > >With tdf > > .Fields.Append .CreateField("Cliente", dbText, 15) > > .Fields.Append .CreateField("ClteNombre", dbText, 50) > > .Fields.Append .CreateField("ClteFnac", dbDate) > > .Fields.Append .CreateField("acumcompra", dbSingle) > > .Fields.Append .CreateField("transmit", dbBoolean) > > .Fields.Append .CreateField("modif", dblong) > >End With > >dbdest.TableDefs.Append tdf > > > >The problem is how generate a CreateField Autonumber?? > > > >Thanks > > > >Juan Menendez > >Mastercafe SL > > > > > > > > Best regards. > Joshua B > jbusergroups at optushome.com.au > 2003-03-03 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at achmea.nl Mon Mar 3 06:12:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon Mar 3 06:12:01 2003 Subject: Betreft: Re: [AccessD] Integration IPAQ and Telephone Message-ID: Hi Lembit, Tnx. I have a similar tool with my isdn cart as a logging programming on the CAPI drivers. But what I am looking for is the following I would like that my CRM software, written in Access, responded with a telephone call. That is when the ?phone rings, automaticly the access applications pops up with the client information in the database. My link is the phonenumber but that should not be the problem. I have found some vb code which acts like an digital answering machine so I could distract the code I needed and then develop from there. I have to now how to put an application (in my case an access app) to pop up on activitity on a phoneline. Gr. marcel Lembit.Soobik at t-online.de (Lembit Soobik)@databaseadvisors.com op 03-03-2003 12:33:09 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: cc: Onderwerp: Re: [AccessD] Integration IPAQ and Telephone marcel on your second point, there is software which will display the number (and name) of a caller on an ISDN line. Do not know how to do it with Analog lines. I am using a free software called power ISDN Monitor (German, so dont know whether that helps). The software writes a log of callers which you might be able to import into Access. the web site is www.powerisdnmonitor.de Lembit Soobik ----- Original Message ----- From: To: Sent: Monday, March 03, 2003 10:14 AM Subject: [AccessD] Integration IPAQ and Telephone > > Dear group, > > I am looking for information, tips, trics or sample applications for the > following > > - Integrate compaqs Ipaq with an access application. So export data from > the access database to the ipaq > - Integrate a telephone service in Access. For example if you put in the > phoneline into a modem in the pc. Can I read out the telephone number?. > > > Any help, suggestions are welcom, Thanks, > > marcel > > > > > > > > "MastercafeCTV" @databaseadvisors.com op 03-03-2003 > 00:13:09 > > Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-admin at databaseadvisors.com > > > Aan: > cc: > > Onderwerp: RE: RE: [AccessD] AUTONUMBER > > > Really very simple, many thanks with this.... > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B > Enviado el: domingo, 02 de marzo de 2003 23:59 > Para: accessd at databaseadvisors.com > Asunto: Re: RE: [AccessD] AUTONUMBER > > > Hello MastercafeCTV, > > .Fields.Append .CreateField("MyAutoNumber", dbLong) > .Fields("MyAutoNumber").Attributes = dbAutoIncrField > > > ======= At 2003-03-02, 23:52:00 you wrote: ======= > > >Excuse me... I explain very bad... sorry. > > > >This is the main code > > > >Dim ws As Workspace > >Dim db As Database > >Dim dbdest As Database > >Dim tdf As TableDef > > > >Set db = CurrentDb > >Set ws = DBEngine.Workspaces(0) > >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", > dbLangGeneral) > >Set tdf = dbdest.CreateTableDef("Base Clientes") > >With tdf > > .Fields.Append .CreateField("Cliente", dbText, 15) > > .Fields.Append .CreateField("ClteNombre", dbText, 50) > > .Fields.Append .CreateField("ClteFnac", dbDate) > > .Fields.Append .CreateField("acumcompra", dbSingle) > > .Fields.Append .CreateField("transmit", dbBoolean) > > .Fields.Append .CreateField("modif", dblong) > >End With > >dbdest.TableDefs.Append tdf > > > >The problem is how generate a CreateField Autonumber?? > > > >Thanks > > > >Juan Menendez > >Mastercafe SL > > > > > > > > Best regards. > Joshua B > jbusergroups at optushome.com.au > 2003-03-03 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From RGeldart at detma.org Mon Mar 3 07:45:01 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Mon Mar 3 07:45:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: Catching up on Friday's mail, but a quick tip... I used to use those car seat mats in summer--plastic webbing around thin wire coil springs. When they wear out in the winter throw them in the trunk. When you get stuck, just throw it under the driving wheel and pull away, leaving it behind. Found that old imitation grass door mats (Astro-Turf) will also work well. -----Original Message----- Subject: Re: [AccessD] OT Friday: Ice Adventure! Chains are required in many of the western mountain passes in the winter. Utah still sets up road blocks up a number of canyons and won't let anybody up without them on the idea that it's cheaper to pay the trooper to make sure only those who are prepared go up than it is to go in after the fact. However, in places like Minnesota, they're not only not used, but are illegal. From Lambert.Heenan at AIG.com Mon Mar 3 08:16:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon Mar 3 08:16:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038973FC@xlivmbx12.aig.com> And as any fan of "That 70's Show' knows, a bag of kitty litter makes an even more portable get-out-of-that-show-bank addition to your truck contents. > -----Original Message----- > From: Geldart, Robert [SMTP:RGeldart at detma.org] > Sent: Monday, March 03, 2003 8:44 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT Friday: Ice Adventure! > > Catching up on Friday's mail, but a quick tip... > > I used to use those car seat mats in summer--plastic webbing around thin > wire coil springs. When they wear out in the winter throw them in the > trunk. > When you get stuck, just throw it under the driving wheel and pull away, > leaving it behind. Found that old imitation grass door mats (Astro-Turf) > will also work well. > > > -----Original Message----- > Subject: Re: [AccessD] OT Friday: Ice Adventure! > > > Chains are required in many of the western mountain passes in the winter. > Utah still sets up road blocks up a number of canyons and won't let > anybody > up without them on the idea that it's cheaper to pay the trooper to make > sure only those who are prepared go up than it is to go in after the fact. > However, in places like Minnesota, they're not only not used, but are > illegal. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From subs at solution-providers.ie Mon Mar 3 08:21:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Mon Mar 3 08:21:00 2003 Subject: [AccessD] AUTONUMBER References: Message-ID: <002b01c2e191$d0f65fb0$356da8c0@IEW001> Hello Juan, The autonumber is actually a normal long field with an attribute set the way that you do it is fld.Attributes = dbAutoIncrField You can rework you code below to handle that and it will work perfectly. Hope that helps, Best Regards Mark L. Breen Solution Providers Ltd Ireland ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 10:52 PM Subject: RE: [AccessD] AUTONUMBER > Excuse me... I explain very bad... sorry. > > This is the main code > > Dim ws As Workspace > Dim db As Database > Dim dbdest As Database > Dim tdf As TableDef > > Set db = CurrentDb > Set ws = DBEngine.Workspaces(0) > Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) > Set tdf = dbdest.CreateTableDef("Base Clientes") > With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) > End With > dbdest.TableDefs.Append tdf > > The problem is how generate a CreateField Autonumber?? > > Thanks > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Rocky Smolin - > Beach Access Software > Enviado el: domingo, 02 de marzo de 2003 22:27 > Para: accessd at databaseadvisors.com > Asunto: Re: [AccessD] AUTONUMBER > > > In the design view of the table the combo box under the data type for the > field has Autonumber as an option. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "MastercafeCTV" > To: > Sent: Sunday, March 02, 2003 1:10 PM > Subject: [AccessD] AUTONUMBER > > > > Hi all... I have a problem creating a new data structure. > > > > How to create an Autonumber field?? > > We check the help of Access and there isn't any help of this. In the > > begining we use a Long digit, but this isn't enough. > > > > Some ideas?? > > > > Thanks > > > > Juan Menendez > > Mastercafe SL > > www.mastercafe.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Mon Mar 3 08:44:02 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 3 08:44:02 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark From DWUTKA at marlow.com Mon Mar 3 09:21:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 09:21:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 3 09:36:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 09:36:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821E7@main2.marlow.com> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Mar 3 10:00:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 3 10:00:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. >>> DWUTKA at marlow.com 03/03/03 10:35AM >>> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 3 10:25:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 10:25:00 2003 Subject: [AccessD] OT: Server Needed References: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Message-ID: <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From nkling at co.montgomery.ny.us Mon Mar 3 10:27:00 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon Mar 3 10:27:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302098DB4@elmo.co.montgomery.ny.us> Here's a thought: The Menu is dockable. Perhaps it has been dragged to the bottom of the MDI. Then it would still respond to Alt keystrokes, but might be missed when looking for it. Neal Kling -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 10:55 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. From wdhindman at bellsouth.net Mon Mar 3 10:33:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 3 10:33:01 2003 Subject: [AccessD] Test ...do not reply Message-ID: <007901c2e1a2$87c52130$6101a8c0@amd2k512> ...testing William Hindman From dmart06 at emory.edu Mon Mar 3 10:42:01 2003 From: dmart06 at emory.edu (Donna Martin) Date: Mon Mar 3 10:42:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: <0EAA9F4906BA554FA26E6F9F2C540302098DB4@elmo.co.montgomery.ny.us> Message-ID: <3E6385D2.72E076E0@emory.edu> I know you've probably already tried this, but if not, use Alt + C. Just thought I'd mention it. Donna Martin Neal Kling wrote: > Here's a thought: > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > MDI. Then it would still respond to Alt keystrokes, but might be missed > when looking for it. > > Neal Kling > > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Monday, March 03, 2003 10:55 AM > To: accessd at databaseadvisors.com > Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word > > I guess they are shortcuts, but pressing Alt w/out another key will > activate the menu bar, with nothing dropping down, until you press the > down arrow. I am not 100% sure though...maybe she has memorized that > Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. > > This user is in Niagara Falls, and I am 25 miles east, so I really > can't pop in and see her. I could, but with the drive and everything, it > turns into a half-day job, at least, and I really do not have time for > this, especially if I don't have a ready solution for the problem. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 3 10:49:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 10:49:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Nope, you don't need a hefty machine at all. You app isn't going to use many resources at all, just file sharing. I would recommend, if they are concerned about money, for them to just get a Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.) If you don't want to setup a domain, then you can stick with Windows 2000 Pro. If you want to setup a domain, then you'll need Windows 2000 (which ups the price, but you already knew that). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 03, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Server Needed Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 3 10:50:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 10:50:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: ALT+C? What's that for? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> dmart06 at emory.edu 03-Mar-03 11:41:54 AM >>> I know you've probably already tried this, but if not, use Alt + C. Just thought I'd mention it. Donna Martin Neal Kling wrote: > Here's a thought: > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > MDI. Then it would still respond to Alt keystrokes, but might be missed > when looking for it. From gustav at cactus.dk Mon Mar 3 11:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 11:00:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> References: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> Message-ID: <6636165202.20030303175913@cactus.dk> Hi Rocky For that scenario "anything" will do. I would recommend a brand name entry level server with onboard SCSI controller which allows for direct mounting of a tape drive for backup. These machines comes with a three year on-site warranty which will bring relief to your client while covering your .ss. Some of the newer models (HP ML 310) comes as standard with Gigabit network adapter, very nice. Drew is correct that close to any machine can run this. We have a client who runs a FileMaker database for 20 users off a 300 MHz HP notebook. It works and backup is to a DLT drive on an IBM NetWare server. But it doesn't mean that this is the first choice solution to recommend for anyone else. As a pro you have to start at a pro level, then - out of necessity - the client may have to decide for a lower level; this, however, wasn't your decision, that's the difference. /gustav > This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client > machines. Change anything in your opinion? From DWUTKA at marlow.com Mon Mar 3 11:00:12 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 11:00:12 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821F0@main2.marlow.com> Okay, well check out my post, with the link I had in my List post. That thread explains the shortcut issue. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 9:55 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. >>> DWUTKA at marlow.com 03/03/03 10:35AM >>> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmart06 at emory.edu Mon Mar 3 11:00:24 2003 From: dmart06 at emory.edu (Donna Martin) Date: Mon Mar 3 11:00:24 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: Message-ID: <3E6389FF.55379C3F@emory.edu> I by chance the 'full screen' command has been executed, the Alt + C is 'Close Full Screen'. ...was just a thought... Donna Bryan Carbonnell wrote: > ALT+C? What's that for? > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> dmart06 at emory.edu 03-Mar-03 11:41:54 AM >>> > I know you've probably already tried this, but if not, use Alt + C. Just > thought I'd mention it. > > Donna Martin > > Neal Kling wrote: > > > Here's a thought: > > > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > > MDI. Then it would still respond to Alt keystrokes, but might be missed > > when looking for it. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Mar 3 11:01:00 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon Mar 3 11:01:00 2003 Subject: [AccessD] Suppress Messages Message-ID: <008c01c2e1a6$f344fa80$a2c50a44@hr.cox.net> In an Access 97 application, I am creating multiple snapshot report files (using Docmd.OutputTo). I would like to supress the messages that are displayed saying "Now outputting page 1....". I tried using Docmd.Setwarnings false without any luck. Any ideas? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 3 11:04:01 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 11:04:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: AH!! OK. I never use full screen mode. That's why I didn't know what it was for. Thanks, Bryan Carbonnell bryan_carbonnell at cbc.ca >>> dmart06 at emory.edu 03-Mar-03 11:59:43 AM >>> I by chance the 'full screen' command has been executed, the Alt + C is 'Close Full Screen'. ...was just a thought... Donna Bryan Carbonnell wrote: > ALT+C? What's that for? > > Bryan Carbonnell > bryan_carbonnell at cbc.ca From gustav at cactus.dk Mon Mar 3 11:20:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 11:20:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Message-ID: <10337395081.20030303181943@cactus.dk> Hi Drew I like such cute non-hefty desktops stuffed with three SCSI drives, SCSI controller, insufficient cooling and no room for a tape drive. /gustav > Nope, you don't need a hefty machine at all. You app isn't going to use > many resources at all, just file sharing. > I would recommend, if they are concerned about money, for them to just get a > Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get > three hard drives. (SCSI...but that may be a bit expensive....), Mirror the > OS, and RAID a data drive (you can do all of that in Disk Management...with > Windows 2000, no RAID controller necessary.) If you don't want to setup a > domain, then you can stick with Windows 2000 Pro. If you want to setup a > domain, then you'll need Windows 2000 (which ups the price, but you already > knew that). From DWUTKA at marlow.com Mon Mar 3 11:35:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 11:35:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821F3@main2.marlow.com> Hey....I didn't say ANYTHING about stuffing them! Actually, if you remove the CD-Rom (after the installation)...then there is plenty of room for 3 SCSI drives...and you don't even need to add more fans if you don't want to....though it would be wise to add another case fan at least. What I love, is the people that want to order a 'server' just shy of a Cray Super computer, that they want to run a webserver on, through a 128k ISDN line. It's like putting a Chevy 350 V8 into a HotWheels matchbox car. Drew (Rocky, if you are reading this...just an FYI, Gustav is making a good point, keep the machine cool no matter what. If they go with a set of SCSI drives, you can get decent DAT tapes that run on the external SCSI port. We got one a year ago, for my work machine, I think it ball parked around 2 or 3 hundred...I could be off on that though. As far as cooling, I am running 4 IDE Hard drives in my Pentium III 500 mhz machine at home, and for a few bucks, I was able to put a PCI slot fan, and a 5 and 1/4" hard drive bay fan into it. No heat problems at all.) -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, March 03, 2003 11:20 AM To: Drew Wutka Subject: Re: [AccessD] OT: Server Needed Hi Drew I like such cute non-hefty desktops stuffed with three SCSI drives, SCSI controller, insufficient cooling and no room for a tape drive. /gustav > Nope, you don't need a hefty machine at all. You app isn't going to use > many resources at all, just file sharing. > I would recommend, if they are concerned about money, for them to just get a > Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get > three hard drives. (SCSI...but that may be a bit expensive....), Mirror the > OS, and RAID a data drive (you can do all of that in Disk Management...with > Windows 2000, no RAID controller necessary.) If you don't want to setup a > domain, then you can stick with Windows 2000 Pro. If you want to setup a > domain, then you'll need Windows 2000 (which ups the price, but you already > knew that). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Mon Mar 3 11:35:45 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 11:35:45 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: John, Have the tech (or user) remove all the .dot's from Word's startup directory. Add one back at a time and restart Word to see which one is hiding the Menu Bar. Word's startup folder is generally: C:\Program Files\Microsoft Office\Office\Startup Bryan Carbonnell bryan_carbonnell at cbc.ca >>> John.Clark at niagaracounty.com 03-Mar-03 9:42:28 AM >>> Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. From cfoust at infostatsystems.com Mon Mar 3 11:41:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 11:41:00 2003 Subject: [AccessD] more on printing Message-ID: In case you haven't discovered it, using page setup will set the PrtDevMode and override you report.Printer settings. Not only that, it appears to override the report.PrtDevMode settings as well. We gave up on the Printer and PrtDevMode methods and went back to API calls. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Saturday, March 01, 2003 2:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] more on printing I think my main problem has been the definite separation between setting the default printer for the session and setting the printer for a particular form and report -- I think I'm OK now. :) Thanks everyone for your help and hope you don't hear from me again on the subject! ;) Susan H. > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use > the default printer if none is specified in the report properties > ...but you can > use OpenReport to preview the report, PrtDevNames to select an > available printer, and PrintOut to select its properties such as > copies to print, print range, print quality, etc. ...in other words it > is possible to use the > full range of available printers and their capabilities from code > ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default > > printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Mar 3 11:48:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 11:48:00 2003 Subject: [AccessD] Test ...do not reply In-Reply-To: <007901c2e1a2$87c52130$6101a8c0@amd2k512> Message-ID: Hey, is that you? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,228 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Monday, March 03, 2003 11:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Test ...do not reply ...testing William Hindman _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1872 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 3 11:57:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 3 11:57:00 2003 Subject: [AccessD] more on printing References: Message-ID: <000701c2e1ae$313e22b0$d2e6ffcc@SusanOne> I didn't know that -- that's kind of a problem, isn't it? ;) But, if the Page Setup dialog is available to the user, it kind of negates the need to customize the process anyway -- I would think for most apps anyway. It's good to know though -- thanks Charlotte. Some of us are API challenged -- in my case that's a euphemism for lazy. :) Susan H. > In case you haven't discovered it, using page setup will set the > PrtDevMode and override you report.Printer settings. Not only that, it > appears to override the report.PrtDevMode settings as well. We gave up > on the Printer and PrtDevMode methods and went back to API calls. > > Charlotte Foust From jbartow at earthlink.net Mon Mar 3 12:06:01 2003 From: jbartow at earthlink.net (John Bartow) Date: Mon Mar 3 12:06:01 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Message-ID: Hi Rocky, Based on Drew's advice you might want to check out the (HP)Compaq W4000 (P4 2.4G, 512DDR, 18GB SCSI, CD/DVD). Its not a server but is SCSI based and has an open slot and external SCSI port open (for a tape backup, etc.). I picked one up for less than $900 a couple months ago. Includes (ships with) the option of Windows 2k or XPpro. I benchmarked it and it is a screamer (which you obviously don't need - but its hard to get a SCSI system at this price). My server is about 3 years old and I have never had a problem with it. Its a Dell PowerEdge Server (SCSI) and I added extra drive capacity and a 50 GB OnStream Tape backup system. HTH John B a good place to find the lowest price: http://w2knews.pricegrabber.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 03, 2003 10:49 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Nope, you don't need a hefty machine at all. You app isn't going to use many resources at all, just file sharing. I would recommend, if they are concerned about money, for them to just get a Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.) If you don't want to setup a domain, then you can stick with Windows 2000 Pro. If you want to setup a domain, then you'll need Windows 2000 (which ups the price, but you already knew that). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 03, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Server Needed Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Mar 3 12:11:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 3 12:11:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E639A9D.10508@shaw.ca> One other thing that can cause slowness in Win2000 client to Win2000 server. You should try turning off opportunistic locking (OPLOCKS), which allows client side caching of files. Here is two of the links to the info: Configuring Opportunistic Locking in Windows 2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;q296264 Things that slow Jet 4.0 http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B303528#11 MSFT has released a couple of patches for NT/2000 that fix the bugs, but I'd try turning it off before applying them, as it's much simpler. Or apply the latest Win2000 service pack SP-3 This doesn't affect Win9x client to Win2000 server. I believe you can set registry settings on either the client (to enable/disable it from 'asking' for opportunistic locking), or on the server (to enable/disable whether it allows it to be asked). John R. Porter wrote: >Do you have the address of the KB article? > >John R. Porter >I.T.Services >University of Strathclyde >Jordanhill Campus >76 Southbrae Drive >Glasgow >G13 1PP >e-mail: j.r.porter at strath.ac.uk >Tel. 0141 950 3289 > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller >Sent: 01 March 2003 13:57 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access & Windows 2000 Performance issues with >linked tables > > >Another approach that does not require moving to SQL and yet delivers all >the speed of a one-MDB solution is to use Replication Manager and place a >local replica on each PC using the app. Then on the server you place the >Replication manager itself and synchronize the local replicas with the >"server" replica every 5 minutes or every hour or whatever interval is >appropriate to your app. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen >Sent: March 1, 2003 5:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access & Windows 2000 Performance issues with linked >tables > >Hello All, > >I was asked recently to move a database that I created three years ago from >a Win NT 4.0 Server server to a new Windows 2000 Server server. > >The database application that I developed is built on a FE, a BE and a MDA >file and also a .mdw file. > >When the backend is on the NT server, performance is fine, but when I move >it to the new Windows 2000 server ( a super duper server with loads of disk >/ ram / processor ), it grinds to a halt. > >To make a long story short, it appears that Microsoft have introduced >something to the Win2K and WinXP OS's that cause linked tables to perform >very slowly. There is an article in the KB about this. > >Their suggestion (as opposed to the fix) is instead of talking to the >properties of the linked tables, to programatically open the backend and >talk directly to the properties of the source tables. > >In my case, I would have to re-write the entire application and it is not >ecomomical to do so, a better alternative to that would be simply to rebuild >the app in SQL and use ADO. > >However, I had another idea which was to bring the BE back into the FE and >leave it as one .mdb file. When I tried that it solved my problem. > >The purpose of this email is to share the information with you guys and ask >if you have experienced this also. > >Incidently, the 'normal' operations such as reading data, querying etc, was >never impaired, it was only when talking to linked tables, > >If you wish to demonstrate this for yourself, create a db with one table and >with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win >2k machine, it can be Pro or Server. Then create another db and link to >Somename_BE.mdb. Finally, let the form wizard create a new form and pull >all the fields in. The form creatation should talk you about ten seconds or >so. If you do the same thing on a Win NT Server, it happens in one second. > >I do not know if this will help anyone, but hopefully it might. > >Best Regards > > >Mark L. Breen >Solution Providers Ltd >Ireland > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From mwhittinghill at symphonyinfo.com Mon Mar 3 12:20:01 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Mon Mar 3 12:20:01 2003 Subject: [AccessD] CreateWorkspace Message-ID: <001801c2e1b1$e1a4cc50$0300000a@Pascal> Hi all, When creating a workspace object for a transaction, I used to always use: Set ws = DBEngine.Workspaces(0) Then when I began doing nested transactions, I used this for the inner transaction, as DBEngine.Workspaces(0) was already taken, and this inner workspace could possibly be DBEngine.Workspaces(0) from a different context: Set ws = CreateWorkspace("", "admin", "") (assumes Jet security not used) Is there any reason not to just always use the CreateWorkspace method? Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 From my.lists at verizon.net Mon Mar 3 12:36:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon Mar 3 12:36:01 2003 Subject: [AccessD] Database in an Unexpected state..., or Calling all DB minds, we have a suspect database... Message-ID: <006501c2e1b3$d9f93a20$b615010a@FHTAPIA> : A little background... : : The client is not mine (honestly he's not). A client of my brother in law, : who has a networking company, "had" a database who was built in Access 2000. : It was not broken up into the FE/BE method, instead each user (4 users in : all) had a link to the database and worked that way... I don't know the SR : version of Access or the SP's of their Windows OSes... :( sorry. Anyhow, : One Fine day (Saturday) the owner of the db went to open it from his machine : when it suddenly crashed. He called on my Brother in law to fix his PC and : get his database up and running the "EXACT" error word for word is this... : : xxxxxxxxxxxxxxxxxxxxxxxxxx : Microsoft Access : ------------------ : This database is in an unexpected state; Microsoft Access can't open it. : : This database has been converted from a prior version of Microsoft Access by : using the DAO CompactDatabase method instead of the Convert Database command : on the Tools menu (Database Utilities submenu). This has left the database : in a partially converted state. : : If you have a copy of the database in its original format, use the Convert : Database command on the Tools menu (Database Utilities submenu) to convert : it. If the original database is no longer available, create a new database : and import your tables and queries to preserve your data. Your other : database objects can't be recovered. : : [OK] : xxxxxxxxxxxxxxxxxxxxxxxxxx : so what did we try?, : 1) /decompile (not successful) : 2) could not repair and compact from inside access because of the above : error : 3) jetcomp 4 utility (not successful) : 4) attempted to open it w/ AccessXP (curtesy of William), (Not successful) : 5) /repair from the command line (idea from John Colby) (Not successful). : : While the Database has now been restored from over 3 days ago (Wednesday : last week) I realize restoring this copy of the database seems moot, but in : many ways perhaps not... I'd like to know the solution in case I ever run : into it again... : : : -Francisco : http://rcm.netfirms.com : : From JHewson at karta.com Mon Mar 3 12:49:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 3 12:49:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim From jcolby at colbyconsulting.com Mon Mar 3 13:06:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 13:06:00 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Message-ID: Jim, AFAIK this is not possible using the built in controls of Access. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,230 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 03, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2160 bytes Desc: not available URL: From JHewson at karta.com Mon Mar 3 13:14:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 3 13:14:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A5E@NT04> Thanks. > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 03, 2003 1:05 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Colorful List Box Question > > Jim, > > AFAIK this is not possible using the built in controls of Access. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,230 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Monday, March 03, 2003 1:49 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Colorful List Box Question > > > > Folks, > > Is it possible to have a single row colored in a list box determined by > its > value? > For example: > Row 2 colored red > Row 3 colored green > Row 4 colored yellow > > Data would look like this > > A Obsolete > B Active > C Reserve (Not yet Obsolete) > D Active > E Restraint > F Obsolete > > Access 2000 > > TIA > > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 3 13:20:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 3 13:20:00 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: References: Message-ID: <1046719125.3e63aa95b770b@hosea.qub.ac.uk> www.lebans.com has a demo of something like this. Not sure excatly hpw it works or even if it meets your needs. Martin Quoting "John W. Colby" : > Jim, > > AFAIK this is not possible using the built in controls of Access. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,230 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Monday, March 03, 2003 1:49 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Colorful List Box Question > > > > Folks, > > Is it possible to have a single row colored in a list box determined by > its > value? > For example: > Row 2 colored red > Row 3 colored green > Row 4 colored yellow > > Data would look like this > > A Obsolete > B Active > C Reserve (Not yet Obsolete) > D Active > E Restraint > F Obsolete > > Access 2000 > > TIA > > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From StaRKeY at Wanadoo.nl Mon Mar 3 14:01:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon Mar 3 14:01:01 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Message-ID: Jim, No control but if you feel a bit creative you could try a couple of textboxes placed on top of eachother combining to the look of a listbox and have all the 'row' props you want. Ofcourse the filling of each textbox would be a bit more tricky but hey, you win some you lose some;-) (Maybe someone can come up with a class, create your own index for the object and have some data manipulation feast:-)) Regards, Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: maandag 3 maart 2003 19:49 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is virus free Virus Database (VPS): 28-2-2003 Tested on: 3-3-2003 20:54:54 (c) 2000-2003 ALWIL Software. http://www.avast.com (Freeware) From hsimpson88 at hotmail.com Mon Mar 3 14:11:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon Mar 3 14:11:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Word will recreate Normal.dot if it is missing. There is never any need to copy it from another machine. Ordinarily, you may safely delete all copies of Normal.dot at any time. Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word >Date: Mon, 3 Mar 2003 09:35:52 -0600 > >On the Alt key issue, are you talking about the menus, or the underlines >showing the shortcut keys? > >I posted on Woody's lounge about the underlines not showing up until the >Alt >key is pressed. There is an accessibility option that covers that >issue...and a display setting to. > >Here's the thread: >http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page >=5&view=collapsed&sb=5&o=0&fpart= > >Drew > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Monday, March 03, 2003 8:42 AM >To: accessd at databaseadvisors.com >Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word > > >Hello everyone! > >I was away from my Email all weekend, but now I am back to work, which >means back to the problems that I was working on Friday. First on my >plate, is this "missing menu bar" problem. > >I had a technician, who was nearby the user, try the "/a" parameter, >and this worked. But I thought that this meant that the normal.dot file >needed to be replaced, so we tried deleting it and copying one from >another nearby, and similar, PC, and it did not work. > >This user actually sounds to be a little more tech savvy than our >average user, so I am going to have her try the "/r" and see where that >puts us. > >I did find out from the technician that the menu bar's drop-down menus >do appear, when the Alt key is pressed...actually, you must press Alt+F >or Alt and then the down arrow, but in either event, this means that >there is a menu present...it is just "invisible." > >I'll let y'all know how it turns out. > >Take care! > >John W Clark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From martyconnelly at shaw.ca Mon Mar 3 15:01:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 3 15:01:01 2003 Subject: [AccessD] more on printing References: <000701c2e1ae$313e22b0$d2e6ffcc@SusanOne> Message-ID: <3E63C273.20107@shaw.ca> On Ken Getz's site http://www.mcwtech.com try these two methods I used a variation on these to scan through all reports and identify what the original code was calling or had setup as a printer attached to ther report. I have an mdb that does this somewhere. Under Publications Download DefaultPRT.ZIP, a sample Access 97 project for changing your default printer at runtime. If you're printing, and want to change the output device simply, this code is for you. and Download a replacement for Ch10.MDB (Access 97 Developer's Handbook) containing the full set of forms (missing from the book's CD). Or you can try this alternate from Albert D. Kallal (kallal at msn.com) Printer settings in mde comp.databases.ms-access While you can't change the printer settings in a MDE, you actually don't want to store the printer with report anyway. In other words, you should NOT be storing the printer name with the report. If you leave all reports with NO printer name, then simple solution becomes to change the current windows default printer. The following code will do just that. This code is minimal, and is smaller than the daily FAQ posted in this newsgroup. Just paste the following into a module. Option Compare Database Option Explicit '************************ ' Printer setup module ' Set/retrieves the default printer - originaly for VB6 ' Works for A97/a2000 ' This is minimal code. ' Albert D.Kallal - 01/13/2002, kallal at msn.com ' Rev history: Date Who notes ' 01/13/2002 Albert D. kallal ' ' I wrote this after looking at some the code on the net. Some of the routines ' to change a printer were approaching 500 + of lines of code. Just the printer ' constant defs was over 100 lines of code! Yikes! (not mention the whole thing being ' 4 or more modules! How in heck is one supposed to add a simple printer change to ' ones app? The solution is below! ' In addition the code on dev's site has some bugs, and will cause windows to show ' *more* than one printer as the default. This is especially noticeable on windows ME. The ' code here does NOT have this problem. ' I have not had time to clean this code up...it is "as is" ' I use only TWO API's (the 3rd one is optional). There is a total of only 4 functions! ' KISS is the word. Keep it simple stupid. I don't care about device drivers, or the ' port number. All these routines just work with the simple printer name. If you do ' actually care about the device driver and port stuff..then use the one of many ' examples available on the net. Those other examples also deal with margins, orientation ' etc. ' ' You can paste this code into a module..and away you go ' '************************ ' How to use ' To get the default printer ' debug.print GetDefaultPrinter ' To set the default printer ' debug.print SetDefaultPrinter("HP Laser JET") ' above returns true if success. ' To get a list of printers suitable for a listbox, or combo ' debug.print GetPrinters (in forms on-load event you ' would use: ' Me.Combo0.RowSource = GetPrinters ' Me.Combo0 = GetDefaultPrinter ' the first line loads up the combo box, the 2nd sets ' the combo to the default. ' ' that is all there folks! ' ' Thus, when printing a report, you can: ' ' 1) save the default printer into a string ' strCurrentPtr = GetDefaultPrinter ' 2) switch to your report printer ' SetDefaultPrinter strReportsPtr ' 3) print report ' 4) switch back to the default printer ' SetDefaultPrinter strCurrentPtr ' Private Const HWND_BROADCAST As Long = &HFFFF& Private Const WM_WININICHANGE As Long = &H1A ' The following code allows one to read, and write to the WIN.INI files ' In win 2000 the printer settings are actually in the registry. However, windows ' handles this correctly ' Private Declare Function GetProfileString Lib "kernel32" _ Alias "GetProfileStringA" _ (ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As String, _ ByVal nSize As Long) As Long Private Declare Function WriteProfileString Lib "kernel32" _ Alias "WriteProfileStringA" _ (ByVal lpszSection As String, _ ByVal lpszKeyName As String, _ ByVal lpszString As String) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" _ (ByVal hwnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ lparam As Any) As Long Private Function fstrDField(mytext As String, delim As String, groupnum As Integer) As String ' this is a standard delimiter routine that every developer I know has. ' This routine has a million uses. This routine is great for splitting up ' data fields, or sending multiple parms to a openargs of a form ' ' Parms are ' mytext - a delimited string ' delim - our delimiter (usually a , or / or a space) ' groupnum - which of the delimited values to return ' Dim startpos As Integer, endpos As Integer Dim groupptr As Integer, chptr As Integer chptr = 1 startpos = 0 For groupptr = 1 To groupnum - 1 chptr = InStr(chptr, mytext, delim) If chptr = 0 Then fstrDField = "" Exit Function Else chptr = chptr + 1 End If Next groupptr startpos = chptr endpos = InStr(startpos + 1, mytext, delim) If endpos = 0 Then endpos = Len(mytext) + 1 End If fstrDField = Mid$(mytext, startpos, endpos - startpos) End Function Function SetDefaultPrinter(strPrinterName As String) As Boolean Dim strDeviceLine As String Dim strBuffer As String Dim lngbuf As Long ' get the full device string ' strBuffer = Space(1024) lngbuf = GetProfileString("PrinterPorts", strPrinterName, "", strBuffer, Len(strBuffer)) 'Write out this new printer information in ' WIN.INI file for DEVICE item If lngbuf > 0 Then strDeviceLine = strPrinterName & "," & _ fstrDField(strBuffer, Chr(0), 1) & "," & _ fstrDField(strBuffer, Chr(0), 2) Call WriteProfileString("windows", "Device", strDeviceLine) SetDefaultPrinter = True ' Below is optional, and should be done. It updates the existing windows ' so the "default" printer icon changes. If you don't do the below..then ' you will often see more than one printer as the default! The reason *not* ' to do the SendMessage is that many open applications will now sense the change ' in printer. I vote to leave it in..but your case you might not want this. ' Call SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, ByVal "windows") Else SetDefaultPrinter = False End If End Function Function GetDefaultPrinter() As String Dim strDefault As String Dim lngbuf As Long strDefault = String(255, Chr(0)) lngbuf = GetProfileString("Windows", "Device", "", strDefault, Len(strDefault)) If lngbuf > 0 Then GetDefaultPrinter = fstrDField(strDefault, ",", 1) Else GetDefaultPrinter = "" End If End Function Function GetPrinters() As String ' this routine returns a list of printers, separated by ' a ";", and thus the results are suitable for stuffing into a combo box Dim strBuffer As String Dim strOnePtr As String Dim intPos As Integer Dim lngChars As Long strBuffer = Space(2048) lngChars = GetProfileString("PrinterPorts", vbNullString, "", strBuffer, Len(strBuffer)) If lngChars > 0 Then intPos = InStr(strBuffer, Chr(0)) Do While intPos > 1 strOnePtr = Left(strBuffer, intPos - 1) strBuffer = Mid(strBuffer, intPos + 1) If GetPrinters <> "" Then GetPrinters = GetPrinters & ";" GetPrinters = GetPrinters & strOnePtr intPos = InStr(strBuffer, Chr(0)) Loop Else GetPrinters = "" End If End Function Public Function testPrintersGet() Debug.Print GetDefaultPrinter Debug.Print GetPrinters End Function -------------------------------------------------------------------------------- Susan Harkins wrote: >I didn't know that -- that's kind of a problem, isn't it? ;) But, if the >Page Setup dialog is available to the user, it kind of negates the need to >customize the process anyway -- I would think for most apps anyway. It's >good to know though -- thanks Charlotte. > >Some of us are API challenged -- in my case that's a euphemism for lazy. :) > >Susan H. > > > > >>In case you haven't discovered it, using page setup will set the >>PrtDevMode and override you report.Printer settings. Not only that, it >>appears to override the report.PrtDevMode settings as well. We gave up >>on the Printer and PrtDevMode methods and went back to API calls. >> >>Charlotte Foust >> >> > > > From cfoust at infostatsystems.com Mon Mar 3 15:22:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 15:22:00 2003 Subject: [AccessD] more on printing Message-ID: That's more or less what we're using because we've found the Printer method and the PrtDevMode method of the report object to be not as robust as one might have been led to expect in Access 2002. Those methods weren't available in any of the earlier versions, so I had high hopes for them. But since Ctl+P is a Windows hotkey, I haven't found a way to prevent users from setting options that override the settings made using the report objects Printer or PrtDevMode methods. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 03, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] more on printing On Ken Getz's site http://www.mcwtech.com try these two methods I used a variation on these to scan through all reports and identify what the original code was calling or had setup as a printer attached to ther report. I have an mdb that does this somewhere. Under Publications Download DefaultPRT.ZIP, a sample Access 97 project for changing your default printer at runtime. If you're printing, and want to change the output device simply, this code is for you. and Download a replacement for Ch10.MDB (Access 97 Developer's Handbook) containing the full set of forms (missing from the book's CD). Or you can try this alternate from Albert D. Kallal (kallal at msn.com) Printer settings in mde comp.databases.ms-access While you can't change the printer settings in a MDE, you actually don't want to store the printer with report anyway. In other words, you should NOT be storing the printer name with the report. If you leave all reports with NO printer name, then simple solution becomes to change the current windows default printer. The following code will do just that. This code is minimal, and is smaller than the daily FAQ posted in this newsgroup. Just paste the following into a module. Option Compare Database Option Explicit '************************ ' Printer setup module ' Set/retrieves the default printer - originaly for VB6 ' Works for A97/a2000 ' This is minimal code. ' Albert D.Kallal - 01/13/2002, kallal at msn.com ' Rev history: Date Who notes ' 01/13/2002 Albert D. kallal ' ' I wrote this after looking at some the code on the net. Some of the routines ' to change a printer were approaching 500 + of lines of code. Just the printer ' constant defs was over 100 lines of code! Yikes! (not mention the whole thing being ' 4 or more modules! How in heck is one supposed to add a simple printer change to ' ones app? The solution is below! ' In addition the code on dev's site has some bugs, and will cause windows to show ' *more* than one printer as the default. This is especially noticeable on windows ME. The ' code here does NOT have this problem. ' I have not had time to clean this code up...it is "as is" ' I use only TWO API's (the 3rd one is optional). There is a total of only 4 functions! ' KISS is the word. Keep it simple stupid. I don't care about device drivers, or the ' port number. All these routines just work with the simple printer name. If you do ' actually care about the device driver and port stuff..then use the one of many ' examples available on the net. Those other examples also deal with margins, orientation ' etc. ' ' You can paste this code into a module..and away you go ' '************************ ' How to use ' To get the default printer ' debug.print GetDefaultPrinter ' To set the default printer ' debug.print SetDefaultPrinter("HP Laser JET") ' above returns true if success. ' To get a list of printers suitable for a listbox, or combo ' debug.print GetPrinters (in forms on-load event you ' would use: ' Me.Combo0.RowSource = GetPrinters ' Me.Combo0 = GetDefaultPrinter ' the first line loads up the combo box, the 2nd sets ' the combo to the default. ' ' that is all there folks! ' ' Thus, when printing a report, you can: ' ' 1) save the default printer into a string ' strCurrentPtr = GetDefaultPrinter ' 2) switch to your report printer ' SetDefaultPrinter strReportsPtr ' 3) print report ' 4) switch back to the default printer ' SetDefaultPrinter strCurrentPtr ' Private Const HWND_BROADCAST As Long = &HFFFF& Private Const WM_WININICHANGE As Long = &H1A ' The following code allows one to read, and write to the WIN.INI files ' In win 2000 the printer settings are actually in the registry. However, windows ' handles this correctly ' Private Declare Function GetProfileString Lib "kernel32" _ Alias "GetProfileStringA" _ (ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As String, _ ByVal nSize As Long) As Long Private Declare Function WriteProfileString Lib "kernel32" _ Alias "WriteProfileStringA" _ (ByVal lpszSection As String, _ ByVal lpszKeyName As String, _ ByVal lpszString As String) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" _ (ByVal hwnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ lparam As Any) As Long Private Function fstrDField(mytext As String, delim As String, groupnum As Integer) As String ' this is a standard delimiter routine that every developer I know has. ' This routine has a million uses. This routine is great for splitting up ' data fields, or sending multiple parms to a openargs of a form ' ' Parms are ' mytext - a delimited string ' delim - our delimiter (usually a , or / or a space) ' groupnum - which of the delimited values to return ' Dim startpos As Integer, endpos As Integer Dim groupptr As Integer, chptr As Integer chptr = 1 startpos = 0 For groupptr = 1 To groupnum - 1 chptr = InStr(chptr, mytext, delim) If chptr = 0 Then fstrDField = "" Exit Function Else chptr = chptr + 1 End If Next groupptr startpos = chptr endpos = InStr(startpos + 1, mytext, delim) If endpos = 0 Then endpos = Len(mytext) + 1 End If fstrDField = Mid$(mytext, startpos, endpos - startpos) End Function Function SetDefaultPrinter(strPrinterName As String) As Boolean Dim strDeviceLine As String Dim strBuffer As String Dim lngbuf As Long ' get the full device string ' strBuffer = Space(1024) lngbuf = GetProfileString("PrinterPorts", strPrinterName, "", strBuffer, Len(strBuffer)) 'Write out this new printer information in ' WIN.INI file for DEVICE item If lngbuf > 0 Then strDeviceLine = strPrinterName & "," & _ fstrDField(strBuffer, Chr(0), 1) & "," & _ fstrDField(strBuffer, Chr(0), 2) Call WriteProfileString("windows", "Device", strDeviceLine) SetDefaultPrinter = True ' Below is optional, and should be done. It updates the existing windows ' so the "default" printer icon changes. If you don't do the below..then ' you will often see more than one printer as the default! The reason *not* ' to do the SendMessage is that many open applications will now sense the change ' in printer. I vote to leave it in..but your case you might not want this. ' Call SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, ByVal "windows") Else SetDefaultPrinter = False End If End Function Function GetDefaultPrinter() As String Dim strDefault As String Dim lngbuf As Long strDefault = String(255, Chr(0)) lngbuf = GetProfileString("Windows", "Device", "", strDefault, Len(strDefault)) If lngbuf > 0 Then GetDefaultPrinter = fstrDField(strDefault, ",", 1) Else GetDefaultPrinter = "" End If End Function Function GetPrinters() As String ' this routine returns a list of printers, separated by ' a ";", and thus the results are suitable for stuffing into a combo box Dim strBuffer As String Dim strOnePtr As String Dim intPos As Integer Dim lngChars As Long strBuffer = Space(2048) lngChars = GetProfileString("PrinterPorts", vbNullString, "", strBuffer, Len(strBuffer)) If lngChars > 0 Then intPos = InStr(strBuffer, Chr(0)) Do While intPos > 1 strOnePtr = Left(strBuffer, intPos - 1) strBuffer = Mid(strBuffer, intPos + 1) If GetPrinters <> "" Then GetPrinters = GetPrinters & ";" GetPrinters = GetPrinters & strOnePtr intPos = InStr(strBuffer, Chr(0)) Loop Else GetPrinters = "" End If End Function Public Function testPrintersGet() Debug.Print GetDefaultPrinter Debug.Print GetPrinters End Function ------------------------------------------------------------------------ -------- Susan Harkins wrote: >I didn't know that -- that's kind of a problem, isn't it? ;) But, if >the Page Setup dialog is available to the user, it kind of negates the >need to customize the process anyway -- I would think for most apps >anyway. It's good to know though -- thanks Charlotte. > >Some of us are API challenged -- in my case that's a euphemism for >lazy. :) > >Susan H. > > > > >>In case you haven't discovered it, using page setup will set the >>PrtDevMode and override you report.Printer settings. Not only that, it >>appears to override the report.PrtDevMode settings as well. We gave up >>on the Printer and PrtDevMode methods and went back to API calls. >> >>Charlotte Foust >> >> > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 3 15:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 3 15:49:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Message-ID: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it? If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions :-) Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 3, 2003 10:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 3 16:07:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 16:07:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821FC@main2.marlow.com> From ralphb at cwgsy.net Mon Mar 3 16:24:00 2003 From: ralphb at cwgsy.net (Ralph Bryce) Date: Mon Mar 3 16:24:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: Message-ID: <5.2.0.9.0.20030303221021.038c1910@mail.cwgsy.net> >Word will recreate Normal.dot if it is missing. That's true, but it's a brand new "blank" template created from Word default settings. >There is never any need to copy it from another machine. Ordinarily, you >may safely delete all copies of Normal.dot at any time. Bear in mind, though, that Normal.dot may (and probably will) contain user-defined Autotext entries, styles, macros and toolbars (i.e. much of the user's environment) which all disappear if normal.dot is deleted. So save a copy before deleting, then if you do have a corrupt normal template (a not uncommon occurrence) you can use Word's Organiser to copy stuff back selectively to the new normal.dot and reconstruct the environment. HTH Ralph B From cfoust at infostatsystems.com Mon Mar 3 16:42:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 16:42:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Mon Mar 3 16:59:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 3 16:59:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> References: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> Message-ID: <1046732525.4784.63.camel@sgsax-th4022c> Arthur, The tool that does this is samba. See this URL: http://us1.samba.org/samba/samba.html for full info. Samba is a cross-platform implementation of the SMB protocol. When you run samba, the box you run it on shows up in your Windows workgroup as an NT server. You can set folders and printers to be shared just like on a windows machine, which can be browsed transparently through the Network Neighborhood. I've never tried it, but the documentation claims you can even set the machine running samba as the PDC for the domain. I have used samba on linux and it works quite nicely. There is now way you would know that you are not browsing a Windows machine. Performance is as good as browsing any other share on the domain. The file type and file system doesn't matter. Samba makes it all transparent. Seth On Mon, 2003-03-03 at 15:48, Arthur Fuller wrote: > I was reading some threads that suggested that a Linux box might be used as > the server. I have no idea how to configure this. Boxes a-f hit a server > which hitherto has been a winX box. If have read the thread correctly, I can > subst a Linux box for any given server in the farm. Small company, say 4 > servers. Can I build server Documents as a Linux box and hit it from the > numerous WinX boxes like they didn't even know it was a Linux server? I tend > to stay at one level, so forgive me if my questions reveal much ignorance. > Could I put a huge number of documents mostly media and DWMX &c. files on a > Linux box and transparently hit them from a local inst of DWMX, say, running > on winXP and having no idea that the server in question is running Mandrake > 9.x? Is this true? If so, way cool! And how do I build it? > > > > If so, how far can one push this scenario? Could an Access MDB live on a > Linux server and be accessible from x, y and z users on win98, 2K and XP? > I'm not an OS-level guy, hence these questions :-) > > > > Arthur > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bchacc at san.rr.com Mon Mar 3 17:52:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 17:52:00 2003 Subject: [AccessD] Record Selector Withevents Demo References: Message-ID: <01d901c2e1df$d0ae5dc0$6601a8c0@HAL9002> John: I do something similar, ala carte, in my (fabulously) bound forms: Private Sub cboAgreements_AfterUpdate() Me.RecordsetClone.FindFirst "[fldRAHID] = " & cboAgreements.Value If Me.RecordsetClone.NoMatch Then MsgBox "Agreement Number not found.", vbExclamation Else Me.Bookmark = Me.RecordsetClone.Bookmark End If cmdExit.SetFocus cboAgreements.Visible = False End Sub which displays a rental agreement selected from the combo box. (Of course the "Agreement Number not found.", code should never execute.) What is the advantage of what you've done vs. this? Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Sunday, March 02, 2003 8:10 AM Subject: [AccessD] Record Selector Withevents Demo > I have added another withevents demo class to my site that is actually > useful if you like the technique. This class creates a combo box that is > used as a record selector for finding records in bound forms. The class is > initialized passing in the form, the record selector combo and a text box > bound to the autonumber PK field. When the user selects a record in the > combo, the AfterUpdate event handler in the class is activated. It finds > the record in the form and sets the form's bookmark to that record so that > the form "moves to" that record. The class exposes a public method that the > form's current event calls that keeps the record selector combo pointing to > the same record that the form is on if the user moves through the records > manually by page down etc. > > This class is fully functional, and can be used in your projects simply by > importing the class, cutting and pasting the combo and text box onto your > form, binding the text box to the PK field for that form, and setting the > combo's SQL to the recID and one or more fields that allow the user to > choose a record. Cut and paste the code in the demo form and you are up and > running with a record selector on any bound form. > > The demo is fully functional and demonstrates this technique. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,208 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Mon Mar 3 18:08:00 2003 From: papparuff at attbi.com (John Ruff) Date: Mon Mar 3 18:08:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: Message-ID: <004001c2e1e1$fb51f9e0$6401a8c0@papparuff> Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Mar 3 18:12:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 18:12:00 2003 Subject: [AccessD] OT: Server Needed References: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <01e301c2e1e2$9b9ecf90$6601a8c0@HAL9002> Thanks to all who replied to this thread. It was both educational for me and valuable for the client. is ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Saturday, March 01, 2003 10:06 PM Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Mar 3 18:40:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 18:40:00 2003 Subject: [AccessD] Record Selector Withevents Demo In-Reply-To: <01d901c2e1df$d0ae5dc0$6601a8c0@HAL9002> Message-ID: There is no "Advantage" as such. Yours does exactly what mine does. the difference is that mine is a class, that uses two controls to "feed the process". Notice that since the text box txtRecID is bound, the name of the field that it is bound to is available to me in a property of the text box. I can simply read that property out to determine what the string should be for the filter. It's just exactly what you are doing but generic. Cut and paste the two controls (RecSel combo and RecID text box) into the form, bind the text box, set the SQL for the combo and init the class and you are done. Of course in my framework I do it slightly different. I use a naming convention to determine that the combo passed in is a record selector. If it is, I search for and grab a reference to the RecID control on my form. I always have one on every (bound) form anyway since it is useful for other control SQL statements etc. In the same class I do the NotInList and DblClick event handlers so I have a generic "do it all" combo class, pretty similar to merging the two combo classes that are on my site. I split them apart specifically to make them easier to understand. In my framework it is just a single class that does all of the above and more. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,237 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, March 03, 2003 6:52 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Record Selector Withevents Demo John: I do something similar, ala carte, in my (fabulously) bound forms: Private Sub cboAgreements_AfterUpdate() Me.RecordsetClone.FindFirst "[fldRAHID] = " & cboAgreements.Value If Me.RecordsetClone.NoMatch Then MsgBox "Agreement Number not found.", vbExclamation Else Me.Bookmark = Me.RecordsetClone.Bookmark End If cmdExit.SetFocus cboAgreements.Visible = False End Sub which displays a rental agreement selected from the combo box. (Of course the "Agreement Number not found.", code should never execute.) What is the advantage of what you've done vs. this? Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Sunday, March 02, 2003 8:10 AM Subject: [AccessD] Record Selector Withevents Demo > I have added another withevents demo class to my site that is actually > useful if you like the technique. This class creates a combo box that is > used as a record selector for finding records in bound forms. The class is > initialized passing in the form, the record selector combo and a text box > bound to the autonumber PK field. When the user selects a record in the > combo, the AfterUpdate event handler in the class is activated. It finds > the record in the form and sets the form's bookmark to that record so that > the form "moves to" that record. The class exposes a public method that the > form's current event calls that keeps the record selector combo pointing to > the same record that the form is on if the user moves through the records > manually by page down etc. > > This class is fully functional, and can be used in your projects simply by > importing the class, cutting and pasting the combo and text box onto your > form, binding the text box to the PK field for that form, and setting the > combo's SQL to the recID and one or more fields that allow the user to > choose a record. Cut and paste the code in the demo form and you are up and > running with a record selector on any bound form. > > The demo is fully functional and demonstrates this technique. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,208 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3800 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 3 19:07:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 19:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: Thanks for the suggestion, John. Unfortunately, in our case, Outlook doesn't hang, only Access. Interestingly enough, on some of our machines, if Outlook is minimized, the Access doesn't hang, but if it is open on the desktop, even if Access is on top, then Access hangs when it tries to reconnect to its own back end. I'm going to rewrite the code to reattach the tables and see if new code using DAO (there are reasons) but written entirely from scratch, will behave the same way. Charlotte Foust -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Monday, March 03, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastercafe at ctv.es Mon Mar 3 23:23:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon Mar 3 23:23:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: Message-ID: MessageWe use an external control to make SMTP with A2k, is the same using A2k and AXP with W2k or W98SE. In other side we check the hang and don't occur on machines who use only Microsoft applications, but if you install some another libraries then some problems with hang appear. Check Fath Software to see his SMTP control, is cheap and friendly to use in Access Juan Menendez -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Charlotte Foust Enviado el: martes, 04 de marzo de 2003 02:03 Para: accessd at databaseadvisors.com Asunto: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Thanks for the suggestion, John. Unfortunately, in our case, Outlook doesn't hang, only Access. Interestingly enough, on some of our machines, if Outlook is minimized, the Access doesn't hang, but if it is open on the desktop, even if Access is on top, then Access hangs when it tries to reconnect to its own back end. I'm going to rewrite the code to reattach the tables and see if new code using DAO (there are reasons) but written entirely from scratch, will behave the same way. Charlotte Foust -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Monday, March 03, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff ? The Eternal Optimist J Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcel.vreuls at achmea.nl Tue Mar 4 02:41:00 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue Mar 4 02:41:00 2003 Subject: Betreft: [AccessD] Colorful List Box Question Message-ID: Jim, I am looking for the samething but cannot find it. On lebans it is color each record in a differentcolor and after row 16 start again. Also stephen told me their is no standard control for this. I have found some 3rd party controls like vListbox mBox but they al cannot do it. Now I am looking at Janus Grid controls to make this happen. Let you know!! Gr. marcel Jim Hewson @databaseadvisors.com op 03-03-2003 19:48:44 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: "'accessd at databaseadvisors.com'" cc: Onderwerp: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From mwp.reid at Queens-Belfast.AC.UK Tue Mar 4 03:04:00 2003 From: mwp.reid at Queens-Belfast.AC.UK (Martin Reid) Date: Tue Mar 4 03:04:00 2003 Subject: [AccessD] OT ADPS In-Reply-To: Message-ID: Someone was asking how Access stored Access specific properties when working with an ADP and SQL Server. Heres the answer The only access specific table is dtproperties. SQL SEM and VS tools use it too for storing database diagrams. All of the extended properties that access uses are saved in SQL 2000. Martin Martin WP Reid Information Services Queens University Belfast Tel: (02890) 273750 ---------------------- From marcel.vreuls at achmea.nl Tue Mar 4 04:35:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue Mar 4 04:35:01 2003 Subject: !!: [AccessD] Colorful List Box Question Message-ID: Jim, I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox. MB Extended ListBox Control version 1.0 Copyright 1999 Marco Bellinaso Download the latest version of the control on www.vb2themax.com Gr. marcel ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From CWortz at tea.state.tx.us Tue Mar 4 07:25:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 4 07:25:00 2003 Subject: [AccessD] RE: Deploying a database, Security and Network issues Message-ID: Wayne, Split first, secure second, move to network third. The .mdw can be located on the network or on your hard drive. Since I deal with multiple versions of Access, I always set up a shortcut to each Access application as such. "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "C:\Program Files\Common Files\System\ThisAppsSystem.mdw" "full path to ThisApp" Notice in the above that the version of Access is first specified, then the .mdw to use in trying to open the app, and finally the app itself. If you only have one version of Access, then you do not need the first part. If you have any other questions about securing your Access app, please come on back to the list and we will try to answer them. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Wayne Knox [mailto:wknox at cmaaccess.com] Sent: Monday 2003 Mar 03 15:47 To: Wortz, Charles Subject: RE: Deploying a database, Security and Network issues Thanks Charles, I have had a look at the Access Security FAQ but I have to admit that most of it is over my head at this time. I will keep at it though. I guess my main concern was whether I needed to secure the DB prior to splitting into FE/BE or after. Also when I set up the Workgroup with Wrkgadm.exe, is this done on the target network or prior to leaving my developing computer(not on the network)? Anyway thanks again! I will keep digging. Wayne Knox Senior Trooper District DRE Coordinator DRE/SFST Instructor Texas Department of Public Safety 243 S. College La Grange, TX 78945 979-968-8982 Work 979-968-3928 Home 979-968-4994 Fax 512-801-8188 Cell wknox at cmaaccess.com -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, March 03, 2003 7:17 AM To: Wayne Knox Subject: FW:Deploying a database, Security and Network issues Wayne, Here is a reply I made to a similar request a few days ago. The Access Security FAQ is the place to start. After you have read it a few times, feel free to come back to the list with all your questions. Charles Wortz From bob at renaissancesiding.com Tue Mar 4 08:33:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue Mar 4 08:33:00 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <01C2E230.F79C2BF0.bob@renaissancesiding.com> Since I had such a heck of a time finding the actual file on this site, I thought that I'd put the direct link here for the rest of you. http://www.vb2themax.com/Downloads/Files/MBListEx.zip Alternatively, this link goes to Marco's gallery, with screenshots! http://www.vb2themax.com/MBGallery/Controls.asp# Many thanks to Marcel for locating this code! Bob Gajewski On Tuesday, March 04, 2003 05:34 AM, marcel.vreuls at achmea.nl [SMTP:marcel.vreuls at achmea.nl] wrote: > > Jim, > > I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox > > MB Extended ListBox Control > version 1.0 > Copyright 1999 Marco Bellinaso > Download the latest version of the control on www.vb2themax.com > > > Gr. marcel > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From JHewson at karta.com Tue Mar 4 08:44:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 08:44:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A61@NT04> Thanks, Bob. I too had difficulty finding the actual file. I have it installed but have not had the opportunity to try it. Thanks Marcel for finding it. Jim -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Tuesday, March 04, 2003 8:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Colorful List Box Question Since I had such a heck of a time finding the actual file on this site, I thought that I'd put the direct link here for the rest of you. http://www.vb2themax.com/Downloads/Files/MBListEx.zip Alternatively, this link goes to Marco's gallery, with screenshots! http://www.vb2themax.com/MBGallery/Controls.asp# Many thanks to Marcel for locating this code! Bob Gajewski On Tuesday, March 04, 2003 05:34 AM, marcel.vreuls at achmea.nl [SMTP:marcel.vreuls at achmea.nl] wrote: > > Jim, > > I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox > > MB Extended ListBox Control > version 1.0 > Copyright 1999 Marco Bellinaso > Download the latest version of the control on www.vb2themax.com > > > Gr. marcel > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 09:10:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 09:10:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: References: Message-ID: <1046790788.6175.39.camel@sgsax-th4022c> Charlotte, We've been experiencing something like this as well. I start the app which launches the autolinker. Since the autolinker is especially slow on restoring connections to my BE that sits on my Novell server, I will click to another app while I wait. It almost invariably ends up locking the Access app. The only thing that restores the system to a usable state is to forcibly close Access. I've tried looking through the code, but there's nothing obvious (to me at least) in there that would cause this to happen. Relinking to a BE on Novell is panifully slow even on Win98 machines. I've tried optimizing it, but it still takes up to four seconds for each table on Win98, and even longer on 2K or XP machines. Unfortunately, the problem doesn't appear to be the relinker itself. Using the built-in Linked Table Manager is still painfully slow. As a result I am "this close" to moving everything to a real database server and using ODBC. Of course, ODBC is likely to introduce its own performance hit. I would love to have a discussion on this topic. Seth On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > We're beating our heads against this one. Under certain specific > circumstances, both Access XP and 97 will hang running under WinXP. The > circumstances are that Outlook is running (either 2000 or XP) and you > toggle to the Outlook application during a portion of the operation when > Access is trying to reattach files using an instance of the current > database opened in a second DAO workspace. I'm trying to track down > anything on this problem and haven't had much luck. There are articles > about the ODBC drivers in multithreaded environments, but they seem to > apply more to SQL Server links and are supposed to be fixed by the > latest installation of Jet 4.x. Not on my machine, they aren't. > > Does anyone have any more information on this issue? We're also getting > reported hangs after an email is sent by our application on a client's > WinXP machine, but we haven't been able to replicate that. The primary > suspect in both cases is Outlook, even though we use the Redemption > library to bypass the direct MAPI calls. > > Suggestions? > > Charlotte Foust > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Lembit.Soobik at t-online.de Tue Mar 4 09:10:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue Mar 4 09:10:23 2003 Subject: [AccessD] DBA Executive Team Message-ID: <088c01c2e260$586b4cc0$0300a8c0@S856> Database Advisors Board of Directors has during its meeting on March-02-2003 elected an Executive team consisting of: President: Lembit Soobik Vicepresident: Donna Cook Treasurer: Keith Williamson Secretary: Kathryn Bessett John Colby was apointed Technical Director We have in the meantime apointed: Susan Harkins Publications Director Martin Reid Education & Training Director Further assignments will be announced soon. Please support above people in their effort to keep this list and the whole organization a helpful tool for you all. thank you Lembit Lembit Soobik From Bryan_Carbonnell at cbc.ca Tue Mar 4 09:41:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 4 09:41:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I have to add my $0.02 here. You should never store macros or custom toolbars in Normal.dot, BECAUSE it corrupts quite easily. Move all that stuff over to a template in the startup directory and then there will be no worries of deleting the Normal.dor. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> ralphb at cwgsy.net 03-Mar-03 5:23:31 PM >>> >Word will recreate Normal.dot if it is missing. That's true, but it's a brand new "blank" template created from Word default settings. >There is never any need to copy it from another machine. Ordinarily, you >may safely delete all copies of Normal.dot at any time. Bear in mind, though, that Normal.dot may (and probably will) contain user-defined Autotext entries, styles, macros and toolbars (i.e. much of the user's environment) which all disappear if normal.dot is deleted. So save a copy before deleting, then if you do have a corrupt normal template (a not uncommon occurrence) you can use Word's Organiser to copy stuff back selectively to the new normal.dot and reconstruct the environment. From gustav at cactus.dk Tue Mar 4 09:42:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 09:42:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <1046790788.6175.39.camel@sgsax-th4022c> References: <1046790788.6175.39.camel@sgsax-th4022c> Message-ID: <327714160.20030304164118@cactus.dk> Hi Seth I can't believe you're still struggling with this. We have never encountered a scenario that comes even close to what you describe. Which protocol(s) are you running? Have you tried setting up an isolated test environment? (You can use a "Drew style" server for this!) Don't you have a nearby Novell/database guru to work with on this? /gustav > Relinking to a BE on Novell is panifully slow even on Win98 machines. > I've tried optimizing it, but it still takes up to four seconds for each > table on Win98, and even longer on 2K or XP machines. Unfortunately, > the problem doesn't appear to be the relinker itself. Using the > built-in Linked Table Manager is still painfully slow. As a result I am > "this close" to moving everything to a real database server and using > ODBC. Of course, ODBC is likely to introduce its own performance hit. > I would love to have a discussion on this topic. From cfoust at infostatsystems.com Tue Mar 4 10:24:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 10:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP Message-ID: In our case, we aren't using Novell, and we're seeing the problem relinking to a local back end in the same folder as the FE. We can't rewrite all our apps, especially when we don't know what the problem really is. This stuff has been a gradual migration from the earliest versions of Access, and my bosses don't want to have to go through and try and change every DAO declaration to specify the DAO model so we could use and ADO relink instead. Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 04, 2003 7:13 AM To: accessd Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP Charlotte, We've been experiencing something like this as well. I start the app which launches the autolinker. Since the autolinker is especially slow on restoring connections to my BE that sits on my Novell server, I will click to another app while I wait. It almost invariably ends up locking the Access app. The only thing that restores the system to a usable state is to forcibly close Access. I've tried looking through the code, but there's nothing obvious (to me at least) in there that would cause this to happen. Relinking to a BE on Novell is panifully slow even on Win98 machines. I've tried optimizing it, but it still takes up to four seconds for each table on Win98, and even longer on 2K or XP machines. Unfortunately, the problem doesn't appear to be the relinker itself. Using the built-in Linked Table Manager is still painfully slow. As a result I am "this close" to moving everything to a real database server and using ODBC. Of course, ODBC is likely to introduce its own performance hit. I would love to have a discussion on this topic. Seth On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > We're beating our heads against this one. Under certain specific > circumstances, both Access XP and 97 will hang running under WinXP. > The circumstances are that Outlook is running (either 2000 or XP) and > you toggle to the Outlook application during a portion of the > operation when Access is trying to reattach files using an instance of > the current database opened in a second DAO workspace. I'm trying to > track down anything on this problem and haven't had much luck. There > are articles about the ODBC drivers in multithreaded environments, but > they seem to apply more to SQL Server links and are supposed to be > fixed by the latest installation of Jet 4.x. Not on my machine, they > aren't. > > Does anyone have any more information on this issue? We're also > getting reported hangs after an email is sent by our application on a > client's WinXP machine, but we haven't been able to replicate that. > The primary suspect in both cases is Outlook, even though we use the > Redemption library to bypass the direct MAPI calls. > > Suggestions? > > Charlotte Foust > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 10:58:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 10:58:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" .... Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, March 04, 2003 9:41 AM To: Seth Galitzer Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Hi Seth I can't believe you're still struggling with this. We have never encountered a scenario that comes even close to what you describe. Which protocol(s) are you running? Have you tried setting up an isolated test environment? (You can use a "Drew style" server for this!) Don't you have a nearby Novell/database guru to work with on this? /gustav > Relinking to a BE on Novell is panifully slow even on Win98 machines. > I've tried optimizing it, but it still takes up to four seconds for each > table on Win98, and even longer on 2K or XP machines. Unfortunately, > the problem doesn't appear to be the relinker itself. Using the > built-in Linked Table Manager is still painfully slow. As a result I am > "this close" to moving everything to a real database server and using > ODBC. Of course, ODBC is likely to introduce its own performance hit. > I would love to have a discussion on this topic. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 11:07:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 11:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Message-ID: <1046797836.6175.104.camel@sgsax-th4022c> Just as long as it's not analogous to "Colby Style" user "education". :) Seth On Tue, 2003-03-04 at 10:57, Drew Wutka wrote: > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From sgsax at ksu.edu Tue Mar 4 11:12:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 11:12:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <327714160.20030304164118@cactus.dk> References: <1046790788.6175.39.camel@sgsax-th4022c> <327714160.20030304164118@cactus.dk> Message-ID: <1046798096.6329.111.camel@sgsax-th4022c> Gustav, Frankly, I can't believe it either. File access has always been slower on Win2K & XP machines, for all files not just Access files. No amount of tweaking has recitified this on those platforms. It's just been recently that we've seen similar lag on Win98 machines, but only with Access linking to a BE on the server. Other file access seems unaffected. Here's what we've been trying that seems to help a bit on the 2K/XP machines: Novell Client Properties: Advanced Settings File Caching: Off File Commit: Off Protocol Preferences Preferred Protocol: IPX Network Properties: NWLink IPX/SPX/NetBIOS Compatible Transport Protocol Frame Type: 802.3 Network Number: Registry: Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace It has multiple subkeys named with GUIDs. Find the one that has a value called "Scheduled Tasks". Delete that subkey. These tweaks appear to reduce latency in opening files somewhat, but to nowhere near that of previous Win9x performance. On my Win98 machine, I just now tried moving IPX up in the Protocol Order list under Protocol Preferences in the Client properties. Along with setting the frame type and network number in IPX settings, this seems to have resolved the problem in that platform. One thing I have not tried is to install the Client with IPX only instead of IP & IPX. I'll need to do some more checking first to make sure that this won't interfere with using our NDSP printers or Zenworks workstation management. I have not tried setting up a small test lan. I'm still convinced it's a problem with the Client itself and not the server configuration. I have talked to other Novell admins around here (we all get together for lunch once a week), and they don't have any answers either. Novell's KB is fruitless even if you can manage to find what you're looking for. I've seen many sites that list performance tweaks for this issue on Win2K/XP and tried most of them, but none have helped to any significant degree. I'm as big a Novell fan as you'll find on this list. But this problem is driving me absolutely nuts. Got any more tips for performance tweaking? Seth On Tue, 2003-03-04 at 09:41, Gustav Brock wrote: > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From wdhindman at bellsouth.net Tue Mar 4 11:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 11:16:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Message-ID: <001c01c2e271$ab5e48e0$6101a8c0@amd2k512> ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scott.marcus at ae.ge.com Tue Mar 4 11:24:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Tue Mar 4 11:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D24@bwam02msx.ae.ge.com> Seth, I'm digging back to a few years ago... I remember an issue similar to yours, very slow Access file performance and sometimes even being locked out, on Netware. It had something to do with the server cleaning up some type of file lock. It was set to every 24 hours (used to be every 1/2 hour). Unfortunately, IM would not change the setting back to 1/2 hour because it was causing other performance issues when set that low. I don't remember the name of the setting, I just remember the issue. I hope you find your answer. Scott Marcus -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 04, 2003 12:15 PM To: accessd Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Gustav, Frankly, I can't believe it either. File access has always been slower on Win2K & XP machines, for all files not just Access files. No amount of tweaking has recitified this on those platforms. It's just been recently that we've seen similar lag on Win98 machines, but only with Access linking to a BE on the server. Other file access seems unaffected. Here's what we've been trying that seems to help a bit on the 2K/XP machines: Novell Client Properties: Advanced Settings File Caching: Off File Commit: Off Protocol Preferences Preferred Protocol: IPX Network Properties: NWLink IPX/SPX/NetBIOS Compatible Transport Protocol Frame Type: 802.3 Network Number: Registry: Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComp uter\NameSpace It has multiple subkeys named with GUIDs. Find the one that has a value called "Scheduled Tasks". Delete that subkey. These tweaks appear to reduce latency in opening files somewhat, but to nowhere near that of previous Win9x performance. On my Win98 machine, I just now tried moving IPX up in the Protocol Order list under Protocol Preferences in the Client properties. Along with setting the frame type and network number in IPX settings, this seems to have resolved the problem in that platform. One thing I have not tried is to install the Client with IPX only instead of IP & IPX. I'll need to do some more checking first to make sure that this won't interfere with using our NDSP printers or Zenworks workstation management. I have not tried setting up a small test lan. I'm still convinced it's a problem with the Client itself and not the server configuration. I have talked to other Novell admins around here (we all get together for lunch once a week), and they don't have any answers either. Novell's KB is fruitless even if you can manage to find what you're looking for. I've seen many sites that list performance tweaks for this issue on Win2K/XP and tried most of them, but none have helped to any significant degree. I'm as big a Novell fan as you'll find on this list. But this problem is driving me absolutely nuts. Got any more tips for performance tweaking? Seth On Tue, 2003-03-04 at 09:41, Gustav Brock wrote: > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 11:58:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 11:58:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> Easy, actually. My personal computer at work.... Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: C: (System Root) 6 gigs mirrored (both SCSI drives). D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one of my IDE drives (the permanent one...the other IDE is removable) P: (Program Files) 6 gigs on permanent IDE drive Z: (Backup Data) Entire 20 gig removable IDE drive. My 'server' at home: One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the remainder of the first 30 gig drive. E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. All of the above is done using Windows 2000 Disk Management. I would like to have a RAID5 at home, but I needed the space...I'm practically full on my storage drive. The problem with running a RAID 5 on IDE, is that typically you only have 2 IDE controllers. So running three disks for the same drive can work, but it's not practical, since you are sacrificing speed. However, you can buy a PCI IDE controller, so you can then have three IDE drives that are NOT on the same controllers. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 11:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 4 12:04:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 12:04:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <1046798096.6329.111.camel@sgsax-th4022c> References: <1046790788.6175.39.camel@sgsax-th4022c> <327714160.20030304164118@cactus.dk> <1046798096.6329.111.camel@sgsax-th4022c> Message-ID: <7636228323.20030304190313@cactus.dk> Hi Seth Which NOS version? /gustav > Here's what we've been trying that seems to help a bit on the 2K/XP > machines: > Novell Client Properties: > Advanced Settings > File Caching: Off > File Commit: Off > Protocol Preferences > Preferred Protocol: IPX > Network Properties: > NWLink IPX/SPX/NetBIOS Compatible Transport Protocol > Frame Type: 802.3 > Network Number: From wdhindman at bellsouth.net Tue Mar 4 12:17:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 12:17:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> Message-ID: <007301c2e27a$27f52560$6101a8c0@amd2k512> ...so you've implemented a software RAID5 in Win2K using only three drives? ...to the best of my knowledge the Win2K OS can't reside on any of the hard drives configured as RAID5 by its software ...lord knows it would save some nice change in controller costs :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 12:57 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Easy, actually. My personal computer at work.... > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > C: (System Root) 6 gigs mirrored (both SCSI drives). > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > of my IDE drives (the permanent one...the other IDE is removable) > P: (Program Files) 6 gigs on permanent IDE drive > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > My 'server' at home: > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > remainder of the first 30 gig drive. > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > All of the above is done using Windows 2000 Disk Management. I would like > to have a RAID5 at home, but I needed the space...I'm practically full on my > storage drive. > > The problem with running a RAID 5 on IDE, is that typically you only have 2 > IDE controllers. So running three disks for the same drive can work, but > it's not practical, since you are sacrificing speed. However, you can buy a > PCI IDE controller, so you can then have three IDE drives that are NOT on > the same controllers. > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 11:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > that may be a bit expensive....), Mirror the OS, and RAID a data drive (you > can do all of that in Disk > Management...with Windows 2000, no RAID controller necessary.)" ...this must > be a Drew style RAID configuration that would leave the people at MS gasping > in amazement! :)))) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 11:57 AM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > style" > > .... > > > > Drew > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Tuesday, March 04, 2003 9:41 AM > > To: Seth Galitzer > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > Hi Seth > > > > I can't believe you're still struggling with this. We have never > > encountered a scenario that comes even close to what you describe. > > > > Which protocol(s) are you running? > > Have you tried setting up an isolated test environment? > > (You can use a "Drew style" server for this!) > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > /gustav > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > I've tried optimizing it, but it still takes up to four seconds for each > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > the problem doesn't appear to be the relinker itself. Using the > > > built-in Linked Table Manager is still painfully slow. As a result I am > > > "this close" to moving everything to a real database server and using > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > I would love to have a discussion on this topic. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Mar 4 12:37:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 12:37:07 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <007301c2e27a$27f52560$6101a8c0@amd2k512> References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> <007301c2e27a$27f52560$6101a8c0@amd2k512> Message-ID: <3838248939.20030304193653@cactus.dk> Hi William Nice to see you back - as vivid as ever! /gustav > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) From wdhindman at bellsouth.net Tue Mar 4 12:43:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 12:43:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> <007301c2e27a$27f52560$6101a8c0@amd2k512> <3838248939.20030304193653@cactus.dk> Message-ID: <00c901c2e27d$d6f31740$6101a8c0@amd2k512> ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Tue Mar 4 12:48:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 4 12:48:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Agree totally. Word becomes horribly buggy with significant increases in document complexity. The furthest I go with Normal.dot is to change font and margin defaults to match corporate guidelines. Over 95% of staff created documents are based on other purpose specific templates. I would never place any significant investment in Normal.dot but by all means make backups if you do. None, and I mean 0, of the people I work with are even aware of the existence of this file and that serves to keep my job simple. If anyone ever complains about loss of their normal template, we have 2 weeks of server backup from which to restore. No complaints or restores needed... yet. Hen >From: "Bryan Carbonnell" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word >Date: Tue, 04 Mar 2003 10:39:55 -0500 > >I have to add my $0.02 here. > >You should never store macros or custom toolbars in Normal.dot, BECAUSE it >corrupts quite easily. > >Move all that stuff over to a template in the startup directory and then >there will be no worries of deleting the Normal.dor. > >Bryan Carbonnell >bryan_carbonnell at cbc.ca > > >>> ralphb at cwgsy.net 03-Mar-03 5:23:31 PM >>> > > >Word will recreate Normal.dot if it is missing. > >That's true, but it's a brand new "blank" template created from Word >default settings. > > >There is never any need to copy it from another machine. Ordinarily, you > >may safely delete all copies of Normal.dot at any time. > >Bear in mind, though, that Normal.dot may (and probably will) contain >user-defined Autotext entries, styles, macros and toolbars (i.e. much of >the user's environment) which all disappear if normal.dot is deleted. > >So save a copy before deleting, then if you do have a corrupt normal >template (a not uncommon occurrence) you can use Word's Organiser to copy >stuff back selectively to the new normal.dot and reconstruct the >environment. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Tue Mar 4 12:53:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 12:53:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220C@main2.marlow.com> Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be on the same physical disks as a RAID5. You are limited to only setting it to a Mirror (You can't get it striped too, which would be a RAID 5). Does that make sense William? Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...so you've implemented a software RAID5 in Win2K using only three drives? ...to the best of my knowledge the Win2K OS can't reside on any of the hard drives configured as RAID5 by its software ...lord knows it would save some nice change in controller costs :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 12:57 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Easy, actually. My personal computer at work.... > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > C: (System Root) 6 gigs mirrored (both SCSI drives). > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > of my IDE drives (the permanent one...the other IDE is removable) > P: (Program Files) 6 gigs on permanent IDE drive > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > My 'server' at home: > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > remainder of the first 30 gig drive. > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > All of the above is done using Windows 2000 Disk Management. I would like > to have a RAID5 at home, but I needed the space...I'm practically full on my > storage drive. > > The problem with running a RAID 5 on IDE, is that typically you only have 2 > IDE controllers. So running three disks for the same drive can work, but > it's not practical, since you are sacrificing speed. However, you can buy a > PCI IDE controller, so you can then have three IDE drives that are NOT on > the same controllers. > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 11:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > that may be a bit expensive....), Mirror the OS, and RAID a data drive (you > can do all of that in Disk > Management...with Windows 2000, no RAID controller necessary.)" ...this must > be a Drew style RAID configuration that would leave the people at MS gasping > in amazement! :)))) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 11:57 AM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > style" > > .... > > > > Drew > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Tuesday, March 04, 2003 9:41 AM > > To: Seth Galitzer > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > Hi Seth > > > > I can't believe you're still struggling with this. We have never > > encountered a scenario that comes even close to what you describe. > > > > Which protocol(s) are you running? > > Have you tried setting up an isolated test environment? > > (You can use a "Drew style" server for this!) > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > /gustav > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > I've tried optimizing it, but it still takes up to four seconds for each > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > the problem doesn't appear to be the relinker itself. Using the > > > built-in Linked Table Manager is still painfully slow. As a result I am > > > "this close" to moving everything to a real database server and using > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > I would love to have a discussion on this topic. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Mar 4 12:55:17 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 4 12:55:17 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP References: Message-ID: <3E64F5BB.1000500@shaw.ca> One hint on this, I have seen from Michael Kaplan in a news groups a few years back. For linked tables, there is a LOT of info cached by Jet in the link as an optimization. However, sometimes backend changes are made and that cached info is not invalidated as it should be, and it causes a huge perf hit as Jet tries things that fail (at which point I have seen cases where even RefreshLink would not totally make this work right). The fix? If this is the problem? You should completely delete the links in the frontend, then after making sure you have recently defraged then compacted the backend and frontend, relink all the tables. Charlotte Foust wrote: >In our case, we aren't using Novell, and we're seeing the problem >relinking to a local back end in the same folder as the FE. We can't >rewrite all our apps, especially when we don't know what the problem >really is. This stuff has been a gradual migration from the earliest >versions of Access, and my bosses don't want to have to go through and >try and change every DAO declaration to specify the DAO model so we >could use and ADO relink instead. > >Charlotte Foust > >-----Original Message----- >From: Seth Galitzer [mailto:sgsax at ksu.edu] >Sent: Tuesday, March 04, 2003 7:13 AM >To: accessd >Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked >tablesunder WinXP > > >Charlotte, > >We've been experiencing something like this as well. I start the app >which launches the autolinker. Since the autolinker is especially slow >on restoring connections to my BE that sits on my Novell server, I will >click to another app while I wait. It almost invariably ends up locking >the Access app. The only thing that restores the system to a usable >state is to forcibly close Access. I've tried looking through the code, >but there's nothing obvious (to me at least) in there that would cause >this to happen. > >Relinking to a BE on Novell is panifully slow even on Win98 machines. >I've tried optimizing it, but it still takes up to four seconds for each >table on Win98, and even longer on 2K or XP machines. Unfortunately, >the problem doesn't appear to be the relinker itself. Using the >built-in Linked Table Manager is still painfully slow. As a result I am >"this close" to moving everything to a real database server and using >ODBC. Of course, ODBC is likely to introduce its own performance hit. > >I would love to have a discussion on this topic. > >Seth > >On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > > >>We're beating our heads against this one. Under certain specific >>circumstances, both Access XP and 97 will hang running under WinXP. >>The circumstances are that Outlook is running (either 2000 or XP) and >>you toggle to the Outlook application during a portion of the >>operation when Access is trying to reattach files using an instance of >> >> > > > >>the current database opened in a second DAO workspace. I'm trying to >>track down anything on this problem and haven't had much luck. There >>are articles about the ODBC drivers in multithreaded environments, but >> >> > > > >>they seem to apply more to SQL Server links and are supposed to be >>fixed by the latest installation of Jet 4.x. Not on my machine, they >>aren't. >> >>Does anyone have any more information on this issue? We're also >>getting reported hangs after an email is sent by our application on a >>client's WinXP machine, but we haven't been able to replicate that. >>The primary suspect in both cases is Outlook, even though we use the >>Redemption library to bypass the direct MAPI calls. >> >>Suggestions? >> >>Charlotte Foust >> >> >> From EdTesiny at oasas.state.ny.us Tue Mar 4 13:03:01 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue Mar 4 13:03:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 13:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 13:08:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220E@main2.marlow.com> Go figure! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Tue Mar 4 13:24:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 13:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220C@main2.marlow.com> Message-ID: <010b01c2e283$9326c560$6101a8c0@amd2k512> ...had I not seen the screen you sent me off list, I'd not have believed it :) ...but now I have to go and do some experimenting to see if I can make this play in SBS2K as well ...thanks :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 1:52 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be > on the same physical disks as a RAID5. You are limited to only setting it > to a Mirror (You can't get it striped too, which would be a RAID 5). > > Does that make sense William? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 12:57 PM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Easy, actually. My personal computer at work.... > > > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > > > C: (System Root) 6 gigs mirrored (both SCSI drives). > > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > > of my IDE drives (the permanent one...the other IDE is removable) > > P: (Program Files) 6 gigs on permanent IDE drive > > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > > > > My 'server' at home: > > > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > > remainder of the first 30 gig drive. > > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > > > All of the above is done using Windows 2000 Disk Management. I would like > > to have a RAID5 at home, but I needed the space...I'm practically full on > my > > storage drive. > > > > The problem with running a RAID 5 on IDE, is that typically you only have > 2 > > IDE controllers. So running three disks for the same drive can work, but > > it's not practical, since you are sacrificing speed. However, you can buy > a > > PCI IDE controller, so you can then have three IDE drives that are NOT on > > the same controllers. > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday, March 04, 2003 11:16 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > > that may be a bit expensive....), Mirror the OS, and RAID a data drive > (you > > can do all of that in Disk > > Management...with Windows 2000, no RAID controller necessary.)" ...this > must > > be a Drew style RAID configuration that would leave the people at MS > gasping > > in amazement! :)))) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Tuesday, March 04, 2003 11:57 AM > > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > > under WinXP > > > > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > > style" > > > .... > > > > > > Drew > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Tuesday, March 04, 2003 9:41 AM > > > To: Seth Galitzer > > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > > tables under WinXP > > > > > > > > > Hi Seth > > > > > > I can't believe you're still struggling with this. We have never > > > encountered a scenario that comes even close to what you describe. > > > > > > Which protocol(s) are you running? > > > Have you tried setting up an isolated test environment? > > > (You can use a "Drew style" server for this!) > > > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > > > /gustav > > > > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > > I've tried optimizing it, but it still takes up to four seconds for > each > > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > > the problem doesn't appear to be the relinker itself. Using the > > > > built-in Linked Table Manager is still painfully slow. As a result I > am > > > > "this close" to moving everything to a real database server and using > > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > > > I would love to have a discussion on this topic. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Mar 4 14:25:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 4 14:25:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 14:37:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 14:37:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220F@main2.marlow.com> Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 4 14:38:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 14:38:01 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit References: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <018401c2e28d$d584c6f0$6101a8c0@amd2k512> Rates: For-Profit vs. Non-ProfitDan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 4 14:42:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 4 14:42:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <000d01c2e28e$c22f2c20$6a310cd8@hargrove.internal> If it is a legitimate non-profit, I believe you can take a tax write-off of the difference between what you billed them and what your normal rate is as a charitable contribution if you get it in writing. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, March 04, 2003 03:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 14:43:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 14:43:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit References: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <04af01c2e28e$89624f30$d2ecffcc@SusanOne> Rates: For-Profit vs. Non-ProfitThere are no tax implications. I don't think you can write off a reduced rate. However, what you can do, is charge your normal rate, then donate the reduction back to the organization. They get the reduced rate, you get the tax deduction. If you're incorporated, I have no idea how it works. Susan H. Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 14:45:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 14:45:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82210@main2.marlow.com> I was wondering why this was being balked at, because I have been running setups like this almost since Windows 2000 Server came out. (In fact, we have several 'servers' in this setup....all beefed up desktops. (Our 'real' servers have RAID controllers, so the mirrors are usually their own drives, same with the RAIDs.). (Of the top of my head...East (holds main buildings home folders), WebServer, Intranet, Domain Controller,BackupServer (runs Veratos Backup on our network),NameServer (DNS and WINS). Admittedly, with a minimum of 5 drives, (2 for mirrored OS and 3 for RAID5) you have a little more redundancy since you can loose 2 drives (one in the mirror, one in the RAID), and you're alright. However, you can't lose any two drives. (2 in either the mirror or RAID kills ya). So with 3 drives running both, you have 1 drive failure covered, but not 2 in any instance. Then again, the odds of losing 2 drives at the same time is pretty slim, unless you have an external catalyst...like a power surge (which should be 'protected'), or a fire/flood. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 1:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...had I not seen the screen you sent me off list, I'd not have believed it :) ...but now I have to go and do some experimenting to see if I can make this play in SBS2K as well ...thanks :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 1:52 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be > on the same physical disks as a RAID5. You are limited to only setting it > to a Mirror (You can't get it striped too, which would be a RAID 5). > > Does that make sense William? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 12:57 PM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Easy, actually. My personal computer at work.... > > > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > > > C: (System Root) 6 gigs mirrored (both SCSI drives). > > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > > of my IDE drives (the permanent one...the other IDE is removable) > > P: (Program Files) 6 gigs on permanent IDE drive > > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > > > > My 'server' at home: > > > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > > remainder of the first 30 gig drive. > > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > > > All of the above is done using Windows 2000 Disk Management. I would like > > to have a RAID5 at home, but I needed the space...I'm practically full on > my > > storage drive. > > > > The problem with running a RAID 5 on IDE, is that typically you only have > 2 > > IDE controllers. So running three disks for the same drive can work, but > > it's not practical, since you are sacrificing speed. However, you can buy > a > > PCI IDE controller, so you can then have three IDE drives that are NOT on > > the same controllers. > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday, March 04, 2003 11:16 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > > that may be a bit expensive....), Mirror the OS, and RAID a data drive > (you > > can do all of that in Disk > > Management...with Windows 2000, no RAID controller necessary.)" ...this > must > > be a Drew style RAID configuration that would leave the people at MS > gasping > > in amazement! :)))) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Tuesday, March 04, 2003 11:57 AM > > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > > under WinXP > > > > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > > style" > > > .... > > > > > > Drew > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Tuesday, March 04, 2003 9:41 AM > > > To: Seth Galitzer > > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > > tables under WinXP > > > > > > > > > Hi Seth > > > > > > I can't believe you're still struggling with this. We have never > > > encountered a scenario that comes even close to what you describe. > > > > > > Which protocol(s) are you running? > > > Have you tried setting up an isolated test environment? > > > (You can use a "Drew style" server for this!) > > > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > > > /gustav > > > > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > > I've tried optimizing it, but it still takes up to four seconds for > each > > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > > the problem doesn't appear to be the relinker itself. Using the > > > > built-in Linked Table Manager is still painfully slow. As a result I > am > > > > "this close" to moving everything to a real database server and using > > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > > > I would love to have a discussion on this topic. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 4 14:51:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 14:51:00 2003 Subject: [AccessD] MDE Message-ID: <04c401c2e28f$aae796a0$d2ecffcc@SusanOne> Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save From cfoust at infostatsystems.com Tue Mar 4 14:51:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:51:59 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: There isn't much problem running AXP and A97 on the same drive because they use different dlls (for the most part) and are based on different versions of VB. It's AXP and A2k that create havoc when run together. Unfortunately, different drives don't solve the problems because the dlls are still installed on your system drive. Charlotte Foust -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: 4. o?ujak 2003 11:03 To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Tue Mar 4 14:53:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 4 14:53:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <018401c2e28d$d584c6f0$6101a8c0@amd2k512> Message-ID: <000a01c2e28f$e6e80040$de1811d8@DanWaters> Wow! Glad I asked - I didn't know any of this. Thanks William! Dan -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 14:56:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:56:01 2003 Subject: [AccessD] OT ADPS Message-ID: You mean the form info is stored in SQL Server?? The object Access uses in the interface are stored in SQL? In that case, how come you can open an adp with a bad SQL connection and still see forms? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] Sent: 4. o?ujak 2003 1:04 To: accessd at databaseadvisors.com Subject: [AccessD] OT ADPS Someone was asking how Access stored Access specific properties when working with an ADP and SQL Server. Heres the answer The only access specific table is dtproperties. SQL SEM and VS tools use it too for storing database diagrams. All of the extended properties that access uses are saved in SQL 2000. Martin Martin WP Reid Information Services Queens University Belfast Tel: (02890) 273750 ---------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 14:59:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:59:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 15:02:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:02:06 2003 Subject: [AccessD] MDE Message-ID: No, it doesn't. acCmdSaveRecord works but acCmdSave is to save changes to the object design and you can't do that in an MDE. You'll get an error if you try. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 4. o?ujak 2003 12:50 To: AccessD at databaseadvisors.com Subject: [AccessD] MDE Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 15:09:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 15:09:00 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <1046812331.6175.152.camel@sgsax-th4022c> Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 4 15:12:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 4 15:12:01 2003 Subject: [AccessD] OT ADPS In-Reply-To: References: Message-ID: <1046812289.3e6516817b7c0@hosea.qub.ac.uk> The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access uses > in the interface are stored in SQL? In that case, how come you can open > an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Tue Mar 4 15:16:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 15:16:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A67@NT04> Just an added caveat. Invoice the non-profit organization with your full rate. When you get the payment, write them a check for the amount of the discount. You then have proof that you did not donate your time, you donated money. Then the amount donated is fully deductable. DO talk it over with their accountant - they have been down this road before. Jim -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Tue Mar 4 15:20:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 15:20:01 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A68@NT04> I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim From DWUTKA at marlow.com Tue Mar 4 15:20:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:20:08 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82215@main2.marlow.com> I don't have XP and 97 (I have 97 and 2k though), and installing on different drives only solves 1 of the concerns about dual installations. When you install 'upwards', you can tell 2k and XP to keep previous versions, this prevents it from overwriting registry entries for previous versions. Even with that option, you need to install in a different directory (since the .exe's are named the same), and one other item, is you need to 'rename' the program folder (in your start menu, because the new version will overwrite the old versions shortcuts....I know that's cosmetic, but it's something to keep in mind). However, installing backwards, 97 is not aware of 2k or XP, so it can very easily write over registry settings it doesn't know need to be set a particular way. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions There isn't much problem running AXP and A97 on the same drive because they use different dlls (for the most part) and are based on different versions of VB. It's AXP and A2k that create havoc when run together. Unfortunately, different drives don't solve the problems because the dlls are still installed on your system drive. Charlotte Foust -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: 4. o?ujak 2003 11:03 To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 15:23:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:23:00 2003 Subject: [AccessD] OT ADPS Message-ID: Yes, but Microsoft doesn't explain statements like that, Martin. So we have to rely on your knowledge instead. :o} Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: 4. o?ujak 2003 13:11 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT ADPS The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access > uses in the interface are stored in SQL? In that case, how come you > can open an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 15:23:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:23:19 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82216@main2.marlow.com> Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 15:25:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 15:25:01 2003 Subject: [AccessD] MDE References: Message-ID: <04ff01c2e294$6a394310$d2ecffcc@SusanOne> Thanks Charlotte -- kind of what I guessed, but I don't ever work with mde's. Susan H. No, it doesn't. acCmdSaveRecord works but acCmdSave is to save changes to the object design and you can't do that in an MDE. You'll get an error if you try. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 4. o?ujak 2003 12:50 To: AccessD at databaseadvisors.com Subject: [AccessD] MDE Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 4 15:27:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 15:27:00 2003 Subject: [AccessD] Inside MS Access this month.... References: <1046812331.6175.152.camel@sgsax-th4022c> Message-ID: <051601c2e294$cb256d20$d2ecffcc@SusanOne> Thanks Seth -- I'm anxious to see Arthur's now. :) Susan H. > Just got my issue of "Inside Microsoft Access" this month. This one > should have been renamed the Susan and Arthur Show! All articles but > one were written by our very own Susan Harkins or Arthur fuller. As > usual, top-notch writing. > From DWUTKA at marlow.com Tue Mar 4 15:35:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:35:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82217@main2.marlow.com> I can't tell if that's a rib or a compliment! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 15:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:43:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 15:57:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:57:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82219@main2.marlow.com> Yeah, I knew that.....but even installing 02K to different folders doesn't eliminate all of the problems. Because it's not the folders, but the registry that's the issue. From what you are saying, it seems that OXP uses a completely different set of registry settings. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 3:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 4 16:13:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue Mar 4 16:13:00 2003 Subject: [AccessD] first five dates per year Message-ID: <004301c2e29b$4e4b4840$f2c581d5@pedro> Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 16:26:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 16:26:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8221D@main2.marlow.com> Is there a criteria to determine the dates you don't want, or do you just want to skip the first 5 dates each year. Or the first 10 dates each year? Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 04, 2003 4:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 16:27:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:27:00 2003 Subject: [AccessD] default values for combos with lists Message-ID: I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From Jean.Fields at GDSENG.COM Tue Mar 4 16:28:00 2003 From: Jean.Fields at GDSENG.COM (Fields, Jean) Date: Tue Mar 4 16:28:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <3738CB351412D711A2CC0090272AC53B174147@mercury.gdshou> I believe you get the "reference not available" error when the app can't find the VBA dll on the client machine. Are the files on the intranet? The Internet Explorer error may be caused because the machines in question don't have access to the internal share your files are on. Some kind of network configuration. I'll see if I can find more info on it. HTH, -Jean Jean Fields GDS Engineers, Inc. 9009 West Loop South, Suite #800 Houston, TX 77096 Tel.: 713-667-9162 x1102 Fax: 713-667-9241 email: mailto:jean.fields at gdseng.com website: http://www.gdseng.com -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim From jcolby at colbyconsulting.com Tue Mar 4 16:37:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:37:10 2003 Subject: [AccessD] Passing the SQL Setting to a stored procedure Message-ID: I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From jcolby at colbyconsulting.com Tue Mar 4 16:42:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:42:01 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure Message-ID: I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 16:42:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 16:42:18 2003 Subject: [AccessD] default values for combos with lists Message-ID: Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 16:47:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 16:47:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: All versions use different registry settings, unless you're talking about something besides HKEY_LOCAL_MACHINE\Microsoft\Office\ and HKEY_CURRENT_USER\Software\Microsoft\Office\, and anyhow it depends on which problems you're talking about. If you're talking about HKEY_LOCAL_MACHINE\Software\Classes\.mdb, then whichever one you installed last will be referenced, but that only applies if you double click the mdb file. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Yeah, I knew that.....but even installing 02K to different folders doesn't eliminate all of the problems. Because it's not the folders, but the registry that's the issue. From what you are saying, it seems that OXP uses a completely different set of registry settings. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 3:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmcafee at pacbell.net Tue Mar 4 16:48:03 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Tue Mar 4 16:48:03 2003 Subject: [AccessD] RE: [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: Message-ID: Yes, but why not build it in the back, then any changes that would need to be made, could be made in the BE (by modifying the SPROC) without a need for a FE update? There is also a security risk involved, if anyone was to ever figure out the sproc's name you could possibly send a TRUNCATE command or some other ill script (or at least that's what I was told when I wanted to do this :) ) HTH David McAfee -----Original Message----- From: dba-sqlserver-admin at databaseadvisors.com [mailto:dba-sqlserver-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 2:36 PM To: AccessD-SQLServer; AccessD Subject: [dba-SQLServer]Passing the SQL Setting to a stored procedure I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com From dmcafee at pacbell.net Tue Mar 4 16:56:00 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Tue Mar 4 16:56:00 2003 Subject: [AccessD] RE: [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: Message-ID: Yes, but why not build it in the back, then any changes that would need to be made, could be made in the BE (by modifying the SPROC) without a need for a FE update? There is also a security risk involved, if anyone was to ever figure out the sproc's name you could possibly send a TRUNCATE command or some other ill script (or at least that's what I was told when I wanted to do this :) ) HTH David McAfee -----Original Message----- From: dba-sqlserver-admin at databaseadvisors.com [mailto:dba-sqlserver-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 2:36 PM To: AccessD-SQLServer; AccessD Subject: [dba-SQLServer]Passing the SQL Setting to a stored procedure I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From my.lists at verizon.net Tue Mar 4 17:21:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue Mar 4 17:21:00 2003 Subject: [AccessD] Database in an Unexpected state..., *POSSIBLE SOLUTION* References: <006501c2e1b3$d9f93a20$b615010a@FHTAPIA> Message-ID: <010801c2e2a4$e22ed870$b615010a@FHTAPIA> Doesn't look like anybody is going to bite so here is more I found out... after scouring the web, I found some positive links to a possible solution. The answer was in a demo called "ACCESSRECOVERY" there is a full pay version that will extract the entire database, but here in lies the hint... http://www.officerecovery.com/access/index.htm /quote Advanced DAO commands /end quote so, the trick would be to use a DAO connection into the old db and try for a standard copy the table commands...right? btw I did try the demo which DID restore the first few lines of data of each table, and replacing the rest of the rows with the word *demo* :D -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "Francisco H Tapia" To: "AccessD" Sent: Monday, March 03, 2003 10:36 AM Subject: [AccessD] Database in an Unexpected state..., or Calling all DB minds, we have a suspect database... : : A little background... : : : : The client is not mine (honestly he's not). A client of my brother in : law, : : who has a networking company, "had" a database who was built in Access : 2000. : : It was not broken up into the FE/BE method, instead each user (4 users in : : all) had a link to the database and worked that way... I don't know the SR : : version of Access or the SP's of their Windows OSes... :( sorry. Anyhow, : : One Fine day (Saturday) the owner of the db went to open it from his : machine : : when it suddenly crashed. He called on my Brother in law to fix his PC : and : : get his database up and running the "EXACT" error word for word is this... : : : : xxxxxxxxxxxxxxxxxxxxxxxxxx : : Microsoft Access : : ------------------ : : This database is in an unexpected state; Microsoft Access can't open it. : : : : This database has been converted from a prior version of Microsoft Access : by : : using the DAO CompactDatabase method instead of the Convert Database : command : : on the Tools menu (Database Utilities submenu). This has left the : database : : in a partially converted state. : : : : If you have a copy of the database in its original format, use the Convert : : Database command on the Tools menu (Database Utilities submenu) to convert : : it. If the original database is no longer available, create a new : database : : and import your tables and queries to preserve your data. Your other : : database objects can't be recovered. : : : : [OK] : : xxxxxxxxxxxxxxxxxxxxxxxxxx : : so what did we try?, : : 1) /decompile (not successful) : : 2) could not repair and compact from inside access because of the above : : error : : 3) jetcomp 4 utility (not successful) : : 4) attempted to open it w/ AccessXP (curtesy of William), (Not successful) : : 5) /repair from the command line (idea from John Colby) (Not successful). : : : : While the Database has now been restored from over 3 days ago (Wednesday : : last week) I realize restoring this copy of the database seems moot, but : in : : many ways perhaps not... I'd like to know the solution in case I ever run : : into it again... : : : : : : -Francisco : : http://rcm.netfirms.com : : : : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : From jcolby at colbyconsulting.com Tue Mar 4 17:21:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:21:19 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2544 bytes Desc: not available URL: From jcolby at colbyconsulting.com Tue Mar 4 17:31:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:31:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From mastercafe at ctv.es Tue Mar 4 17:34:12 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue Mar 4 17:34:12 2003 Subject: [AccessD] first five dates per year In-Reply-To: <004301c2e29b$4e4b4840$f2c581d5@pedro> Message-ID: Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 17:39:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 17:39:08 2003 Subject: [AccessD] default values for combos with lists Message-ID: So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Tuesday, March 04, 2003 3:21 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] default values for combos with lists > > Nope, I'm talking about the default value. > > Build a combo with two columns, then make -1;True;0;False;*;All as the > list of values. > Place 0 in the default value. > The combo will display True when it opens (or it did with me). > It should display false since the 0 is the false value. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, March 04, 2003 5:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] default values for combos with lists > > > Are you talking about the ItemData, John? That's an index that > relates > to the position. > > Charlotte Foust > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:27 PM > To: AccessD > Subject: [AccessD] default values for combos with lists > > > I discovered today that combos that display lists use a default value > that is the position, not the value of the 1st column. IOW, if a > combo > pulls data from a table, the default value should be a value from the > leftmost column in the SQL Statement feeding data to the combo. The > value in this column that matches the default value will be displayed. > This same thing doesn't work for list values, in this case the number > is > the position in the list. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it > free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 4 17:44:01 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 4 17:44:01 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jcolby at colbyconsulting.com Tue Mar 4 17:46:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:46:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: RE: [AccessD] default values for combos with listsNo, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 18:00:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:00:01 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2860 bytes Desc: not available URL: From cfoust at infostatsystems.com Tue Mar 4 18:03:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 18:03:00 2003 Subject: [AccessD] default values for combos with lists Message-ID: Does it show "True" if you set it to "0"? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 3:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com ] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com ] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 4 18:05:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 4 18:05:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: aah - only way I know is to hit the 'email to' button which adds all of the email addresses to your email, then remove the one you don't want. I don't know of a way to select only one. Mark > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email address > for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. However > I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask > to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jcolby at colbyconsulting.com Tue Mar 4 18:13:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:13:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: MessageNope, it shows false. That is what I am trying to say, it is using the default value as the "position" selector, i.e. select the 0th element in the list (it is zero based), select the 1st element in the list etc. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Does it show "True" if you set it to "0"? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 3:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 18:13:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 18:13:07 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Tuesday, March 04, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email > address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email > address for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will > determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. > However I > cannot figure out how to use anything except the first address. Even > if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely > for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and > ask to > speak with the message sender. In addition, please immediately delete > this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 18:18:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:18:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: I'm afraid I don't follow you. When I create an email, I hit the To button. A wizard pops up. I select people from address folders. The NAME of that person appears. If I click on that name, the address in the 1st of the three available email addresses for that person is displayed. If I actually cut and paste the email address I want into the To for the email, it is "translated" to the name, and is set back to the first email address. "Brain damaged children" as one of my favorite comedians said. If there are going to be three addresses for a person, there MUST be a way to select which address to send to, else why have the others? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 7:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address aah - only way I know is to hit the 'email to' button which adds all of the email addresses to your email, then remove the one you don't want. I don't know of a way to select only one. Mark > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email address > for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. However > I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask > to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3648 bytes Desc: not available URL: From jcolby at colbyconsulting.com Tue Mar 4 18:23:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:23:00 2003 Subject: [AccessD] OT: Using Outlook second or third email address In-Reply-To: Message-ID: RE: [AccessD] Using Outlook second or third email addressFrom interface. It is indeed off topic. I wasn't interested in a thread, just an answer. 8-( John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 7:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Tue Mar 4 18:32:00 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue Mar 4 18:32:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: John Colby asked: > Outlook allows you to store three email addresses for a contact. However I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the address > when selected still uses the first. does anyone know how to use the second > or third address? While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From harkins at iglou.com Tue Mar 4 18:32:59 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 18:32:59 2003 Subject: [AccessD] Using Outlook second or third email address References: Message-ID: <06c301c2e2ae$b1256500$d2ecffcc@SusanOne> John, I give the unique addresses specific names: Bill, BillAtHome -- so to get the second address, I type in BillA and it automatically fills in the rest. Am I even close? Susan H. > I'm afraid I don't follow you. When I create an email, I hit the To button. > A wizard pops up. I select people from address folders. The NAME of that > person appears. If I click on that name, the address in the 1st of the > three available email addresses for that person is displayed. If I actually > cut and paste the email address I want into the To for the email, it is > "translated" to the name, and is set back to the first email address. > "Brain damaged children" as one of my favorite comedians said. > > If there are going to be three addresses for a person, there MUST be a way > to select which address to send to, else why have the others? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 7:05 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > aah - only way I know is to hit the 'email to' button which adds all of the > email addresses to your email, then remove the one you don't want. > > I don't know of a way to select only one. > > Mark > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, March 04, 2003 2:59 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Using Outlook second or third email address > > > > I understand that, and I have some people for example that have three > > email addresses. Now I want to send an email to the second email address > > for this person. How do I do that? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > > > I've stopped 9,259 spam messages. You can too! > > Get your free, safe spam protection at > > http://www.cloudmark.com/spamnetsig/ > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > > Sent: Tuesday, March 04, 2003 6:43 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Outlook second or third email address > > > > > > There is a drop-down button between the email label and text box, this > > gives > > you selections (email 1,2,3). Whichever one is selected will determine > > which email slot the email address will occupy. > > > > Mark > > > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, March 04, 2003 2:30 PM > > To: AccessD > > Subject: [AccessD] Using Outlook second or third email address > > > > > > Outlook allows you to store three email addresses for a contact. However > > I > > cannot figure out how to use anything except the first address. Even if I > > select the second or third to display when the contact is open, the > > address > > when selected still uses the first. does anyone know how to use the > > second > > or third address? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > > > I've stopped 9,258 spam messages. You can too! > > Get your free, safe spam protection at > > http://www.cloudmark.com/spamnetsig/ > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > This transmittal may contain confidential information intended solely for > > the addressee. If you are not the intended recipient, you are hereby > > notified that you have received this transmittal in error; any review, > > dissemination, distribution or copying of this transmittal is strictly > > prohibited. If you have received this communication in error, please > > notify > > us immediately by reply or by telephone (collect at 907-564-1000) and ask > > to > > speak with the message sender. In addition, please immediately delete this > > message and all attachments. Thank you. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From DWUTKA at marlow.com Tue Mar 4 19:03:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 19:03:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8221F@main2.marlow.com> Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Tue Mar 4 19:37:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 4 19:37:01 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <3E650E4B.25627.2A9B4A5@localhost> Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From DWUTKA at marlow.com Tue Mar 4 19:49:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 19:49:00 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82229@main2.marlow.com> RaidenMail was recommend to me, on this list, it only cost $12 for up to 50 'users'. It's pretty nice. -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Tuesday, March 04, 2003 7:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Messaging Servers Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 20:00:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 20:00:00 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8222B@main2.marlow.com> Ooops...forgot to send you a link... http://raidenmaild.com/ Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Tuesday, March 04, 2003 7:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Messaging Servers Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Mar 4 20:20:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 20:20:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: That's the answer! Thanks kathryn! John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,262 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Tuesday, March 04, 2003 6:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John Colby asked: > Outlook allows you to store three email addresses for a contact. However I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the address > when selected still uses the first. does anyone know how to use the second > or third address? While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2492 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 4 20:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 20:31:00 2003 Subject: [AccessD] Test message, please ignore. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82232@main2.marlow.com> From bbruen at bigpond.com Tue Mar 4 20:39:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 4 20:39:01 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: <001801c2e2c0$0d6f6e80$c7308690@bbb888> How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com"mailto:accessd-admin at database advisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com]On"mailto:accessd-admin at datab aseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [HYPERLINK "mailto:jcolby at colbyconsulting.com"mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hadyn at dataconcepts.co.nz Tue Mar 4 20:42:01 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Tue Mar 4 20:42:01 2003 Subject: [AccessD] Datagrid Control Message-ID: <005c01c2e2c1$4158f670$0700000a@xpdev> Has anyone got experience using this in A2K? Is there something better to use? I need to have an editable grid that will lock the first 2 columns, horizontal scroll the rest, and allow an unknown number of rows. Kind regards Hadyn hadyn at dataconcepts.co.nz From bbruen at bigpond.com Tue Mar 4 20:45:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 4 20:45:01 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: <001d01c2e2c0$b643f3a0$c7308690@bbb888> Yep, it looks as though you've got to set cbo1.value=cbo1.defaultvalue when the new rec is created. Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com"mailto:accessd-admin at database advisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com]On"mailto:accessd-admin at datab aseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [HYPERLINK "mailto:jcolby at colbyconsulting.com"mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 20:50:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 20:50:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <001801c2e2c0$0d6f6e80$c7308690@bbb888> Message-ID: MessageGoing into edit mode is not the same as closing the form. Edit mode keeps the last state of the form. This includes record selected, filters etc. Closing the form gets rid of this "last state" (usually). John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,263 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, March 04, 2003 9:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 4 20:56:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 20:56:00 2003 Subject: [AccessD] default values for combos with lists References: Message-ID: <005001c2e2c4$1b7d2950$6401a8c0@default> MessageJohn, I just started looking at this thread and I realize you have something in mind. Could you please state the significance of this discovery and if it can be further investigated. Mike Mattys ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 9:49 PM Subject: RE: [AccessD] default values for combos with lists Going into edit mode is not the same as closing the form. Edit mode keeps the last state of the form. This includes record selected, filters etc. Closing the form gets rid of this "last state" (usually). John W. Colby Colby Consulting www.ColbyConsulting.com From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, March 04, 2003 9:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 21:17:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 21:17:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <005001c2e2c4$1b7d2950$6401a8c0@default> Message-ID: MessageUhhh... There really isn't anything further. I was rebuilding my report filter form for my billing app. This form uses combo boxes to allow me to select filters (in this case) for binary fields, pull all records where "something" is true, false or "All". In order to do this, I didn't need any table, just a value list. I created the combos and then tried to set the default value to False (it just happens). Not billed, Not paid etc. I thought that the default value of 0 would cause a false to display, default value of -1 would cause True to display etc. It didn't work that way. -1 didn't display anything. 0 caused a true to display. The combo was set up for a two column combo with the first combo width = 0 (hidden), with the "list" of values simply -1;True;0;False;*;All; Had those values been pulled from a table, the a default value of -1 would have caused the True to display, a zero would have caused a False to display and so forth. In this case, with a list of values, a 0 was causing a True to display. Notice that POSITION 0 is a true. IE -1;True 0;False *;All -1;True is the zeroth position in the list and a zero in the default value caused that to display 0;False is the 1st position in the list and a 1 in the default value caused that to display *;all is the 2nd position in the list and a 2 in the default value caused that to display. It all makes sense in a warped "Access" kind of way, but it was unexpected and caused me a bit of head scratching before I figured out what was happening. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,263 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, March 04, 2003 10:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] default values for combos with lists John, I just started looking at this thread and I realize you have something in mind. Could you please state the significance of this discovery and if it can be further investigated. Mike Mattys ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 21:20:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 21:20:01 2003 Subject: [AccessD] This is a test, please ignore. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82233@main2.marlow.com> From michael.mattys at adelphia.net Tue Mar 4 21:31:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 21:31:00 2003 Subject: [AccessD] default values for combos with lists References: Message-ID: <007f01c2e2c9$0fe33e90$6401a8c0@default> MessageWhat happens if you put a 3 in as the default value? Mike ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 10:16 PM Subject: RE: [AccessD] default values for combos with lists Uhhh... There really isn't anything further. -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 21:37:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 21:37:01 2003 Subject: [AccessD] form SelLeft property Message-ID: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> The strangest thing is happening. I'm using the four SelX properties to select records in a datasheet form. They all work as expected, except for SelLeft. It acts as though there's another column at the left border. When I use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the first column. If I use the SelLeft 3, the selection begins at the second column, and so on. Any explanations? Susan H. From jcolby at colbyconsulting.com Tue Mar 4 21:41:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 21:41:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <007f01c2e2c9$0fe33e90$6401a8c0@default> Message-ID: MessageIt comes up blank. Likewise if I put in -1. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,265 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, March 04, 2003 10:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] default values for combos with lists What happens if you put a 3 in as the default value? Mike ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 10:16 PM Subject: RE: [AccessD] default values for combos with lists Uhhh... There really isn't anything further. ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 4 22:01:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 22:01:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> Message-ID: <009401c2e2cd$30d0ab70$6401a8c0@default> Susan, I was just reading the help on this Does this statement apply? -> If you've selected one or more records in the datasheet (using the record selectors), you can't change the setting of the SelLeft property. ----- Original Message ----- From: "Susan Harkins" To: Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] form SelLeft property > The strangest thing is happening. I'm using the four SelX properties to > select records in a datasheet form. They all work as expected, except for > SelLeft. It acts as though there's another column at the left border. When I > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > first column. If I use the SelLeft 3, the selection begins at the second > column, and so on. > > Any explanations? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 23:14:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 23:14:00 2003 Subject: [AccessD] Test Email (alias test) Please ignore Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82236@main2.marlow.com> From accessd at shaw.ca Tue Mar 4 23:33:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue Mar 4 23:33:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <001c01c2e271$ab5e48e0$6101a8c0@amd2k512> Message-ID: The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 23:39:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 23:39:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82237@main2.marlow.com> Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mar 5 00:22:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 5 00:22:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82237@main2.marlow.com> Message-ID: That explains why it was such a task to get the server and Promise RAID to working right. Wasted a whole afternoon... The OS is Win2000 Advanced Server and the motherboard was an $150.00 CAN (about $95.00 US), 1700MHz ASUS with RAID tech built-in. It has all worked flawlessly for over a year. Two mirrored 80GB drives and one 160GB for network backup. All kidding aside getting the right drivers to stabilize everything took awhile but now it is working perfectly. So the conventional wisdom from Dell and MS isn't always so. Mind you it is only RAID 2. To install RAID 5 would cost over a $1000.00 more in hardware. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 04, 2003 9:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 5 03:57:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 03:57:00 2003 Subject: [AccessD] OT: Messaging Servers In-Reply-To: <3E650E4B.25627.2A9B4A5@localhost> References: <3E650E4B.25627.2A9B4A5@localhost> Message-ID: <1816853384.20030305105616@cactus.dk> Hi Bryan You could check out the Openexchange Server from Suse: http://www.suse.de/en/business/products/suse_business/openexchange/index.html It's not free, though. /gustav > Can anyone recommend a low cost (free) Messaging server, ala > Exchange Server? > I have be asked if I know of any, but I don't. I hope someone out > there will know. > What they are specifically looking for is something that can handle > e-mail and calendering functions. If it was just e-mail I'd > recommend Mercury, but with the calendering thrown in there, I > have no ideas. From gustav at cactus.dk Wed Mar 5 04:34:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 04:34:00 2003 Subject: [AccessD] form SelLeft property In-Reply-To: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> Message-ID: <1699056482.20030305113259@cactus.dk> Hi Susan Would you by any chance have a hidden (zero width) column? /gustav > The strangest thing is happening. I'm using the four SelX properties to > select records in a datasheet form. They all work as expected, except for > SelLeft. It acts as though there's another column at the left border. When I > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > first column. If I use the SelLeft 3, the selection begins at the second > column, and so on. From gustav at cactus.dk Wed Mar 5 05:04:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 05:04:00 2003 Subject: [AccessD] Datagrid Control In-Reply-To: <005c01c2e2c1$4158f670$0700000a@xpdev> References: <005c01c2e2c1$4158f670$0700000a@xpdev> Message-ID: <4610868738.20030305120311@cactus.dk> Hi Hadyn A (sub)form in dataview can do this. Freeze the two leftmost columns and the rest will be horizontally scrollable. If number of columns can vary, create "enough" columns and set columnwidth to zero for those far right not needed. Number of rows is no problem. /gustav > Has anyone got experience using this in A2K? Is there something better to > use? I need to have an editable grid that will lock the first 2 columns, > horizontal scroll the rest, and allow an unknown number of rows. From artful at rogers.com Wed Mar 5 06:05:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 06:05:01 2003 Subject: [AccessD] Inside MS Access this month.... In-Reply-To: <1046812331.6175.152.camel@sgsax-th4022c> Message-ID: <002201c2e30f$518af130$8e01a8c0@Rock> Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Mar 5 06:06:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 06:06:00 2003 Subject: [AccessD] OT ADPS In-Reply-To: <1046812289.3e6516817b7c0@hosea.qub.ac.uk> Message-ID: <002401c2e30f$92e98fb0$8e01a8c0@Rock> The forms are in the ADP. The quote refers to extended properties, which is the collection of properties you see at the bottom of the table designer. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: March 4, 2003 4:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT ADPS The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access uses > in the interface are stored in SQL? In that case, how come you can open > an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Wed Mar 5 06:46:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 5 06:46:00 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure References: Message-ID: <003101c2e316$d2874020$356da8c0@IEW001> Hello John, Why not just pass the SQL raw and not bother with the sp in the first place? I know that there are pro's and con's to using sp's, but if you are going to do what you are doing, it seems like it would be just easier to send the raw SQL. Of course there are security issues with sending SQL, but leaving that aside, why not send it raw? I have not used it, but there is a kind of Execute Command that you can include in a sp, maybe that could action the parameter that you would pass in. Mark ----- Original Message ----- From: "John W. Colby" To: "AccessD-SQLServer" ; "AccessD" Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure > I just had a fascinating idea. I do a lot of building up of SQL Strings > then executing them in A2K. Would it be possible to build a stored > procedure where the parameter passed in is the SQL statement to be executed? > IOW, do the same thing we do now, manually build a SQL string with the > actual values of controls in where clauses etc., then pass that string to a > stored procedure and have the stored procedure execute the SQL string and > hand back the data? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tswisher at GFNET.com Wed Mar 5 07:07:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 07:07:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Mar 5 07:17:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 07:17:00 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: <003101c2e316$d2874020$356da8c0@IEW001> Message-ID: <000001c2e319$6e54bd50$8e01a8c0@Rock> There's no advantage at all do passing the SQL statement into a sproc for execution. Aside from security issues, the main reason for using sprocs is to avoid the overhead of the parsing and compiling. Since there's no way to optimize the SQL statement you're thinking of sending in, it's pointless. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 5, 2003 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure Hello John, Why not just pass the SQL raw and not bother with the sp in the first place? I know that there are pro's and con's to using sp's, but if you are going to do what you are doing, it seems like it would be just easier to send the raw SQL. Of course there are security issues with sending SQL, but leaving that aside, why not send it raw? I have not used it, but there is a kind of Execute Command that you can include in a sp, maybe that could action the parameter that you would pass in. Mark ----- Original Message ----- From: "John W. Colby" To: "AccessD-SQLServer" ; "AccessD" Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure > I just had a fascinating idea. I do a lot of building up of SQL Strings > then executing them in A2K. Would it be possible to build a stored > procedure where the parameter passed in is the SQL statement to be executed? > IOW, do the same thing we do now, manually build a SQL string with the > actual values of controls in where clauses etc., then pass that string to a > stored procedure and have the stored procedure execute the SQL string and > hand back the data? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 5 07:41:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 5 07:41:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. From Jdemarco at hshhp.org Wed Mar 5 07:48:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 5 07:48:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D852F5@TTNEXCHSRV1.hshhp.com> A little shortcut to get to the same selection window is to press Alt + K when the name is underlined in red. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Tuesday, March 04, 2003 9:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > That's the answer! Thanks kathryn! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,262 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Kathryn Bassett > Sent: Tuesday, March 04, 2003 6:53 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > > John Colby asked: > > Outlook allows you to store three email addresses for a contact. However I > > cannot figure out how to use anything except the first address. Even if I > > select the second or third to display when the contact is open, the address > > when selected still uses the first. does anyone know how to use the second > > or third address? > > While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From normkara at wans.net Wed Mar 5 07:51:00 2003 From: normkara at wans.net (Norm) Date: Wed Mar 5 07:51:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: Message-ID: <000f01c2e31e$206047e0$24b6f4d1@norm> Have you taken a look at this MS KB Article? http://support.microsoft.com/default.aspx?scid=kb;en-us;242368 Norm > We uninstalled Word entirely, and reinstalled to no avail. > > Another of our technicians, just came into my office (i.e. a desk > shoved against a partition wall, outside of our server room...I don't > even have room to put tape on the floor, a la Les Nesman) and said he > found some info on a possible cause. He thinks there may be a corrupt > registry key. He phoned the the guy going there and told him what to > try. > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Wed Mar 5 07:52:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed Mar 5 07:52:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: John, When you talk to your tech have them look at this page: http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=wrd&Number=197827&Search=true&Forum=wrd&Words=&Match=StarPost&Searchpage=0&Limit=99&Old=allposts&Main=197827 Watch for really long URL. It will give him a very systematic approach to follow to figure out what's wrong with Word. It is the best reference I have seen to troubleshoot wonky Word issues. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> John.Clark at niagaracounty.com 05-Mar-03 8:39:31 AM >>> I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 5 07:59:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 5 07:59:00 2003 Subject: [AccessD] OT: Using Outlook second or third email address Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C69A@TAPPEEXCH01> John, Is there any way you can supress the graphic that attaches itself to your messages? Every time I open one of your messages, my company firewall dialog pops up. Alternatively, I didn't see a plain text option in the list messages options. Is there a way to do this? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 6:23 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Using Outlook second or third email address From JHewson at karta.com Wed Mar 5 08:13:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 08:13:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A6C@NT04> Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Mar 5 08:15:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 08:15:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A6D@NT04> Thanks Jean, I'll have the network guy check the permissions for the directory and other configurations. Jim -----Original Message----- From: Fields, Jean [mailto:Jean.Fields at gdseng.com] Sent: Tuesday, March 04, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ASP and Access Problem I believe you get the "reference not available" error when the app can't find the VBA dll on the client machine. Are the files on the intranet? The Internet Explorer error may be caused because the machines in question don't have access to the internal share your files are on. Some kind of network configuration. I'll see if I can find more info on it. HTH, -Jean Jean Fields GDS Engineers, Inc. 9009 West Loop South, Suite #800 Houston, TX 77096 Tel.: 713-667-9162 x1102 Fax: 713-667-9241 email: mailto:jean.fields at gdseng.com website: http://www.gdseng.com -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 5 08:20:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 5 08:20:00 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reische at mdh.org Wed Mar 5 08:25:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Wed Mar 5 08:25:01 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86A9B@NEWMAN_EXC> It's an Element K journal - but it's kinda pricy. Check elementk.com -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 8:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reische at mdh.org Wed Mar 5 08:25:59 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Wed Mar 5 08:25:59 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86A9C@NEWMAN_EXC> Oops -- sorry www.elementkjournals.com -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 8:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 08:38:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 08:38:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.c om> References: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.c om> Message-ID: <1046875251.7631.2.camel@sgsax-th4022c> Tim, You can do this much more efficiently with an update query, instead of writing it all out by hand. Even if you had to build more than one if you can't do it in one fell swoop, it would still be easier and cleaner than writing the code out. Seth On Wed, 2003-03-05 at 07:06, Swisher, Timothy B. wrote: > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each record. > My question is, what is the best way to do this, > > Like this > > .edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > .update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 records. > Each validation goes to a SQL Server BE and check the validity of the data. > There is a huge difference in speed opening and closing the recordset so > many times, but if that is the better way to go, then so be it. All help is > appreciated. TIA. > > Tim -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From hsimpson88 at hotmail.com Wed Mar 5 08:40:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 5 08:40:01 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: I have a user for whom the Delete key does nothing in Word. After she highlights a selection she must use the backspace key to perform deletions. The delete key works for her with all other applications. Only Word is afflicted. There is one install of Word on an NT4/terminal server and the delete works for all other users in Word. We've had this problem for about a year and a half and are wondering whether anyone knows of a solution. Hen _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jjwrite at earthlink.net Wed Mar 5 08:47:00 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Wed Mar 5 08:47:00 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: <412003335145453270@earthlink.net> Henry - I had a similar thing lately, come to find out someone had turned ON the Help for Word Perfect users which requires you to view the status line and respond Y/N to the delete key. From the Word menu, Tools>Options and check out the General Tab (second checkbox). Hope it's that simple. > [Original Message] > From: Henry Simpson > To: > Date: 3/5/03 9:39:47 AM > Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word > > I have a user for whom the Delete key does nothing in Word. After she > highlights a selection she must use the backspace key to perform deletions. > The delete key works for her with all other applications. Only Word is > afflicted. There is one install of Word on an NT4/terminal server and the > delete works for all other users in Word. > > We've had this problem for about a year and a half and are wondering whether > anyone knows of a solution. > > Hen > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Judy Johnson jjwrite at earthlink.net From harkins at iglou.com Wed Mar 5 08:49:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 08:49:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> <009401c2e2cd$30d0ab70$6401a8c0@default> Message-ID: <07bd01c2e326$4d62faf0$d2ecffcc@SusanOne> I read that too, but it doesn't seem to be true -- the left property does change. I think that must mean if you've manually selected -- I'll test it a bit more, maybe I wasn't paying attention or something. :) Susan H. > Susan, > I was just reading the help on this > Does this statement apply? -> > > If you've selected one or more records in the datasheet > (using the record selectors), you can't change the setting > of the SelLeft property. > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 04, 2003 10:36 PM > Subject: [AccessD] form SelLeft property > > > > The strangest thing is happening. I'm using the four SelX properties to > > select records in a datasheet form. They all work as expected, except for > > SelLeft. It acts as though there's another column at the left border. When > I > > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > > first column. If I use the SelLeft 3, the selection begins at the second > > column, and so on. > > > > Any explanations? > > > > 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 harkins at iglou.com Wed Mar 5 09:04:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:04:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> <1699056482.20030305113259@cactus.dk> Message-ID: <085501c2e328$543ebd30$d2ecffcc@SusanOne> Nope -- I thought of that, but nope. Susan H. > Hi Susan > > Would you by any chance have a hidden (zero width) column? > > /gustav > > > > The strangest thing is happening. I'm using the four SelX properties to > > select records in a datasheet form. They all work as expected, except for > > SelLeft. It acts as though there's another column at the left border. When I > > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > > first column. If I use the SelLeft 3, the selection begins at the second > > column, and so on. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Wed Mar 5 09:04:18 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:04:18 2003 Subject: [AccessD] Editing Records References: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Message-ID: <085601c2e328$551c7300$d2ecffcc@SusanOne> Editing RecordsI didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From dli at NVTC.State.Va.Us Wed Mar 5 09:06:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 09:06:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83A@NVTC02> Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From DWUTKA at marlow.com Wed Mar 5 09:06:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:06:14 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8223E@main2.marlow.com> Eh, RAID 5 is 3 disks, a striped mirror (essentially 2 striped and one parity). Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, March 05, 2003 12:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP That explains why it was such a task to get the server and Promise RAID to working right. Wasted a whole afternoon... The OS is Win2000 Advanced Server and the motherboard was an $150.00 CAN (about $95.00 US), 1700MHz ASUS with RAID tech built-in. It has all worked flawlessly for over a year. Two mirrored 80GB drives and one 160GB for network backup. All kidding aside getting the right drivers to stabilize everything took awhile but now it is working perfectly. So the conventional wisdom from Dell and MS isn't always so. Mind you it is only RAID 2. To install RAID 5 would cost over a $1000.00 more in hardware. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 04, 2003 9:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 5 09:09:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:09:01 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8223F@main2.marlow.com> Just out of curiousity, can you use an Update query....making the validation part of the criteria? That would probably be the fastest method. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Wed Mar 5 09:11:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:11:00 2003 Subject: [AccessD] Form selection problem Message-ID: <086901c2e329$56b964b0$d2ecffcc@SusanOne> I think Marty reminded me of the problem with one of the Selection properties -- has to be set to 0. In playing around with it last night, it didn't seem necessary, yet I did have that one problem. It seemed odd that the SelHeight property should be reponsible for the problem I was having. However, This morning, I added a frm.SelHeight = 0 just before the select statements and it's working fine. Thanks Marty (I think)! :) Susan H. From DWUTKA at marlow.com Wed Mar 5 09:12:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:12:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82240@main2.marlow.com> Just an FYI, if you uninstall word, you are leaving a ton of registry stuff hanging around, and reinstalling it is not going to overwrite that stuff. If you are going to do a reinstall, it is better to completely uninstall office, which would include running OfficeClean to clean out everything left behind from the standard Uninstall. Reinstalling then, is like installing on a new machine. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 05, 2003 7:40 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 5 09:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 09:30:00 2003 Subject: [AccessD] Form selection problem In-Reply-To: <086901c2e329$56b964b0$d2ecffcc@SusanOne> References: <086901c2e329$56b964b0$d2ecffcc@SusanOne> Message-ID: <13426828657.20030305162911@cactus.dk> Hi Susan Ehh .. what do you use this for? I've only used one form in dataview - and programming the selected area ...?? /gustav > I think Marty reminded me of the problem with one of the Selection > properties -- has to be set to 0. In playing around with it last night, it > didn't seem necessary, yet I did have that one problem. It seemed odd that > the SelHeight property should be reponsible for the problem I was having. > However, This morning, I added a > frm.SelHeight = 0 > just before the select statements and it's working fine. > Thanks Marty (I think)! :) From tswisher at GFNET.com Wed Mar 5 09:33:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 09:33:00 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.com> I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 5 09:35:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 5 09:35:01 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From dli at NVTC.State.Va.Us Wed Mar 5 09:38:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 09:38:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83B@NVTC02> F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 09:48:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 09:48:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> References: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> Message-ID: <1046879466.7631.12.camel@sgsax-th4022c> Tim, You can craft your upated query in raw SQL. The basic syntax is UPDATE SET = , = , ... WHERE ; And then execute that statement once you've established a connection to the BE database. If you don't feel comfortable writing SQL directly, create a mock-up table in your db and use the QBE grid to put it together. Then copy and paste the resulting SQL into your code. Note there is a lot of "readability" clean-up you can do with the SQL the QBE grid generates. Seth On Wed, 2003-03-05 at 09:32, Swisher, Timothy B. wrote: > I think I need to use a recordset because I do not have the validation data > available to the app in any other form. > > More background... > We get a file from one of our apps, I import that data into an Access db, > that data needs to be validated against our SQL Server. The data from the > SQL Server is unbound, no table links. I basically send the server a > project number, if it returns a record, its valid, if not its an error. We > are checking for errors on project numbers, whether its active etc. We also > use the project number and other data to find information about the project > and add that to the record, who it belongs, client, etc. There is different > criteria for each validation. For each record, I could have anywhere from > no changes to 13 changes. > > Thanks again. > > Tim > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From CWortz at tea.state.tx.us Wed Mar 5 09:48:24 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 5 09:48:24 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: But, do you have "F:" mapped to the exact same place on the server as others do? If not, then your mapping will fail. To check if you are mapped the same as others, go to "My Computer", set View to Details, then to the left of (F:) it should show what F: is substituting for. If that does not match what others have F: substituting for, then you cannot see what others can see on the network drive. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:40 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't find the path C;/... F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From DWUTKA at marlow.com Wed Mar 5 09:52:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:52:01 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82242@main2.marlow.com> What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 5 10:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 10:00:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <1046879466.7631.12.camel@sgsax-th4022c> References: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> <1046879466.7631.12.camel@sgsax-th4022c> Message-ID: <15128622877.20030305165905@cactus.dk> Hi Tim How do you get this file? Is it text or comma separated? It might be faster to parse and clean it when reading it rather than importing it first. /gustav >> We get a file from one of our apps, I import that data into an Access db, >> that data needs to be validated against our SQL Server. The data from the >> SQL Server is unbound, no table links. I basically send the server a >> project number, if it returns a record, its valid, if not its an error. We >> are checking for errors on project numbers, whether its active etc. We also >> use the project number and other data to find information about the project >> and add that to the record, who it belongs, client, etc. There is different >> criteria for each validation. For each record, I could have anywhere from >> no changes to 13 changes. From dli at NVTC.State.Va.Us Wed Mar 5 10:08:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 10:08:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83C@NVTC02> We have used this VB application for five years. There are about ten people do their work from the aaplication. Recently, The got Can't find file message very often. I think there is something wrong with the mdb. I repair it and compact it. No broblem for a while. and same problem come again. Also, the size of the mdb is smaller and smaller. I worry about data is completed. However, my clients did't report any lost data problem. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:48 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... But, do you have "F:" mapped to the exact same place on the server as others do? If not, then your mapping will fail. To check if you are mapped the same as others, go to "My Computer", set View to Details, then to the left of (F:) it should show what F: is substituting for. If that does not match what others have F: substituting for, then you cannot see what others can see on the network drive. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:40 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't find the path C;/... F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tswisher at GFNET.com Wed Mar 5 10:13:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 10:13:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E97@SEESAR3.corporate.gannettfleming.com> The powers that be do not want links. I need to use code. Tim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:51 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From tswisher at GFNET.com Wed Mar 5 10:14:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 10:14:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E98@SEESAR3.corporate.gannettfleming.com> It is already in an access table. I get about 3-4 thousand records in a text file, but a large portion is already in a table. Tim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 05, 2003 10:59 AM To: Seth Galitzer Subject: Re: [AccessD] Editing Records Hi Tim How do you get this file? Is it text or comma separated? It might be faster to parse and clean it when reading it rather than importing it first. /gustav >> We get a file from one of our apps, I import that data into an Access db, >> that data needs to be validated against our SQL Server. The data from the >> SQL Server is unbound, no table links. I basically send the server a >> project number, if it returns a record, its valid, if not its an error. We >> are checking for errors on project numbers, whether its active etc. We also >> use the project number and other data to find information about the project >> and add that to the record, who it belongs, client, etc. There is different >> criteria for each validation. For each record, I could have anywhere from >> no changes to 13 changes. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 5 10:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:22:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82245@main2.marlow.com> Jim, first...no blue! I would look into the security first. Actually, scratch that. I would set the IIS settings to show more detailed ASP error messages. You can get error messages that will actually pinpoint the problem. I personally use VB .dll's to do most of the work, so my ASP looks like this usually: Dim sc Dim Resp Set sc=server.createobject("MyDLL.SomeClass sc.SomeProperty=SomeValue Resp=sc.GetData If Resp="Done" then 'do something with the classes properties, which have now been set by the GetData procedure Else Response.write "The following error occurred on the server:

" & resp End if Set sc=nothing That way, if something went wrong with the GetData process (which is where 99.9% of the problems are going to occur), the ASP is going to write out to the user the error message. That means the IIS server isn't getting the error, just the .dll. Now, when I first started with ASP, one of the big hurdles I had to tackle was understanding how IIS security works. When I started making mdb driven ASP pages, I ran into problems where my code kept telling me it couldn't find the .mdb file. It made no sense, until I figured out the security issue. Here's the deal. There are FOUR security options for a web page (each page can have it's own set of options). 4 user settings (You can also include IP security, and SSL....not going to get into those....these do not affect how you interact with an .mdb). The first setting is 'Anonymous Access', which from what you say, you are not using. But the way Anonymous Access works is you give the IIS server an NT Account in which to 'act as', and when a user gets a web page with that access, they are 'acting' like the Anonymous Account. So if you have the Anonymous Access setup to use an account that doesn't have access to a particular file, pages that need that file are going to fail, because the anonymous account doesn't have the right access. The next is Plain Text Passwords. This option prompts the user to log on. It sends the password across the lines as plain text though, so it's not very 'secure'. However, this option is exactly the same as the Anonymous Access, in that whenever a user logs in, their 'credentials' are used for whatever access is required for the page (or the ASP that is working behind the page). The next one is the kicker...and it could very likely be your issue. It's Windows Integrated Security. It too prompts for a logon, however, it works similar to a normal Workstation logon by not sending a plain text user and password across the lines, instead, it sends an encrypted hash. Here's the problem with that. This security option ONLY works locally on the IIS Server. You cannot access ANYTHING that is located off of the IIS Server. That would include network databases, both .mdbs and Server Side dbs. When this security option is used, and you try to access a network resource, you are going to get the 'database can't be found' message, simply because it can't access it due to security, thus to Access/DAO/ADO, the file just doesn't exist. This can be pretty tricky, because even if you have an .mdb on the local IIS machine, if you have a linked table to a network .mdb, it is going to have problems when it hits that linked table. The fourth option is a mixture of 2 and 3. But it is only available when the IIS server is running in an Active Directory environment. I have that setup at home, but haven't had any time to see what all it can do. In conclusion, get the IIS server to give you a more complete error message, and if it's an issue of 'finding' the database, take a look at your security settings in combination of where your 'resources' are actually located. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 05, 2003 8:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] ASP and Access Problem Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Mar 5 10:25:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed Mar 5 10:25:00 2003 Subject: [AccessD] first five dates per year References: Message-ID: <000601c2e333$dc39d4d0$f5c581d5@pedro> Thanks for your help Juan. This is an usefull function. Never noticed that is was present. But it gives me only the Top 5 of the total of records. I tried to give me the top5 dates each year with this function, but i can't make it work Drew, i don't have a criterium for the records i don't want to. I just need the first 5 each year. Pedro ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 12:30 AM Subject: RE: [AccessD] first five dates per year Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 5 10:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:31:00 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82246@main2.marlow.com> Oh, I hear ya. I would take a computer that catches fire over a 'powers that be' problem ANY DAY! What I would recommend then..and again, I'm still a little fuzzy on the specifics, but I would say take the smaller of the two (which I am assuming would be the imported file), and dump it into a Collection of custom Classes. Base the ID for each class you put into the collection on the 'key' that you are going to be looking for in the SQL records. Then open the SQL records as a recordset, and as you run through them, take the ID, and do a check for a matching class in your collection. If there is a match, do the update, if there isn't move on. That way you are running in memory with one of the lists, and you aren't opening and closing a recordset to find a match. Just a thought. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records The powers that be do not want links. I need to use code. Tim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:51 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 5 10:44:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:44:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82248@main2.marlow.com> Okay, simple table, ID (AutoNumber), SomeText (text field) and MyDate (Date field). I called this table tblTest. The following SQL will show the first five records for each year: SELECT ID, SomeText, MyDate FROM tblTest AS T1 WHERE ID In (SELECT TOP 5 ID FROM tblTest WHERE Year(MyDate)=Year(T1.MyDate) ORDER BY MyDate); The subquery pulls up a group of up to 5 ID's, which the main query then uses to determine if it's ID should be displayed or not. I used an ID field, because if there are more then 5 dates (say you have 6 records for January 1st in one year...) you would get more then 5 records back if you made the IN statement compare the date field to the subquery. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Wednesday, March 05, 2003 10:24 AM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Thanks for your help Juan. This is an usefull function. Never noticed that is was present. But it gives me only the Top 5 of the total of records. I tried to give me the top5 dates each year with this function, but i can't make it work Drew, i don't have a criterium for the records i don't want to. I just need the first 5 each year. Pedro ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 12:30 AM Subject: RE: [AccessD] first five dates per year Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com ]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Mar 5 11:04:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed Mar 5 11:04:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form Message-ID: <001801c2e339$32196000$6601a8c0@HAL9002> Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 5 11:15:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 5 11:15:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <001801c2e339$32196000$6601a8c0@HAL9002> Message-ID: You need a Public sub if it's called from another form, and then the syntax is just: Forms!frmName.SubName Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 10:04 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Syntax to Call a procedure from another form Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software From Lambert.Heenan at AIG.com Wed Mar 5 11:16:01 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 5 11:16:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897423@xlivmbx12.aig.com> You cannot call a private sub, in a form or a report or a module form anywhere except the form, report or module that defines the sub. That's the whole point of 'Private'. So make your form's sub explicitly public and you will be able to call it with this syntax... forms("YourFormName").YourSubName forms!YourFormName.YourSubName Lambert > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Wednesday, March 05, 2003 12:04 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > Dear List: > > I always have trouble with this syntax: I want to execute or call a > Private Sub in one form (which is open) from a pop up form. Can' remember > the syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > From jcolby at colbyconsulting.com Wed Mar 5 11:16:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed Mar 5 11:16:19 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <001801c2e339$32196000$6601a8c0@HAL9002> Message-ID: Rocky, It can't be private for starters. After that: forms!FormName.MyFunction(AnyParams) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 12:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Syntax to Call a procedure from another form Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Mar 5 11:35:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed Mar 5 11:35:00 2003 Subject: [AccessD] Syntax to Call a procedure from another form References: Message-ID: <004601c2e33d$7d7d0250$6601a8c0@HAL9002> Chris, John, Lambert: Got it. Thank you. Normally, when I call a procedure I use 'Call'. You don't need it but it makes the code more self documenting. In this case however, Access did not like the 'Call' in front of the 'Forms!frmManageMultipleAssets.cmdAdd_Click' Rocky ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 05, 2003 9:13 AM Subject: RE: [AccessD] Syntax to Call a procedure from another form > You need a Public sub if it's called from another form, and then the syntax > is just: > > Forms!frmName.SubName > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, March 05, 2003 10:04 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > > Dear List: > > I always have trouble with this syntax: I want to execute or call a Private > Sub in one form (which is open) from a pop up form. Can' remember the > syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Wed Mar 5 11:44:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 11:44:01 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A71@NT04> No blue here either -- what was I thinking? Thanks, I'll check it out. Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ASP and Access Problem Jim, first...no blue! I would look into the security first. Actually, scratch that. I would set the IIS settings to show more detailed ASP error messages. You can get error messages that will actually pinpoint the problem. I personally use VB .dll's to do most of the work, so my ASP looks like this usually: Dim sc Dim Resp Set sc=server.createobject("MyDLL.SomeClass sc.SomeProperty=SomeValue Resp=sc.GetData If Resp="Done" then 'do something with the classes properties, which have now been set by the GetData procedure Else Response.write "The following error occurred on the server:

" & resp End if Set sc=nothing That way, if something went wrong with the GetData process (which is where 99.9% of the problems are going to occur), the ASP is going to write out to the user the error message. That means the IIS server isn't getting the error, just the .dll. Now, when I first started with ASP, one of the big hurdles I had to tackle was understanding how IIS security works. When I started making mdb driven ASP pages, I ran into problems where my code kept telling me it couldn't find the .mdb file. It made no sense, until I figured out the security issue. Here's the deal. There are FOUR security options for a web page (each page can have it's own set of options). 4 user settings (You can also include IP security, and SSL....not going to get into those....these do not affect how you interact with an .mdb). The first setting is 'Anonymous Access', which from what you say, you are not using. But the way Anonymous Access works is you give the IIS server an NT Account in which to 'act as', and when a user gets a web page with that access, they are 'acting' like the Anonymous Account. So if you have the Anonymous Access setup to use an account that doesn't have access to a particular file, pages that need that file are going to fail, because the anonymous account doesn't have the right access. The next is Plain Text Passwords. This option prompts the user to log on. It sends the password across the lines as plain text though, so it's not very 'secure'. However, this option is exactly the same as the Anonymous Access, in that whenever a user logs in, their 'credentials' are used for whatever access is required for the page (or the ASP that is working behind the page). The next one is the kicker...and it could very likely be your issue. It's Windows Integrated Security. It too prompts for a logon, however, it works similar to a normal Workstation logon by not sending a plain text user and password across the lines, instead, it sends an encrypted hash. Here's the problem with that. This security option ONLY works locally on the IIS Server. You cannot access ANYTHING that is located off of the IIS Server. That would include network databases, both .mdbs and Server Side dbs. When this security option is used, and you try to access a network resource, you are going to get the 'database can't be found' message, simply because it can't access it due to security, thus to Access/DAO/ADO, the file just doesn't exist. This can be pretty tricky, because even if you have an .mdb on the local IIS machine, if you have a linked table to a network .mdb, it is going to have problems when it hits that linked table. The fourth option is a mixture of 2 and 3. But it is only available when the IIS server is running in an Active Directory environment. I have that setup at home, but haven't had any time to see what all it can do. In conclusion, get the IIS server to give you a more complete error message, and if it's an issue of 'finding' the database, take a look at your security settings in combination of where your 'resources' are actually located. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 05, 2003 8:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] ASP and Access Problem Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Mar 5 13:25:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 5 13:25:01 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Message-ID: <00a601c2e34c$706852e0$b274d0d5@andypc> Tim Just a suggestion. Dim blnNeedsUpdate As Boolean blnNeedsUpdate =False If validation1 = false then blnNeedsUpdate =True End if If validation2 = false then blnNeedsUpdate =True End if etc if blnNeedsUpdate = true .edit change all fields .update Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, Timothy B. Sent: 05 March 2003 13:06 To: accessd at databaseadvisors.com Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 5 13:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 13:37:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <000601c2e333$dc39d4d0$f5c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro> Message-ID: <13841643940.20030305203606@cactus.dk> Hi Pedro > I have a table with 10000 records. I would like to filter out, by > query, the first 5 or 10 dates per different years. > Is this possible. For a large table the use of a subquery may be painfully or even unacceptably slow. If you know the maximum number of years to list, you can create a union query like this where Year is the first year to list: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year],1,1) UNION SELECT TOP 5 Year+1 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+1,1,1) ... UNION SELECT TOP 5 Year+n AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+n,1,1) ORDER BY Year5, ID; /gustav From marcel.vreuls at oop.nl Wed Mar 5 13:44:00 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed Mar 5 13:44:00 2003 Subject: [AccessD] ASP and Access Problem In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A68@NT04> Message-ID: <00cb01c2e2d8$24382db0$c100a8c0@OOPMBO> Jim, We had the same problem (error 500). This error pops up on two occassions as I now of: 1. You (IUSR_) must have execute rights on all server directories where your asp files are stored. 2. You must have read and write AND delete(for the ldb file) rights on the location where the db is stored. Once you have done that it should work. If not mail me the first page of your site and I will take a look Ps. restart the server or apply the servicepack again will never hurt :-) Gr marcel -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: dinsdag 4 maart 2003 22:20 To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Wed Mar 5 13:51:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Wed Mar 5 13:51:00 2003 Subject: [AccessD] Editing Records Message-ID: <01C2E326.8508BD00.bob@renaissancesiding.com> Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> From Jdemarco at hshhp.org Wed Mar 5 13:56:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 5 13:56:00 2003 Subject: [AccessD] Editing Records Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Oleg_123 at xuppa.com Wed Mar 5 14:01:00 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed Mar 5 14:01:00 2003 Subject: [AccessD] (OT) Updating links in Excel from Access form In-Reply-To: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> References: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> Message-ID: <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> Guys, I need to be able to update links in excel workbook from Access form. Does anyone how it is possible ? Oleg Private Sub cmdUPY_Click() DoCmd.RunMacro "GetRates" ?refresh L:\PCO\YieldInterpolation.xls DoCmd.RunMacro "GetRates2" End Sub ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail From hadyn at dataconcepts.co.nz Wed Mar 5 14:25:00 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Wed Mar 5 14:25:00 2003 Subject: [AccessD] Datagrid Control References: <005c01c2e2c1$4158f670$0700000a@xpdev> <4610868738.20030305120311@cactus.dk> Message-ID: <003a01c2e355$cd9e8ac0$0700000a@xpdev> Thanks Gustav > Freeze the two leftmost columns Learn something new everyday :) Hadyn ----- Original Message ----- From: "Gustav Brock" To: "Hadyn Morgan" Sent: Thursday, March 06, 2003 12:03 AM Subject: Re: [AccessD] Datagrid Control > Hi Hadyn > > A (sub)form in dataview can do this. > > Freeze the two leftmost columns and the rest will be horizontally > scrollable. > If number of columns can vary, create "enough" columns and set > columnwidth to zero for those far right not needed. > > Number of rows is no problem. > > /gustav > > > > Has anyone got experience using this in A2K? Is there something better to > > use? I need to have an editable grid that will lock the first 2 columns, > > horizontal scroll the rest, and allow an unknown number of rows. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Mar 5 15:16:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 5 15:16:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> Message-ID: <00b101c2e35b$f7928920$b274d0d5@andypc> Yea I like that. The principle I was suggesting, though, was just a single edit and update for each record, and only if there was something to do. But this is certainly neat. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: 05 March 2003 19:56 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Editing Records > > > In cases where a number of items (boolean variables in this > case) must be true for an event to occur I usually multiply > the booleans by each other. If I get a 0 result I know the > event should not happen: > > blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) > > If blnDoTheEvent Then > 'do it here > End If > > HTH, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Bob Gajewski [mailto:bob at renaissancesiding.com] > Sent: Wednesday, March 05, 2003 2:50 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Editing Records > > > Andy > > Just shooting from the hip, but couldn't that be done using a loop? > > Seems like it might be a lot of coding, even for just 13 > validations ... and then it would handle more if they were > added later. > > Regards, > Bob Gajewski > > On Wednesday, March 05, 2003 14:22 PM, Andy Lacey > [SMTP:andy at minstersystems.co.uk] wrote: > > Tim > > Just a suggestion > > > > Dim blnNeedsUpdate As Boolean > > > > > > blnNeedsUpdate =False > > > > If validation1 = false then > > blnNeedsUpdate =True > > > > End if > > > > If validation2 = false then > > blnNeedsUpdate =True > > > > End if > > > > > > etc > > > > if blnNeedsUpdate = true > > > > ..edit > > > > change all fields > > > > ..update > > > > > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > > Timothy B > > Sent: 05 March 2003 13:06 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Editing Records > > > > > > > > Hello group, I have a procedure (A2k) that opens a > recordset (DAO) and > > cycles through the data validating/updating several fields for each > > record. My question is, what is the best way to do this, > > > > Like this > > > > ..edit > > If validation1 = false then > > change data > > End if > > > > If validation2 = false then > > change data > > End if > > ..update > > > > Or > > > > If validation1 = false then > > .edit > > change data > > .update > > End if > > > > If validation2 = false then > > .edit > > change data > > .update > > End if > > > > I have about 13 validations that need to be done on about 90,000 > > records. Each validation goes to a SQL Server BE and check the > > validity of the data. There is a huge difference in speed > opening and > > closing the recordset so many times, but if that is the > better way to > > go, then so be it. All help is appreciated. TIA > > > > Tim > > > > << File: ATT00006.htm >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > > ************************************************************** > ********************* > "This electronic message is intended to be for the use only > of the named recipient, and may contain information from > HealthSource/Hudson Health Plan (HS/HHP) that is confidential > or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is > strictly prohibited. If you have received this message in > error or are not the named recipient, please notify us > immediately, either by contacting the sender at the > electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please > do not forward this email to anyone, and delete and destroy > all copies of this message. Thank You". > ************************************************************** > ********************* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Wed Mar 5 15:19:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 5 15:19:01 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: That was it. Word Perfect help was on. This person didn't know there was a Tools/Options menu and had never used WordPerfect yet the selection was made for her profile. Thanks a bunch. Hen >From: "Judy Johnson" >Reply-To: accessd at databaseadvisors.com >To: "AccessD" >Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word >Date: Wed, 5 Mar 2003 9:54:53 -0500 > >Henry - I had a similar thing lately, come to find out someone had turned >ON the Help for Word Perfect users which requires you to view the status >line and respond Y/N to the delete key. From the Word menu, Tools>Options >and check out the General Tab (second checkbox). >Hope it's that simple. > > > > [Original Message] > > From: Henry Simpson > > To: > > Date: 3/5/03 9:39:47 AM > > Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word > > > > I have a user for whom the Delete key does nothing in Word. After she > > highlights a selection she must use the backspace key to perform >deletions. > > The delete key works for her with all other applications. Only Word is > > afflicted. There is one install of Word on an NT4/terminal server and >the > > delete works for all other users in Word. > > > > We've had this problem for about a year and a half and are wondering >whether > > anyone knows of a solution. > > > > Hen > > > > > > _________________________________________________________________ > > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >Judy Johnson >jjwrite at earthlink.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jbartow at earthlink.net Wed Mar 5 15:22:01 2003 From: jbartow at earthlink.net (John Bartow) Date: Wed Mar 5 15:22:01 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB From artful at rogers.com Wed Mar 5 15:29:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 15:29:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> Message-ID: <006201c2e35e$2da2cc30$8e01a8c0@Rock> For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Wed Mar 5 16:21:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Wed Mar 5 16:21:00 2003 Subject: [AccessD] multiple version of the ODE tools In-Reply-To: Message-ID: <001501c2e365$74f5e7f0$0100a8c0@CX615377A> Be very careful. If you use the packaging wizard from ODE to build runtime installs make sure it packages the components to support the version you're working in. I learned this the hard way when I had the 97 Developer edition and Office 2000 on the same computer. Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, March 05, 2003 1:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 5 16:30:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 5 16:30:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From michael.mattys at adelphia.net Wed Mar 5 16:36:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed Mar 5 16:36:00 2003 Subject: [AccessD] AutoExec Macro Question References: Message-ID: <001301c2e368$ed7e0c40$6401a8c0@default> Hi Susan, I believe you have to put Load() Mike Mattys ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 05, 2003 5:29 PM Subject: [AccessD] AutoExec Macro Question > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Wed Mar 5 16:38:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed Mar 5 16:38:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You might want to change the name of your function from LOAD to something else. At least in A97 there is an event called LOAD. "Susan Zeller" Sent by: accessd-admin at databaseadvisors.com 03/05/2003 04:29 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbhuffman at mdh.org Wed Mar 5 16:40:01 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed Mar 5 16:40:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86AB0@NEWMAN_EXC> Do you have it entered as Load()? You need to have the parentheses for it to be called properly. -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 4:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Wed Mar 5 16:42:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 5 16:42:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 16:55:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 16:55:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <1046905114.7631.25.camel@sgsax-th4022c> Susan, "Load" may be a reserved word and that might confuse Access. Try giving your function a different name and see if that makes any difference. I use basInit() for my applications. By using the LR prefix, I'm pretty much assured I'm not going to have a lexical collision with the interpreter. (Wow, did that sound like a load of bull or what. How many buzzwords can I put into one sentence...) Seth On Wed, 2003-03-05 at 16:29, Susan Zeller wrote: > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From stuart at lexacorp.com.pg Wed Mar 5 17:02:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 5 17:02:01 2003 Subject: [AccessD] ASP and Access Problem In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A6C@NT04> Message-ID: <3E670DF9.17408.47DB97@localhost> The answers may be in blue on your email when composing, but not when it it processed by your mail server which sends out: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; Your answers look exaclty the same as the text you are responding to and it's hard to make sense of. That's one (but by no means the only) of the problems with using all that fancy cr*p in emails. Even if they had been sent you as you composed them, many people do not use the same email client as you and would still not have seen what you intended. May I suggest you take a look at http://www.expita.com/nomime.html > Thanks Drew for responding. > Answers below in Blue. > Jim > > --Snip-- > Okay, am I to understand that the Access FE is working fine, but the ASP FE > is having problems? -Correct. > > First of all, is anyone going into the BE directly? That could be an easy > problem to fix. If the BE is being locked, no one is going to be working. > No one accesses the BE without going through either the Access FE or ASP. > > Next, is the BE located on the IIS machine, or it on a network resource? If > it's on a network resource, that can also be an issue, depending on how the > security of the IIS machine is setup. > > It's on a IIS machine as far as I know. What kind of security does it need > to be? > The users of the ASP log in using their network user ID and password. There > is no security set up on the Access FE or BE. > > thanks again. > > Jim > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From dwaters at usinternet.com Wed Mar 5 17:05:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed Mar 5 17:05:00 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <004601c2e33d$7d7d0250$6601a8c0@HAL9002> Message-ID: <000001c2e36b$8ab92330$de1811d8@DanWaters> To use Call, replace the first ! with a . as shown: Call Forms.frmManageMultipleAssets.cmdAdd_Click Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Syntax to Call a procedure from another form Chris, John, Lambert: Got it. Thank you. Normally, when I call a procedure I use 'Call'. You don't need it but it makes the code more self documenting. In this case however, Access did not like the 'Call' in front of the 'Forms!frmManageMultipleAssets.cmdAdd_Click' Rocky ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 05, 2003 9:13 AM Subject: RE: [AccessD] Syntax to Call a procedure from another form > You need a Public sub if it's called from another form, and then the syntax > is just: > > Forms!frmName.SubName > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, March 05, 2003 10:04 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > > Dear List: > > I always have trouble with this syntax: I want to execute or call a Private > Sub in one form (which is open) from a pop up form. Can' remember the > syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Mar 5 18:19:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 5 18:19:00 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: You can install them on the same machine, but you may have problems with the packaging wizard. For a 97/2002 article on this see http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 Charlotte Foust -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Wednesday, March 05, 2003 1:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Mar 5 18:31:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 18:31:00 2003 Subject: [AccessD] multiple version of the ODE tools References: Message-ID: <00e001c2e377$af14e230$d2e6ffcc@SusanOne> Charlotte, if he partitioned his drive, would it matter then? I know lots of developers that have to keep multiple versions of Access do this anyway. Susan H. > You can install them on the same machine, but you may have problems with > the packaging wizard. For a 97/2002 article on this see > http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 > From cfoust at infostatsystems.com Wed Mar 5 18:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 5 18:51:00 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: I haven't tried it, Susan. I just ran across the article when looking for something else. The article suggests you can run them but you have to be very careful how you install them and in what order. Unless you have separate boot partitions, I don't think those problems would go away just installing them on a separate virtual drive. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 4:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] multiple version of the ODE tools Charlotte, if he partitioned his drive, would it matter then? I know lots of developers that have to keep multiple versions of Access do this anyway. Susan H. > You can install them on the same machine, but you may have problems > with the packaging wizard. For a 97/2002 article on this see > http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jhale at houston.rr.com Wed Mar 5 22:23:00 2003 From: jhale at houston.rr.com (James Hale) Date: Wed Mar 5 22:23:00 2003 Subject: [AccessD] ODBC connection to AS400 Message-ID: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Using the IBM client Access ODBC driver I have links to tables residing on the AS400. If I open these tables to view the AS400 gives me exclusive use of the file. The problem is it never releases the table for use by others until I quit Access. Does anyone know how to release the table? Similarly, if someone has use of the table and I try to open it I get an ODBC connection failed error. What is the correct way to trap for this error? TIA Jim Hale From jhale at houston.rr.com Wed Mar 5 22:51:00 2003 From: jhale at houston.rr.com (James Hale) Date: Wed Mar 5 22:51:00 2003 Subject: [AccessD] .net In-Reply-To: <1044379055.3e3ff5af55e14@hosea.qub.ac.uk> Message-ID: <004301c2e39c$36925c00$2602a8c0@D4MXWR01> I fervently hope that the idea of a personal, albeit powerful, relational database does not get lost in the rush to "the new greatest thing" such as .Net. The ability of non IT (and IT) types to drop data down to their machines and tinker with it is invaluable and one of the most important aspects of Access. Many bells and whistles have been added to the product over the years but at its heart the secret to Access's success IMHO is the ability it gives a single user to easily get his arms around his data. Anything that makes it harder to do this, such as making the programming language too "techie", would devalue it's usefulness. There has always been a tradeoff between power and ease of use. My impression and fear is that MS is tilting dangerously away from the ease of use end of the spectrum. If the techies have won the design wars power users will be the losers to the ultimate detriment of the industry as a whole. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Tuesday, February 04, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] .net I would say that coming are many changes to the way we use SQL Server and MSDE and Access. I would guess that some of these changes will not be for the better. Access has a massive installed user and developer base and will always be about. .NET is Microsoft strategic direction in programming applications and the web. Up to each programmer if they stick with Access or move to .NET. There will always be Acess work there. Theres work with SQL Server and MSDE thats in the nature of the beast just like Oracle. Big relational systems running the enterprise need work. Nice and easy. NO one ever said SQL Server was maintenace free but there are many developments taking place to relieve the DBA of day to day work fore example built in dynamic performance monitoring. IBM and DB2 have some interesting areas. JET got the job done until you scale up and have 20000 users and terrabytes of data. In my view MSDE was a marketing ploy. Nothing else. For whats its worth I have expressed similar concerns directly to MS on many of the issues raised especially the future direction of SQL Server, ADPs and Access. But you need to be a rela big name int he developer world to get heard properly. Martin Quoting Francisco H Tapia : > AFAIK, MS never claimed for Sql Server or MSDE to be 'maintenance-free', > and > they 'are' easier to use when compared to Oracle or DB2, and for that > matter > even mySQL. While all engines, are simple and straightforward, (after > you > read the documentation) they all have their own level of complexity. > JET, > for example crumbles under the load of Memo fields. There is also 0 > recoverability from a damaged .mdb file, if you MDB gets corrupt and the > MS > tools can't fix it, you are generally dead in the water. Sql Server > and > other big brand engines provide for up to the point of failure > recoverability. In order to use SqlServer or MSDE it does involve a > great > deal of learning the product, but I think it's just the same as when we > all > started down the road with JET. > > -Francisco > http://rcm.netfirms.com > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Tuesday, February 04, 2003 8:27 AM > Subject: RE: [AccessD] .net > > > : Unless common sense rears its ugly head somewhere along the way. > SQL > : Server and the desktop engine are not the maintenance free, > easy-to-use > : creatures that MS claims. At least Jet got the job done without > needing > : a dba on tap. > : > : Charlotte Foust > : > : -----Original Message----- > : From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > : Sent: Tuesday, February 04, 2003 7:33 AM > : To: accessd at databaseadvisors.com > : Subject: Re: [AccessD] .net > : > : > : I think the true future of Access will not be really known > : until Access 12 is available. I do know JET and DAO are > : dead today. No further development of either AFAIK. Could > : all change but we have to wait and see. > : > : Lot of confusion it would appear > : > : Martin > : > : Martin WP Reid > : Information Services > : Queens University Belfast > : > : Tel: (02890) 273750 > : > : > : ---------------------- > : > : > : _______________________________________________ > : AccessD mailing list > : AccessD at databaseadvisors.com > : http://databaseadvisors.com/mailman/listinfo/accessd > : Website: http://www.databaseadvisors.com > : _______________________________________________ > : AccessD mailing list > : AccessD at databaseadvisors.com > : http://databaseadvisors.com/mailman/listinfo/accessd > : Website: http://www.databaseadvisors.com > : > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Mar 6 00:02:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 00:02:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <3E66E44B.5070105@shaw.ca> Gave a look through here maybe in the IBM redbook links http://search400.techtarget.com/home/0,,sid3,00.html James Hale wrote: >Using the IBM client Access ODBC driver I have links to tables residing on >the AS400. If I open these tables to view the AS400 gives me exclusive use >of the file. The problem is it never releases the table for use by others >until I quit Access. Does anyone know how to release the table? Similarly, >if someone has use of the table and I try to open it I get an ODBC >connection failed error. What is the correct way to trap for this error? TIA >Jim Hale > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Thu Mar 6 02:49:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 02:49:00 2003 Subject: [AccessD] Updating links in Excel from Access form In-Reply-To: <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> References: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> Message-ID: <1365244381.20030306094816@cactus.dk> Hi Oleg > Guys, Well, as a warning, that excludes a handful or so very distinct and competent listers ... > I need to be able to update links in excel workbook from Access form. > Does anyone how it is possible ? Yes, run a function something like the one below which is based on a similar function from Mr. Colby. First, run it with a list of your macros: booSuccess = RunExcelMacros( _ "L:\PCO\YieldInterpolation.xls", _ "GetRates", "GetRates2") Next, run it to terminate Excel: booSuccess = RunExcelMacros( _ vbNullString, _ vbNullString) You can, of course, modify the function to run Excel and then terminate in one go. Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel is to be terminated. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 ' Insert here errors you wish to ignore. Resume Next Case Else ' All other errors will trap. DoCmd.Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Running macro " & varMacro Resume Exit_RunExcelMacros End Select End Function Beware of line breaks. /gustav > Private Sub cmdUPY_Click() > DoCmd.RunMacro "GetRates" > ?refresh L:\PCO\YieldInterpolation.xls > DoCmd.RunMacro "GetRates2" > End Sub From subs at solution-providers.ie Thu Mar 6 03:03:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu Mar 6 03:03:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <008901c2e3bf$2cdcc600$356da8c0@IEW001> Hello James, I did a project a few years ago and I had to connect to a table in an AS400, What we did was export the data to a file prior to my usage of it. As I was the only one using the file, I have no idea whether I kept it locked. I just thought you may be able to do the same, ie, us a copy of the table Mark ----- Original Message ----- From: "James Hale" To: Sent: Thursday, March 06, 2003 4:24 AM Subject: [AccessD] ODBC connection to AS400 > Using the IBM client Access ODBC driver I have links to tables residing on > the AS400. If I open these tables to view the AS400 gives me exclusive use > of the file. The problem is it never releases the table for use by others > until I quit Access. Does anyone know how to release the table? Similarly, > if someone has use of the table and I try to open it I get an ODBC > connection failed error. What is the correct way to trap for this error? TIA > Jim Hale > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Thu Mar 6 03:06:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 6 03:06:01 2003 Subject: [AccessD] Test-JoeSixPak1 Message-ID: <001d01c2e3bf$9dbe0550$6101a8c0@amd2k512> William Hindman From phpons at free.fr Thu Mar 6 04:01:00 2003 From: phpons at free.fr (Philippe PONS) Date: Thu Mar 6 04:01:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <002901c2e3ce$dcdc52f0$b51f3551@linceo6nagmt6g> Hello, I know that he following link gives somme info about the connection string to use when linking Access with AS400, using ADO and OLEDB. There is also a link to the IBM redbook. http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForAS400FromIBM HTH, Philippe ----- Original Message ----- From: "James Hale" To: Sent: Thursday, March 06, 2003 4:24 AM Subject: [AccessD] ODBC connection to AS400 > Using the IBM client Access ODBC driver I have links to tables residing on > the AS400. If I open these tables to view the AS400 gives me exclusive use > of the file. The problem is it never releases the table for use by others > until I quit Access. Does anyone know how to release the table? Similarly, > if someone has use of the table and I try to open it I get an ODBC > connection failed error. What is the correct way to trap for this error? TIA > Jim Hale > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Mar 6 07:22:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu Mar 6 07:22:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85320@TTNEXCHSRV1.hshhp.com> >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 6 07:35:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 6 07:35:00 2003 Subject: [AccessD] Help with function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Mar 6 07:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 07:47:00 2003 Subject: [AccessD] Help with function In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> Message-ID: <2323119423.20030306144611@cactus.dk> Hi Virginia Don't hit me, but you can't do this: If Not IsNull("qry_EvaluatorNull.evaluatorID") Then You need to open a recordset and evaluate .RecordCount ... /gustav > I am trying to write a function that will open a form with a filter. I can't > seem to get it in the correct order. I tried it two different ways as shown > below. If the evaluator has been assigned, I do not want the form to open, > the message "All assigned" should show. > In the first try, the message does not show at all. The second try, the > message works, but the form still opens, so I added the last line of > DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the > form not to even show. I tried adding an On Error Resume Next, but that did > not work either, the form still opened & then closed. > Virginia > *******One Way********** > Function NoEval() > If Not IsNull("qry_EvaluatorNull.evaluatorID") Then > DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , > acFormEdit, acWindowNormal > Else > MsgBox "All RCSEs have been assigned to an Evaluator" > DoCmd.Close acForm, "frm_RCSE" > End If > End Function From CWortz at tea.state.tx.us Thu Mar 6 07:48:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 07:48:00 2003 Subject: [AccessD] Help with function Message-ID: Virginia, I presume you still have your second method so I will suggest how to modify it. 1. Open the form with its Visible property set to False. 2. Change the IF statement to IF IsNull(...) Then MsgBox ... DoCmd.Close ... Else 'set form's Visible property to True End If Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday 2003 Mar 06 07:34 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 07:52:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 07:52:01 2003 Subject: [AccessD] Help with function Message-ID: Gustav, Very good point. I overlooked that in my reply. It's true, just referencing a query does not execute it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday 2003 Mar 06 07:46 To: Hollis,Virginia Subject: Re: [AccessD] Help with function Hi Virginia Don't hit me, but you can't do this: If Not IsNull("qry_EvaluatorNull.evaluatorID") Then You need to open a recordset and evaluate .RecordCount ... /gustav > I am trying to write a function that will open a form with a filter. I > can't seem to get it in the correct order. I tried it two different > ways as shown below. If the evaluator has been assigned, I do not want > the form to open, the message "All assigned" should show. > In the first try, the message does not show at all. The second try, > the message works, but the form still opens, so I added the last line > of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would > like the form not to even show. I tried adding an On Error Resume > Next, but that did not work either, the form still opened & then > closed. > Virginia > *******One Way********** > Function NoEval() > If Not IsNull("qry_EvaluatorNull.evaluatorID") Then > DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , > acFormEdit, acWindowNormal > Else > MsgBox "All RCSEs have been assigned to an Evaluator" > DoCmd.Close acForm, "frm_RCSE" > End If > End Function From j.frederick at att.net Thu Mar 6 08:25:00 2003 From: j.frederick at att.net (John Frederick) Date: Thu Mar 6 08:25:00 2003 Subject: [AccessD] Help with function In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> Message-ID: I don't see anything in my documentation on the IsNull funtion in Access 97 or Access 2000 that suggests that a query name can be used as you do in both of your examples. My first attempt would be to say: Function NoEval() If DCount("*","qry_EvaluatorNull") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" End If End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 06, 2003 8:34 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 08:28:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 08:28:01 2003 Subject: [AccessD] Searching M$'s KB Message-ID: For those of you that do not subscribe to Fred Langa's newsletter here is an article about ways to search M$'s KB. http://www.langa.com/newsletters/2002/2002-03-25.htm#1 For those of you frustrated from trying to find anything in the KB when you use M$'s search engine, the article points out less frustrating ways to find what you are searching for. I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Thu Mar 6 08:38:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Thu Mar 6 08:38:00 2003 Subject: [AccessD] Editing Records Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Arthur: I agree with your decade old opinion. Why waste your time programming and MAINTAINING two or more separate forms that have the same controls and similar functionalities?? If you add a field to the table, you then have to remember to go add it to your insert form, your edit form, your read only form, etc. This is the position I am now in. I have come into a job where the old developer created multiple forms for every scenario. It is a lot more work to maintain that system! I feel this method that I use is MUCH cleaner and easier to maintain: In my global code module (runs on autoexec) I have this variable declared: Public gintEditState As Integer '1=Add, 2=Edit, 3=Read Only Then the depending on the option clicked and/or the user's security, the click event sets the global variable and executes the following: Case 1 'Add mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormNew Case 2 'Edit mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit Case 3 'Read-only mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly So the easy math would be: One copy of the form + One set of code to maintain = cleaner application Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Thu Mar 6 09:21:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Thu Mar 6 09:21:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85320@TTNEXCHSRV1.hshhp.com> Message-ID: Rates: For-Profit vs. Non-ProfitThis is what I was told to do 4 years ago by my accountant. I spell it out up front and tell the client that because I work for a service corporation that I can't deduct my services as a donation - give them a shoulder shrug and tell them it would be easier for me if I could but that's the tax law. They are usually glad to hear it. If they aren't they apparently don't need my services. There are plenty of non-profit orgs in the world that will be appreciative. Good Luck, JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 06, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Mar 6 09:35:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 6 09:35:01 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <010401c2e3f5$d8f73ed0$f4ecffcc@SusanOne> Searching M$'s KBI know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 6 09:36:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 6 09:36:01 2003 Subject: [AccessD] Help with function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD8A@exchange.pgdp> TaDaa! That works. -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Thursday, March 06, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Help with function I don't see anything in my documentation on the IsNull funtion in Access 97 or Access 2000 that suggests that a query name can be used as you do in both of your examples. My first attempt would be to say: Function NoEval() If DCount("*","qry_EvaluatorNull") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" End If End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 06, 2003 8:34 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Thu Mar 6 09:52:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 6 09:52:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: Message-ID: <000701c2e3f8$29ef5320$de1811d8@DanWaters> Thanks for everyone for telling your experiences and for your advice. Since I incorporated as a Subchapter S, I will definitely get some accounting advice prior to discounting for non-profits. Thanks! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 06, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit This is what I was told to do 4 years ago by my accountant. I spell it out up front and tell the client that because I work for a service corporation that I can't deduct my services as a donation - give them a shoulder shrug and tell them it would be easier for me if I could but that's the tax law. They are usually glad to hear it. If they aren't they apparently don't need my services. There are plenty of non-profit orgs in the world that will be appreciative. Good Luck, JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 06, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Thu Mar 6 09:56:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 09:56:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 6 10:04:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 6 10:04:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? From sgsax at ksu.edu Thu Mar 6 10:10:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 6 10:10:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <1046967210.9422.2.camel@sgsax-th4022c> Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, my > splash screen is also my main menu page and so users return to it over > and over. The code that I wanted to call in the Autoexec Marco creates > a connetion to my SQL Server using "Application Role" security. The way > this works, I can only run this code once during the application. If > it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From reische at mdh.org Thu Mar 6 10:22:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Thu Mar 6 10:22:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86ABF@NEWMAN_EXC> You should be storing the pk which should be an autonumber. No matter what they rename the program as, the pk will stay the same and you can count those. Hth Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 06, 2003 10:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 6 10:23:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 10:23:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: John, I presume your drop-down box has two fields, one with names such as "Family Assistance" and the other with some code value to store in place of the full name. This code value, say 10 for "Family Assistance," is what you store in your records and what you want to count for your reports. Say you store this value in a field called PgmCode. Then you can write an aggregate query where you Group By PgmCode and count the number in each resulting group. This should get you started. Come back to the list if you have any problems fleshing this out. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 06 10:02 To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? From sgsax at ksu.edu Thu Mar 6 10:24:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 6 10:24:00 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: References: Message-ID: <1046968025.9422.14.camel@sgsax-th4022c> John, Gut reaction here... Do this in two steps: 1) build a query which extracts a list unique possible values 2a) either link that query to your source table in a new query and get your counts using domain aggregate functions within that query, or 2b) step through that query and get the counts using domain aggregate functions in code Just my first reaction. There may be more efficient ways to do this. Seth On Thu, 2003-03-06 at 10:01, John Clark wrote: > I haven't bothered y'all for a couple of weeks now, but I have painted > myself into a corner, on the program that I am currently working on. I > missed something in my early assessment of the old program that I am > replacing, and I did not see something that was there. I have gone a > different way with something, and now I am having difficulty > accomplishing the same results. > > The old form looked like it had quite a bit of information on it, but > when I actually looked close, there was quite a bit of waste. For > instance, the change that I made was to convert 12 checkboxes into a > single drop-down box. I'm really not sorry for this decision, because it > served a couple of purposes, beyond simple aesthetics...the old > "hardcoded" labels for the checkboxes are actually names that are no > longer in use...it is a Social Services program, and they like to change > their program names (i.e. Since I have been here, Public Assistance > became Temporary Assistance, which is now known as Family > Assistance...All it is, is Welfare with more PC titles...they should > just call it BS, and everybody knows what that means). With the combo > box, they can change the names, whenever they desire, and they can add > and delete programs too...a couple of the current ones aren't used > anymore. > > The problem is that, on one of their reports, they total out the check > boxes for each section (i.e. 95 Denied HR cases in the Lockport > office...the report is sectioned by Offices). Now that I have gone with > the drop-down method, I cannot simply add up the check boxes. And, I > cannot say count each x, because it can now change, and I don't know > what "x" is...may not do so very much, but it can. > > Somehow I need to count each existing "x". I need to know that there > are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" > that was added and I'll need to count that. > > Any ideas? > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Thu Mar 6 10:24:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 6 10:24:08 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <000201c2e3fd$03a744c0$653a0cd8@hargrove.internal> How about a query that groups by the Dropdown field's value and counts the PK# of occurrences? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 06, 2003 11:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Mar 6 10:29:01 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:29:01 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <00d701c2e3fd$688346a0$6401a8c0@papparuff> Depending on where you need to display the count of your x's, y's, and z's, why not create a subreport and base the subreport's recordsource on a grouped query where the distinct values are counted? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 06, 2003 8:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 6 10:35:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 10:35:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Mar 6 10:53:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu Mar 6 10:53:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: Hi John, Sounds like a totals query grouped by program name with a count on a non null field in the table. That will give you the results of one row per program name with a count of the records with that value. Gary Kjos >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Counting "unknown" fields >Date: Thu, 06 Mar 2003 11:01:41 -0500 > >I haven't bothered y'all for a couple of weeks now, but I have painted >myself into a corner, on the program that I am currently working on. I >missed something in my early assessment of the old program that I am >replacing, and I did not see something that was there. I have gone a >different way with something, and now I am having difficulty >accomplishing the same results. > >The old form looked like it had quite a bit of information on it, but >when I actually looked close, there was quite a bit of waste. For >instance, the change that I made was to convert 12 checkboxes into a >single drop-down box. I'm really not sorry for this decision, because it >served a couple of purposes, beyond simple aesthetics...the old >"hardcoded" labels for the checkboxes are actually names that are no >longer in use...it is a Social Services program, and they like to change >their program names (i.e. Since I have been here, Public Assistance >became Temporary Assistance, which is now known as Family >Assistance...All it is, is Welfare with more PC titles...they should >just call it BS, and everybody knows what that means). With the combo >box, they can change the names, whenever they desire, and they can add >and delete programs too...a couple of the current ones aren't used >anymore. > >The problem is that, on one of their reports, they total out the check >boxes for each section (i.e. 95 Denied HR cases in the Lockport >office...the report is sectioned by Offices). Now that I have gone with >the drop-down method, I cannot simply add up the check boxes. And, I >cannot say count each x, because it can now change, and I don't know >what "x" is...may not do so very much, but it can. > >Somehow I need to count each existing "x". I need to know that there >are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" >that was added and I'll need to count that. > >Any ideas? > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From papparuff at attbi.com Thu Mar 6 10:53:37 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:53:37 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <00d801c2e400$c604ee20$6401a8c0@papparuff> What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Mar 6 10:55:00 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:55:00 2003 Subject: Recall: [AccessD] AutoExec Macro Question Message-ID: The sender would like to recall the message, "[AccessD] AutoExec Macro Question". -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 789 bytes Desc: not available URL: From szeller at cce.umn.edu Thu Mar 6 10:59:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 10:59:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Thu Mar 6 11:10:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Thu Mar 6 11:10:01 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: Susan, I think that's the best approach, have a hidden splash screen if necessary, have it do what it needs to do and then close itself and open the real main form. Much easier to debug/error trap if nothing else. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 6 11:15:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 11:15:02 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You don't have it in a module also named basLoad, do you? Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Thursday, March 06, 2003 7:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 6 11:44:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 11:44:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Nope, module is named basAppRole -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 06, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question You don't have it in a module also named basLoad, do you? Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Thursday, March 06, 2003 7:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Mar 6 12:01:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 12:01:12 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <6238355922.20030306190007@cactus.dk> Hi Susan I would certainly cut it down to this: Public Function basLoad() as Boolean as you do not return a connection. Also, add a return value: ... basLoad = True ex: Exit Function ... /gustav > Here's the code: > Public Function basLoad() As ADODB.Connection > On Error GoTo eh > 'sbz 11/20/02 based on code from Mark Field. > 'this code creates a connection to the SQL Server database using an > application role. > 'When the code is run, the user stops having permissions assigned to > themselves as a user > 'and takes on the permissions assigned to the role. > 'the user stays connected in the application role until the connection > to sql server is > 'terminated, which will most likely be on close of the application. > Dim cnn As ADODB.Connection > Set cnn = New ADODB.Connection > Set cnn = CurrentProject.Connection > cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', > {Encrypt N 'password'}, 'odbc'") > ex: > Exit Function > eh: > mbAppCnxnOpen = False > Set mAppCnxn = Nothing > If Err.Number = -2147467259 Then > Err.Raise 55004, , "You currently cannot connect to the database > server. Please contact the OIS Help Desk 5-4564." > Else > MsgBox Err.Description > End If > GoTo ex > End Function From mikedorism at ntelos.net Thu Mar 6 12:01:42 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 6 12:01:42 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <000001c2e40a$93e54fc0$883a0cd8@hargrove.internal> AHA! The function returns a value... Can't do that when you use RunCode. Take that part off and it should work just fine. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Thu Mar 6 12:10:20 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu Mar 6 12:10:20 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F109@mailgate.bury.gov.uk> Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Thu Mar 6 12:49:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 12:49:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Richard, May I inquire why you want to use Crystal Reports with Access? Access 2002 and Crystal Reports 9.0 are almost identical in their feature sets, so why not use Access for your reports? Why pay extra for Crystal Reports? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday 2003 Mar 06 12:09 To: 'dba-VB at databaseadvisors.com' Cc: 'AccessD at databaseadvisors.com' Subject: [AccessD] Access and Crystal Reports Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard From jeffrey.demulling at usbank.com Thu Mar 6 12:57:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 6 12:57:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO Message-ID: I have the current code for an on click event: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim strConnectionString As String Dim cmdText As String Dim fld As ADODB.Field cn.Provider = "SQLOLEDB" cn.Properties("Data Source") = cn.Properties("Initial Catalog") = cn.Properties("User ID") = cn.Properties("Password") = cn.Open cmdText = "Select * From tblregions" rs.Open cmdText, cn Me.RecordSource = rs.GetRows rs.MoveFirst Do Until rs.EOF MsgBox rs.Fields("Number") rs.MoveNext Loop This code allows me to Loop through the recordset and see the values in a message box. Now what I want to do is place the information on a form (continous would be fine for now). If any one can help me with this ADO stuff I would appericate it very much, as I am just now getting to play with it. Thanks!!! rs.Close End Sub -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Mar 6 13:00:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 13:00:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Thu Mar 6 13:04:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu Mar 6 13:04:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A74@NT04> I'll second that! We have a "commercial" program using an Access 97 BE with Crystal Reports. It is awful! We have ONE person (out of about 40) able to use Crystal Reports to create ad hoc reports. We are in the process of replacing the product by combining the needed data with other Access databases. Jim -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:49 PM To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com Subject: RE: [AccessD] Access and Crystal Reports Richard, May I inquire why you want to use Crystal Reports with Access? Access 2002 and Crystal Reports 9.0 are almost identical in their feature sets, so why not use Access for your reports? Why pay extra for Crystal Reports? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday 2003 Mar 06 12:09 To: 'dba-VB at databaseadvisors.com' Cc: 'AccessD at databaseadvisors.com' Subject: [AccessD] Access and Crystal Reports Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Thu Mar 6 13:19:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu Mar 6 13:19:00 2003 Subject: [AccessD] Access and Crystal Reports References: Message-ID: <001d01c2e415$37b74900$b501010a@DAISY.local> > Why pay extra for Crystal Reports? Sorry for my jumping in, Charles, I used to use Crystal Reports(CR) to build advanced reports with C++ last spring - and I'd say that CR can give 1000 points allowance to MS Access reports' designer and still win nevertheless this big handicap... On first glance CR looks for a MS Access developer like a very sprawl and not as intuitional as MS Access report designer tool but when one gets the rules of report generation used by CR they understand that CR allows to create reports, which can't be created in MS Access - and I think that all of MS Access types of reports can be created by using CR... And of course CR reports created to view in MS Access can be (re-)used in VB, C++, DELPHI, on the Web etc.etc.... Shamil ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Thursday, March 06, 2003 9:48 PM Subject: RE: [AccessD] Access and Crystal Reports > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > so why not use Access for your reports? Why pay extra for Crystal > Reports? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 6 13:38:13 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 13:38:13 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Shamil, I just got through with a three day course on what's new in Crystal Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are almost identical in their feature sets. I did not say they were equally easy to learn or use, because that is subject to your background experience and personal preferences. I also stand by my assertion that there is no reason to buy CR to produce reports from an Access database. If you have C++, C#, VB or some other platform as your front-end to SQL Server or Sysbase or some other database other than Access, then CR makes sense. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 13:19 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Why pay extra for Crystal Reports? Sorry for my jumping in, Charles, I used to use Crystal Reports(CR) to build advanced reports with C++ last spring - and I'd say that CR can give 1000 points allowance to MS Access reports' designer and still win nevertheless this big handicap... On first glance CR looks for a MS Access developer like a very sprawl and not as intuitional as MS Access report designer tool but when one gets the rules of report generation used by CR they understand that CR allows to create reports, which can't be created in MS Access - and I think that all of MS Access types of reports can be created by using CR... And of course CR reports created to view in MS Access can be (re-)used in VB, C++, DELPHI, on the Web etc.etc.... Shamil ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Thursday, March 06, 2003 9:48 PM Subject: RE: [AccessD] Access and Crystal Reports > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature > sets, so why not use Access for your reports? Why pay extra for > Crystal Reports? > > Charles Wortz > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard From michael.broesdorf at web.de Thu Mar 6 14:09:01 2003 From: michael.broesdorf at web.de (Michael Broesdorf) Date: Thu Mar 6 14:09:01 2003 Subject: [AccessD] MDB-File format In-Reply-To: Message-ID: Dear group, is there any documentation available on internal file structures of MDB-files? Michael From DMcAfee at haascnc.com Thu Mar 6 14:13:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 14:13:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: <657FB70438B7D311AF320090279C1801026D7921@EXCHMAIL> Thanks for the heads up Charlotte, The KB article isn't clear. I remember reading somewhere that you should always use: IF NZ(SomeValue,"") <> "" rather than IF NZ(SomeValue) <> "" So maybe that's what they are talking about. I don't use AXP yet, only 97 & 2K (which still seem to work for me) David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 10:56 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4817 bytes Desc: not available URL: From jbartow at earthlink.net Thu Mar 6 14:15:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Thu Mar 6 14:15:00 2003 Subject: [AccessD] multiple version of the ODE tools In-Reply-To: Message-ID: Thanks to all who replied. From wdhindman at bellsouth.net Thu Mar 6 14:28:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 6 14:28:01 2003 Subject: [AccessD] Nz function in Access 2002 References: Message-ID: <00a601c2e41e$c8679aa0$6101a8c0@amd2k512> Nz function in Access 2002...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 14:32:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 14:32:01 2003 Subject: [AccessD] MDB-File format Message-ID: Michael, If there was, there would be a lot less gnashing of teeth and banging of heads against walls by Access developers! There should be somebody in M$ that knows the internal file structure, but so far nobody has been able to induce him/her to tell the rest of us. When the person is probably a multi-millionaire (if not a billionaire) it is hard to bribe such a person. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Michael Broesdorf [mailto:michael.broesdorf at web.de] Sent: Thursday 2003 Mar 06 08:13 To: accessd at databaseadvisors.com Subject: [AccessD] MDB-File format Dear group, is there any documentation available on internal file structures of MDB-files? Michael From CWortz at tea.state.tx.us Thu Mar 6 14:41:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 14:41:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Thu Mar 6 14:56:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 14:56:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Yes, that's it! Thank you. -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 06, 2003 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question AHA! The function returns a value... Can't do that when you use RunCode. Take that part off and it should work just fine. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 6 15:05:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 15:05:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Thu Mar 6 15:59:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu Mar 6 15:59:01 2003 Subject: [AccessD] Access and Crystal Reports References: Message-ID: <001701c2e42b$9a0fab40$b501010a@DAISY.local> > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, March 06, 2003 10:37 PM Subject: RE: [AccessD] Access and Crystal Reports > Shamil, > > I just got through with a three day course on what's new in Crystal > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > almost identical in their feature sets. I did not say they were equally > easy to learn or use, because that is subject to your background > experience and personal preferences. > > I also stand by my assertion that there is no reason to buy CR to > produce reports from an Access database. > > If you have C++, C#, VB or some other platform as your front-end to SQL > Server or Sysbase or some other database other than Access, then CR > makes sense. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 13:19 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Why pay extra for Crystal Reports? > Sorry for my jumping in, Charles, > > I used to use Crystal Reports(CR) to build advanced reports with C++ > last spring - and I'd say that CR can give 1000 points allowance to MS > Access reports' designer and still win nevertheless this big handicap... > On first glance CR looks for a MS Access developer like a very sprawl > and not as intuitional as MS Access report designer tool but when one > gets the rules of report generation used by CR they understand that CR > allows to create reports, which can't be created in MS Access - and I > think that all of MS Access types of reports can be created by using > CR... > > And of course CR reports created to view in MS Access can be (re-)used > in VB, C++, DELPHI, on the Web etc.etc.... > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: ; > Sent: Thursday, March 06, 2003 9:48 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > sets, so why not use Access for your reports? Why pay extra for > > Crystal Reports? > > > > Charles Wortz > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Thu Mar 6 16:04:01 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 6 16:04:01 2003 Subject: [AccessD] OT: Max rows in Excel 97 References: Message-ID: <000201c2e42c$67e12ee0$132b9244@cg.shawcable.net> Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt From jeffrey.demulling at usbank.com Thu Mar 6 16:15:01 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 6 16:15:01 2003 Subject: [AccessD] OT: Max rows in Excel 97 Message-ID: Make sure that you are saving the file as 97 and not "Microsoft Excel 97 & 5.0/95" in the save as box. If you save it as the later Excel will "cut-off" the rows after 16,384. You could also save your file as a CSV file. "t tom" Sent by: accessd-admin at databaseadvisors.com 03/06/2003 04:02 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] OT: Max rows in Excel 97 Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Mar 6 16:15:35 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 6 16:15:35 2003 Subject: [AccessD] FW: Class Module Method in Loop Message-ID: MessageFrom: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, March 05, 2003 5:38 PM To: 'accessd-admin at databaseadvisors.com' Subject: Class Module Method in Loop When I use a method of a class module in a loop, where should 'Set=' be? Or should I be using a standard module for this kind of method? Dim obj as clsTest This: Set obj = new clsTest Do obj.Method... Loop Set obj = nothing or This: Do Set obj = new clsTest obj.Method... Set obj = nothing Loop TIA. Myke ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Mar 6 16:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 6 16:19:00 2003 Subject: [AccessD] OT: Max rows in Excel 97 Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82258@main2.marlow.com> http://support.microsoft.com/default.aspx?scid=kb;en-us;167669 The link above explains the 16k limit. It also has a work around. Drew -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Thursday, March 06, 2003 4:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Max rows in Excel 97 Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Mar 6 16:20:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu Mar 6 16:20:00 2003 Subject: [AccessD] MDB-File format Message-ID: There was a group of people working on this some time ago. The fellow at ttoews at mvps.org address once provided me some information about these people but the project was a rather extensive work in progress based on the Access 97 file format at the time. I've found that if the data isn't encrypted, you can open the file with wordpad and find text strings in data fields and module code. Of course the compiled code is incomprehensible. If you want to document the file structure, start with an empty database, then compare with a database with one table of one field. Add an index. Add another field. Start over with a field of a different type. Try a linked table. Add a module. Wordpad will get you started with where to point a hex editor as you compare files with single changes from one version to the next. I once had a tables only database that at one point in time had some record processing code that I moved to a application and deleted from the back end file. Two years later, after several hundred compacts, repairs and the such, Wordpad still found the text of the module. There was no getting rid of it even with a decompile which is something I don't ordinarily do with a table only file. Unfortunately, the format is proprietary and I have read that the anti virus software and data recovery companies have some of the best information about the format and they reveal nothing to the populace. Hen >From: "Wortz, Charles" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] MDB-File format >Date: Thu, 6 Mar 2003 14:31:49 -0600 > >Michael, > >If there was, there would be a lot less gnashing of teeth and banging of >heads against walls by Access developers! There should be somebody in >M$ that knows the internal file structure, but so far nobody has been >able to induce him/her to tell the rest of us. When the person is >probably a multi-millionaire (if not a billionaire) it is hard to bribe >such a person. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: Michael Broesdorf [mailto:michael.broesdorf at web.de] >Sent: Thursday 2003 Mar 06 08:13 >To: accessd at databaseadvisors.com >Subject: [AccessD] MDB-File format > >Dear group, > >is there any documentation available on internal file structures of >MDB-files? > >Michael >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From ttom at accessyourdata.com Thu Mar 6 16:26:00 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 6 16:26:00 2003 Subject: [AccessD] test - Please ignore Message-ID: <002301c2e42f$88094560$132b9244@cg.shawcable.net> -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 6 16:28:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 6 16:28:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: <010401c2e3f5$d8f73ed0$f4ecffcc@SusanOne> Message-ID: <012601c2e42f$a4bfe330$8e01a8c0@Rock> It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 6 16:38:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 6 16:38:01 2003 Subject: [AccessD] Editing Records In-Reply-To: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Message-ID: <012f01c2e430$ef7d61d0$8e01a8c0@Rock> On the assumption that both forms are almost identical, you're quite right. However, my shifting opinion derives from a realization that viewing and editing forms are often quite different, and insert forms different again. The use of a single form often requires the loading of combo boxes, list boxes etc., some of which lists may be quite large. OTOH, a query could use joins etc. to resolve all the FKs without populating any lists. You would see read-only controls that display the columns of interest without incurring any control-population overhead. Then when the user clicks the Edit button, you populate the lists (taking into account various business rules such as "you cannot change the customer on an existing order"... leading to a significant increase in performance. As I wrote originally, I'm still shifting. My current feelings are expressed above. In a few recent experiments, I found a) much better performance; b) better encapsulation of the logic (i.e. if it's a edit-customer issue, it's obviously in the code behind frmCustomerEdit). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Reische, Brenda L. Sent: March 6, 2003 9:37 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Arthur: I agree with your decade old opinion. Why waste your time programming and MAINTAINING two or more separate forms that have the same controls and similar functionalities?? If you add a field to the table, you then have to remember to go add it to your insert form, your edit form, your read only form, etc. This is the position I am now in. I have come into a job where the old developer created multiple forms for every scenario. It is a lot more work to maintain that system! I feel this method that I use is MUCH cleaner and easier to maintain: In my global code module (runs on autoexec) I have this variable declared: Public gintEditState As Integer '1=Add, 2=Edit, 3=Read Only Then the depending on the option clicked and/or the user's security, the click event sets the global variable and executes the following: Case 1 'Add mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormNew Case 2 'Edit mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit Case 3 'Read-only mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly So the easy math would be: One copy of the form + One set of code to maintain = cleaner application Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Mar 6 16:42:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 16:42:00 2003 Subject: [AccessD] OT: Max rows in Excel 97 References: <000201c2e42c$67e12ee0$132b9244@cg.shawcable.net> Message-ID: <3E67CE88.60602@shaw.ca> Prior to Excel 97 the limit was 16K now 64 K rows The installable ISAMs for various file formats may not have been installed for Access 97 you may be pointing to an old Excel 95 ISAM driver, try a reinstall of the the ISAM drivers from your Access disks. This should be in your registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\3.5\ISAM Formats\Excel 8.0 t tom wrote: >Hi All > >What is the maxinum of rows you can import from an Excel file. >I am trying to import an Excel file containing 20,000 rows but it stops at >16,384. > >Also , what is the maxinum of records you can export to an Excel file ( per >sheet ). > > >TIA >Tomt > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Thu Mar 6 16:51:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 6 16:51:01 2003 Subject: [AccessD] FW: Class Module Method in Loop Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82259@main2.marlow.com> What is the Do Loop for, for the first example? If you are just using a class object, you only need to declare it when needed, and destroy it when you are done with it. The exception to that rule, is that when you add a class to a collection, you need to destroy it after you add it.....(before adding another that is.) For example, let's say you have this as a class: Public MyValue as Long Function DoSomething() 'Do something with MyValue End Function If you wanted to have your class run through a for next loop, like this: Dim cls as MyClass Dim i as Long Set cls = New MyClass For i=1 to 100 cls.MyValue=i cls.DoSomething Next i Set cls=Nothing you only need to create the class before the loop, and destroy it at the end, because you can work with just one instance of that class, instead of creating and destroying a new instance of the class for each loop. However, if you want to add a class to a collection: Dim cls as MyClass dim col as Collection Dim i as Long Set col= New Collection For i=1 to 100 Set cls = New MyClass cls.MyValue=i col.Add cls Set cls = Nothing Next i In the first example, putting the creation/destruction of a class within the loop would just be a waste of resources.....it would still work though. In this example, you are adding a class to a collection, if you don't destroy the class after you add it, adding it again would actual create a twin/clone of that instance. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 06, 2003 4:15 PM To: AccessD Subject: [AccessD] FW: Class Module Method in Loop From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, March 05, 2003 5:38 PM To: 'accessd-admin at databaseadvisors.com' Subject: Class Module Method in Loop When I use a method of a class module in a loop, where should 'Set=' be? Or should I be using a standard module for this kind of method? Dim obj as clsTest This: Set obj = new clsTest Do obj.Method... Loop Set obj = nothing or This: Do Set obj = new clsTest obj.Method... Set obj = nothing Loop TIA. Myke _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Thu Mar 6 16:54:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 16:54:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: <657FB70438B7D311AF320090279C1801026D7922@EXCHMAIL> Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 8877 bytes Desc: not available URL: From stephen at bondsoftware.co.nz Thu Mar 6 16:56:01 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu Mar 6 16:56:01 2003 Subject: [AccessD] Connection strings and Access security Message-ID: <70F3D727890C784291D8433E9C418F29038966@server.bondsoftware.co.nz> I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... Any suggestions? BTW Access 2000, Word 2000. With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ LinkToSource:=True, _ Connection:="QUERY qryComplianceRenewalCandidates" .Execute End With TIA Stephen Bond Otatara, New Zealand From stuart at lexacorp.com.pg Thu Mar 6 17:56:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:56:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <012f01c2e430$ef7d61d0$8e01a8c0@Rock> References: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Message-ID: <3E686C91.10898.582D65@localhost> > On the assumption that both forms are almost identical, you're quite right. > However, my shifting opinion derives from a realization that viewing and > editing forms are often quite different, and insert forms different again. > The use of a single form often requires the loading of combo boxes, list > boxes etc., some of which lists may be quite large. OTOH, a query could use > joins etc. to resolve all the FKs without populating any lists. You would > see read-only controls that display the columns of interest without > incurring any control-population overhead. Then when the user clicks the > Edit button, you populate the lists (taking into account various business > rules such as "you cannot change the customer on an existing order"... > leading to a significant increase in performance. > As I wrote originally, I'm still shifting. My current feelings are expressed > above. In a few recent experiments, I found a) much better performance; b) > better encapsulation of the logic (i.e. if it's a edit-customer issue, it's > obviously in the code behind frmCustomerEdit). I use both approaches depending on circumstances but seem to be using separate data entry screens more and more recently. A prime example of using two different forms is where use a combo boxes during data entry that need to restrict the available options. The combos needs to show only active records, items in stock etc. When you review previous entries, you need to see the details whether the item is currently in stock or not. I've also recently found myself using separate unbound forms for straight data entry in a few circumstances (after being an unmitigated bounder for the last 10 years ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 6 17:56:40 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:56:40 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <3E686C91.6905.582E41@localhost> > The problem is that, on one of their reports, they total out the check > boxes for each section (i.e. 95 Denied HR cases in the Lockport > office...the report is sectioned by Offices). Now that I have gone with > the drop-down method, I cannot simply add up the check boxes. And, I > cannot say count each x, because it can now change, and I don't know > what "x" is...may not do so very much, but it can. > > Somehow I need to count each existing "x". I need to know that there > are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" > that was added and I'll need to count that. > The datasource of the combobox should be a FK like ProgramID, the row source should be tblPrograms (containing a PK and the descriptive name), with the bound column being the PK Then you just need to use a grouping query GroupBy ProgramID and Count(CaseID) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 6 17:57:04 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:57:04 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <3E686C90.15898.582C89@localhost> Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, my > splash screen is also my main menu page and so users return to it over > and over. The code that I wanted to call in the Autoexec Marco creates > a connetion to my SQL Server using "Application Role" security. The way > this works, I can only run this code once during the application. If > it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close seem > like 3 obvious choices depending on what you're doing in the code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DMcAfee at haascnc.com Thu Mar 6 18:09:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 18:09:00 2003 Subject: [AccessD] Inserting line items from unbound form (A2k ADP) Message-ID: <657FB70438B7D311AF320090279C1801026D7924@EXCHMAIL> I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3621 bytes Desc: not available URL: From cfoust at infostatsystems.com Thu Mar 6 18:24:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 18:24:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: Well supposedly 2002 handles Nulls differently from earlier versions, but I've seen no evidence of it. However, if you used Len() in 2000 and earlier, and the expression was Null, you got an error, so you had to use Len( & "") to avoid the error. I haven't tried it yet, but I can't say that I trust it. Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, March 06, 2003 3:03 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Nz function in Access 2002 Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From EricGoetz at EGIsystems.com Thu Mar 6 18:39:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Thu Mar 6 18:39:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F2@servera22.doma.ops> Hi Charlotte, I'm not sure if you've solved your hang problem yet. Did you? I had a problem with mysterious hang conditions with linked tables with fe/be mde's in the same directory with both Access XP and 97. I went through months of trial and worked with MS support for weeks trying different configurations and updates. In the end, it turned out to be path length! Apparently, I had buried the directory under too many subdirectories. I moved the directory closer to the root directory, and I haven't had a single hang in months! Good luck, Eric -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Mon 3/3/2003 2:38 PM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5586 bytes Desc: not available URL: From martyconnelly at shaw.ca Thu Mar 6 18:58:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 18:58:00 2003 Subject: [AccessD] Connection strings and Access security References: <70F3D727890C784291D8433E9C418F29038966@server.bondsoftware.co.nz> Message-ID: <3E67EE81.6060109@shaw.ca> as a guess you might try a connection string where name:="Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Stephen Bond wrote: >I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. > >After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. > >I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... > >Any suggestions? BTW Access 2000, Word 2000. > > > With objWord.MailMerge > .MainDocumentType = wdFormLetters > .OpenDataSource _ > Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ > LinkToSource:=True, _ > Connection:="QUERY qryComplianceRenewalCandidates" > .Execute > End With > > > > >TIA > >Stephen Bond >Otatara, New Zealand >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Thu Mar 6 19:07:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 19:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: Now that's very interesting. I'll keep it in mind. I actually rewrote the code reattaching the tables or refreshing the link and the problem went away. I can't see why, so this may be useful information. Charlotte Foust -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: Thursday, March 06, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Hi Charlotte, I'm not sure if you've solved your hang problem yet. Did you? I had a problem with mysterious hang conditions with linked tables with fe/be mde's in the same directory with both Access XP and 97. I went through months of trial and worked with MS support for weeks trying different configurations and updates. In the end, it turned out to be path length! Apparently, I had buried the directory under too many subdirectories. I moved the directory closer to the root directory, and I haven't had a single hang in months! Good luck, Eric -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Mon 3/3/2003 2:38 PM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Thu Mar 6 19:14:01 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu Mar 6 19:14:01 2003 Subject: [AccessD] Connection strings and Access security Message-ID: <70F3D727890C784291D8433E9C418F298E8F@server.bondsoftware.co.nz> Never mind, it was a Security issue -- you have to allow the "Users" group to have Database permissions of 'Open Exclusive'. I had removed this as part of the conversion to the new MDW. I really should have known that (lol) ... Stephen Bond -----Original Message----- From: Stephen Bond Sent: Friday, 7 March 2003 11:56 a.m. To: accessd at databaseadvisors.com Subject: [AccessD] Connection strings and Access security I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... Any suggestions? BTW Access 2000, Word 2000. With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ LinkToSource:=True, _ Connection:="QUERY qryComplianceRenewalCandidates" .Execute End With TIA Stephen Bond Otatara, New Zealand _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Thu Mar 6 19:24:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Thu Mar 6 19:24:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F3@servera22.doma.ops> Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric From martyconnelly at shaw.ca Thu Mar 6 23:19:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 23:19:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO References: Message-ID: <3E682BAF.2050006@shaw.ca> Here is a sample unbound form have a look around this site for other samples http://www.rogersaccesslibrary.com/download.asp?SampleName='UnboundSQL.mdb' In code just change the DAO openrecordset to your ado recordset Set rsCust = D.OpenRecordset(strSQL, DB_OPEN_DYNASET) Me!ACCOUNT = rsCust("ACCOUNT") jeffrey.demulling at usbank.com wrote: > > I have the current code for an on click event: > > Dim cn As New ADODB.Connection > Dim rs As New ADODB.Recordset > Dim strConnectionString As String > Dim cmdText As String > Dim fld As ADODB.Field > > > cn.Provider = "SQLOLEDB" > cn.Properties("Data Source") = > cn.Properties("Initial Catalog") = > cn.Properties("User ID") = > cn.Properties("Password") = > cn.Open > > > cmdText = "Select * From tblregions" > > rs.Open cmdText, cn > > Me.RecordSource = rs.GetRows > > rs.MoveFirst > > Do Until rs.EOF > MsgBox rs.Fields("Number") > rs.MoveNext > Loop > > This code allows me to Loop through the recordset and see the values > in a message box. > > Now what I want to do is place the information on a form (continous > would be fine for now). > > If any one can help me with this ADO stuff I would appericate it very > much, as I am just now getting to play with it. > > Thanks!!! > > rs.Close > End Sub From R.Griffiths at bury.gov.uk Fri Mar 7 03:05:01 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri Mar 7 03:05:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F10A@mailgate.bury.gov.uk> A97 and CR8.0 - this post was cross-posted with VB list as the app concerned is VB FE and Access BE - I know MS Access reporting is excellent, however, has anyone one got any contributions that may provide and answer to the question TIA Richard > -----Original Message----- > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > Sent: 06 March 2003 18:49 > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > so why not use Access for your reports? Why pay extra for Crystal > Reports? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Fri Mar 7 06:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 06:03:00 2003 Subject: [AccessD] Searching M$'s KB Message-ID: I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 06:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 06:14:00 2003 Subject: [AccessD] Form selection problem In-Reply-To: <13426828657.20030305162911@cactus.dk> References: <086901c2e329$56b964b0$d2ecffcc@SusanOne> <13426828657.20030305162911@cactus.dk> Message-ID: <5616234964.20030307131342@cactus.dk> Hi Susan Could this be a purpose (snip from WAW): Several readers took exception to my dismissal of the idea of printing forms in my answer to Bob Potter's question in WAW 5.05. While I still stand by that advice (forms rarely print well), Greg Gavlock provided a line of code that can be used when (for whatever reason) you do need to print the selected record in the current form: DoCmd.PrintOut acSelection /gustav > Hi Susan > Ehh .. what do you use this for? > I've only used one form in dataview - and programming the selected > area ...?? > /gustav >> I think Marty reminded me of the problem with one of the Selection >> properties -- has to be set to 0. In playing around with it last night, it >> didn't seem necessary, yet I did have that one problem. It seemed odd that >> the SelHeight property should be reponsible for the problem I was having. >> However, This morning, I added a >> frm.SelHeight = 0 >> just before the select statements and it's working fine. >> Thanks Marty (I think)! :) From wdhindman at bellsouth.net Fri Mar 7 06:20:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 06:20:00 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <000e01c2e4a3$d0a54750$6101a8c0@amd2k512> Message...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 06:43:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 06:43:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: References: Message-ID: <15317966584.20030307134234@cactus.dk> Hi Charlotte > I ran across an MSKB article today > http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says > the Nz function works in 2002 but it may not work as expected! Say > what?? It works, but it doesn't? How can you read that from the article? It reads: The Nz method of the data source control is supposed to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. So it doesn't work in A2002. However, Nz() has always been flaky - to quote myself from 12. May 2002: Did you know that - when used to return an expression in a query - Nz() always returns a string even if it is supposed not to do so? Like this: Expr1: Nz([fldNumeric]) or: Expr1: Nz([fldNumeric], 0) If you need a numeric value, you'll have to wrap it in Int(): NumExpr1: Int(Nz([fldNumeric])) Even if fldNumeric is a long, this will return a long when fldNumeric is not Null but an integer for Null. If you wish a long in any case, the zero for Null values for some reason must be present: NumExpr1: Int(Nz([fldNumeric], 0)) Alternatively, Nz() can be replaced with the good old IIf() construction: NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) This is tested for Access 95, 97 and 2000. Don't know about 2002. /gustav > Has anyone run into this? Nz isn't always the most appropriate > function, but I've never seen it fail, at least not that I knew about. > We use this a lot, and I'm concerned about migrating our apps from 97 to > 2002 and having a lot of code fall over. I wondered if it could be the > result of not passing in the optional argument, but the article seemed > rather vague to me. Does anyone else have first-hand knowledge of the > problem? From CWortz at tea.state.tx.us Fri Mar 7 07:14:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 07:14:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Shamil, True, CR allows independent sections in reports, and true this can be a useful feature. But in my experience there never has been a report that I had to create that needed this feature. My last word on this thread is this: Since everybody's previous experiences and personal preferences are different, there is no one best tool for everybody. Of the tools that are available to you and you are comfortable using, try to pick the one that is most suitable for the problem at hand. Have a nice day Shamil. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 15:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil From artful at rogers.com Fri Mar 7 07:21:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 7 07:21:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F3@servera22.doma.ops> Message-ID: <003001c2e4ac$5ab5ffe0$8e01a8c0@Rock> I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 6, 2003 8:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AXP mde fe / be to fe / MSDE Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Fri Mar 7 07:23:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 7 07:23:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D27@bwam02msx.ae.ge.com> One of the major advantages of using Crystal Reports is the ability to make a dictionary (list of fields and functions) of complex data structures for end users to make their own reports. I have found that this ability "beats" Access reports hands down. I still use Access for my canned reports but encourge end users to use Crystal if they want on the fly reporting abilities. Plus it keeps end users out of the mdb's. Scott Marcus -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday, March 06, 2003 4:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, March 06, 2003 10:37 PM Subject: RE: [AccessD] Access and Crystal Reports > Shamil, > > I just got through with a three day course on what's new in Crystal > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > almost identical in their feature sets. I did not say they were equally > easy to learn or use, because that is subject to your background > experience and personal preferences. > > I also stand by my assertion that there is no reason to buy CR to > produce reports from an Access database. > > If you have C++, C#, VB or some other platform as your front-end to SQL > Server or Sysbase or some other database other than Access, then CR > makes sense. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 13:19 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Why pay extra for Crystal Reports? > Sorry for my jumping in, Charles, > > I used to use Crystal Reports(CR) to build advanced reports with C++ > last spring - and I'd say that CR can give 1000 points allowance to MS > Access reports' designer and still win nevertheless this big handicap... > On first glance CR looks for a MS Access developer like a very sprawl > and not as intuitional as MS Access report designer tool but when one > gets the rules of report generation used by CR they understand that CR > allows to create reports, which can't be created in MS Access - and I > think that all of MS Access types of reports can be created by using > CR... > > And of course CR reports created to view in MS Access can be (re-)used > in VB, C++, DELPHI, on the Web etc.etc.... > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: ; > Sent: Thursday, March 06, 2003 9:48 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > sets, so why not use Access for your reports? Why pay extra for > > Crystal Reports? > > > > Charles Wortz > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Mar 7 07:28:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 7 07:28:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <003001c2e4ac$5ab5ffe0$8e01a8c0@Rock> Message-ID: One of the advantages is that everything you had originally still works. I am using something similar while I migrate another FE to an ADP. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Friday, March 07, 2003 8:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 6, 2003 8:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AXP mde fe / be to fe / MSDE Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------------------- eMailBoss puts you in command of your email. Get your copy today at http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2972 bytes Desc: not available URL: From Jdemarco at hshhp.org Fri Mar 7 07:44:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 07:44:00 2003 Subject: [AccessD] Editing Records Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> I'm also for using one form and I have to ask why not let your form 's edit mode flag determine what displays and what doesn't? True there will be fields that edit does not pertain to but how many can it be? If it's a lot than using multiple forms might make sense but I've not seen that (up to this point that is). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 6:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records > On the assumption that both forms are almost identical, you're quite right. > However, my shifting opinion derives from a realization that viewing and > editing forms are often quite different, and insert forms different again. > The use of a single form often requires the loading of combo boxes, list > boxes etc., some of which lists may be quite large. OTOH, a query could use > joins etc. to resolve all the FKs without populating any lists. You would > see read-only controls that display the columns of interest without > incurring any control-population overhead. Then when the user clicks the > Edit button, you populate the lists (taking into account various business > rules such as "you cannot change the customer on an existing order"... > leading to a significant increase in performance. > As I wrote originally, I'm still shifting. My current feelings are expressed > above. In a few recent experiments, I found a) much better performance; b) > better encapsulation of the logic (i.e. if it's a edit-customer issue, it's > obviously in the code behind frmCustomerEdit). I use both approaches depending on circumstances but seem to be using separate data entry screens more and more recently. A prime example of using two different forms is where use a combo boxes during data entry that need to restrict the available options. The combos needs to show only active records, items in stock etc. When you review previous entries, you need to see the details whether the item is currently in stock or not. I've also recently found myself using separate unbound forms for straight data entry in a few circumstances (after being an unmitigated bounder for the last 10 years ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Fri Mar 7 08:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 08:03:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Richard, You forgot to mention in your original post that the FE was VB. You only mentioned you were using Access. That's why we got off on a tangent about the uses of Access reports and CR. Now to your original question about how to access a secured Access BE: IIRC, yesterday there was a thread about connections to a secured db. The answer to that thread also should answer your question. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Friday 2003 Mar 07 03:04 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access and Crystal Reports A97 and CR8.0 - this post was cross-posted with VB list as the app concerned is VB FE and Access BE - I know MS Access reporting is excellent, however, has anyone one got any contributions that may provide and answer to the question TIA Richard > -----Original Message----- > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > Sent: 06 March 2003 18:49 > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature > sets, so why not use Access for your reports? Why pay extra for > Crystal Reports? > > Charles Wortz > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard From JSkolits at CorporateDataDesign.com Fri Mar 7 08:05:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Fri Mar 7 08:05:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: <00a601c2e41e$c8679aa0$6101a8c0@amd2k512> Message-ID: Nz function in Access 2002Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''************************************************************************** ****** '' CDD Procedure Identification ''-------------------------------------------------------------------------- ------ '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''************************************************************************** ****** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Griffiths at bury.gov.uk Fri Mar 7 08:06:15 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri Mar 7 08:06:15 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F10C@mailgate.bury.gov.uk> and one of the major disadvantages is that nobody knows how to ....... Hi using code and CR ocx... how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard this was the original thread!!! > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] > Sent: 07 March 2003 13:23 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access and Crystal Reports > > One of the major advantages of using Crystal Reports is the ability to > make a > dictionary (list of fields and functions) of complex data structures for > end > users to make their own reports. I have found that this ability "beats" > Access > reports hands down. I still use Access for my canned reports but encourge > end > users to use Crystal if they want on the fly reporting abilities. Plus it > keeps > end users out of the mdb's. > > Scott Marcus > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday, March 06, 2003 4:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - and > I > soon realized that despite the fact that the feature set of MS Access and > CR > seems to be very similar, the real power of CR is in its unique and > looking > at first not very significant feature of allowing to have and manipulate > on > runtime of several (as many as you wish) independent sections/areas of > Report Header/Footer, Page Header/Footer, Group Header/Footer and > Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, is > when you need in CR to copy and paste (or cut and paste) a group of > controls > within one report or between reports - here CR sometimes goes "crazy" and > you need to realigh controls manualy after paste operation... > > Charles, I'd not like to have this thread to become"religious" debate "CR > vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Thursday, March 06, 2003 10:37 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Shamil, > > > > I just got through with a three day course on what's new in Crystal > > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > > almost identical in their feature sets. I did not say they were equally > > easy to learn or use, because that is subject to your background > > experience and personal preferences. > > > > I also stand by my assertion that there is no reason to buy CR to > > produce reports from an Access database. > > > > If you have C++, C#, VB or some other platform as your front-end to SQL > > Server or Sysbase or some other database other than Access, then CR > > makes sense. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 13:19 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Why pay extra for Crystal Reports? > > Sorry for my jumping in, Charles, > > > > I used to use Crystal Reports(CR) to build advanced reports with C++ > > last spring - and I'd say that CR can give 1000 points allowance to MS > > Access reports' designer and still win nevertheless this big handicap... > > On first glance CR looks for a MS Access developer like a very sprawl > > and not as intuitional as MS Access report designer tool but when one > > gets the rules of report generation used by CR they understand that CR > > allows to create reports, which can't be created in MS Access - and I > > think that all of MS Access types of reports can be created by using > > CR... > > > > And of course CR reports created to view in MS Access can be (re-)used > > in VB, C++, DELPHI, on the Web etc.etc.... > > > > Shamil > > > > ----- Original Message ----- > > From: "Wortz, Charles" > > To: ; > > Sent: Thursday, March 06, 2003 9:48 PM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Richard, > > > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > > sets, so why not use Access for your reports? Why pay extra for > > > Crystal Reports? > > > > > > Charles Wortz > > > > > > -----Original Message----- > > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > > Sent: Thursday 2003 Mar 06 12:09 > > > To: 'dba-VB at databaseadvisors.com' > > > Cc: 'AccessD at databaseadvisors.com' > > > Subject: [AccessD] Access and Crystal Reports > > > > > > Hi > > > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > > > password and/or 2) uses a system mdw > > > > > > Many thanks > > > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Fri Mar 7 08:45:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 08:45:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: David, I ran your test in A2002 and got the same results except for ?Len((me.openargs)), where A97 says 0 and A02 says Null. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday 2003 Mar 06 17:03 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Nz function in Access 2002 Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 08:48:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 08:48:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: References: Message-ID: <1047046829.3e68aaadc32bb@hosea.qub.ac.uk> Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Martin Quoting "John W. Colby" : > One of the advantages is that everything you had originally still works. > I > am using something similar while I migrate another FE to an ADP. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Friday, March 07, 2003 8:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > I don't see the point of this approach. In fact I think it would > complicate > your problem rather than simplifying it, since you'd get all the > problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with > an MSDE database and an ADP FE that directly points to the database > rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, > UDFs and views. > > HTH, > Arthur > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz > Sent: March 6, 2003 8:26 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AXP mde fe / be to fe / MSDE > > > Hi, > > I'm looking to get my feet wet in MS SQL Server. > > I've got an Access XP mde fe/be using A2K file format that is used for > sales > reports. There are three users; one all the time, the others > occasionally. > There is talk of creating a web front end for the 45 remote sales > people. > This seemed to me to be a potential project for getting some experience > with > the MSDE. That would leave me ready to move to SQL Server. > > To get a simple start, I thought I would just replace the back end with > MSDE > and link with ODBE. How does this work out in practice - especially from > a > deployment and development standpoint? Has anyone tried this? If I got > this > going, I thought I could try some pass through queries. Is this a good > way > to start with SQL Server? > > Thanks, > > Eric > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ----------------------------------------------------- > eMailBoss puts you in command of your email. > Get your copy today at http://www.eMailBoss.com > From scott.marcus at ae.ge.com Fri Mar 7 09:11:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 7 09:11:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D29@bwam02msx.ae.ge.com> Richard, It has been a long time since I've used Crystal with a password protected mdb and cannot remember any of the details (it isn't complicated). The Crystal reports documentation gives the instructions for doing this. I've have done this in the past by referring to that documentation. Are you lacking this documentation? I can look it up this weekend if you are. What version of the software are you using? Maybe the documentation has changed much like that of the newer versions of the Access help file. Often times someone's original post gets lost in tangents. As long as these tangents are on topic(Access related), I see nothing wrong in commenting on them, or continuing the tangent. When appropriate we try to change the subject line. The tangents, while not helping you, are helping others. To be honest with you, I didn't even see your original post and typically only read the previous 1 or 2 posts that are embedded in the replies. I actually thought the posts were about the advantages and disadvantages of using Crystal with Access. ----- Scott Marcus A major disadvantage to doing anything is not knowing how to. Figuring it out is also half the fun. -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Friday, March 07, 2003 9:05 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access and Crystal Reports and one of the major disadvantages is that nobody knows how to ....... Hi using code and CR ocx... how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard this was the original thread!!! > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] > Sent: 07 March 2003 13:23 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access and Crystal Reports > > One of the major advantages of using Crystal Reports is the ability to > make a > dictionary (list of fields and functions) of complex data structures for > end > users to make their own reports. I have found that this ability "beats" > Access > reports hands down. I still use Access for my canned reports but encourge > end > users to use Crystal if they want on the fly reporting abilities. Plus it > keeps > end users out of the mdb's. > > Scott Marcus > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday, March 06, 2003 4:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - and > I > soon realized that despite the fact that the feature set of MS Access and > CR > seems to be very similar, the real power of CR is in its unique and > looking > at first not very significant feature of allowing to have and manipulate > on > runtime of several (as many as you wish) independent sections/areas of > Report Header/Footer, Page Header/Footer, Group Header/Footer and > Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, is > when you need in CR to copy and paste (or cut and paste) a group of > controls > within one report or between reports - here CR sometimes goes "crazy" and > you need to realigh controls manualy after paste operation... > > Charles, I'd not like to have this thread to become"religious" debate "CR > vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Thursday, March 06, 2003 10:37 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Shamil, > > > > I just got through with a three day course on what's new in Crystal > > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > > almost identical in their feature sets. I did not say they were equally > > easy to learn or use, because that is subject to your background > > experience and personal preferences. > > > > I also stand by my assertion that there is no reason to buy CR to > > produce reports from an Access database. > > > > If you have C++, C#, VB or some other platform as your front-end to SQL > > Server or Sysbase or some other database other than Access, then CR > > makes sense. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 13:19 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Why pay extra for Crystal Reports? > > Sorry for my jumping in, Charles, > > > > I used to use Crystal Reports(CR) to build advanced reports with C++ > > last spring - and I'd say that CR can give 1000 points allowance to MS > > Access reports' designer and still win nevertheless this big handicap... > > On first glance CR looks for a MS Access developer like a very sprawl > > and not as intuitional as MS Access report designer tool but when one > > gets the rules of report generation used by CR they understand that CR > > allows to create reports, which can't be created in MS Access - and I > > think that all of MS Access types of reports can be created by using > > CR... > > > > And of course CR reports created to view in MS Access can be (re-)used > > in VB, C++, DELPHI, on the Web etc.etc.... > > > > Shamil > > > > ----- Original Message ----- > > From: "Wortz, Charles" > > To: ; > > Sent: Thursday, March 06, 2003 9:48 PM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Richard, > > > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > > sets, so why not use Access for your reports? Why pay extra for > > > Crystal Reports? > > > > > > Charles Wortz > > > > > > -----Original Message----- > > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > > Sent: Thursday 2003 Mar 06 12:09 > > > To: 'dba-VB at databaseadvisors.com' > > > Cc: 'AccessD at databaseadvisors.com' > > > Subject: [AccessD] Access and Crystal Reports > > > > > > Hi > > > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > > > password and/or 2) uses a system mdw > > > > > > Many thanks > > > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------- ------------------------------------ This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Mar 7 09:25:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri Mar 7 09:25:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: Message-ID: Searching M$'s KBCharles, I didn't read Fred's article yet, but I've found the best way is to use Google's advanced search and limit it to Microsoft's support site. While Microsoft's search engine has improved, its still not the best. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Thursday, March 06, 2003 9:27 AM To: AccessD at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] Searching M$'s KB For those of you that do not subscribe to Fred Langa's newsletter here is an article about ways to search M$'s KB. http://www.langa.com/newsletters/2002/2002-03-25.htm#1 For those of you frustrated from trying to find anything in the KB when you use M$'s search engine, the article points out less frustrating ways to find what you are searching for. I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Mar 7 09:34:03 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 09:34:03 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: Martin, Thanks for the "heads-up." I know you are under an NDA and cannot disclose more at this time, but you have said enough to warn us not to get locked-in to only one approach. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday 2003 Mar 07 08:20 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Martin Quoting "John W. Colby" : > One of the advantages is that everything you had originally still > works. I am using something similar while I migrate another FE to an > ADP. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Friday, March 07, 2003 8:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > I don't see the point of this approach. In fact I think it would > complicate your problem rather than simplifying it, since you'd get > all the problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with an MSDE database and an ADP FE that directly points to the > database rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, UDFs and views. > > HTH, > Arthur From shamil at smsconsulting.spb.ru Fri Mar 7 09:45:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 7 09:45:00 2003 Subject: [AccessD] Access and Crystal Reports References: <52339DF8DCA2A544AF660C8217EB7DCD0227F10A@mailgate.bury.gov.uk> Message-ID: <001301c2e4c0$6666c4a0$b501010a@DAISY.local> Richard, If you send me your small sample database password protected + custom .mdw I can try to find out how to use CR with them - but on weekend only - I don't have free time now and I've to check with the docs how it can be done. Please don't forget to send database password and login name and password. Shamil ----- Original Message ----- From: "Griffiths, Richard" To: Sent: Friday, March 07, 2003 12:03 PM Subject: RE: [AccessD] Access and Crystal Reports > A97 and CR8.0 - this post was cross-posted with VB list as the app concerned > is VB FE and Access BE - > I know MS Access reporting is excellent, however, has anyone one got any > contributions that may provide and answer to the question > TIA > Richard > > > -----Original Message----- > > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > > Sent: 06 March 2003 18:49 > > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > > so why not use Access for your reports? Why pay extra for Crystal > > Reports? > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -------------------------------------------------------------------------- ------------------------------------------ > This e-mail, together with any files transmitted with it, is > confidential and intended solely for the use of the individual to > whom it is addressed. If you are not the intended recipient, or > the person responsible for delivering to the intended recipient, > be advised that you have received this e-mail in error and that any > use, dissemination, forwarding, printing or copying of this e-mail > is strictly prohibited without liability on our part. > > If you have received this e-mail in error please notify the sender. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Fri Mar 7 09:50:03 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 09:50:03 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F5@servera22.doma.ops> Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3746 bytes Desc: not available URL: From cfoust at infostatsystems.com Fri Mar 7 10:27:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:27:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO Message-ID: Keep in mind though that forms bound to ADO recordsets are not updateable in an MDB. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 06, 2003 9:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Setting a forms recordsource using ADO Here is a sample unbound form have a look around this site for other samples http://www.rogersaccesslibrary.com/download.asp?SampleName='UnboundSQL.m db' In code just change the DAO openrecordset to your ado recordset Set rsCust = D.OpenRecordset(strSQL, DB_OPEN_DYNASET) Me!ACCOUNT = rsCust("ACCOUNT") jeffrey.demulling at usbank.com wrote: > > I have the current code for an on click event: > > Dim cn As New ADODB.Connection > Dim rs As New ADODB.Recordset > Dim strConnectionString As String > Dim cmdText As String > Dim fld As ADODB.Field > > > cn.Provider = "SQLOLEDB" > cn.Properties("Data Source") = cn.Properties("Initial > Catalog") = cn.Properties("User ID") = is here> > cn.Properties("Password") = > cn.Open > > > cmdText = "Select * From tblregions" > > rs.Open cmdText, cn > > Me.RecordSource = rs.GetRows > > rs.MoveFirst > > Do Until rs.EOF > MsgBox rs.Fields("Number") > rs.MoveNext > Loop > > This code allows me to Loop through the recordset and see the values > in a message box. > > Now what I want to do is place the information on a form (continous > would be fine for now). > > If any one can help me with this ADO stuff I would appericate it very > much, as I am just now getting to play with it. > > Thanks!!! > > rs.Close > End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Mar 7 10:27:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri Mar 7 10:27:20 2003 Subject: [AccessD] Check Box for certain status Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECADA8@exchange.pgdp> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 10:30:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 10:30:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: <15317966584.20030307134234@cactus.dk> References: <15317966584.20030307134234@cactus.dk> Message-ID: <17231602552.20030307172950@cactus.dk> Hi Charlotte et all >> I ran across an MSKB article today >> http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says >> the Nz function works in 2002 but it may not work as expected! .. Well, this quote (below) from the same link looks even more surprising! Why should IsNull(nullvalue) not evaluate to True?? I don't have A2002. Can anyone confirm this? /gustav There are other methods that check for Null values as well. They are illustrated below. However, these methods cannot be used as valid workarounds to the Nz Method problem. None of the following methods will evaluate to True, even when the Fax value is Null: If Fax.Value = Null Then ... End IF If IsNull(Fax.Value) Then ... End If If IsEmpty(Fax.Value) Then ... End If From cfoust at infostatsystems.com Fri Mar 7 10:34:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:34:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: From Jdemarco at hshhp.org Fri Mar 7 10:37:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 10:37:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8534D@TTNEXCHSRV1.hshhp.com> >>SQL in this rather clunky way would position me well to take on the web front end >> True but the advantage will be performance not data access. You can hit an mdb from the web just as easy as SQL (using ADO). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Eric Goetz Sent: Friday, March 07, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Mar 7 10:38:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:38:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: Early version of Access had a sample of code for a function called CNulls(), I think, in the help files. You had to build your own Null replacement function because Nz didn't exist until Access started using VBA. I stopped using it when Nz became available and have never had any problems. Charlotte Foust -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Friday, March 07, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''********************************************************************** ********** '' CDD Procedure Identification ''---------------------------------------------------------------------- ---------- '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''********************************************************************** ********** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkolits at CorporateDataDesign.com Fri Mar 7 10:49:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Fri Mar 7 10:49:00 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: Message-ID: MessageI actually started using nz a couple years ago. I expect it was after A97 was released, but I still had a couple customers have problems. So, I gave up on it and still use my old function. If I ever run across the issue again, I'll post it on the site, -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Friday, March 07, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Early version of Access had a sample of code for a function called CNulls(), I think, in the help files. You had to build your own Null replacement function because Nz didn't exist until Access started using VBA. I stopped using it when Nz became available and have never had any problems. Charlotte Foust -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Friday, March 07, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''************************************************************************** ****** '' CDD Procedure Identification ''-------------------------------------------------------------------------- ------ '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''************************************************************************** ****** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Mar 7 10:55:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:55:00 2003 Subject: [AccessD] Odd Items in References List A2002 Message-ID: Has anybody else seen odd items in the references list in A2002? I was checking something and noticed an item APSD, which got me wondering. It was checked, but it was high in the list, right below items that were checked. When I clicked on it, I discovered it referred to a file in my Documents and Settings profile under Local Settings\Temp. Anyone have a clue as to what might have created this and stuck it in my references list? I'm using MZ Tools and I've got Speed Ferret 4.1, which works with A2002, so one of those might be the culprit. Does anyone know? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbartow at earthlink.net Fri Mar 7 10:57:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Fri Mar 7 10:57:00 2003 Subject: [AccessD] Access Solutions Drilldown Message-ID: Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB From CWortz at tea.state.tx.us Fri Mar 7 11:04:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 11:04:01 2003 Subject: [AccessD] Odd Items in References List A2002 Message-ID: Charlotte, On my A02 References list APSD does not show up. I do not have either MZ Tools or Speed Ferret 4.1, so one of them may be the culprit. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Mar 07 10:51 To: AccessD at databaseadvisors.com Subject: [AccessD] Odd Items in References List A2002 Has anybody else seen odd items in the references list in A2002? I was checking something and noticed an item APSD, which got me wondering. It was checked, but it was high in the list, right below items that were checked. When I clicked on it, I discovered it referred to a file in my Documents and Settings profile under Local Settings\Temp. Anyone have a clue as to what might have created this and stuck it in my references list? I'm using MZ Tools and I've got Speed Ferret 4.1, which works with A2002, so one of those might be the culprit. Does anyone know? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Mar 7 11:06:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 11:06:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: I just did this on a report yesterday. I put the status...in my case "discrepency" (OptDiscrep and lblDiscrep)...on the form, but setup the following code in the Print event of the report's detail section. It worked in my case. I also put a second control there that said "No Discrepency" (lblNoDisc) Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) If logDiscrepancy = False Then OptDiscrep.Visible = False lblDiscrep.Visible = False lblNoDisc.Visible = True Else OptDiscrep.Visible = True lblDiscrep.Visible = True lblNoDisc.Visible = False End If End Sub >>> HollisVJ at pgdp.usec.com 03/07/03 11:26AM >>> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia From dwaters at usinternet.com Fri Mar 7 11:10:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 7 11:10:00 2003 Subject: [AccessD] Intermittent #Deleted Records Message-ID: <000501c2e4cc$37938030$de1811d8@DanWaters> Folks, A database I have worked on has an intermittent problem. This is a main form and a subform in Access XP. The database is split FE/BE. The subform is continuous and has a table as its recordsource that is on the many side of a 1-many relationship with the table that is the record source for the main form. The database is set to individual record locking and is also set to edited record. The table for the subform is also on the 1 side of a 1-many relationship for four other tables. Every table has a primary key based on an autonumber, and that primary key is the only index on each table. The problem is that, sometimes, when someone changes existing information in one of the comboboxes on the subform, the entire record in the subform immediately has all of it's information in every field changed to #Deleted. A search of the MSKB under #Deleted found information that suggested this happens when an Access FE is using a SQL BE, but no discussion of an Access FE using an Access BE. We have been able to trap an error which indicates that we are trying to do an rst.update without first doing an rst.edit, but since the forms are bound to the tables this doesn't make sense. Also, the code behind the subform comboboxes doesn't lead to any other code which edits and updates a recordset. Any suggestions on what the next steps could be would be greatly appreciated! Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2244 bytes Desc: not available URL: From bob at renaissancesiding.com Fri Mar 7 11:10:24 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 7 11:10:24 2003 Subject: [AccessD] Check Box for certain status Message-ID: <01C2E4A2.61DAF690.bob@renaissancesiding.com> Virginia Create an unbound checkbox on the report (cbxRejectStatus). *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True Else cbxRejectStatus = False End If End Sub *************************************************** Alternatively, you could add the code to hide the checkbox when the value is false: *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True cbxRejectStatus.Visible = True Else cbxRejectStatus = False cbxRejectStatus.Visible = False End If End Sub *************************************************** Regards, Bob Gajewski On Friday, March 07, 2003 11:27 AM, Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] wrote: > On a report I need a checkbox to be checked if the status is Rejected. I get > the status from tblStatus, StatusID (autonumber), status, Rejected, > Canceled, Approved, etc... > > How can I show a Rejected status as a checkbox instead of the word > "Rejected". They are only wanting to show the status if it is rejected > > Virginia > << File: ATT00016.htm >> From jarus at amerinet-gpo.com Fri Mar 7 11:17:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 7 11:17:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: Can't you set up a Checkbox with an IF statement like IF Status = "Rejected" then Chkbx1 = YES Else Chkbx1 = NO >>> HollisVJ at pgdp.usec.com 03/07/03 10:26AM >>> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Mar 7 11:21:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 11:21:00 2003 Subject: [AccessD] Intermittent #Deleted Records Message-ID: Dan, Is the information in the combobox that is getting changed either a PK or a FK? Better not be. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday 2003 Mar 07 11:09 > To: accessd at databaseadvisors.com > Cc: 'Roni Ronyak' > Subject: [AccessD] Intermittent #Deleted Records > > Folks, > > A database I have worked on has an intermittent problem. This is a > main form and a subform in Access XP. The database is split FE/BE. > The subform is continuous and has a table as its recordsource that is > on the many side of a 1-many relationship with the table that is the > record source for the main form. The database is set to individual > record locking and is also set to edited record. The table for the > subform is also on the 1 side of a 1-many relationship for four other > tables. Every table has a primary key based on an autonumber, and > that primary key is the only index on each table. > > The problem is that, sometimes, when someone changes existing > information in one of the comboboxes on the subform, the entire record > in the subform immediately has all of it's information in every field > changed to #Deleted. A search of the MSKB under #Deleted found > information that suggested this happens when an Access FE is using a > SQL BE, but no discussion of an Access FE using an Access BE. We have > been able to trap an error which indicates that we are trying to do an > rst.update without first doing an rst.edit, but since the forms are > bound to the tables this doesn't make sense. Also, the code behind > the subform comboboxes doesn't lead to any other code which edits and > updates a recordset. > > Any suggestions on what the next steps could be would be greatly > appreciated! > > Thanks, > Dan Waters > Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Mar 7 11:21:59 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 11:21:59 2003 Subject: [AccessD] count Types query (A97) Message-ID: How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From Jdemarco at hshhp.org Fri Mar 7 11:52:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 11:52:00 2003 Subject: [AccessD] count Types query (A97) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54BA5@TTNEXCHSRV1.hshhp.com> In the query grid add the name column and create concatenated field called MakeModel (unless they're already one field; can't tell by the listing). Turn on Totals and set the Name field to Count, MakeModel to GroupBy. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 07, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] count Types query (A97) How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From gustav at cactus.dk Fri Mar 7 11:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 11:58:00 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: References: Message-ID: <5436837209.20030307185704@cactus.dk> Hi Charlotte I cannot comment on the value of the article as I don't have A2002. For the Nz() function, I've never seen any problem with it in A9x or A2000 except for the case I describe in the other (re)posting. Perhaps one of our fellow listers could collect what Nz() DOES return in A2002?? /gustav > From the same article: > The Nz method of the data source control is suppose to replace Null > values with a zero (0) or some other specified value. However, the > method does not replace Null values as expected. > And ... > Although the Nz Method is correctly documented in Microsoft Script > Editor Help, it does not function as expected > However, the article doesn't explain what it *DOES* do--that unexpected > behavior. > I've never had any problems with Nz, so I can't agree with your "flaky" > assessment. It works for me, yet the article says it "does not function > as expected". Maybe I have different expectations? > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 07, 2003 4:43 AM > To: Charlotte Foust > Subject: Re: [AccessD] Nz function in Access 2002 > Hi Charlotte >> I ran across an MSKB article today >> http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that >> says the Nz function works in 2002 but it may not work as expected! >> Say what?? It works, but it doesn't? > How can you read that from the article? It reads: > > The Nz method of the data source control is supposed to replace Null > values with a zero (0) or some other specified value. However, the > method does not replace Null values as expected. > > So it doesn't work in A2002. > However, Nz() has always been flaky - to quote myself from 12. May > 2002: > > Did you know that - when used to return an expression in a query - > Nz() always returns a string even if it is supposed not to do so? > Like this: > Expr1: Nz([fldNumeric]) > or: > Expr1: Nz([fldNumeric], 0) > If you need a numeric value, you'll have to wrap it in Int(): > NumExpr1: Int(Nz([fldNumeric])) > Even if fldNumeric is a long, this will return a long when fldNumeric is > not Null but an integer for Null. If you wish a long in any case, the > zero for Null values for some reason must be present: > NumExpr1: Int(Nz([fldNumeric], 0)) > Alternatively, Nz() can be replaced with the good old IIf() > construction: > NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) > This is tested for Access 95, 97 and 2000. Don't know about 2002. > > /gustav >> Has anyone run into this? Nz isn't always the most appropriate >> function, but I've never seen it fail, at least not that I knew about. >> We use this a lot, and I'm concerned about migrating our apps from 97 >> to 2002 and having a lot of code fall over. I wondered if it could be >> the result of not passing in the optional argument, but the article >> seemed rather vague to me. Does anyone else have first-hand knowledge >> of the problem? From DMcAfee at haascnc.com Fri Mar 7 12:26:01 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Fri Mar 7 12:26:01 2003 Subject: [AccessD] FW: Inserting line items from unbound form (A2k ADP) Message-ID: <657FB70438B7D311AF320090279C1801026D7929@EXCHMAIL> I didn't see this come through yesterday, so I'm trying it again.... I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2661 bytes Desc: not available URL: From jcolby at colbyconsulting.com Fri Mar 7 12:42:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 7 12:42:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: <000e01c2e4a3$d0a54750$6101a8c0@amd2k512> Message-ID: MessageFlattery will get you everywhere. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 07, 2003 7:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It?s a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. ---------------------------------------------------------------------------- ---- Get your copy today at http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 7 12:53:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 12:53:00 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <003e01c2e4da$c6bdb4c0$6101a8c0@amd2k512> Message...I've been know to be wrong :) William Hindman ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 1:41 PM Subject: RE: [AccessD] Searching M$'s KB Flattery will get you everywhere. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 07, 2003 7:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. ------------------------------------------------------------------------------ Get your copy today at http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Fri Mar 7 12:58:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 7 12:58:00 2003 Subject: [AccessD] FW: Inserting line items from unbound form (A2k ADP) Message-ID: -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of David McAfee Sent: Friday, March 07, 2003 10:35 AM To: 'dba-sqlserver at databaseadvisors.com' Cc: 'accessd at databaseadvisors.com' Subject: FW: Inserting line items from unbound form (A2k ADP) I didn't see this come through yesterday, so I'm trying it again.... I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1032 bytes Desc: not available URL: From my.lists at verizon.net Fri Mar 7 13:00:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri Mar 7 13:00:00 2003 Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) Message-ID: <001101c2e4db$faea6030$b615010a@FHTAPIA> This email hasn't come through so I'm posting it on behalf of David McAfee -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "David McAfee" To: Cc: Sent: Friday, March 07, 2003 10:34 AM Subject: FW: Inserting line items from unbound form (A2k ADP) : I didn't see this come through yesterday, so I'm trying it again.... : : I have an unbound form in an A2K ADP, that contains a listbox which : shows a list of parts (Qty, PN, Description, Price...) which are being : ordered for a given order. : To the right of this list box are 3 buttons (Add, Edit & Delete), upon : pressing any of these, I open a pop up (modal) form in which the user : can add (or edit or delete, depending on which mode I've sent in : openargs) an item (line item). : : I originally did this in A97, using a bound 'parent" (order) form and an : unbound pop up/modal "line item" entry, which would use DAO to insert, : edit or delete records then requery the list box (on the parent form). : : I cannot figure out how to recreate this in the all unbound ADP. : : 1. The parent "order" hasn't been entered yet, so I have no PK value to : assign to the child (Line item) table's FK, as I did in the A97 mdb. : 2. Because of the ADP, I have no local temp table creation ability. : 3. If I create a SPROC that creates a temp table in SQL, the temp tables : session expires upon completion of the SPROC, so how could I call it : back when I insert the parent tables' values? : : MTIA : David : From CWortz at tea.state.tx.us Fri Mar 7 13:10:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 13:10:00 2003 Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) Message-ID: And now it is the third posting of it today. Don't be so quick to repost. Wait a few hours. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Friday 2003 Mar 07 13:02 To: AccessD Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) This email hasn't come through so I'm posting it on behalf of David McAfee -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "David McAfee" To: Cc: Sent: Friday, March 07, 2003 10:34 AM Subject: FW: Inserting line items from unbound form (A2k ADP) : I didn't see this come through yesterday, so I'm trying it again.... : : I have an unbound form in an A2K ADP, that contains a listbox which : shows a list of parts (Qty, PN, Description, Price...) which are being : ordered for a given order. : To the right of this list box are 3 buttons (Add, Edit & Delete), upon : pressing any of these, I open a pop up (modal) form in which the user : can add (or edit or delete, depending on which mode I've sent in : openargs) an item (line item). : : I originally did this in A97, using a bound 'parent" (order) form and an : unbound pop up/modal "line item" entry, which would use DAO to insert, : edit or delete records then requery the list box (on the parent form). : : I cannot figure out how to recreate this in the all unbound ADP. : : 1. The parent "order" hasn't been entered yet, so I have no PK value to : assign to the child (Line item) table's FK, as I did in the A97 mdb. : 2. Because of the ADP, I have no local temp table creation ability. : 3. If I create a SPROC that creates a temp table in SQL, the temp tables : session expires upon completion of the SPROC, so how could I call it : back when I insert the parent tables' values? : : MTIA : David : From John.Clark at niagaracounty.com Fri Mar 7 13:22:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 13:22:00 2003 Subject: [AccessD] count Types query (A97) Message-ID: Ahhh...I forgot about the totals option in queries...I never need to use it...never until now anyhow. I think this is the beginning to me figuring this out. I already popped it in and it worked for a total. I also made one that counts each by office location. I'm going to try to place them into a report together somehow, and I'll basically be finished. Thank you very much! Now, I gotta get ready to leave and take my daughter to get some tree frogs for her birthday...and I'm not weighed down by any problems! Thanks Again! Take care...have a great weekend everybody! John W Clark >>> Jdemarco at hshhp.org 03/07/03 12:51PM >>> In the query grid add the name column and create concatenated field called MakeModel (unless they're already one field; can't tell by the listing). Turn on Totals and set the Name field to Count, MakeModel to GroupBy. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 07, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] count Types query (A97) How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From cfoust at infostatsystems.com Fri Mar 7 13:37:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 13:37:00 2003 Subject: [AccessD] Access Solutions Drilldown Message-ID: Yeah, I filled it out. I put a resounding NO in that one. They're looking at going back to the ODT like Access 2, and I've heard rumors that was what was in store for either Office 11 or Office 12. I suspect some genius is again thinking that only amateur level development is done in Access so they're trying to allow every off body with $300 to spare to package their creations. :o{ Charlotte Foust -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Friday, March 07, 2003 8:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 7 13:40:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 13:40:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: You don't need that much code. This works just as well. cbxRejectStatus = (Me.Status = "Rejected") Or you calculate a field in the underlying query like this: RejectStatus: [Status]="Rejected" Then you could simply bind the checkbox to that calculated expression. Charlotte Foust -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Friday, March 07, 2003 9:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box for certain status Virginia Create an unbound checkbox on the report (cbxRejectStatus). *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True Else cbxRejectStatus = False End If End Sub *************************************************** Alternatively, you could add the code to hide the checkbox when the value is false: *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True cbxRejectStatus.Visible = True Else cbxRejectStatus = False cbxRejectStatus.Visible = False End If End Sub *************************************************** Regards, Bob Gajewski On Friday, March 07, 2003 11:27 AM, Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] wrote: > On a report I need a checkbox to be checked if the status is Rejected. > I get the status from tblStatus, StatusID (autonumber), status, > Rejected, Canceled, Approved, etc... > > How can I show a Rejected status as a checkbox instead of the word > "Rejected". They are only wanting to show the status if it is rejected > > Virginia > << File: ATT00016.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Fri Mar 7 13:49:01 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 13:49:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> I'm looking at this process of importing the mdb BE into the mde FE before upsizing. If I went ahead and moved the mdb BE to MSDE, would it be best to try to convert the BE back to mdb (with DTS?) and import into the mdb FE before upsizing to an ADP with MSDE? What is "best practice" for upsizing an mdb FE that uses ODBC to MSDE to an ADP FE? Thanks, Eric (PS: Please let me know if I'm getting OT for this list. Thanks) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 07, 2003 5:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:14:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:14:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> Message-ID: <1047068004.3e68fd64437d0@hosea.qub.ac.uk> Before upsizing anything I use this software http://www.ssw.com.au/SSW/upsizingpro/default.aspx To run a report on the MDB file. The software is not free and I freely state that I have a free licence for this software from SWS. I have no other connection to the company other than that. Martin Quoting Eric Goetz : > I'm looking at this process of importing the mdb BE into the mde FE > before upsizing. If I went ahead and moved the mdb BE to MSDE, would > it > be best to try to convert the BE back to mdb (with DTS?) and import > into > the mdb FE before upsizing to an ADP with MSDE? > > > > What is "best practice" for upsizing an mdb FE that uses ODBC to MSDE > to > an ADP FE? > > > > Thanks, > > > > Eric > > > > (PS: Please let me know if I'm getting OT for this list. Thanks) > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday, March 07, 2003 5:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > I don't see the point of this approach. In fact I think it would > complicate > your problem rather than simplifying it, since you'd get all the > problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with > an MSDE database and an ADP FE that directly points to the database > rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, > UDFs and views. > > HTH, > Arthur > > > > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:17:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:17:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> In all my recent dealings with MS they continually refer to Access as a tool for the tech savvy knowledge worker. I and a number of others are continually saying this is crap. I think they are deaf and stupid. Martin Quoting Charlotte Foust : > Yeah, I filled it out. I put a resounding NO in that one. They're > looking at going back to the ODT like Access 2, and I've heard rumors > that was what was in store for either Office 11 or Office 12. I > suspect > some genius is again thinking that only amateur level development is > done in Access so they're trying to allow every off body with $300 to > spare to package their creations. :o{ > > Charlotte Foust > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Friday, March 07, 2003 8:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from the Microsoft Office Developer Edition, would you be willing to > pay > $299 for the offering?" > > > > The last question concerns me. What would the point of the ODE be > then? > If you split Runtime and SQL tools from ODE it would cause nothing but > grief over increased cost for me. If you created an Access Developer > Edition which incorporates all of the applicable Access ODE > functionality into a seperate lower cost package I would consider that > as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Fri Mar 7 14:41:02 2003 From: jbartow at earthlink.net (John Bartow) Date: Fri Mar 7 14:41:02 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> Message-ID: I left them a note at the end of the survey that basically stated the same thing. I wonder if they'll actually care. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 07, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown In all my recent dealings with MS they continually refer to Access as a tool for the tech savvy knowledge worker. I and a number of others are continually saying this is crap. I think they are deaf and stupid. Martin Quoting Charlotte Foust : > Yeah, I filled it out. I put a resounding NO in that one. They're > looking at going back to the ODT like Access 2, and I've heard rumors > that was what was in store for either Office 11 or Office 12. I > suspect > some genius is again thinking that only amateur level development is > done in Access so they're trying to allow every off body with $300 to > spare to package their creations. :o{ > > Charlotte Foust > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Friday, March 07, 2003 8:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from the Microsoft Office Developer Edition, would you be willing to > pay > $299 for the offering?" > > > > The last question concerns me. What would the point of the ODE be > then? > If you split Runtime and SQL tools from ODE it would cause nothing but > grief over increased cost for me. If you created an Access Developer > Edition which incorporates all of the applicable Access ODE > functionality into a seperate lower cost package I would consider that > as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:50:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:50:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> References: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> Message-ID: <1047070154.3e6905cac95a4@hosea.qub.ac.uk> I have requested premission to respond to Charlottes email below. If I get it I will post. Martin > > Quoting Charlotte Foust : > > > Yeah, I filled it out. I put a resounding NO in that one. They're > > looking at going back to the ODT like Access 2, and I've heard > rumors > > that was what was in store for either Office 11 or Office 12. I > > suspect > > some genius is again thinking that only amateur level development is > > done in Access so they're trying to allow every off body with $300 > to > > spare to package their creations. :o{ > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: John Bartow [mailto:jbartow at earthlink.net] > > Sent: Friday, March 07, 2003 8:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale > separately > > from the Microsoft Office Developer Edition, would you be willing to > > pay > > $299 for the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > > then? > > If you split Runtime and SQL tools from ODE it would cause nothing > but > > grief over increased cost for me. If you created an Access Developer > > Edition which incorporates all of the applicable Access ODE > > functionality into a seperate lower cost package I would consider > that > > as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EricGoetz at EGIsystems.com Fri Mar 7 14:51:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 14:51:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> Hi Martin, That sounds like a useful tool for upsizing the FE to ADP. As for the BE, I've made sure that all the row sources refer to saved queries as suggested by Chipman and Baron in "Microsoft Access Developer's Guide to SQL Server" and by Arthur Fuller in his post. When I run the upsize wizard, it completes without error. I'm still deciding whether or not to deploy. Given that I only have tables and relationships in the BE, do you think that I would benefit from UpsizingPro for the BE? Thanks, Eric -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday, March 07, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Before upsizing anything I use this software http://www.ssw.com.au/SSW/upsizingpro/default.aspx To run a report on the MDB file. The software is not free and I freely state that I have a free licence for this software from SWS. I have no other connection to the company other than that. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:04:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:04:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> Message-ID: <1047071042.3e690942db54c@hosea.qub.ac.uk> Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > > > That sounds like a useful tool for upsizing the FE to ADP. > > > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When > I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > > > Thanks, > > > > Eric > > > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Friday, March 07, 2003 12:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state > that I have a free licence for this software from SWS. I have no other > > connection to the company other than that. > > > > Martin > > > > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:07:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:07:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047071202.3e6909e25efa9@hosea.qub.ac.uk> They actually do care. Well some of them anyway. There are many outstanding issues in relation to Access which remain undecided. I apologise but I cannot say anymore at this point. I have however been told that some major decisions will be made within the next week or so and at that point more information can be made available to AccessD. Martin From CWortz at tea.state.tx.us Fri Mar 7 15:18:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 15:18:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: Martin, It must be past your bedtime, or you never learned math. 75% and 15% leaves 10% unaccounted for. That missing 10% must be for some poorly designed dbs. Further proof that you are staying up too late for your own good is your calling SSW, SWS. Superior Software for Windows probably could produce Superior Windows Software, but that is not the name they go by. Have a nice weekend and get some sleep Martin. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday 2003 Mar 07 15:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > That sounds like a useful tool for upsizing the FE to ADP. > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > Thanks, > > Eric > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state that I have a free licence for this software from SWS. I have no > other > > connection to the company other than that. > > > > Martin From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:27:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:27:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: References: Message-ID: <1047072400.3e690e91036b6@hosea.qub.ac.uk> LOL Just got back from London yesterday and your right I am shattered. Had some stuff to do as well and having 6 kids dosnt help. Martin (<: PS Every one knows English isnt my first language. Isnt that right Susan? From pedro at plex.nl Fri Mar 7 15:30:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri Mar 7 15:30:00 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro> <13841643940.20030305203606@cactus.dk> Message-ID: <001901c2e4f0$e5b5dc20$f8c581d5@pedro> Hello Gustav, Drew Wutka his query is working (Thanks for that Drew), but you were right it is very slow. For 10000 records it almost takes 20 minutes. You gave me a unionquery that i can't seem to work. Maybe i don't understand the fields in your query and what do you mean with: > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: Could you explain a little more. TIA Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Wednesday, March 05, 2003 8:36 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > I have a table with 10000 records. I would like to filter out, by > > query, the first 5 or 10 dates per different years. > > Is this possible. > > For a large table the use of a subquery may be painfully or even > unacceptably slow. > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > > ... > > UNION > SELECT TOP 5 > Year+n AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+n,1,1) > ORDER BY > Year5, > ID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Mar 7 15:38:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 7 15:38:00 2003 Subject: [AccessD] Intermittent #Deleted Records In-Reply-To: Message-ID: <000201c2e4f1$b0dfbf60$de1811d8@DanWaters> No, those are just data fields. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, March 07, 2003 11:21 AM To: accessd at databaseadvisors.com Cc: Roni Ronyak Subject: RE: [AccessD] Intermittent #Deleted Records Dan, Is the information in the combobox that is getting changed either a PK or a FK? Better not be. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday 2003 Mar 07 11:09 To: accessd at databaseadvisors.com Cc: 'Roni Ronyak' Subject: [AccessD] Intermittent #Deleted Records Folks, A database I have worked on has an intermittent problem. This is a main form and a subform in Access XP. The database is split FE/BE. The subform is continuous and has a table as its recordsource that is on the many side of a 1-many relationship with the table that is the record source for the main form. The database is set to individual record locking and is also set to edited record. The table for the subform is also on the 1 side of a 1-many relationship for four other tables. Every table has a primary key based on an autonumber, and that primary key is the only index on each table. The problem is that, sometimes, when someone changes existing information in one of the comboboxes on the subform, the entire record in the subform immediately has all of it's information in every field changed to #Deleted. A search of the MSKB under #Deleted found information that suggested this happens when an Access FE is using a SQL BE, but no discussion of an Access FE using an Access BE. We have been able to trap an error which indicates that we are trying to do an rst.update without first doing an rst.edit, but since the forms are bound to the tables this doesn't make sense. Also, the code behind the subform comboboxes doesn't lead to any other code which edits and updates a recordset. Any suggestions on what the next steps could be would be greatly appreciated! Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From EricGoetz at EGIsystems.com Fri Mar 7 16:11:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 16:11:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F9@servera22.doma.ops> Hi Martin, Thanks for pointing me toward the Upsizingpro site! Lots of good information. I should have known to go there when I saw it in your and Susan's book. That's how I found this list. Thanks again, Eric -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Fri 3/7/2003 1:04 PM To: accessd at databaseadvisors.com Cc: Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > > > That sounds like a useful tool for upsizing the FE to ADP. > > > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When > I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > > > Thanks, > > > > Eric > > > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Friday, March 07, 2003 12:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state > that I have a free licence for this software from SWS. I have no other > > connection to the company other than that. > > > > Martin > > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6222 bytes Desc: not available URL: From shamil at smsconsulting.spb.ru Fri Mar 7 17:14:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 7 17:14:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... Message-ID: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Hi All, I'm sorry I'm writing about that here - I just went very crazy today about what they - Western Embassies and Consulates here and their bosses in Den Haage (Netherlands) are doing... Here is a fresh story: - I applied for business Visum (15 days of staying, one entry) several days ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here in Consualate General they ACCEPTED this application for BUSINESS visum and they checked all the docs carefully) - to make that I prepared all the needed paperwork, get original invitation from my partner from Netherlands (DHL, second day delivery = rather expensive), even changed the passports to make them fresh new (some more bucks) because at first they said that the ones I had aren't good, PAID for their "services"(not that much but should be enough for a rather good dinner for three I think) and I started to wait... And BTW I spent quite some time on all that prepations and quite some bucks in total... Do you know what answer I've got today? (in fact my Netherland's partner was called from Den Haage - Ministry of Foreign Affairs) - they said I should have applied for TOURISTIC not BUSINESS visum because I plan to go with my kids but as I mentioned above here they CHECKED all the docs and ACCEPTED them... Should I fight with them looking for truth with the risk to be written in their "black lists" forever? Or should I give up and accept the "rules" of their game? - there is a whole business around them here - and one (including any kinds of criminals etc.) can buy for money any kind of Visum and freely enter West Europe or States or Canada... I wanted to make it direct and according to all the laws and I didn't want to pay to the "shadow business around them" any extra money - and I've got NOTHING - or I'd better say I and my partner in Netherlands got real mockery... And they were harsh not only with me - they were that hostile with my Netherland's partner too - how it comes? Shamil P.S. I know, probably Russian Embassies do something like that there in West Europe - but should it justify what they are doing here these ambassadors of "civilized" free world? -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s From wdhindman at bellsouth.net Fri Mar 7 17:21:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:21:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001601c2e500$319ba5c0$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 7 17:22:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:22:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001901c2e500$4e036040$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 7 17:42:04 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:42:04 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001e01c2e503$1be525a0$6101a8c0@amd2k512> ...first ...my apologies for the previous blank posts ...my new superfast system w/OE6 seems most adept at replying before I've managed to make any entry :( ...as for the situation with visas, you have my full sympathies ...I traveled quite a bit of the world during my prior career and seldom without some sort of problem ...it would seem that corruption in the immigration/visa sections of every government I've known is endemic, even that of my beloved America ...in fact, it was the American Embassy in Bangkok that finally drove me to the ultimate frustration of actually paying someone off to expedite the travel documents required to bring my family back to the US with me ...hours upon hours waiting only to be told to come back the next day ...or to wait in another line ...or that the person that handled "that" wasn't in today ...or why had I not hired an "expeditor" to handle these "matters" ...and after days of this tactic at my own embassy ...all with my wife and 3 year old daughter in hand, I finally gave in and paid someone "recommended" to me by an American consular officer ...and lo!!!!! ...I had the necessary documents all complete and in my hands within 3 hours ...which sucks more than any other bureaucratic FUBAR I've experienced before or since ...having to bribe my own embassy runs so much against everything I believe in that you have no idea how hard it was for me to concede to do it. ...no help here I know, Shamil ...but you're not alone in your frustration with the thieves :( William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > 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 Mar 8 01:17:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 01:17:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <001e01c2e503$1be525a0$6101a8c0@amd2k512> Message-ID: <001101c2e542$a7dfcee0$b501010a@DAISY.local> THNX for your moral support, William! You know if I pay the "shadow business" around them then they will have legal evidence to reject my Visum application now and any time in the future - and they will be able to control me and to force to follow their rules in the case I will urgently need to enter Shengen Zone - and sin after sin I'll be in their hands... (I'm not saying that I'm saintly and that they are "dirty sinners" but I don't want to accept the rules of their game because I will become a looser as soon as I've accepted them... Yes, I know there are insuperable forces in this World like tsunami, tornado, earthquake,... - is this corrupted bureaucracy of all the states and continents such an insuperable force?) I know I can appeal to the "European Court of the Human Rights" but this promise to be expensive and lengthy procedure and with unknown end-result... ...but all these clerks, small and big bosses of all the levels - they know that they don't follow the rules they proclaim and assigned to defense... So the questions are: 1. Does anybody know can I ask for all the names of the clerks in their chain who first accepted my paperwork and then rejected to give Visum without any (IMO) reasons? 2. Can I talk to their Consul General in this case? 3. If they will not let me to talk to the Consul.... what then, give up? Shamil P.S. My children who study in a Gymnasium of the Global Education who are taught that this is a free and open world are asking me - what are these Visum? Why we should apply for them? Why we can't just go and visit our friends and colleagues in West Europe if our dad earned money working like crazy and wanted us to show Amsterdam, Brussles, Paris, Hamburg... And they dreamed to visit Paris Disneylend since our childhood... P.P.S. There are exceptions from the rules governing the Netherland's Consulate General in St.Petersburg - e.g. Representative Office of Switzerland - they are all friendly and one usually gets a Visum the second/third day, and all is well organized, they even have electronic Visum application forms in Internet - and they DON'T have 2m high guard, which exists in Consulate General of Netherlands - what secrets this guard patrol? And Finnish Embassy, when I applied for visum several years ago (I just wanted to go to Finland to fix the problems with my car + buy some spare parts for it) - and here you go - you're welcome! - no need for invitation and no spoiled bureaucracy around them. And IMO this is Finland, which is 150 km from my home and which should have been the most closed to the "hostile exUSSR" citizens - but no! - you're welcome and there are everyday buses and trains shuttling between Finland and Russia and a lot of cars cross the borders in both directions... The same easy was the procedure to get a Visum for HALF AN YEAR long staying in UK several years ago (I didn't use it because I didn't find the time and money to go there)... ... ----- Original Message ----- From: "William Hindman" To: Sent: Saturday, March 08, 2003 2:41 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > ...first ...my apologies for the previous blank posts ...my new superfast > system w/OE6 seems most adept at replying before I've managed to make any > entry :( > > ...as for the situation with visas, you have my full sympathies ...I > traveled quite a bit of the world during my prior career and seldom without > some sort of problem ...it would seem that corruption in the > immigration/visa sections of every government I've known is endemic, even > that of my beloved America ...in fact, it was the American Embassy in > Bangkok that finally drove me to the ultimate frustration of actually paying > someone off to expedite the travel documents required to bring my family > back to the US with me ...hours upon hours waiting only to be told to come > back the next day ...or to wait in another line ...or that the person that > handled "that" wasn't in today ...or why had I not hired an "expeditor" to > handle these "matters" ...and after days of this tactic at my own embassy > ...all with my wife and 3 year old daughter in hand, I finally gave in and > paid someone "recommended" to me by an American consular officer ...and > lo!!!!! ...I had the necessary documents all complete and in my hands within > 3 hours ...which sucks more than any other bureaucratic FUBAR I've > experienced before or since ...having to bribe my own embassy runs so much > against everything I believe in that you have no idea how hard it was for > me to concede to do it. > > ...no help here I know, Shamil ...but you're not alone in your frustration > with the thieves :( > > William Hindman > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "AccessD" > Sent: Friday, March 07, 2003 6:13 PM > Subject: [AccessD] OT: "Chevaux de frise" of free world... > > > > Hi All, > > > > I'm sorry I'm writing about that here - I just went very crazy today about > > what they - Western Embassies and Consulates here and their bosses in Den > > Haage (Netherlands) are doing... > > > > Here is a fresh story: > > > > - I applied for business Visum (15 days of staying, one entry) several > days > > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > > in Consualate General they ACCEPTED this application for BUSINESS visum > and > > they checked all the docs carefully) - to make that I prepared all the > > needed paperwork, get original invitation from my partner from Netherlands > > (DHL, second day delivery = rather expensive), even changed the passports > to > > make them fresh new (some more bucks) because at first they said that the > > ones I had aren't good, PAID for their "services"(not that much but should > > be enough for a rather good dinner for three I think) and I started to > > wait... > > And BTW I spent quite some time on all that prepations and quite some > > bucks in total... > > > > Do you know what answer I've got today? (in fact my Netherland's partner > was > > called from Den Haage - Ministry of Foreign Affairs) - they said I should > > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > > them... > > > > Should I fight with them looking for truth with the risk to be written in > > their "black lists" forever? > > Or should I give up and accept the "rules" of their game? - there is a > whole > > business around them here - and one (including any kinds of criminals > etc.) > > can buy for money any kind of Visum and freely enter West Europe or States > > or Canada... > > > > I wanted to make it direct and according to all the laws and I didn't want > > to pay to the "shadow business around them" any extra money - and I've got > > NOTHING - or I'd better say I and my partner in Netherlands got real > > mockery... And they were harsh not only with me - they were that hostile > > with my Netherland's partner too - how it comes? > > > > Shamil > > > > P.S. I know, probably Russian Embassies do something like that there in > West > > Europe - but should it justify what they are doing here these ambassadors > of > > "civilized" free world? > > > > -- > > e-mail: shamil at smsconsulting.spb.ru > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Mar 8 01:23:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:23:00 2003 Subject: [AccessD] Searching M$'s KB Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82260@main2.marlow.com> Couldn't agree more! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 07, 2003 6:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Sat Mar 8 01:28:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:28:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82261@main2.marlow.com> Very good point. I've watched this thread from the outside, for two reasons. I personally have never made a CR report, and at best I consider myself an 'amatuer' at report generation in Access. When it comes to making reports in Access, I can do some pretty nifty stuff with code, making stupendous 'special' reports. However, there are people where I work that do nothing but generate reports using the wizards, and then tweaking all sorts of things. I have had to go into these reports from time to time, and I must admit that they get them to do exactly what they want with relatively little fuss. That is why I consider myself an amatuer at the report level, because half the time I would have jumped to VBA....(go figure), instead of using the solutions that were used. One question. Does CR have a 'program' language that you can run in the background of a report? (Not just macro like, but VBA like, where you can interface with the OS if you want type stuff....) Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 07, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access and Crystal Reports Shamil, True, CR allows independent sections in reports, and true this can be a useful feature. But in my experience there never has been a report that I had to create that needed this feature. My last word on this thread is this: Since everybody's previous experiences and personal preferences are different, there is no one best tool for everybody. Of the tools that are available to you and you are comfortable using, try to pick the one that is most suitable for the problem at hand. Have a nice day Shamil. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 15:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 01:30:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 01:30:00 2003 Subject: [AccessD] Products Installed by Windows MSI References: <000601c2c2bb$d87319d0$5373a8c0@local> <003701c2c37f$f8e58710$b501010a@DAISY.local> Message-ID: <3E699BD0.1020800@shaw.ca> Here is an interesting short method I came across, it assumes MSI installer is on your machine but if running Office XP or 2000 it should be. It will only list products installed by Windows MSI installer. Maybe someone will find this useful, perhaps for remote client debugging. Sub ProductListfromMSIinstall() 'Lists Products installed by Windows Installer Dim oWInst As Object 'Dim msiInstaller As WindowsInstaller.Installer Dim oProducts As Object Dim product As Variant Dim strName As String Dim strMinVer As String Dim strMaxVer As String Dim strVer As String Set oWInst = CreateObject("WindowsInstaller.Installer") On Error Resume Next Set oProducts = oWInst.Products For Each product In oProducts strName = oWInst.ProductInfo(product, "ProductName") strMinVer = oWInst.ProductInfo(product, "VersionMinor") strMaxVer = oWInst.ProductInfo(product, "VersionMajor") strVer = oWInst.ProductInfo(product, "VersionString") Debug.Print strName & " Version: " & strVer Next End Sub This will return something like this that you can parse. WMI SQL Server Provider Version: 1.0.0.0 WinHTTP 5.0 SDK Version: 5.0.2613.0 CodeSwap 2.0 Add-in for Visual Studio .NET Version: 2.0.0 Microsoft XML Parser and SDK Version: 4.10.9404.0 Microsoft Data Access 2.6 SDK Version: 2.6 Office XP Web Services Toolkit 2.0 Installation Files and Whitepapers Version: 2.0 WebFldrs XP Version: 9.50.5318 Microsoft IntelliPoint 4.1 Version: 4.10.0851 Microsoft .NET Framework 1.1 Version: 1.1.4322 Microsoft SQL Server 2000 Books Online (Updated - SP3) Version: 8.2.0.0 Microsoft Application Compatibility Analyzer Version: 1.00.0000 McAfee VirusScan Version: 6.0.1 Microsoft SQL Server Desktop Engine Version: 8.00.194 WMI Tools Version: 1.50.1131.0001 Microsoft ASP.NET Web Matrix Version: 0.5.464.0 Microsoft Visio Professional 2002 [English] Version: 10.0.525 Microsoft Office XP Professional Version: 10.0.2627.01 Microsoft Office XP Web Components Version: 10.0.4406.0 Microsoft SOAP Toolkit 3.0 Version: 3.00.1325.3 Bluetooth Stack for Windows by Toshiba Version: 1.01.02 Microsoft SOAP Toolkit 3.0 Samples Version: 3.00.1325.2 From DWUTKA at marlow.com Sat Mar 8 01:41:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:41:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82262@main2.marlow.com> Pedro, if I remember right, Gustav's union query essentially provides records for each year. Each segment of the union query is for a seperate year. Thus, to show results for the last 20 years, you would need 20 segments in the Union query. If you were making this SQL on the fly, that would be the fastest option. However, to speed things up for my query, make sure that you the date field indexed. That will speed things up immensely. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Friday, March 07, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Hello Gustav, Drew Wutka his query is working (Thanks for that Drew), but you were right it is very slow. For 10000 records it almost takes 20 minutes. You gave me a unionquery that i can't seem to work. Maybe i don't understand the fields in your query and what do you mean with: > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: Could you explain a little more. TIA Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Wednesday, March 05, 2003 8:36 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > I have a table with 10000 records. I would like to filter out, by > > query, the first 5 or 10 dates per different years. > > Is this possible. > > For a large table the use of a subquery may be painfully or even > unacceptably slow. > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > > ... > > UNION > SELECT TOP 5 > Year+n AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+n,1,1) > ORDER BY > Year5, > ID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwutka at marlow.com Sat Mar 8 01:56:01 2003 From: dwutka at marlow.com (Drew Wutka) Date: Sat Mar 8 01:56:01 2003 Subject: [AccessD] Testing, Please ignore. Message-ID: <00b601c2e548$27612880$0302a8c0@WolfWares.local> test -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Sat Mar 8 02:41:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sat Mar 8 02:41:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: Hi Shamil, yupz, sometimes not all clercs are equally smart, this and the turmoil we still have in our government probably caused all this frustration. On the other hand, if you went by the rules, having layed all the cards on the table and 'them' accepting your 'business' visa application knowing your kids were involved makes it their fault IMO. So, if I were you I'd use that to have them correct their fault asap with no extra costs. You payed for a service and from the specialist clercs you were dealing with, one of them should have pointed out that you'd needed a tourist visa since your kids are coming along. Their mistake, you are innocent russian applyer with not so much visa knowledge, right?:-) Good luck, Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: zaterdag 8 maart 2003 00:13 To: AccessD Subject: [AccessD] OT: "Chevaux de frise" of free world... Hi All, I'm sorry I'm writing about that here - I just went very crazy today about what they - Western Embassies and Consulates here and their bosses in Den Haage (Netherlands) are doing... Here is a fresh story: - I applied for business Visum (15 days of staying, one entry) several days ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here in Consualate General they ACCEPTED this application for BUSINESS visum and they checked all the docs carefully) - to make that I prepared all the needed paperwork, get original invitation from my partner from Netherlands (DHL, second day delivery = rather expensive), even changed the passports to make them fresh new (some more bucks) because at first they said that the ones I had aren't good, PAID for their "services"(not that much but should be enough for a rather good dinner for three I think) and I started to wait... And BTW I spent quite some time on all that prepations and quite some bucks in total... Do you know what answer I've got today? (in fact my Netherland's partner was called from Den Haage - Ministry of Foreign Affairs) - they said I should have applied for TOURISTIC not BUSINESS visum because I plan to go with my kids but as I mentioned above here they CHECKED all the docs and ACCEPTED them... Should I fight with them looking for truth with the risk to be written in their "black lists" forever? Or should I give up and accept the "rules" of their game? - there is a whole business around them here - and one (including any kinds of criminals etc.) can buy for money any kind of Visum and freely enter West Europe or States or Canada... I wanted to make it direct and according to all the laws and I didn't want to pay to the "shadow business around them" any extra money - and I've got NOTHING - or I'd better say I and my partner in Netherlands got real mockery... And they were harsh not only with me - they were that hostile with my Netherland's partner too - how it comes? Shamil P.S. I know, probably Russian Embassies do something like that there in West Europe - but should it justify what they are doing here these ambassadors of "civilized" free world? -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 7-3-2003 Tested on: 8-3-2003 9:34:32 (c) 2000-2003 ALWIL Software. http://www.avast.com From gustav at cactus.dk Sat Mar 8 04:56:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 8 04:56:01 2003 Subject: [AccessD] first five dates per year In-Reply-To: <001901c2e4f0$e5b5dc20$f8c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro> <13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> Message-ID: <1227323080.20030308115517@cactus.dk> Hi Pedro > Drew Wutka his query is working (Thanks for that Drew), but you were right > it is very slow. For 10000 records it almost takes 20 minutes. > You gave me a unionquery that i can't seem to work. Maybe i don't understand > the fields in your query and what do you mean with: >> If you know the maximum number of years to list, you can create a >> union query like this where Year is the first year to list: > Could you explain a little more. Sure. In addition to the correct comments of Drew, here is the union query which collects data from maximum three years. If you need more years, simply insert more "Union Select ..." sections where you for each section increase by 1 the number to add to Year. PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year],1,1) UNION SELECT TOP 5 Year+1 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+1,1,1) UNION SELECT TOP 5 Year+2 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+2,1,1) ORDER BY Year5, ID; You will, of course, have to change the names of table and fields to those of your table. /gustav > ----- Original Message ----- > From: "Gustav Brock" > To: "Pedro Janssen" > Sent: Wednesday, March 05, 2003 8:36 PM > Subject: Re: [AccessD] first five dates per year >> Hi Pedro >> >> > I have a table with 10000 records. I would like to filter out, by >> > query, the first 5 or 10 dates per different years. >> > Is this possible. >> >> For a large table the use of a subquery may be painfully or even >> unacceptably slow. >> If you know the maximum number of years to list, you can create a >> union query like this where Year is the first year to list: >> >> >> >> PARAMETERS >> Year Short; >> SELECT TOP 5 >> Year AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year],1,1) >> UNION >> SELECT TOP 5 >> Year+1 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+1,1,1) >> >> ... >> >> UNION >> SELECT TOP 5 >> Year+n AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+n,1,1) >> ORDER BY >> Year5, >> ID; >> >> From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 06:08:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 06:08:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: References: Message-ID: <1047125275.3e69dd1ba5161@hosea.qub.ac.uk> Shamil When I applied for my visas to the USA I was told to PLAY by the RULES. Dont shout and do as asked even if it appears stupid. The person who told me that was an employee at the USA consul. Unless they are asking you to pay again I would simply make an appointment, go see them BE VERY NICE and sort it out. Immigration are very funny these days and I think the best advise is to stay on the right side of them at all times. In my case they give me both a working and a tourist visa and at the end of the day the staff at the consulate here could not have been more helpful. All I can say is be patient with them, explain excatly what you plan to do, who is going with you etc and do it all in writing, again I know but just be patient and nice. At the first sign of trouble they will not issue a visa becasue at the end of the day it means nothing to them. Martin From artful at rogers.com Sat Mar 8 07:28:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 8 07:28:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F5@servera22.doma.ops> Message-ID: <00f401c2e576$6b8fc100$8e01a8c0@Rock> On reflection, I concur with Martin. The only problem is that you need some sort of client to get at the sprocs and views and UDFs. I recall reading here that there is a way to achieve this, though. Download and install the eval version of SQL 2000, but install only the client tools (not the back end). Then you'll have Enterprise Manager, Query Analyzer etc. available without having to spring the big bucks for SQL 2000. -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 7, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3572 bytes Desc: not available URL: From artful at rogers.com Sat Mar 8 07:35:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 8 07:35:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: Message-ID: <00f801c2e577$672879d0$8e01a8c0@Rock> What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Sat Mar 8 09:49:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Sat Mar 8 09:49:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <00f801c2e577$672879d0$8e01a8c0@Rock> Message-ID: It is the Access survey for developers Microsoft is collecting on line right now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). You might be able to sign up for it on MS site somewhere. It takes about 10 minutes or less. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 08, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Mar 8 10:13:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat Mar 8 10:13:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: Message-ID: Has anyone else had problems with the survey? I get to page 2 and it crashes IE. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, March 08, 2003 10:49 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown It is the Access survey for developers Microsoft is collecting on line right now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). You might be able to sign up for it on MS site somewhere. It takes about 10 minutes or less. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 08, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 10:55:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 10:55:01 2003 Subject: [AccessD] Access Solutions Drilldown References: Message-ID: <011c01c2e593$692598a0$d5ecffcc@SusanOne> They wouldn't even let me take the darn thing because I haven't "deployed" a new application in 18 months. As if... :( Susan H. > Has anyone else had problems with the survey? I get to page 2 and it > crashes IE. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, March 08, 2003 10:49 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > It is the Access survey for developers Microsoft is collecting on line right > now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). > You might be able to sign up for it on MS site somewhere. It takes about 10 > minutes or less. > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Saturday, March 08, 2003 7:34 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > What is the Access Solutions Drilldown? I have Office 2002 Developer but > have never noticed this. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > Sent: March 7, 2003 11:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately from > the Microsoft Office Developer Edition, would you be willing to pay $299 for > the offering?" > > > > The last question concerns me. What would the point of the ODE be then? If > you split Runtime and SQL tools from ODE it would cause nothing but grief > over increased cost for me. If you created an Access Developer Edition which > incorporates all of the applicable Access ODE functionality into a seperate > lower cost package I would consider that as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 10:56:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 10:56:01 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047142529.3e6a20816edbe@hosea.qub.ac.uk> Cant even find it/ Some post an address! Martin Quoting Jim Dettman : > Has anyone else had problems with the survey? I get to page 2 and it > crashes IE. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, March 08, 2003 10:49 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > It is the Access survey for developers Microsoft is collecting on line > right > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > You might be able to sign up for it on MS site somewhere. It takes about > 10 > minutes or less. > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Saturday, March 08, 2003 7:34 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > have never noticed this. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > Sent: March 7, 2003 11:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from > the Microsoft Office Developer Edition, would you be willing to pay $299 > for > the offering?" > > > > The last question concerns me. What would the point of the ODE be then? > If > you split Runtime and SQL tools from ODE it would cause nothing but > grief > over increased cost for me. If you created an Access Developer Edition > which > incorporates all of the applicable Access ODE functionality into a > seperate > lower cost package I would consider that as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 11:35:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 11:35:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <011c01c2e593$692598a0$d5ecffcc@SusanOne> References: <011c01c2e593$692598a0$d5ecffcc@SusanOne> Message-ID: <1047144877.3e6a29ad39151@hosea.qub.ac.uk> AND the URL WOULD BE WHAT? Martin Quoting Susan Harkins : > They wouldn't even let me take the darn thing because I haven't > "deployed" a > new application in 18 months. As if... :( > > Susan H. > > > > Has anyone else had problems with the survey? I get to page 2 and > it > > crashes IE. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Saturday, March 08, 2003 10:49 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > It is the Access survey for developers Microsoft is collecting on > line > right > > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > > You might be able to sign up for it on MS site somewhere. It takes > about > 10 > > minutes or less. > > > > JB > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur > Fuller > > Sent: Saturday, March 08, 2003 7:34 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > > have never noticed this. > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > > Sent: March 7, 2003 11:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale separately > from > > the Microsoft Office Developer Edition, would you be willing to pay > $299 > for > > the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > then? If > > you split Runtime and SQL tools from ODE it would cause nothing but > grief > > over increased cost for me. If you created an Access Developer > Edition > which > > incorporates all of the applicable Access ODE functionality into a > seperate > > lower cost package I would consider that as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Mar 8 11:53:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 11:53:00 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82261@main2.marlow.com> Message-ID: <001501c2e59b$7af91130$b501010a@DAISY.local> <<< > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) >>> Drew, Yes, CR has a program language used to create formulas - see P.S. What is important to note is that CR report generation customization IS NOT event driven! This shocks at first an MS Access developer (that's from my experience)... Then when you get comfortable with that "new ideology" you see that it's very flexible... I'd say that the usual customization technique in CR is data-driven... I expect you to "fall in love" with CR because the tricks it allows to do aren't possible in MS Access - the key to the tricks IMO are sections (these are subsections of Report Header/Footer, Page Header/Footer,...) and formulas, which can be specified on different levels of reports to control properties' values of report objects on runtime... And of course you'll love drill-down (live reports) - this is where one CR report may substitute several MS Access forms and reports with subreports... And of course you'll love easy migration of all that stuff(reports) to the Web from where they can be interactively using very good and effective data cashing technique... ... > instead of > using the solutions that were used. There are good Wizards for CR too but CR profis seldom use them (I'm not the one of such profis because I've had just a casual project with CR) . CR can be used by powerusers I think for the cases like you describe but it's much more for programmers because only programmers are able to show the real power of CR through reports they create with it using formulas... Shamil P.S. <<<<+ Quoting CR Help +>>> formula A formula is a symbolic statement of the modifications you want performed on certain data before it is printed on your report. For example, if your report is to contain a {file.SALES} field and a {file.COST} field, you may want to create a GrossProfit field and designate its text strings as {file.SALES} - {file.COST}. This is a simple formula that tells the program to subtract the value of the {file.COST} field from the value of the {file.SALES} field and then to print the result. You can use formulas to calculate numeric values, compare one value to another and select alternative actions based on the comparison, join multiple value into a single string, and to perform a multitude of other operations. Creating a formula in Crystal Reports is much like creating a formula in your favorite spreadsheet. Note: The term "formula" in Crystal Reports is equivalent to the term "expression" in Microsoft Access. Crystal and Basic Syntax When creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formula written with one syntax can be written with the other. Reports can contain formulas that use Basic syntax as well as formulas that use Crystal syntax. Crystal syntax is the formula language included in all prior versions of Crystal Reports. Basic Syntax is new to Crystal Reports 8. If you are familiar with Microsoft Visual Basic or other versions of Basic, then Basic syntax may be more familiar to you. In general, Basic syntax is modeled on Visual Basic except that it has specific extensions to handle reporting. If you are already comfortable with Crystal syntax, you can continue to use it, and benefit from the new functions, operators and control structures inspired by Visual Basic. Note: Report processing is not slowed down by using Basic syntax. Reports using Basic syntax formulas can run on any machine that Crystal Reports runs on. Also, using Basic syntax formulas does not require distributing any additional files with your reports. <<<<- Quoting CR Help ->>> ----- Original Message ----- From: "Drew Wutka" To: Sent: Saturday, March 08, 2003 10:27 AM Subject: RE: [AccessD] Access and Crystal Reports > Very good point. I've watched this thread from the outside, for two > reasons. I personally have never made a CR report, and at best I consider > myself an 'amatuer' at report generation in Access. When it comes to making > reports in Access, I can do some pretty nifty stuff with code, making > stupendous 'special' reports. However, there are people where I work that > do nothing but generate reports using the wizards, and then tweaking all > sorts of things. I have had to go into these reports from time to time, and > I must admit that they get them to do exactly what they want with relatively > little fuss. That is why I consider myself an amatuer at the report level, > because half the time I would have jumped to VBA....(go figure), instead of > using the solutions that were used. > > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Friday, March 07, 2003 7:13 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > > Shamil, > > True, CR allows independent sections in reports, and true this can be a > useful feature. But in my experience there never has been a report that > I had to create that needed this feature. > > My last word on this thread is this: Since everybody's previous > experiences and personal preferences are different, there is no one best > tool for everybody. Of the tools that are available to you and you are > comfortable using, try to pick the one that is most suitable for the > problem at hand. > > Have a nice day Shamil. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 15:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - > and I soon realized that despite the fact that the feature set of MS > Access and CR seems to be very similar, the real power of CR is in its > unique and looking at first not very significant feature of allowing to > have and manipulate on runtime of several (as many as you wish) > independent sections/areas of Report Header/Footer, Page Header/Footer, > Group Header/Footer and Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, > is when you need in CR to copy and paste (or cut and paste) a group of > controls within one report or between reports - here CR sometimes goes > "crazy" and you need to realigh controls manualy after paste > operation... > > Charles, I'd not like to have this thread to become"religious" debate > "CR vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 12:04:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 12:04:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE References: <00f401c2e576$6b8fc100$8e01a8c0@Rock> Message-ID: <3E6A308F.8030009@shaw.ca> Here are two free replacements for Enterprise Manager From BMC Software SmartDBA Cockpit (1.6.01) http://shop.bmc.com/product_moreinfo.cfm?id=2479&cpg=US00-1889GA DbaMgr - DbaMgr2k Administrative Console for Microsoft Msde 1.0 and Msde 2000 written in Microsoft Visual Basic 6.0 (comes with source code) http://www.asql.biz/DbaMgr.shtm I have only used the second because it shows you how to write the SQL-DMO code and seems a little easier to use. Arthur Fuller wrote: >On reflection, I concur with Martin. The only problem is that you need some >sort of client to get at the sprocs and views and UDFs. I recall reading >here that there is a way to achieve this, though. Download and install the >eval version of SQL 2000, but install only the client tools (not the back >end). Then you'll have Enterprise Manager, Query Analyzer etc. available >without having to spring the big bucks for SQL 2000. > >-----Original Message----- >From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of >Eric Goetz >Sent: March 7, 2003 10:52 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > >Hi, > >Thanks for the feedback. I'm glad to hear that someone else is working with >an mde fe and msde be. I like Authur's approach from a technical viewpoint. >Unfortunately, I'm reaching the limit of the time estimate I gave to my >client for this project. > >I need to continue making progress without trying to cram the ADP learning >curve into a two week period on top of the SQL learning curve. I also think >getting to SQL in this rather clunky way would position me well to take on >the web front end project if they go that way. > >Any more words of wisdom for me? > >Thanks, > >Eric > > > From scotttgage at yahoo.com Sat Mar 8 12:06:01 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Sat Mar 8 12:06:01 2003 Subject: [AccessD] Installer wizard In-Reply-To: <001501c2e59b$7af91130$b501010a@DAISY.local> Message-ID: <20030308180541.93064.qmail@web10403.mail.yahoo.com> Hello all: I have built an application in Access and want to burn it to a CD to give to my customer. Dose anyone know of an affordable Installation wizard that will create a folder at a default path and ask where the customer where he/she would like to install with a browse button? I'd like to give them the option to create a desktop shortcut or go to a web site for more options and things like that. I'm going for a professional look here and will negotiate some of my demands. Any suggestions? Scott ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From demulling at centurytel.net Sat Mar 8 12:36:08 2003 From: demulling at centurytel.net (Demulling) Date: Sat Mar 8 12:36:08 2003 Subject: [AccessD] Installer wizard References: <20030308180541.93064.qmail@web10403.mail.yahoo.com> Message-ID: <001c01c2e5a1$9d45fc20$76c4e6cf@bedroom> You might want to try Setup to go ----- Original Message ----- From: "Scott Gage" To: Sent: Saturday, March 08, 2003 12:05 PM Subject: [AccessD] Installer wizard > Hello all: > > I have built an application in Access and want to burn > it to a CD to give to my customer. Dose anyone know of > an affordable Installation wizard that will create a > folder at a default path and ask where the customer > where he/she would like to install with a browse > button? I'd like to give them the option to create a > desktop shortcut or go to a web site for more options > and things like that. > > I'm going for a professional look here and will > negotiate some of my demands. Any suggestions? > > Scott > > > ===== > -------------------- > Scott T. Gage > Scott.gage at promedica.org > 419.291-7177 > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sat Mar 8 12:46:02 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 12:46:02 2003 Subject: [AccessD] Editing Records References: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> Message-ID: <053d01c2e4b8$855a05a0$f4ecffcc@SusanOne> I'd like to just add one point here -- and it's the user's perspective. Unless you're dealing with more advanced users, a form with hidden, locked, disabled controls almost always seems to lead to confusion. You can explain why, but they won't like it. It's not a right or wrong, but something worth considering. For instance, once had a subscription database that showed different subforms, depending on the reason the form was opened -- one user loved it, the other hated it because she always "thought" something was wrong -- "why can't I enter blah, blah, blah right now too?" Now, you can't design everything around users, but you do want to consider them too. Susan H. > I'm also for using one form and I have to ask why not let your form 's edit mode flag determine what displays and what doesn't? True there will be fields that edit does not pertain to but how many can it be? If it's a lot than using multiple forms might make sense but I've not seen that (up to this point that is). From jhale at houston.rr.com Sat Mar 8 12:56:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 8 12:56:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <75583729.20030302085523@cactus.dk> Message-ID: <013101c2e5a4$81427a50$2602a8c0@D4MXWR01> The only way I have been able to mix landscape and portrait in the same document is with Word and this doesn't always work well either. I presume Adobe acrobat can do the trick but I have been to cheap to spring for a copy. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, March 02, 2003 1:55 AM To: James Hale Subject: Re: [AccessD] PDF for word ... Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. _______________________________________________ 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 Mar 8 12:59:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 12:59:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: Message-ID: <005301c2e5a4$c8fb39e0$b501010a@DAISY.local> > if you went by the rules Yes, Eric, I went by the rules - their rules (this is written in my another message - answer to Martin) > and 'them' accepting your 'business' visa application knowing your > kids were involved makes it their fault IMO. Yes, they accepted that - in fact as I've written in another message in the invitation is explicitly written that my visit is a mix of business and tourism - this isn't possible? And in their Visum application form, pos#29 on the top: Purpose of travel http://smsconsulting.spb.ru/download/visum/vap02.gif - there are several checkboxes and within them "Tourism" and "Business" - as far as I can remember I checked both (but I'm not sure now) - but if I checked only one - what is the problem? - they can just call me/my partner and reask and check both checkboxes by themselves - they can and DO correct the forms by themselves when during application they see some problems with these forms... - and the text of the invitation (quoted in the answer to Martin) doesn't have any double meaning IMO - it asks for permission to visit Shengen Zone for business AND tourism purposes... > You payed for a service Yes, I paid for their 'service' - about USD90 in total... > with not so much visa knowledge, right?:-) Yes, Eric, I don't have visa application process knowledge - if you know some rules could you please advise?: - Is that my right to ask for the meeting with the Consul and ask for his name? - I know this is my right to ask them for the official paper where it should be written what are the formal rules/laws, which I violated - how should I proceed to get this official paper? - Is that my right to ask for the names of all who paticipate in this mockery? If yes, what is the "trick" to get these names without fight with their guard? :) - something else important I'm missing?... > to have them correct their fault asap with no > extra costs. I really need that ASAP because I want to go on kids vacations - starting 20 of March and lasting until 1 of April... And I booked the plane tickets already - in several days their price will become much higher and will be just unaffordable... And who knows how ASAP is their ASAP - what they need is to just print three Visum stickers, which they DO print in St.Petersburg AFAIK... Please write me privately to close this WAY off-topic thread... Shamil ----- Original Message ----- From: "StaRKeY" To: Sent: Saturday, March 08, 2003 11:34 AM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Hi Shamil, > > yupz, sometimes not all clercs are equally smart, this and the turmoil we > still have in our government probably caused all this frustration. On the > other hand, if you went by the rules, having layed all the cards on the > table and 'them' accepting your 'business' visa application knowing your > kids were involved makes it their fault IMO. > So, if I were you I'd use that to have them correct their fault asap with no > extra costs. You payed for a service and from the specialist clercs you were > dealing with, one of them should have pointed out that you'd needed a > tourist visa since your kids are coming along. Their mistake, you are > innocent russian applyer with not so much visa knowledge, right?:-) > > > Good luck, > Eric Starkenburg > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: zaterdag 8 maart 2003 00:13 > To: AccessD > Subject: [AccessD] OT: "Chevaux de frise" of free world... > > > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > Message is tested virus free > Virus Database (VPS): 7-3-2003 > Tested on: 8-3-2003 9:34:32 > > (c) 2000-2003 ALWIL Software. > http://www.avast.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 Mar 8 12:59:22 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 12:59:22 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <1047125275.3e69dd1ba5161@hosea.qub.ac.uk> Message-ID: <005401c2e5a4$c9152a80$b501010a@DAISY.local> > When I applied for my visas to the USA > I was told to PLAY by the RULES. Martin, I did everything to play by their rules - even more several days before my Visum application I went to the Consulate and showed invitation and all the forms - and they said that they were OK - and I used them to apply for Visum - all these docs prepared according to their rules, which they confirmed... > Immigration are very funny these days I'm not immigarting or something like that - I just want to go to meet my business partners in West Europe, to talk to them(business) and to make some touristic trips around to show West Europe to my children - for 15 days only - and when I go there I have left here my wife and baby-boy and this is also written in the docs I used to apply for Visum... > explain excatly what you plan to do, This is written in the invitation, which they read at least twice before they accepted the docs: = +++ quoting invitation +++ = The purpose of visit is business and tourism related. We need Mr. Salakhetdinov for the co-ordination of software development in Russia, discussing and defining the projects specifications. We wanted to show him and his family members how our business is organized and how it is functioning. We also wanted to let him to travel around Netherlands for sightseeing and to visit his other friends and business colleagues in Netherlands and if time allows in other Shengen states: Belgium, France and Germany. Mr. Salakhetdinov and his family members will therefore need a one entry Shengen visa for a period from the 15th of March 2003 till 15th of April 2003, allowing for 15(fifteen) days to stay. We guarantee that all costs related to the visit will be for our account in the case Mr. Shamil Salakhetdinov will have some difficulties with that. This includes lodging, repatriating, and costs related to illness and hospital. = --- quoting invitation --- = Any problems with the text above? Something unclear? Should I present them the exact schedule where, when and why I plan to go? - yes, I plan to go to Belgium - and this is written above. Yes, I plan to go to France - and this is written above. Maybe I even go to Germany - if time allows - and this is written above... - I've money to pay for all this staying, if not my partner signed the doc and promised to help me and he has his good business in Netherlands and lives there all his life with wife and family of three kids and his own house - and they know all that. Of course I and my partner will use special additional insurance polices - what is wrong with all that? > All I can say is be patient with them, THNX for your advice, Martin, I will give it another quiet try on Tuesday (Monday isn't working day here) - if they continue their mockery I will probably just publish the phones of the Consulate General and the clerk from Den Haage and all their names if I get them for anybody who wants to call them and to say what they think about all that outrage - this is only what they should be afraid of I think - bad public opinion about them (concrete names) - maybe this will help others to escape their "chevaux de frise"... Shamil ----- Original Message ----- From: To: Sent: Saturday, March 08, 2003 3:07 PM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Shamil > > When I applied for my visas to the USA I was told to PLAY by the RULES. Dont > shout and do as asked even if it appears stupid. > > The person who told me that was an employee at the USA consul. Unless they are > asking you to pay again I would simply make an appointment, go see them BE > VERY NICE and sort it out. > > Immigration are very funny these days and I think the best advise is to stay > on the right side of them at all times. > > In my case they give me both a working and a tourist visa and at the end of > the day the staff at the consulate here could not have been more helpful. > > All I can say is be patient with them, explain excatly what you plan to do, > who is going with you etc and do it all in writing, again I know but just be > patient and nice. > > At the first sign of trouble they will not issue a visa becasue at the end of > the day it means nothing to them. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 13:13:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 13:13:01 2003 Subject: [AccessD] Editing Records References: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> <053d01c2e4b8$855a05a0$f4ecffcc@SusanOne> Message-ID: <017301c2e5a6$b68cfc60$d5ecffcc@SusanOne> Well, here's another one that's taken over 24 hours to arrive. Susan H. > I'd like to just add one point here -- and it's the user's perspective. > Unless you're dealing with more advanced users, a form with hidden, locked, > disabled controls almost always seems to lead to confusion. You can explain > why, but they won't like it. It's not a right or wrong, but something worth > considering. For instance, once had a subscription database that showed > different subforms, depending on the reason the form was opened -- one user > loved it, the other hated it because she always "thought" something was > wrong -- "why can't I enter blah, blah, blah right now too?" Now, you can't > design everything around users, but you do want to consider them too. > > Susan H. > > > > I'm also for using one form and I have to ask why not let your form 's > edit mode flag determine what displays and what doesn't? True there will be > fields that edit does not pertain to but how many can it be? If it's a lot > than using multiple forms might make sense but I've not seen that (up to > this point that is). > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From carbonnb at sympatico.ca Sat Mar 8 14:51:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sat Mar 8 14:51:00 2003 Subject: [AccessD] Installer wizard In-Reply-To: <20030308180541.93064.qmail@web10403.mail.yahoo.com> References: <001501c2e59b$7af91130$b501010a@DAISY.local> Message-ID: <3E6A1157.2851.12A502B@localhost> On 8 Mar 2003 at 10:05, Scott Gage wrote: > I have built an application in Access and want to burn > it to a CD to give to my customer. Dose anyone know of > an affordable Installation wizard that will create a > folder at a default path and ask where the customer > where he/she would like to install with a browse > button? I'd like to give them the option to create a > desktop shortcut or go to a web site for more options > and things like that. Scott, Are you distributing a runtime of just an mdb/mde? If it is just the mdb/mdethe NSIS will do everything that you are looking for. You can get it from http://nsis.sourceforge.net If you are distributing a runtime, then NSIS won't work for you. I have used it for quite a while. I have distributed mde's (no runtime) and VB apps with it and have had no problems. -- Bryan Carbonnell - carbonnb at sympatico.ca A picture is worth a thousand words, but it uses up a thousand times the memory. From pedro at plex.nl Sat Mar 8 15:37:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Sat Mar 8 15:37:00 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk> Message-ID: <000b01c2e5bb$047189f0$f8c581d5@pedro> Hello Drew and Gustav, Drew, i indexed the date field, but the query wasn't quicker as the without indexing. I'll have to wait 20 minutes or so, but the result is what i want. Gustav, your query still gives me some problems. When i use only the part of the query with Year the result is good, but the Parameters is asking for the year and afterthat for Year5. I don't understand this. When i use Year and Union Year+1 i get result that don't fit. Maybe it has something to do with the fieldnames. In your query which field is ID and which field is DateTrans. For example in TblTrans i only have one field [datum]. From DWUTKA at marlow.com Sat Mar 8 17:48:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 17:48:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82264@main2.marlow.com> How big is the database....zipped. If you could send me a sample (I shouldn't have any problem with something less then 10 megs in email), I'll see if I can optimize it for you. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Saturday, March 08, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Hello Drew and Gustav, Drew, i indexed the date field, but the query wasn't quicker as the without indexing. I'll have to wait 20 minutes or so, but the result is what i want. Gustav, your query still gives me some problems. When i use only the part of the query with Year the result is good, but the Parameters is asking for the year and afterthat for Year5. I don't understand this. When i use Year and Union Year+1 i get result that don't fit. Maybe it has something to do with the fieldnames. In your query which field is ID and which field is DateTrans. For example in TblTrans i only have one field [datum]. From DWUTKA at marlow.com Sat Mar 8 17:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 17:51:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82265@main2.marlow.com> Can this programming language handle API Calls? Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Saturday, March 08, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports <<< > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) >>> Drew, Yes, CR has a program language used to create formulas - see P.S. What is important to note is that CR report generation customization IS NOT event driven! This shocks at first an MS Access developer (that's from my experience)... Then when you get comfortable with that "new ideology" you see that it's very flexible... I'd say that the usual customization technique in CR is data-driven... I expect you to "fall in love" with CR because the tricks it allows to do aren't possible in MS Access - the key to the tricks IMO are sections (these are subsections of Report Header/Footer, Page Header/Footer,...) and formulas, which can be specified on different levels of reports to control properties' values of report objects on runtime... And of course you'll love drill-down (live reports) - this is where one CR report may substitute several MS Access forms and reports with subreports... And of course you'll love easy migration of all that stuff(reports) to the Web from where they can be interactively using very good and effective data cashing technique... ... > instead of > using the solutions that were used. There are good Wizards for CR too but CR profis seldom use them (I'm not the one of such profis because I've had just a casual project with CR) . CR can be used by powerusers I think for the cases like you describe but it's much more for programmers because only programmers are able to show the real power of CR through reports they create with it using formulas... Shamil P.S. <<<<+ Quoting CR Help +>>> formula A formula is a symbolic statement of the modifications you want performed on certain data before it is printed on your report. For example, if your report is to contain a {file.SALES} field and a {file.COST} field, you may want to create a GrossProfit field and designate its text strings as {file.SALES} - {file.COST}. This is a simple formula that tells the program to subtract the value of the {file.COST} field from the value of the {file.SALES} field and then to print the result. You can use formulas to calculate numeric values, compare one value to another and select alternative actions based on the comparison, join multiple value into a single string, and to perform a multitude of other operations. Creating a formula in Crystal Reports is much like creating a formula in your favorite spreadsheet. Note: The term "formula" in Crystal Reports is equivalent to the term "expression" in Microsoft Access. Crystal and Basic Syntax When creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formula written with one syntax can be written with the other. Reports can contain formulas that use Basic syntax as well as formulas that use Crystal syntax. Crystal syntax is the formula language included in all prior versions of Crystal Reports. Basic Syntax is new to Crystal Reports 8. If you are familiar with Microsoft Visual Basic or other versions of Basic, then Basic syntax may be more familiar to you. In general, Basic syntax is modeled on Visual Basic except that it has specific extensions to handle reporting. If you are already comfortable with Crystal syntax, you can continue to use it, and benefit from the new functions, operators and control structures inspired by Visual Basic. Note: Report processing is not slowed down by using Basic syntax. Reports using Basic syntax formulas can run on any machine that Crystal Reports runs on. Also, using Basic syntax formulas does not require distributing any additional files with your reports. <<<<- Quoting CR Help ->>> ----- Original Message ----- From: "Drew Wutka" To: Sent: Saturday, March 08, 2003 10:27 AM Subject: RE: [AccessD] Access and Crystal Reports > Very good point. I've watched this thread from the outside, for two > reasons. I personally have never made a CR report, and at best I consider > myself an 'amatuer' at report generation in Access. When it comes to making > reports in Access, I can do some pretty nifty stuff with code, making > stupendous 'special' reports. However, there are people where I work that > do nothing but generate reports using the wizards, and then tweaking all > sorts of things. I have had to go into these reports from time to time, and > I must admit that they get them to do exactly what they want with relatively > little fuss. That is why I consider myself an amatuer at the report level, > because half the time I would have jumped to VBA....(go figure), instead of > using the solutions that were used. > > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Friday, March 07, 2003 7:13 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > > Shamil, > > True, CR allows independent sections in reports, and true this can be a > useful feature. But in my experience there never has been a report that > I had to create that needed this feature. > > My last word on this thread is this: Since everybody's previous > experiences and personal preferences are different, there is no one best > tool for everybody. Of the tools that are available to you and you are > comfortable using, try to pick the one that is most suitable for the > problem at hand. > > Have a nice day Shamil. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 15:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - > and I soon realized that despite the fact that the feature set of MS > Access and CR seems to be very similar, the real power of CR is in its > unique and looking at first not very significant feature of allowing to > have and manipulate on runtime of several (as many as you wish) > independent sections/areas of Report Header/Footer, Page Header/Footer, > Group Header/Footer and Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, > is when you need in CR to copy and paste (or cut and paste) a group of > controls within one report or between reports - here CR sometimes goes > "crazy" and you need to realigh controls manualy after paste > operation... > > Charles, I'd not like to have this thread to become"religious" debate > "CR vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 18:44:06 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 18:44:06 2003 Subject: [AccessD] Editing Records References: <006201c2e35e$2da2cc30$8e01a8c0@Rock> Message-ID: <007601c2e364$fde65280$d2e6ffcc@SusanOne> From mastercafe at ctv.es Sat Mar 8 19:08:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 19:08:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <011c01c2e593$692598a0$d5ecffcc@SusanOne> Message-ID: We have an application that his volumen is too high for any machine, we are checking information about MDA to translate de source code of libraries to another archive and how to use them. Any knows anything about MDA archives and how generate and use this?? Thanks Juan Menendez www.mastercafe.com From martyconnelly at shaw.ca Sat Mar 8 19:48:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 19:48:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <3E6A9D51.3080501@shaw.ca> I would write it off as the cost of doing business, it isn't worth the hassle to complain about some minor functionary or bureaucrat who probably doesn't understand all the rules and is too afraid to ask. I have run into the same thing with Canadian External Affairs in embassies overseas and got into arguments, only to find out it was local citizens handling the Visa sections run by one Canadian national who was too busy to oversee them what with all his demands of having to attend functions at the local Jockey club and golf course. Lodging a complaint against External Affairs is generally useless unless you threaten them with a press expose or high political action from their minister. I would get your partner to complain through his Dutch member of parliament, if you really wanted to raise the issue further. By the way the here is a description and cost of a Schengen Visa plus a pdf of the form from Dutch embassy in Washington. http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN Of course you could always expend some time filling in a Green Card lottery form for permanent residence in US (odds 1:100) rather than expending the time on a complaint. Better to light a candle than curse the darkness. http://www.usnis.org/ I have got my own back at times on Immigration types, once in Lagos Nigeria I was asked for dash ,mordida or baksheesh; to expedite my getting out of the country at the airport. So I reached into my throwdown wallet (in case of robbery) and pulled out a fistfull of Canadian Tire money (these are discount coupons that look like money in amounts of 10 cents through a dollar put out by an a Canadian Automotive chain store) explained to the guy I didn't have US cash but here was Canadian money. I could barely keep a straight face. Shamil Salakhetdinov wrote: >Hi All, > >I'm sorry I'm writing about that here - I just went very crazy today about >what they - Western Embassies and Consulates here and their bosses in Den >Haage (Netherlands) are doing... > >Here is a fresh story: > >- I applied for business Visum (15 days of staying, one entry) several days >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here >in Consualate General they ACCEPTED this application for BUSINESS visum and >they checked all the docs carefully) - to make that I prepared all the >needed paperwork, get original invitation from my partner from Netherlands >(DHL, second day delivery = rather expensive), even changed the passports to >make them fresh new (some more bucks) because at first they said that the >ones I had aren't good, PAID for their "services"(not that much but should >be enough for a rather good dinner for three I think) and I started to >wait... >And BTW I spent quite some time on all that prepations and quite some >bucks in total... > >Do you know what answer I've got today? (in fact my Netherland's partner was >called from Den Haage - Ministry of Foreign Affairs) - they said I should >have applied for TOURISTIC not BUSINESS visum because I plan to go with my >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED >them... > >Should I fight with them looking for truth with the risk to be written in >their "black lists" forever? >Or should I give up and accept the "rules" of their game? - there is a whole >business around them here - and one (including any kinds of criminals etc.) >can buy for money any kind of Visum and freely enter West Europe or States >or Canada... > >I wanted to make it direct and according to all the laws and I didn't want >to pay to the "shadow business around them" any extra money - and I've got >NOTHING - or I'd better say I and my partner in Netherlands got real >mockery... And they were harsh not only with me - they were that hostile >with my Netherland's partner too - how it comes? > >Shamil > >P.S. I know, probably Russian Embassies do something like that there in West >Europe - but should it justify what they are doing here these ambassadors of >"civilized" free world? > >-- >e-mail: shamil at smsconsulting.spb.ru >Web: http://www.smsconsulting.spb.ru/shamil_s > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From michael.mattys at adelphia.net Sat Mar 8 20:19:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 20:19:00 2003 Subject: [AccessD] A2k MDA References: Message-ID: <000b01c2e5e3$b7e99270$6401a8c0@default> Hi Juan, The wording of your request is difficult to me. Are you looking for an add-in that translates compiled libraries? Or, are you trying to make your application smaller by moving objects out to mda's? Or something else? Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 8:06 PM Subject: [AccessD] A2k MDA > We have an application that his volumen is too high for any machine, we are > checking information about MDA to translate de source code of libraries to > another archive and how to use them. > > Any knows anything about MDA archives and how generate and use this?? > > Thanks > > Juan Menendez > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Mar 8 20:36:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 20:36:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <000b01c2e5e3$b7e99270$6401a8c0@default> Message-ID: Basically we want to try smaller applications. We check to put all functions on an MDB archive, compile it to MDE and change the extensi?n to MDA, the program run correctly making a reference to MDA archive. We check to change MDB to MDA and run correctly too. Only need make a reference in VBA to this archive. The question is... this is the correct process?? we don't find any information about MDA archives to make and manipulate. And by other face... this MDA improve the speed in the application?? On your comment... There are an add-in that translate compiled libraries?? we don't know.. if you may send a link for this applications Many thanks Juan Menendez -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Michael R Mattys Enviado el: domingo, 09 de marzo de 2003 03:30 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] A2k MDA Hi Juan, The wording of your request is difficult to me. Are you looking for an add-in that translates compiled libraries? Or, are you trying to make your application smaller by moving objects out to mda's? Or something else? Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 8:06 PM Subject: [AccessD] A2k MDA > We have an application that his volumen is too high for any machine, we are > checking information about MDA to translate de source code of libraries to > another archive and how to use them. > > Any knows anything about MDA archives and how generate and use this?? > > Thanks > > Juan Menendez > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Mar 8 20:53:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 20:53:01 2003 Subject: [AccessD] A2k MDA References: Message-ID: <001701c2e5e8$6a18d1a0$6401a8c0@default> Juan, No, there is no add-in to translate a compiled library That would be a problem for all of us. You're right that all you need to do is set a reference to the mdb/mde to expose it's public functions. I believe you are looking to make either an mda or a COM add-in, also known as an ActiveX DLL. I make both of these, I will try to find you some links that I've collected on the subject. MSDN will be your starting point, most likely. Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 9:34 PM Subject: RE: [AccessD] A2k MDA > Basically we want to try smaller applications. We check to put all functions > on an MDB archive, compile it to MDE and change the extensi?n to MDA, the > program run correctly making a reference to MDA archive. We check to change > MDB to MDA and run correctly too. Only need make a reference in VBA to this > archive. > > The question is... this is the correct process?? we don't find any > information about MDA archives to make and manipulate. And by other face... > this MDA improve the speed in the application?? > > On your comment... There are an add-in that translate compiled libraries?? > we don't know.. if you may send a link for this applications > > Many thanks > > > Juan Menendez > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Michael R Mattys > Enviado el: domingo, 09 de marzo de 2003 03:30 > Para: accessd at databaseadvisors.com > Asunto: Re: [AccessD] A2k MDA > > > Hi Juan, > > The wording of your request is difficult to me. > > Are you looking for an add-in that translates > compiled libraries? > > Or, are you trying to make your application > smaller by moving objects out to mda's? > > Or something else? > > Mike Mattys > > ----- Original Message ----- > From: "MastercafeCTV" > To: > Sent: Saturday, March 08, 2003 8:06 PM > Subject: [AccessD] A2k MDA > > > > We have an application that his volumen is too high for any machine, we > are > > checking information about MDA to translate de source code of libraries to > > another archive and how to use them. > > > > Any knows anything about MDA archives and how generate and use this?? > > > > Thanks > > > > Juan Menendez > > www.mastercafe.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 21:09:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 21:09:00 2003 Subject: [AccessD] A2k MDA References: Message-ID: <3E6AB013.80503@shaw.ca> Here is an old article on how to use and create addins or mda files. You can also open certain mda files just as would an mdb to examine and build them. These articles and code are starting to disappear so keep a copy http://www.microsoft.com/accessdev/articles/fn14.htm and http://www.microsoft.com/AccessDev/Articles/TempWiz.htm MastercafeCTV wrote: >We have an application that his volumen is too high for any machine, we are >checking information about MDA to translate de source code of libraries to >another archive and how to use them. > >Any knows anything about MDA archives and how generate and use this?? > >Thanks > >Juan Menendez >www.mastercafe.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From michael.mattys at adelphia.net Sat Mar 8 21:25:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 21:25:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> Message-ID: <002701c2e5ec$d72a4770$6401a8c0@default> Juan, Group Marty gave you some good ones, try these too. HOWTO: Build an Office 2000 COM Add-In in Visual Basic http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 Creating a Microsoft Office 2000 COM Add-in http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp Microsoft's Component Object Model (COM) technologies Web site http://air.knu.ac.kr/reference/COM/default.asp.htm Microsoft Office and OLE Automation Documentation Links http://www.jinks.com/JTMOther/JTMAutomation.html From mastercafe at ctv.es Sat Mar 8 21:32:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 21:32:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <3E6AB013.80503@shaw.ca> Message-ID: Many thanks for the information I will check and copy -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de MartyConnelly Enviado el: domingo, 09 de marzo de 2003 04:08 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] A2k MDA Here is an old article on how to use and create addins or mda files. You can also open certain mda files just as would an mdb to examine and build them. These articles and code are starting to disappear so keep a copy http://www.microsoft.com/accessdev/articles/fn14.htm and http://www.microsoft.com/AccessDev/Articles/TempWiz.htm MastercafeCTV wrote: >We have an application that his volumen is too high for any machine, we are >checking information about MDA to translate de source code of libraries to >another archive and how to use them. > >Any knows anything about MDA archives and how generate and use this?? > >Thanks > >Juan Menendez >www.mastercafe.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 bellsouth.net Sat Mar 8 21:42:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 21:42:01 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> Message-ID: <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 10:34 PM Subject: Re: [AccessD] A2k MDA > Juan, Group > > Marty gave you some good ones, try these too. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 > > Creating a Microsoft Office 2000 COM Add-in > http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp > > Microsoft's Component Object Model (COM) technologies Web site > http://air.knu.ac.kr/reference/COM/default.asp.htm > > Microsoft Office and OLE Automation Documentation Links > http://www.jinks.com/JTMOther/JTMAutomation.html > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sat Mar 8 21:50:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 21:50:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> Message-ID: <006701c2e5ee$fe972290$6101a8c0@amd2k512> ...for more current information on writing addin/mda libraries for Access, check out Woodys and Helen Feddema's sites ...she has just completed a four part series for Woody's Access watch with downloadable mdb/mda samples that is the most thorough I've seen from an Access developer perspective. HTH :) http://www.woodyswatch.com/access/index.asp http://www.helenfeddema.com/access.htm William Hindman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 10:34 PM Subject: Re: [AccessD] A2k MDA > Juan, Group > > Marty gave you some good ones, try these too. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 > > Creating a Microsoft Office 2000 COM Add-in > http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp > > Microsoft's Component Object Model (COM) technologies Web site > http://air.knu.ac.kr/reference/COM/default.asp.htm > > Microsoft Office and OLE Automation Documentation Links > http://www.jinks.com/JTMOther/JTMAutomation.html > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.mattys at adelphia.net Sat Mar 8 22:11:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 22:11:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> Message-ID: <003901c2e5f3$5e162b40$6401a8c0@default> Mr. Hindman I thought you lost your voice for a minute :) Thanks for the Helen Feddema link, I haven't been there since article 58. Good stuff! Mike Mattys ----- Original Message ----- From: "William Hindman" To: Sent: Saturday, March 08, 2003 10:41 PM Subject: Re: [AccessD] A2k MDA > > William Hindman From wdhindman at bellsouth.net Sat Mar 8 22:19:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 22:19:01 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> <003901c2e5f3$5e162b40$6401a8c0@default> Message-ID: <00db01c2e5f3$0404c3f0$6101a8c0@amd2k512> ...sorry Mike ...new system is giving me a pita working out bugs :(((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 11:21 PM Subject: Re: [AccessD] A2k MDA > Mr. Hindman > > I thought you lost your voice for a minute :) > Thanks for the Helen Feddema link, I haven't > been there since article 58. Good stuff! > > Mike Mattys > > ----- Original Message ----- > From: "William Hindman" > To: > Sent: Saturday, March 08, 2003 10:41 PM > Subject: Re: [AccessD] A2k MDA > > > > > > William Hindman > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sun Mar 9 03:34:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 03:34:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82265@main2.marlow.com> Message-ID: <001401c2e61e$fd898250$b501010a@DAISY.local> Drew, It looks like it cannot use Win API directly but: <<<+ quoting CR help +>>> The Seagate Crystal Reports Formula Editor and formula language are powerful tools, enabling you to perform a wide variety of report-related tasks easily and efficiently. The formula language is expandable as well. That is, while it already includes a large selection of useful functions, it also comes with the ability to accept new functions that you define to meet your needs. User Defined Functions that are recognized by the Seagate Crystal Reports Formula Editor can be created in a Dynamic Link Library or, for 32-bit environments, in an Automation Server. <<<- quoting CR help ->>> I.e. you can create helper DLL/ActiveX Dll following CR extention call protocol and use Win API this way... But what Win API calls are needed for reports' generation? HTH, Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 2:50 AM Subject: RE: [AccessD] Access and Crystal Reports > Can this programming language handle API Calls? > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Saturday, March 08, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > <<< > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > >>> > Drew, > > Yes, CR has a program language used to create formulas - see P.S. > What is important to note is that CR report generation customization IS NOT > event driven! > This shocks at first an MS Access developer (that's from my experience)... > Then when you get comfortable with that "new ideology" you see that it's > very flexible... > I'd say that the usual customization technique in CR is data-driven... > I expect you to "fall in love" with CR because the tricks it allows to do > aren't possible in MS Access - the key to the tricks IMO are sections (these > are subsections of Report Header/Footer, Page Header/Footer,...) and > formulas, which can be specified on different levels of reports to control > properties' values of report objects on runtime... > And of course you'll love drill-down (live reports) - this is where one CR > report may substitute several MS Access forms and reports with subreports... > And of course you'll love easy migration of all that stuff(reports) to the > Web from where they can be interactively using very good and effective data > cashing technique... > ... > > > instead of > > using the solutions that were used. > There are good Wizards for CR too but CR profis seldom use them (I'm not the > one of such profis because I've had just a casual project with CR) . > CR can be used by powerusers I think for the cases like you describe but > it's much more for programmers because only programmers are able to show the > real power of CR through reports they create with it using formulas... > > Shamil > > > P.S. > <<<<+ Quoting CR Help +>>> > formula > A formula is a symbolic statement of the modifications you want performed on > certain data before it is printed on your report. > > For example, if your report is to contain a {file.SALES} field and a > {file.COST} field, you may want to create a GrossProfit field and designate > its text strings as {file.SALES} - {file.COST}. This is a simple formula > that tells the program to subtract the value of the {file.COST} field from > the value of the {file.SALES} field and then to print the result. > > You can use formulas to calculate numeric values, compare one value to > another and select alternative actions based on the comparison, join > multiple value into a single string, and to perform a multitude of other > operations. Creating a formula in Crystal Reports is much like creating a > formula in your favorite spreadsheet. > > Note: The term "formula" in Crystal Reports is equivalent to the term > "expression" in Microsoft Access. > > Crystal and Basic Syntax > When creating formulas, you have the option of using either Crystal or Basic > syntax. Almost any formula written with one syntax can be written with the > other. Reports can contain formulas that use Basic syntax as well as > formulas that use Crystal syntax. > > Crystal syntax is the formula language included in all prior versions of > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > If you are familiar with Microsoft Visual Basic or other versions of Basic, > then Basic syntax may be more familiar to you. In general, Basic syntax is > modeled on Visual Basic except that it has specific extensions to handle > reporting. > > If you are already comfortable with Crystal syntax, you can continue to use > it, and benefit from the new functions, operators and control structures > inspired by Visual Basic. > > Note: Report processing is not slowed down by using Basic syntax. Reports > using Basic syntax formulas can run on any machine that Crystal Reports runs > on. Also, using Basic syntax formulas does not require distributing any > additional files with your reports. > > <<<<- Quoting CR Help ->>> > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Saturday, March 08, 2003 10:27 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Very good point. I've watched this thread from the outside, for two > > reasons. I personally have never made a CR report, and at best I consider > > myself an 'amatuer' at report generation in Access. When it comes to > making > > reports in Access, I can do some pretty nifty stuff with code, making > > stupendous 'special' reports. However, there are people where I work that > > do nothing but generate reports using the wizards, and then tweaking all > > sorts of things. I have had to go into these reports from time to time, > and > > I must admit that they get them to do exactly what they want with > relatively > > little fuss. That is why I consider myself an amatuer at the report > level, > > because half the time I would have jumped to VBA....(go figure), instead > of > > using the solutions that were used. > > > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > > > > Drew > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Friday, March 07, 2003 7:13 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > Shamil, > > > > True, CR allows independent sections in reports, and true this can be a > > useful feature. But in my experience there never has been a report that > > I had to create that needed this feature. > > > > My last word on this thread is this: Since everybody's previous > > experiences and personal preferences are different, there is no one best > > tool for everybody. Of the tools that are available to you and you are > > comfortable using, try to pick the one that is most suitable for the > > problem at hand. > > > > Have a nice day Shamil. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 15:59 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Access 2002 and CR 9.0 are > > > almost identical in their feature sets. > > Charles, > > > > I thought the same but then I made approx. 50 real-life CR reports for > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > programming/reporting and CR itself (I worked as his subcontractor) - > > and I soon realized that despite the fact that the feature set of MS > > Access and CR seems to be very similar, the real power of CR is in its > > unique and looking at first not very significant feature of allowing to > > have and manipulate on runtime of several (as many as you wish) > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > Group Header/Footer and Details... > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > is when you need in CR to copy and paste (or cut and paste) a group of > > controls within one report or between reports - here CR sometimes goes > > "crazy" and you need to realigh controls manualy after paste > > operation... > > > > Charles, I'd not like to have this thread to become"religious" debate > > "CR vs. MS Access report generator" - let's stop it? - after your > > contr-arguments if you wish! :) > > > > Shamil > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Mar 9 08:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 9 08:09:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <000b01c2e5bb$047189f0$f8c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk> <000b01c2e5bb$047189f0$f8c581d5@pedro> Message-ID: <17815673307.20030309150822@cactus.dk> Hi Pedro Well, didn't imagine you had one field only. Anyway, here's the SQL to extract those dates for three years. If dates are not unique, you'll have to replace every occurrence of UNION with UNION ALL as shown: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year],1,1) UNION ALL SELECT TOP 5 Year+1 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+1,1,1) UNION ALL SELECT TOP 5 Year+2 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+2,1,1) ORDER BY Year5, [datum]; If dates are not unique but you wish to extract the first five unique dates for each year, you'll have to group by the date like this: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year],1,1) GROUP BY [datum] UNION SELECT TOP 5 Year+1 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+1,1,1) GROUP BY [datum] UNION SELECT TOP 5 Year+2 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+2,1,1) GROUP BY [datum] ORDER BY Year5, [datum]; All this, of course, assumes that your date field is of type date/time-value. /gustav > When i use only the part of the query with Year the result is good, but the > Parameters is asking for the year and afterthat for Year5. I don't > understand this. > When i use Year and Union Year+1 i get result that don't fit. > Maybe it has something to do with the fieldnames. In your query which field > is ID and which field is DateTrans. > For example in TblTrans i only have one field [datum]. > From this field [datum] i need each year the first 5 dates. > Couls you give me the sql for Year and Year+1. >> Sure. In addition to the correct comments of Drew, here is the union >> query which collects data from maximum three years. If you need more >> years, simply insert more "Union Select ..." sections where you for >> each section increase by 1 the number to add to Year. >> >> >> >> PARAMETERS >> Year Short; >> SELECT TOP 5 >> Year AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year],1,1) >> UNION >> SELECT TOP 5 >> Year+1 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+1,1,1) >> UNION >> SELECT TOP 5 >> Year+2 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+2,1,1) >> ORDER BY >> Year5, >> ID; >> >> >> >> You will, of course, have to change the names of table and fields to >> those of your table. From Subscriptions at servicexp.com Sun Mar 9 08:56:00 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sun Mar 9 08:56:00 2003 Subject: [AccessD] BEU V2 Problems In-Reply-To: <17815673307.20030309150822@cactus.dk> Message-ID: Ok, I'm not sure if it's ok to post this here, but the forums have been down for a while now, and need to find a solution.... I have been working with V2 and have run into a situation that I can't seem to get a handle on, and can't seemed to find any rhyme or reason to.. Sequence of operations (Network) Win 98,ME,XP A2K 1. User starts new program with the BEU performing it operations, with out flaw,(a new table). 2. 99% of the time, the machine that runs the new program for the first time has no problems. 3. User loads new version on the **other** machines, and fires it up (the same User (permissions) as the first), and then performs the re-link process. 4. When completed the user re-starts (I shut the program down after relinking) the program and they start getting errors, because the new table(s) were not refreshed during the re-linking (this is what I'm assuming). This takes place about 40-50% of the time.. The table that has been added is written to on startup, to log the user, machine name, etc.., and the error is in regards to not being able to find the table that is missing. I can't seem to get a handle on this, does anyone have any idea where I should look? Thanks A Million! Robert Gracie From artful at rogers.com Sun Mar 9 09:04:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 09:04:00 2003 Subject: [AccessD] Iterating Controls Message-ID: <000d01c2e64d$0851e410$8e01a8c0@Rock> Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply. TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 09:16:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 09:16:00 2003 Subject: [AccessD] Iterating Controls References: <000d01c2e64d$0851e410$8e01a8c0@Rock> Message-ID: <009c01c2e650$22a70ae0$6401a8c0@default> Hi Arthur, You're looking too far to see it up close :) On Error Resume Next Mike Mattys ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Sunday, March 09, 2003 10:03 AM Subject: [AccessD] Iterating Controls Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply. TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sun Mar 9 09:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 09:49:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <009c01c2e650$22a70ae0$6401a8c0@default> Message-ID: <001601c2e653$5ae709c0$8e01a8c0@Rock> Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From michael.mattys at adelphia.net Sun Mar 9 10:02:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 10:02:00 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> Message-ID: <00ac01c2e656$934da370$6401a8c0@default> But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From michael.mattys at adelphia.net Sun Mar 9 10:11:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 10:11:01 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> <00ac01c2e656$934da370$6401a8c0@default> Message-ID: <00b801c2e657$e7252670$6401a8c0@default> Arthur, Before you tell me I'm wrong I'm probably wrong I'll look a bit closer But there are things you can't do in ADO http://www.trigeminal.com/usenet/usenet025.asp?1033 ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:11 AM Subject: Re: [AccessD] Iterating Controls But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From chris at denverdb.com Sun Mar 9 10:15:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Sun Mar 9 10:15:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <00ac01c2e656$934da370$6401a8c0@default> Message-ID: Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Sunday, March 09, 2003 9:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here?s the whole sub, and all it prints is the names of the forms. Here?s the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub A good example would be a report run by a network administrator, which shows information on network users. Some info stored in a database, some from say 'drive' space used, and some using API calls to retrieve domain settings. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Sunday, March 09, 2003 3:34 AM To: AccessD Subject: Re: [AccessD] Access and Crystal Reports Drew, It looks like it cannot use Win API directly but: <<<+ quoting CR help +>>> The Seagate Crystal Reports Formula Editor and formula language are powerful tools, enabling you to perform a wide variety of report-related tasks easily and efficiently. The formula language is expandable as well. That is, while it already includes a large selection of useful functions, it also comes with the ability to accept new functions that you define to meet your needs. User Defined Functions that are recognized by the Seagate Crystal Reports Formula Editor can be created in a Dynamic Link Library or, for 32-bit environments, in an Automation Server. <<<- quoting CR help ->>> I.e. you can create helper DLL/ActiveX Dll following CR extention call protocol and use Win API this way... But what Win API calls are needed for reports' generation? HTH, Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 2:50 AM Subject: RE: [AccessD] Access and Crystal Reports > Can this programming language handle API Calls? > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Saturday, March 08, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > <<< > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > >>> > Drew, > > Yes, CR has a program language used to create formulas - see P.S. > What is important to note is that CR report generation customization IS NOT > event driven! > This shocks at first an MS Access developer (that's from my experience)... > Then when you get comfortable with that "new ideology" you see that it's > very flexible... > I'd say that the usual customization technique in CR is data-driven... > I expect you to "fall in love" with CR because the tricks it allows to do > aren't possible in MS Access - the key to the tricks IMO are sections (these > are subsections of Report Header/Footer, Page Header/Footer,...) and > formulas, which can be specified on different levels of reports to control > properties' values of report objects on runtime... > And of course you'll love drill-down (live reports) - this is where one CR > report may substitute several MS Access forms and reports with subreports... > And of course you'll love easy migration of all that stuff(reports) to the > Web from where they can be interactively using very good and effective data > cashing technique... > ... > > > instead of > > using the solutions that were used. > There are good Wizards for CR too but CR profis seldom use them (I'm not the > one of such profis because I've had just a casual project with CR) . > CR can be used by powerusers I think for the cases like you describe but > it's much more for programmers because only programmers are able to show the > real power of CR through reports they create with it using formulas... > > Shamil > > > P.S. > <<<<+ Quoting CR Help +>>> > formula > A formula is a symbolic statement of the modifications you want performed on > certain data before it is printed on your report. > > For example, if your report is to contain a {file.SALES} field and a > {file.COST} field, you may want to create a GrossProfit field and designate > its text strings as {file.SALES} - {file.COST}. This is a simple formula > that tells the program to subtract the value of the {file.COST} field from > the value of the {file.SALES} field and then to print the result. > > You can use formulas to calculate numeric values, compare one value to > another and select alternative actions based on the comparison, join > multiple value into a single string, and to perform a multitude of other > operations. Creating a formula in Crystal Reports is much like creating a > formula in your favorite spreadsheet. > > Note: The term "formula" in Crystal Reports is equivalent to the term > "expression" in Microsoft Access. > > Crystal and Basic Syntax > When creating formulas, you have the option of using either Crystal or Basic > syntax. Almost any formula written with one syntax can be written with the > other. Reports can contain formulas that use Basic syntax as well as > formulas that use Crystal syntax. > > Crystal syntax is the formula language included in all prior versions of > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > If you are familiar with Microsoft Visual Basic or other versions of Basic, > then Basic syntax may be more familiar to you. In general, Basic syntax is > modeled on Visual Basic except that it has specific extensions to handle > reporting. > > If you are already comfortable with Crystal syntax, you can continue to use > it, and benefit from the new functions, operators and control structures > inspired by Visual Basic. > > Note: Report processing is not slowed down by using Basic syntax. Reports > using Basic syntax formulas can run on any machine that Crystal Reports runs > on. Also, using Basic syntax formulas does not require distributing any > additional files with your reports. > > <<<<- Quoting CR Help ->>> > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Saturday, March 08, 2003 10:27 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Very good point. I've watched this thread from the outside, for two > > reasons. I personally have never made a CR report, and at best I consider > > myself an 'amatuer' at report generation in Access. When it comes to > making > > reports in Access, I can do some pretty nifty stuff with code, making > > stupendous 'special' reports. However, there are people where I work that > > do nothing but generate reports using the wizards, and then tweaking all > > sorts of things. I have had to go into these reports from time to time, > and > > I must admit that they get them to do exactly what they want with > relatively > > little fuss. That is why I consider myself an amatuer at the report > level, > > because half the time I would have jumped to VBA....(go figure), instead > of > > using the solutions that were used. > > > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > > > > Drew > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Friday, March 07, 2003 7:13 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > Shamil, > > > > True, CR allows independent sections in reports, and true this can be a > > useful feature. But in my experience there never has been a report that > > I had to create that needed this feature. > > > > My last word on this thread is this: Since everybody's previous > > experiences and personal preferences are different, there is no one best > > tool for everybody. Of the tools that are available to you and you are > > comfortable using, try to pick the one that is most suitable for the > > problem at hand. > > > > Have a nice day Shamil. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 15:59 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Access 2002 and CR 9.0 are > > > almost identical in their feature sets. > > Charles, > > > > I thought the same but then I made approx. 50 real-life CR reports for > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > programming/reporting and CR itself (I worked as his subcontractor) - > > and I soon realized that despite the fact that the feature set of MS > > Access and CR seems to be very similar, the real power of CR is in its > > unique and looking at first not very significant feature of allowing to > > have and manipulate on runtime of several (as many as you wish) > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > Group Header/Footer and Details... > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > is when you need in CR to copy and paste (or cut and paste) a group of > > controls within one report or between reports - here CR sometimes goes > > "crazy" and you need to realigh controls manualy after paste > > operation... > > > > Charles, I'd not like to have this thread to become"religious" debate > > "CR vs. MS Access report generator" - let's stop it? - after your > > contr-arguments if you wish! :) > > > > Shamil > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 9 11:02:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 11:02:01 2003 Subject: [AccessD] Iterating Controls In-Reply-To: Message-ID: <003301c2e65d$7e4b3440$8e01a8c0@Rock> Beauty. Thanks for that! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 9, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC From shamil at smsconsulting.spb.ru Sun Mar 9 11:02:26 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 11:02:26 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82266@main2.marlow.com> Message-ID: <001b01c2e65d$98231c20$b501010a@DAISY.local> This can be done IMO by using DLL/ActiveX extensions but the question is why this API calls should be executed on report generation? Why not get all the collected by API data on report data retrieval stage? Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 7:15 PM Subject: RE: [AccessD] Access and Crystal Reports > A good example would be a report run by a network administrator, which shows > information on network users. Some info stored in a database, some from say > 'drive' space used, and some using API calls to retrieve domain settings. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Sunday, March 09, 2003 3:34 AM > To: AccessD > Subject: Re: [AccessD] Access and Crystal Reports > > > Drew, > > It looks like it cannot use Win API directly but: > > <<<+ quoting CR help +>>> > The Seagate Crystal Reports Formula Editor and formula language are powerful > tools, enabling you to perform a wide variety of report-related tasks easily > and efficiently. The formula language is expandable as well. That is, while > it already includes a large selection of useful functions, it also comes > with the ability to accept new functions that you define to meet your needs. > User Defined Functions that are recognized by the Seagate Crystal Reports > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > environments, in an Automation Server. > <<<- quoting CR help ->>> > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > protocol and use Win API this way... > > But what Win API calls are needed for reports' generation? > > HTH, > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 2:50 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Can this programming language handle API Calls? > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Saturday, March 08, 2003 11:52 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > <<< > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > >>> > > Drew, > > > > Yes, CR has a program language used to create formulas - see P.S. > > What is important to note is that CR report generation customization IS > NOT > > event driven! > > This shocks at first an MS Access developer (that's from my experience)... > > Then when you get comfortable with that "new ideology" you see that it's > > very flexible... > > I'd say that the usual customization technique in CR is data-driven... > > I expect you to "fall in love" with CR because the tricks it allows to do > > aren't possible in MS Access - the key to the tricks IMO are sections > (these > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > formulas, which can be specified on different levels of reports to control > > properties' values of report objects on runtime... > > And of course you'll love drill-down (live reports) - this is where one CR > > report may substitute several MS Access forms and reports with > subreports... > > And of course you'll love easy migration of all that stuff(reports) to the > > Web from where they can be interactively using very good and effective > data > > cashing technique... > > ... > > > > > instead of > > > using the solutions that were used. > > There are good Wizards for CR too but CR profis seldom use them (I'm not > the > > one of such profis because I've had just a casual project with CR) . > > CR can be used by powerusers I think for the cases like you describe but > > it's much more for programmers because only programmers are able to show > the > > real power of CR through reports they create with it using formulas... > > > > Shamil > > > > > > P.S. > > <<<<+ Quoting CR Help +>>> > > formula > > A formula is a symbolic statement of the modifications you want performed > on > > certain data before it is printed on your report. > > > > For example, if your report is to contain a {file.SALES} field and a > > {file.COST} field, you may want to create a GrossProfit field and > designate > > its text strings as {file.SALES} - {file.COST}. This is a simple formula > > that tells the program to subtract the value of the {file.COST} field from > > the value of the {file.SALES} field and then to print the result. > > > > You can use formulas to calculate numeric values, compare one value to > > another and select alternative actions based on the comparison, join > > multiple value into a single string, and to perform a multitude of other > > operations. Creating a formula in Crystal Reports is much like creating a > > formula in your favorite spreadsheet. > > > > Note: The term "formula" in Crystal Reports is equivalent to the term > > "expression" in Microsoft Access. > > > > Crystal and Basic Syntax > > When creating formulas, you have the option of using either Crystal or > Basic > > syntax. Almost any formula written with one syntax can be written with the > > other. Reports can contain formulas that use Basic syntax as well as > > formulas that use Crystal syntax. > > > > Crystal syntax is the formula language included in all prior versions of > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > If you are familiar with Microsoft Visual Basic or other versions of > Basic, > > then Basic syntax may be more familiar to you. In general, Basic syntax is > > modeled on Visual Basic except that it has specific extensions to handle > > reporting. > > > > If you are already comfortable with Crystal syntax, you can continue to > use > > it, and benefit from the new functions, operators and control structures > > inspired by Visual Basic. > > > > Note: Report processing is not slowed down by using Basic syntax. > Reports > > using Basic syntax formulas can run on any machine that Crystal Reports > runs > > on. Also, using Basic syntax formulas does not require distributing any > > additional files with your reports. > > > > <<<<- Quoting CR Help ->>> > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Saturday, March 08, 2003 10:27 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Very good point. I've watched this thread from the outside, for two > > > reasons. I personally have never made a CR report, and at best I > consider > > > myself an 'amatuer' at report generation in Access. When it comes to > > making > > > reports in Access, I can do some pretty nifty stuff with code, making > > > stupendous 'special' reports. However, there are people where I work > that > > > do nothing but generate reports using the wizards, and then tweaking all > > > sorts of things. I have had to go into these reports from time to time, > > and > > > I must admit that they get them to do exactly what they want with > > relatively > > > little fuss. That is why I consider myself an amatuer at the report > > level, > > > because half the time I would have jumped to VBA....(go figure), instead > > of > > > using the solutions that were used. > > > > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > > > > > Drew > > > > > > -----Original Message----- > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > Sent: Friday, March 07, 2003 7:13 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > Shamil, > > > > > > True, CR allows independent sections in reports, and true this can be a > > > useful feature. But in my experience there never has been a report that > > > I had to create that needed this feature. > > > > > > My last word on this thread is this: Since everybody's previous > > > experiences and personal preferences are different, there is no one best > > > tool for everybody. Of the tools that are available to you and you are > > > comfortable using, try to pick the one that is most suitable for the > > > problem at hand. > > > > > > Have a nice day Shamil. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Thursday 2003 Mar 06 15:59 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > Access 2002 and CR 9.0 are > > > > almost identical in their feature sets. > > > Charles, > > > > > > I thought the same but then I made approx. 50 real-life CR reports for > > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > > programming/reporting and CR itself (I worked as his subcontractor) - > > > and I soon realized that despite the fact that the feature set of MS > > > Access and CR seems to be very similar, the real power of CR is in its > > > unique and looking at first not very significant feature of allowing to > > > have and manipulate on runtime of several (as many as you wish) > > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > > Group Header/Footer and Details... > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > > is when you need in CR to copy and paste (or cut and paste) a group of > > > controls within one report or between reports - here CR sometimes goes > > > "crazy" and you need to realigh controls manualy after paste > > > operation... > > > > > > Charles, I'd not like to have this thread to become"religious" debate > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > contr-arguments if you wish! :) > > > > > > Shamil > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From chris at denverdb.com Sun Mar 9 11:11:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Sun Mar 9 11:11:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <003301c2e65d$7e4b3440$8e01a8c0@Rock> Message-ID: You're welcome, glad I could help. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Sunday, March 09, 2003 10:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Beauty. Thanks for that! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 9, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Sun Mar 9 11:46:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sun Mar 9 11:46:00 2003 Subject: [AccessD] Iterating Controls Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54BBA@TTNEXCHSRV1.hshhp.com> Works fine in A97 dimming frm as Form and setting it to Me withing a form module. Could the AllForms collection be returning something other than a Form object? Try wrapping your For...Next in an If...TypeOf block to see if you can weed out "bad" object references. HTH, Jim DeMarco (what am I doing working on a Sunday?) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, March 09, 2003 10:03 AM To: AccessD Subject: [AccessD] Iterating Controls Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply... TIA, Arthur *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sun Mar 9 12:08:08 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 12:08:08 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> Message-ID: <004c01c2e666$b540ca10$b501010a@DAISY.local> > But I'm not sure what. Arthur, You open a form but don't assign an object variable referring to this open form instance - something like that should work: dim efrm as AccessObject dim frm as Access.Form ... for each efrm in CurrentProject.AllForms ... DoCmd.OpenForm efrm.name, acDesign set frm=Forms(efrm.name) ... next efrm HTH, Shamil ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 6:48 PM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From martyconnelly at shaw.ca Sun Mar 9 12:24:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 9 12:24:00 2003 Subject: [AccessD] BEU V2 Problems References: Message-ID: <3E6B86C1.4030706@shaw.ca> Here is a hint or suggestion from Michael Kaplan "For linked tables, there is a LOT of info cached by Jet in the link as an optimization. However, sometimes backend changes are made and that cached info is not invalidated as it should be, and it causes a huge perf hit as Jet tries things that fail (at which point I have seen cases where even RefreshLink would not totally make this work right)." "The fix? If this is the problem? You should completely delete the links in the frontend, then after making sure you have recently defraged then compacted the backend and frontend, relink all the tables." I guess the defrag is optional but not the compacts. Robert Gracie wrote: > Ok, I'm not sure if it's ok to post this here, but the forums have been >down for a while now, and need to find a solution.... > > I have been working with V2 and have run into a situation that I can't seem >to get a handle on, and can't seemed to find any rhyme or reason to.. > >Sequence of operations (Network) Win 98,ME,XP A2K > >1. User starts new program with the BEU performing it operations, with out >flaw,(a new table). >2. 99% of the time, the machine that runs the new program for the first time >has no problems. >3. User loads new version on the **other** machines, and fires it up (the >same User (permissions) as the first), and then performs the re-link >process. >4. When completed the user re-starts (I shut the program down after >relinking) the program and they start getting errors, because the new >table(s) were not refreshed during the re-linking (this is what I'm >assuming). This takes place about 40-50% of the time.. > >The table that has been added is written to on startup, to log the user, >machine name, etc.., and the error is in regards to not being able to find >the table that is missing. > >I can't seem to get a handle on this, does anyone have any idea where I >should look? > >Thanks A Million! > >Robert Gracie > > > From bchacc at san.rr.com Sun Mar 9 12:45:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 12:45:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: <012901c2e66c$0384b380$6601a8c0@HAL9002> Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Sun Mar 9 13:17:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 9 13:17:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <012901c2e66c$0384b380$6601a8c0@HAL9002> Message-ID: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Sun Mar 9 13:33:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 9 13:33:00 2003 Subject: [AccessD] compact on close Message-ID: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> The Compact on Close feature doesn't always compact automatically. There's a memory savings threshold that has to be met before it will actually compact and I can't find that amount -- anyone know what it is? I've checked Help and the KB. Susan H. From artful at rogers.com Sun Mar 9 13:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 13:49:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <004c01c2e666$b540ca10$b501010a@DAISY.local> Message-ID: <004701c2e674$d89c9350$8e01a8c0@Rock> I have a lot of other things on my mind today, and clearly I am now dazed and confused, and no doubt overlooking something very obvious. Here is the current code: Public Sub ListDataSources() On Error Resume Next Dim strOutFile As String Dim fs As Object Dim a As Object Dim frm As Form Dim ctl As Control Dim objFrm As Object strOutFile = "c:\RecordSources.txt" Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Application.Echo False For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.name, acDesign Set frm = Forms(objFrm.name) If frm.RecordSource <> "" Then Debug.Print objFrm.name & ": " & frm.RecordSource a.writeline "Form: " & objFrm.name a.writeline "===========================================" a.writeline "RecordSource:" a.writeline frm.RecordSource a.writeline a.writeline "Data Driven Controls" a.writeline "--------------------" For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox '111 Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource:" a.writeline ctl.RowSource Case acListBox '110 Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource:" a.writeline ctl.RowSource Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select a.writeline Next ctl End If Set frm = Nothing DoCmd.Close acForm, objFrm.name, acSaveNo Next a.Close Application.Echo True Set frm = Nothing Set fs = Nothing Set a = Nothing Set ctl = Nothing End Sub The odd thing is that the debug window performs exactly as expected, but the text file contains only this: Form: Switchboard =========================================== RecordSource: Select * From dbo.Switchboard_Items_2002Dec02 Data Driven Controls -------------------- I can't see why the debug.print statements dump what I want but the a.writeline statement don't. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: March 9, 2003 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls > But I'm not sure what. Arthur, You open a form but don't assign an object variable referring to this open form instance - something like that should work: dim efrm as AccessObject dim frm as Access.Form ... for each efrm in CurrentProject.AllForms ... DoCmd.OpenForm efrm.name, acDesign set frm=Forms(efrm.name) ... next efrm HTH, Shamil -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Sun Mar 9 13:57:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 13:57:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82267@main2.marlow.com> I guess I am just playing devil's advocate. Since Access let's you use VBA within it's reports, and VBA can be used to do practically anything in Windows, or Access, then it stands to say that there is virtually nothing that CR can do, which Access can't. Sure, there are always going to be speed/ease of use issues, however, I think that one major advantage, which blows CR away, is that the reporting within Access is a component of Access, not a special add-in. Again, I have rarely used CR, so I am not trying to hack it, just defending Access a bit. Drew -----Original Message----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: 3/9/03 11:01 AM Subject: Re: [AccessD] Access and Crystal Reports This can be done IMO by using DLL/ActiveX extensions but the question is why this API calls should be executed on report generation? Why not get all the collected by API data on report data retrieval stage? Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 7:15 PM Subject: RE: [AccessD] Access and Crystal Reports > A good example would be a report run by a network administrator, which shows > information on network users. Some info stored in a database, some from say > 'drive' space used, and some using API calls to retrieve domain settings. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Sunday, March 09, 2003 3:34 AM > To: AccessD > Subject: Re: [AccessD] Access and Crystal Reports > > > Drew, > > It looks like it cannot use Win API directly but: > > <<<+ quoting CR help +>>> > The Seagate Crystal Reports Formula Editor and formula language are powerful > tools, enabling you to perform a wide variety of report-related tasks easily > and efficiently. The formula language is expandable as well. That is, while > it already includes a large selection of useful functions, it also comes > with the ability to accept new functions that you define to meet your needs. > User Defined Functions that are recognized by the Seagate Crystal Reports > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > environments, in an Automation Server. > <<<- quoting CR help ->>> > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > protocol and use Win API this way... > > But what Win API calls are needed for reports' generation? > > HTH, > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 2:50 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Can this programming language handle API Calls? > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Saturday, March 08, 2003 11:52 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > <<< > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > >>> > > Drew, > > > > Yes, CR has a program language used to create formulas - see P.S. > > What is important to note is that CR report generation customization IS > NOT > > event driven! > > This shocks at first an MS Access developer (that's from my experience)... > > Then when you get comfortable with that "new ideology" you see that it's > > very flexible... > > I'd say that the usual customization technique in CR is data-driven... > > I expect you to "fall in love" with CR because the tricks it allows to do > > aren't possible in MS Access - the key to the tricks IMO are sections > (these > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > formulas, which can be specified on different levels of reports to control > > properties' values of report objects on runtime... > > And of course you'll love drill-down (live reports) - this is where one CR > > report may substitute several MS Access forms and reports with > subreports... > > And of course you'll love easy migration of all that stuff(reports) to the > > Web from where they can be interactively using very good and effective > data > > cashing technique... > > ... > > > > > instead of > > > using the solutions that were used. > > There are good Wizards for CR too but CR profis seldom use them (I'm not > the > > one of such profis because I've had just a casual project with CR) . > > CR can be used by powerusers I think for the cases like you describe but > > it's much more for programmers because only programmers are able to show > the > > real power of CR through reports they create with it using formulas... > > > > Shamil > > > > > > P.S. > > <<<<+ Quoting CR Help +>>> > > formula > > A formula is a symbolic statement of the modifications you want performed > on > > certain data before it is printed on your report. > > > > For example, if your report is to contain a {file.SALES} field and a > > {file.COST} field, you may want to create a GrossProfit field and > designate > > its text strings as {file.SALES} - {file.COST}. This is a simple formula > > that tells the program to subtract the value of the {file.COST} field from > > the value of the {file.SALES} field and then to print the result. > > > > You can use formulas to calculate numeric values, compare one value to > > another and select alternative actions based on the comparison, join > > multiple value into a single string, and to perform a multitude of other > > operations. Creating a formula in Crystal Reports is much like creating a > > formula in your favorite spreadsheet. > > > > Note: The term "formula" in Crystal Reports is equivalent to the term > > "expression" in Microsoft Access. > > > > Crystal and Basic Syntax > > When creating formulas, you have the option of using either Crystal or > Basic > > syntax. Almost any formula written with one syntax can be written with the > > other. Reports can contain formulas that use Basic syntax as well as > > formulas that use Crystal syntax. > > > > Crystal syntax is the formula language included in all prior versions of > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > If you are familiar with Microsoft Visual Basic or other versions of > Basic, > > then Basic syntax may be more familiar to you. In general, Basic syntax is > > modeled on Visual Basic except that it has specific extensions to handle > > reporting. > > > > If you are already comfortable with Crystal syntax, you can continue to > use > > it, and benefit from the new functions, operators and control structures > > inspired by Visual Basic. > > > > Note: Report processing is not slowed down by using Basic syntax. > Reports > > using Basic syntax formulas can run on any machine that Crystal Reports > runs > > on. Also, using Basic syntax formulas does not require distributing any > > additional files with your reports. > > > > <<<<- Quoting CR Help ->>> > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Saturday, March 08, 2003 10:27 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Very good point. I've watched this thread from the outside, for two > > > reasons. I personally have never made a CR report, and at best I > consider > > > myself an 'amatuer' at report generation in Access. When it comes to > > making > > > reports in Access, I can do some pretty nifty stuff with code, making > > > stupendous 'special' reports. However, there are people where I work > that > > > do nothing but generate reports using the wizards, and then tweaking all > > > sorts of things. I have had to go into these reports from time to time, > > and > > > I must admit that they get them to do exactly what they want with > > relatively > > > little fuss. That is why I consider myself an amatuer at the report > > level, > > > because half the time I would have jumped to VBA....(go figure), instead > > of > > > using the solutions that were used. > > > > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > > > > > Drew > > > > > > -----Original Message----- > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > Sent: Friday, March 07, 2003 7:13 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > Shamil, > > > > > > True, CR allows independent sections in reports, and true this can be a > > > useful feature. But in my experience there never has been a report that > > > I had to create that needed this feature. > > > > > > My last word on this thread is this: Since everybody's previous > > > experiences and personal preferences are different, there is no one best > > > tool for everybody. Of the tools that are available to you and you are > > > comfortable using, try to pick the one that is most suitable for the > > > problem at hand. > > > > > > Have a nice day Shamil. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Thursday 2003 Mar 06 15:59 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > Access 2002 and CR 9.0 are > > > > almost identical in their feature sets. > > > Charles, > > > > > > I thought the same but then I made approx. 50 real-life CR reports for > > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > > programming/reporting and CR itself (I worked as his subcontractor) - > > > and I soon realized that despite the fact that the feature set of MS > > > Access and CR seems to be very similar, the real power of CR is in its > > > unique and looking at first not very significant feature of allowing to > > > have and manipulate on runtime of several (as many as you wish) > > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > > Group Header/Footer and Details... > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > > is when you need in CR to copy and paste (or cut and paste) a group of > > > controls within one report or between reports - here CR sometimes goes > > > "crazy" and you need to realigh controls manualy after paste > > > operation... > > > > > > Charles, I'd not like to have this thread to become"religious" debate > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > contr-arguments if you wish! :) > > > > > > Shamil > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Mar 9 14:13:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 14:13:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Message-ID: <013f01c2e678$4cdb0000$6601a8c0@HAL9002> MessageAndy: Thanks. It seems to be working on some of the fields but not on others. I'll have to see if there's a difference between the two. Rocky ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:14 AM Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Mar 9 14:21:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 14:21:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Message-ID: <015301c2e679$613045a0$6601a8c0@HAL9002> MessageAndy: I've got seven text boxes where I use this technique. Three work (focus stays on the text box) and four don't (focus moves to the next control in tab order).. Any idea why this might be? I can't see any difference in the properties. Rocky ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:14 AM Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 14:51:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 14:51:01 2003 Subject: [AccessD] Iterating Controls References: <004701c2e674$d89c9350$8e01a8c0@Rock> Message-ID: <000f01c2e67f$054f18a0$6401a8c0@default> Arthur, I'll take another swing ... If frm.RecordSource <> "" Then Debug.Print objFrm.name & ": " & frm.RecordSource a.writeline "Form: " & objFrm.name a.writeline "===========================================" a.writeline "RecordSource:" a.writeline frm.RecordSource a.writeline End If ' Goes here and not at the end of the proc a.writeline "Data Driven Controls" a.writeline "--------------------" Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 2:48 PM Subject: RE: [AccessD] Iterating Controls I have a lot of other things on my mind today, and clearly I am now dazed and confused, and no doubt overlooking something very obvious. Here is the current code: -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Sun Mar 9 15:23:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun Mar 9 15:23:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <012901c2e66c$0384b380$6601a8c0@HAL9002> Message-ID: <000e01c2e682$03b425f0$de1811d8@DanWaters> Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 15:42:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 15:42:01 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> Message-ID: <002301c2e686$270684e0$6401a8c0@default> Susan, Since you often speak about Access 2002, this might not be applicable: In a KB article Microsoft had stated a problem about The Auto Compact Percentage feature can be set by using SetOption and retrieved by using GetOption; however, the value is ignored by Access 2000. The compact is completed, regardless of the percentage value. Mike Mattys ----- Original Message ----- From: "Susan Harkins" To: Sent: Sunday, March 09, 2003 2:31 PM Subject: [AccessD] compact on close > The Compact on Close feature doesn't always compact automatically. There's a > memory savings threshold that has to be met before it will actually compact > and I can't find that amount -- anyone know what it is? I've checked Help > and the KB. > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sun Mar 9 16:38:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 9 16:38:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <000e01c2e682$03b425f0$de1811d8@DanWaters> Message-ID: <00bf01c2e68b$2970dbe0$b274d0d5@andypc> But if you cancel a BeforeUpdate you then don't need to set focus cos it never loses it. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: 09 March 2003 21:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Sun Mar 9 17:01:01 2003 From: pedro at plex.nl (Pedro Janssen) Date: Sun Mar 9 17:01:01 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk><001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk><000b01c2e5bb$047189f0$f8c581d5@pedro> <17815673307.20030309150822@cactus.dk> Message-ID: <001401c2e68f$ebbab9b0$fac581d5@pedro> Hello Gustav and Drew, thanks Gustav for your explanation. The dates where not unique. I used the Union All sql and now its working fine. Drew, thanks for your offer, but i can't send You an example because the data is classified. From the management in our hospital and my boss i may not present Patientdata to other. Sorry, not even to a database developer who wants to help me. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Sunday, March 09, 2003 3:08 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > Well, didn't imagine you had one field only. > > Anyway, here's the SQL to extract those dates for three years. > If dates are not unique, you'll have to replace every occurrence of > UNION with UNION ALL as shown: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > UNION ALL > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > UNION ALL > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > [datum]; > > > > If dates are not unique but you wish to extract the first five unique > dates for each year, you'll have to group by the date like this: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > GROUP BY > [datum] > ORDER BY > Year5, > [datum]; > > > > All this, of course, assumes that your date field is of type > date/time-value. > > /gustav > > > When i use only the part of the query with Year the result is good, but the > > Parameters is asking for the year and afterthat for Year5. I don't > > understand this. > > When i use Year and Union Year+1 i get result that don't fit. > > Maybe it has something to do with the fieldnames. In your query which field > > is ID and which field is DateTrans. > > > For example in TblTrans i only have one field [datum]. > > From this field [datum] i need each year the first 5 dates. > > Couls you give me the sql for Year and Year+1. > > >> Sure. In addition to the correct comments of Drew, here is the union > >> query which collects data from maximum three years. If you need more > >> years, simply insert more "Union Select ..." sections where you for > >> each section increase by 1 the number to add to Year. > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> UNION > >> SELECT TOP 5 > >> Year+2 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+2,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > >> > >> You will, of course, have to change the names of table and fields to > >> those of your table. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sun Mar 9 17:16:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 17:16:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82267@main2.marlow.com> Message-ID: <007701c2e691$cbd4ea10$b501010a@DAISY.local> > VBA can be used to do practically > anything in Windows Unfortunately VBA is very limited and can't do a lot of useful things available in Windows for C++ or DELPHI programmers - e.g. multi-thread programming... > which blows CR away, is that the reporting > within Access is a component of Access, IMO the thing, which blows MS Access away in reporting is that CR can be used as a light-weight component in literally all and every modern 32bit development tool/platform - well, MS Access can be also used as an Automation server but everybody knows that MS Access is a behemoth, memory and resources hog... > just defending Access a bit. I'm not attacking MS Access - it has a broad range of applications and I use it every day in my programming work but CR's narrow specialization in reporting makes it with every new release more and more outstanding above what MS Access can propose in report generation area... Shamil P.S. Forever with MS Access ! :) ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 10:57 PM Subject: RE: [AccessD] Access and Crystal Reports > I guess I am just playing devil's advocate. Since Access let's you use VBA > within it's reports, and VBA can be used to do practically anything in > Windows, or Access, then it stands to say that there is virtually nothing > that CR can do, which Access can't. > > Sure, there are always going to be speed/ease of use issues, however, I > think that one major advantage, which blows CR away, is that the reporting > within Access is a component of Access, not a special add-in. > > Again, I have rarely used CR, so I am not trying to hack it, just defending > Access a bit. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: 3/9/03 11:01 AM > Subject: Re: [AccessD] Access and Crystal Reports > > This can be done IMO by using DLL/ActiveX extensions but the question is > why > this API calls should be executed on report generation? Why not get all > the > collected by API data on report data retrieval stage? > > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 7:15 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > A good example would be a report run by a network administrator, which > shows > > information on network users. Some info stored in a database, some > from > say > > 'drive' space used, and some using API calls to retrieve domain > settings. > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Sunday, March 09, 2003 3:34 AM > > To: AccessD > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > Drew, > > > > It looks like it cannot use Win API directly but: > > > > <<<+ quoting CR help +>>> > > The Seagate Crystal Reports Formula Editor and formula language are > powerful > > tools, enabling you to perform a wide variety of report-related tasks > easily > > and efficiently. The formula language is expandable as well. That is, > while > > it already includes a large selection of useful functions, it also > comes > > with the ability to accept new functions that you define to meet your > needs. > > User Defined Functions that are recognized by the Seagate Crystal > Reports > > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > > environments, in an Automation Server. > > <<<- quoting CR help ->>> > > > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > > protocol and use Win API this way... > > > > But what Win API calls are needed for reports' generation? > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Sunday, March 09, 2003 2:50 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Can this programming language handle API Calls? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Saturday, March 08, 2003 11:52 AM > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > <<< > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > >>> > > > Drew, > > > > > > Yes, CR has a program language used to create formulas - see P.S. > > > What is important to note is that CR report generation customization > IS > > NOT > > > event driven! > > > This shocks at first an MS Access developer (that's from my > experience)... > > > Then when you get comfortable with that "new ideology" you see that > it's > > > very flexible... > > > I'd say that the usual customization technique in CR is > data-driven... > > > I expect you to "fall in love" with CR because the tricks it allows > to > do > > > aren't possible in MS Access - the key to the tricks IMO are > sections > > (these > > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > > formulas, which can be specified on different levels of reports to > control > > > properties' values of report objects on runtime... > > > And of course you'll love drill-down (live reports) - this is where > one > CR > > > report may substitute several MS Access forms and reports with > > subreports... > > > And of course you'll love easy migration of all that stuff(reports) > to > the > > > Web from where they can be interactively using very good and > effective > > data > > > cashing technique... > > > ... > > > > > > > instead of > > > > using the solutions that were used. > > > There are good Wizards for CR too but CR profis seldom use them (I'm > not > > the > > > one of such profis because I've had just a casual project with CR) . > > > CR can be used by powerusers I think for the cases like you describe > but > > > it's much more for programmers because only programmers are able to > show > > the > > > real power of CR through reports they create with it using > formulas... > > > > > > Shamil > > > > > > > > > P.S. > > > <<<<+ Quoting CR Help +>>> > > > formula > > > A formula is a symbolic statement of the modifications you want > performed > > on > > > certain data before it is printed on your report. > > > > > > For example, if your report is to contain a {file.SALES} field and a > > > {file.COST} field, you may want to create a GrossProfit field and > > designate > > > its text strings as {file.SALES} - {file.COST}. This is a simple > formula > > > that tells the program to subtract the value of the {file.COST} > field > from > > > the value of the {file.SALES} field and then to print the result. > > > > > > You can use formulas to calculate numeric values, compare one value > to > > > another and select alternative actions based on the comparison, join > > > multiple value into a single string, and to perform a multitude of > other > > > operations. Creating a formula in Crystal Reports is much like > creating > a > > > formula in your favorite spreadsheet. > > > > > > Note: The term "formula" in Crystal Reports is equivalent to the > term > > > "expression" in Microsoft Access. > > > > > > Crystal and Basic Syntax > > > When creating formulas, you have the option of using either Crystal > or > > Basic > > > syntax. Almost any formula written with one syntax can be written > with > the > > > other. Reports can contain formulas that use Basic syntax as well as > > > formulas that use Crystal syntax. > > > > > > Crystal syntax is the formula language included in all prior > versions of > > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > > > If you are familiar with Microsoft Visual Basic or other versions of > > Basic, > > > then Basic syntax may be more familiar to you. In general, Basic > syntax > is > > > modeled on Visual Basic except that it has specific extensions to > handle > > > reporting. > > > > > > If you are already comfortable with Crystal syntax, you can continue > to > > use > > > it, and benefit from the new functions, operators and control > structures > > > inspired by Visual Basic. > > > > > > Note: Report processing is not slowed down by using Basic syntax. > > Reports > > > using Basic syntax formulas can run on any machine that Crystal > Reports > > runs > > > on. Also, using Basic syntax formulas does not require distributing > any > > > additional files with your reports. > > > > > > <<<<- Quoting CR Help ->>> > > > > > > ----- Original Message ----- > > > From: "Drew Wutka" > > > To: > > > Sent: Saturday, March 08, 2003 10:27 AM > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > Very good point. I've watched this thread from the outside, for > two > > > > reasons. I personally have never made a CR report, and at best I > > consider > > > > myself an 'amatuer' at report generation in Access. When it comes > to > > > making > > > > reports in Access, I can do some pretty nifty stuff with code, > making > > > > stupendous 'special' reports. However, there are people where I > work > > that > > > > do nothing but generate reports using the wizards, and then > tweaking > all > > > > sorts of things. I have had to go into these reports from time to > time, > > > and > > > > I must admit that they get them to do exactly what they want with > > > relatively > > > > little fuss. That is why I consider myself an amatuer at the > report > > > level, > > > > because half the time I would have jumped to VBA....(go figure), > instead > > > of > > > > using the solutions that were used. > > > > > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > > > > > > Drew > > > > > > > > -----Original Message----- > > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > > Sent: Friday, March 07, 2003 7:13 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > > > Shamil, > > > > > > > > True, CR allows independent sections in reports, and true this can > be > a > > > > useful feature. But in my experience there never has been a > report > that > > > > I had to create that needed this feature. > > > > > > > > My last word on this thread is this: Since everybody's previous > > > > experiences and personal preferences are different, there is no > one > best > > > > tool for everybody. Of the tools that are available to you and > you > are > > > > comfortable using, try to pick the one that is most suitable for > the > > > > problem at hand. > > > > > > > > Have a nice day Shamil. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > > Sent: Thursday 2003 Mar 06 15:59 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > Access 2002 and CR 9.0 are > > > > > almost identical in their feature sets. > > > > Charles, > > > > > > > > I thought the same but then I made approx. 50 real-life CR reports > for > > > > HRM/Payroll system and my customer was a real guru in both > HRM/Payroll > > > > programming/reporting and CR itself (I worked as his > subcontractor) - > > > > and I soon realized that despite the fact that the feature set of > MS > > > > Access and CR seems to be very similar, the real power of CR is in > its > > > > unique and looking at first not very significant feature of > allowing > to > > > > have and manipulate on runtime of several (as many as you wish) > > > > independent sections/areas of Report Header/Footer, Page > Header/Footer, > > > > Group Header/Footer and Details... > > > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I > used, > > > > is when you need in CR to copy and paste (or cut and paste) a > group of > > > > controls within one report or between reports - here CR sometimes > goes > > > > "crazy" and you need to realigh controls manualy after paste > > > > operation... > > > > > > > > Charles, I'd not like to have this thread to become"religious" > debate > > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > > contr-arguments if you wish! :) > > > > > > > > Shamil > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Sun Mar 9 17:36:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 9 17:36:00 2003 Subject: [AccessD] normalization question Message-ID: <012801c2e694$a2229980$f0e6ffcc@SusanOne> When you remove a field to another table (for whatever reason), do you immediately create the foreign key in the original table, or do you wait until you've completely normalized each table and then return to the tables and insert all the foreign keys then? I tend to do it later because the nature of a single field can change. Does anyone know if the relational model requires a particular routine? Just curious. Susan H. From DWUTKA at marlow.com Sun Mar 9 17:38:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 17:38:00 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226A@main2.marlow.com> Completely understand. No problem. If Gustav's solution works best for you, that's the way to go. If you do want to further the subquery solution, let me know, you could send me a 'blank' database, with no data, I just need the table structure (I can fill in my own dummy data). Drew -----Original Message----- From: Pedro Janssen To: accessd at databaseadvisors.com Sent: 3/9/03 4:54 PM Subject: Re: [AccessD] first five dates per year Hello Gustav and Drew, thanks Gustav for your explanation. The dates where not unique. I used the Union All sql and now its working fine. Drew, thanks for your offer, but i can't send You an example because the data is classified. From the management in our hospital and my boss i may not present Patientdata to other. Sorry, not even to a database developer who wants to help me. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Sunday, March 09, 2003 3:08 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > Well, didn't imagine you had one field only. > > Anyway, here's the SQL to extract those dates for three years. > If dates are not unique, you'll have to replace every occurrence of > UNION with UNION ALL as shown: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > UNION ALL > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > UNION ALL > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > [datum]; > > > > If dates are not unique but you wish to extract the first five unique > dates for each year, you'll have to group by the date like this: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > GROUP BY > [datum] > ORDER BY > Year5, > [datum]; > > > > All this, of course, assumes that your date field is of type > date/time-value. > > /gustav > > > When i use only the part of the query with Year the result is good, but the > > Parameters is asking for the year and afterthat for Year5. I don't > > understand this. > > When i use Year and Union Year+1 i get result that don't fit. > > Maybe it has something to do with the fieldnames. In your query which field > > is ID and which field is DateTrans. > > > For example in TblTrans i only have one field [datum]. > > From this field [datum] i need each year the first 5 dates. > > Couls you give me the sql for Year and Year+1. > > >> Sure. In addition to the correct comments of Drew, here is the union > >> query which collects data from maximum three years. If you need more > >> years, simply insert more "Union Select ..." sections where you for > >> each section increase by 1 the number to add to Year. > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> UNION > >> SELECT TOP 5 > >> Year+2 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+2,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > >> > >> You will, of course, have to change the names of table and fields to > >> those of your table. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Mar 9 17:41:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 17:41:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> I agree on all of your statements. (Though CR doesn't allow for multi-threaded programming in the background...does it?) As far as VBA is concerned, it would be a little difficult to create a multi-threaded interpretted language. You can make a VB multi-thread .exe, but you can't run it in debug mode. VBA is still a very powerful tool in the Access arsenal. (why would you want to multi-thread code behind a report anyways? There's something I couldn't come up with a scenario for....at least not for a report...a form would be something completely different.) Drew -----Original Message----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: 3/9/03 4:02 PM Subject: Re: [AccessD] Access and Crystal Reports > VBA can be used to do practically > anything in Windows Unfortunately VBA is very limited and can't do a lot of useful things available in Windows for C++ or DELPHI programmers - e.g. multi-thread programming... > which blows CR away, is that the reporting > within Access is a component of Access, IMO the thing, which blows MS Access away in reporting is that CR can be used as a light-weight component in literally all and every modern 32bit development tool/platform - well, MS Access can be also used as an Automation server but everybody knows that MS Access is a behemoth, memory and resources hog... > just defending Access a bit. I'm not attacking MS Access - it has a broad range of applications and I use it every day in my programming work but CR's narrow specialization in reporting makes it with every new release more and more outstanding above what MS Access can propose in report generation area... Shamil P.S. Forever with MS Access ! :) ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 10:57 PM Subject: RE: [AccessD] Access and Crystal Reports > I guess I am just playing devil's advocate. Since Access let's you use VBA > within it's reports, and VBA can be used to do practically anything in > Windows, or Access, then it stands to say that there is virtually nothing > that CR can do, which Access can't. > > Sure, there are always going to be speed/ease of use issues, however, I > think that one major advantage, which blows CR away, is that the reporting > within Access is a component of Access, not a special add-in. > > Again, I have rarely used CR, so I am not trying to hack it, just defending > Access a bit. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: 3/9/03 11:01 AM > Subject: Re: [AccessD] Access and Crystal Reports > > This can be done IMO by using DLL/ActiveX extensions but the question is > why > this API calls should be executed on report generation? Why not get all > the > collected by API data on report data retrieval stage? > > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 7:15 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > A good example would be a report run by a network administrator, which > shows > > information on network users. Some info stored in a database, some > from > say > > 'drive' space used, and some using API calls to retrieve domain > settings. > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Sunday, March 09, 2003 3:34 AM > > To: AccessD > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > Drew, > > > > It looks like it cannot use Win API directly but: > > > > <<<+ quoting CR help +>>> > > The Seagate Crystal Reports Formula Editor and formula language are > powerful > > tools, enabling you to perform a wide variety of report-related tasks > easily > > and efficiently. The formula language is expandable as well. That is, > while > > it already includes a large selection of useful functions, it also > comes > > with the ability to accept new functions that you define to meet your > needs. > > User Defined Functions that are recognized by the Seagate Crystal > Reports > > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > > environments, in an Automation Server. > > <<<- quoting CR help ->>> > > > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > > protocol and use Win API this way... > > > > But what Win API calls are needed for reports' generation? > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Sunday, March 09, 2003 2:50 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Can this programming language handle API Calls? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Saturday, March 08, 2003 11:52 AM > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > <<< > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > >>> > > > Drew, > > > > > > Yes, CR has a program language used to create formulas - see P.S. > > > What is important to note is that CR report generation customization > IS > > NOT > > > event driven! > > > This shocks at first an MS Access developer (that's from my > experience)... > > > Then when you get comfortable with that "new ideology" you see that > it's > > > very flexible... > > > I'd say that the usual customization technique in CR is > data-driven... > > > I expect you to "fall in love" with CR because the tricks it allows > to > do > > > aren't possible in MS Access - the key to the tricks IMO are > sections > > (these > > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > > formulas, which can be specified on different levels of reports to > control > > > properties' values of report objects on runtime... > > > And of course you'll love drill-down (live reports) - this is where > one > CR > > > report may substitute several MS Access forms and reports with > > subreports... > > > And of course you'll love easy migration of all that stuff(reports) > to > the > > > Web from where they can be interactively using very good and > effective > > data > > > cashing technique... > > > ... > > > > > > > instead of > > > > using the solutions that were used. > > > There are good Wizards for CR too but CR profis seldom use them (I'm > not > > the > > > one of such profis because I've had just a casual project with CR) . > > > CR can be used by powerusers I think for the cases like you describe > but > > > it's much more for programmers because only programmers are able to > show > > the > > > real power of CR through reports they create with it using > formulas... > > > > > > Shamil > > > > > > > > > P.S. > > > <<<<+ Quoting CR Help +>>> > > > formula > > > A formula is a symbolic statement of the modifications you want > performed > > on > > > certain data before it is printed on your report. > > > > > > For example, if your report is to contain a {file.SALES} field and a > > > {file.COST} field, you may want to create a GrossProfit field and > > designate > > > its text strings as {file.SALES} - {file.COST}. This is a simple > formula > > > that tells the program to subtract the value of the {file.COST} > field > from > > > the value of the {file.SALES} field and then to print the result. > > > > > > You can use formulas to calculate numeric values, compare one value > to > > > another and select alternative actions based on the comparison, join > > > multiple value into a single string, and to perform a multitude of > other > > > operations. Creating a formula in Crystal Reports is much like > creating > a > > > formula in your favorite spreadsheet. > > > > > > Note: The term "formula" in Crystal Reports is equivalent to the > term > > > "expression" in Microsoft Access. > > > > > > Crystal and Basic Syntax > > > When creating formulas, you have the option of using either Crystal > or > > Basic > > > syntax. Almost any formula written with one syntax can be written > with > the > > > other. Reports can contain formulas that use Basic syntax as well as > > > formulas that use Crystal syntax. > > > > > > Crystal syntax is the formula language included in all prior > versions of > > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > > > If you are familiar with Microsoft Visual Basic or other versions of > > Basic, > > > then Basic syntax may be more familiar to you. In general, Basic > syntax > is > > > modeled on Visual Basic except that it has specific extensions to > handle > > > reporting. > > > > > > If you are already comfortable with Crystal syntax, you can continue > to > > use > > > it, and benefit from the new functions, operators and control > structures > > > inspired by Visual Basic. > > > > > > Note: Report processing is not slowed down by using Basic syntax. > > Reports > > > using Basic syntax formulas can run on any machine that Crystal > Reports > > runs > > > on. Also, using Basic syntax formulas does not require distributing > any > > > additional files with your reports. > > > > > > <<<<- Quoting CR Help ->>> > > > > > > ----- Original Message ----- > > > From: "Drew Wutka" > > > To: > > > Sent: Saturday, March 08, 2003 10:27 AM > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > Very good point. I've watched this thread from the outside, for > two > > > > reasons. I personally have never made a CR report, and at best I > > consider > > > > myself an 'amatuer' at report generation in Access. When it comes > to > > > making > > > > reports in Access, I can do some pretty nifty stuff with code, > making > > > > stupendous 'special' reports. However, there are people where I > work > > that > > > > do nothing but generate reports using the wizards, and then > tweaking > all > > > > sorts of things. I have had to go into these reports from time to > time, > > > and > > > > I must admit that they get them to do exactly what they want with > > > relatively > > > > little fuss. That is why I consider myself an amatuer at the > report > > > level, > > > > because half the time I would have jumped to VBA....(go figure), > instead > > > of > > > > using the solutions that were used. > > > > > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > > > > > > Drew > > > > > > > > -----Original Message----- > > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > > Sent: Friday, March 07, 2003 7:13 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > > > Shamil, > > > > > > > > True, CR allows independent sections in reports, and true this can > be > a > > > > useful feature. But in my experience there never has been a > report > that > > > > I had to create that needed this feature. > > > > > > > > My last word on this thread is this: Since everybody's previous > > > > experiences and personal preferences are different, there is no > one > best > > > > tool for everybody. Of the tools that are available to you and > you > are > > > > comfortable using, try to pick the one that is most suitable for > the > > > > problem at hand. > > > > > > > > Have a nice day Shamil. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > > Sent: Thursday 2003 Mar 06 15:59 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > Access 2002 and CR 9.0 are > > > > > almost identical in their feature sets. > > > > Charles, > > > > > > > > I thought the same but then I made approx. 50 real-life CR reports > for > > > > HRM/Payroll system and my customer was a real guru in both > HRM/Payroll > > > > programming/reporting and CR itself (I worked as his > subcontractor) - > > > > and I soon realized that despite the fact that the feature set of > MS > > > > Access and CR seems to be very similar, the real power of CR is in > its > > > > unique and looking at first not very significant feature of > allowing > to > > > > have and manipulate on runtime of several (as many as you wish) > > > > independent sections/areas of Report Header/Footer, Page > Header/Footer, > > > > Group Header/Footer and Details... > > > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I > used, > > > > is when you need in CR to copy and paste (or cut and paste) a > group of > > > > controls within one report or between reports - here CR sometimes > goes > > > > "crazy" and you need to realigh controls manualy after paste > > > > operation... > > > > > > > > Charles, I'd not like to have this thread to become"religious" > debate > > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > > contr-arguments if you wish! :) > > > > > > > > Shamil > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Mar 9 21:29:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun Mar 9 21:29:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <70F3D727890C784291D8433E9C418F29038977@server.bondsoftware.co.nz> What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notebook.jpg Type: image/jpeg Size: 2950 bytes Desc: Notebook.jpg URL: From wdhindman at bellsouth.net Sun Mar 9 21:48:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun Mar 9 21:48:00 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> Message-ID: <00dc01c2e6b7$cfa49a70$6101a8c0@amd2k512> ...if it will save at least 256Kb, it compacts ...HTH :) http://www.zdnetindia.com/help/specials/officetips/stories/17453.html William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Susan Harkins" To: Sent: Sunday, March 09, 2003 2:31 PM Subject: [AccessD] compact on close > The Compact on Close feature doesn't always compact automatically. There's a > memory savings threshold that has to be met before it will actually compact > and I can't find that amount -- anyone know what it is? I've checked Help > and the KB. > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sun Mar 9 21:56:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun Mar 9 21:56:01 2003 Subject: [AccessD] Iterating Controls References: <004701c2e674$d89c9350$8e01a8c0@Rock> Message-ID: <012601c2e6b8$e64b7130$6101a8c0@amd2k512> "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke From paul.hartland at fsmail.net Mon Mar 10 02:55:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon Mar 10 02:55:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <20030310085436.OEKL2544.fep02-svc.ttys.com@localhost> Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From shamil at smsconsulting.spb.ru Mon Mar 10 03:16:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 03:16:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> Message-ID: <001801c2e6e5$87092d20$b501010a@DAISY.local> <<< Though CR doesn't allow for > multi-threaded programming in the background...does it? >>> Drew, I didn't try to do that but it might be possible based on the info in P.S of this message. > As far as VBA is concerned, > it would be a little difficult to create a > multi-threaded interpretted language. I would say this is MS who made it that way - DELPHI supports multi-threading since its first versions AFAIK - and the level of programming on DELPHI is higher than on VB/VBA IMO(well DELPHI is compiled language). What is the problem to make multi-threaded interpreted language? - the core of interpreter can easily control different threads - I don't see any technocal problems here - and you? What am I missing? (of course there should be more limitations with 'edit and continue' debugging mode but just limitations...) > VBA is still a very powerful tool in the Access arsenal. > (why would you want to multi-thread code behind a report anyways? See P.S. for the reasons... > There's something I couldn't come up with a scenario > for....at least not for a report...a form > would be something completely different.) As I noted ONE CR's drill-down 'live' report can well substitute several MS Access forms and reports - this is just a different reporting ideology, another almost parallel universe with higher level of technological evolution :) and with the gap from MS Access becoming more and more perceptible with every new release... Well, what was really bad in CR v.8.x - these are subreports(when you need a lot of them for one report) - and this is a known fact - and CR application developers managed to make advanced reports WITHOUT subreports - imagine that! - as in all areas in this life when you gain in one area you loose in another - so of course CR isn't 100% perfect... With MS Access forever! Shamil P.S. Some facts about CR: <<<+ quoting CR online line +>>>> Optimized, multithreaded Report Engine The Crystal Report Engine's enhanced multithreading capabilities and thread-safe database drivers allow you to continue working on your important tasks, while many other operations are processed simultaneously in the background. The Report Engine also minimizes the number of passes made through the data, speeds up processing with improved memory management, and handles subreports and parameters as efficiently as possible. <<<- quoting CR online line ->>>> AND... <<<+ quoting CR online line +>>>> Page-on-demand technology Page-on-demand report access lets users download only the specific report pages they need to see, thus improving response times and reducing web traffic. Further, placeholders and partial page technology allow you to view report pages and data over the Web immediately, without having to wait for the processing of large objects, such as graphics and subreports. <<<- quoting CR online line ->>>> FURTHER... <<<+ quoting CR online line +>>>> Scale with Crystal Enterprise Reports Crystal Enterprise extends the value and scalability of Crystal Reports. It provides eBusiness with a scalable, web-based solution for managing the access and delivery of hundreds or thousands of Crystal reports to every decision-maker-across the enterprise and beyond. Crystal Enterprise provides a flexible, managed reporting solution. It gives you the ability to deliver the report-design power of Crystal Reports, atop a scalable, web-based infrastructure for managing a central report repository, user security, and report scheduling and processing. <<<- quoting CR online line ->>>> And this isn't marketing hype or something like that - I've a colleague who because of his using C++ and of Crystal reports (and of course he is a very smart programmer) upsized to the IIS his very advanced payroll/HRM system system in SEVERAL weeks (less than a month) and he did all that ALONE. Short info is here - http://www.fincomplex.com/ - with real screenshots - and this software works in both modes: desktop or web-server based - one have to just load another saved configuration settings pointing to the URL of the WEB server... BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting can be reused... ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:40 AM Subject: RE: [AccessD] Access and Crystal Reports > I agree on all of your statements. (Though CR doesn't allow for > multi-threaded programming in the background...does it?) > > As far as VBA is concerned, it would be a little difficult to create a > multi-threaded interpretted language. You can make a VB multi-thread .exe, > but you can't run it in debug mode. > > VBA is still a very powerful tool in the Access arsenal. (why would you > want to multi-thread code behind a report anyways? There's something I > couldn't come up with a scenario for....at least not for a report...a form > would be something completely different.) > > Drew > <<< tail skipped for brevity >>> From gustav at cactus.dk Mon Mar 10 03:51:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 03:51:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <001401c2e68f$ebbab9b0$fac581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk><001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk><000b01c2e5bb$047189f0$f8c581d5@pedro> <17815673307.20030309150822@cactus.dk> <001401c2e68f$ebbab9b0$fac581d5@pedro> Message-ID: <417164802.20030310105007@cactus.dk> Hi Pedro And Drew > thanks Gustav for your explanation. The dates where not unique. > I used the Union All sql and now its working fine. Very well. Drew, I just used the date field from a test-table I have with 150000 records. I guess you can create your own table with this single date/time field though the dates should not be random - some must be duplicates. > Drew, thanks for your offer, but i can't send You an example because > the data is classified. From the management in our hospital > and my boss i may not present Patientdata to other. Sorry, not even to > a database developer who wants to help me. /gustav From pedro at plex.nl Mon Mar 10 04:33:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon Mar 10 04:33:00 2003 Subject: [AccessD] first five dates per year References: <2F8793082E00D4119A1700B0D0216BF801D8226A@main2.marlow.com> Message-ID: <003901c2e6f0$7b53bc60$f8c581d5@pedro> Hello Drew, I will send you the structure in one week. Today i am leaving for a week on a trip for my work. TIA Pedro Janssen ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 12:37 AM Subject: RE: [AccessD] first five dates per year > Completely understand. No problem. > > If Gustav's solution works best for you, that's the way to go. If you do > want to further the subquery solution, let me know, you could send me a > 'blank' database, with no data, I just need the table structure (I can fill > in my own dummy data). > > Drew > > -----Original Message----- > From: Pedro Janssen > To: accessd at databaseadvisors.com > Sent: 3/9/03 4:54 PM > Subject: Re: [AccessD] first five dates per year > > Hello Gustav and Drew, > > thanks Gustav for your explanation. The dates where not unique. > I used the Union All sql and now its working fine. > > Drew, thanks for your offer, but i can't send You an example because > the data is classified. From the management in our hospital > and my boss i may not present Patientdata to other. Sorry, not even to > a database developer who wants to help me. > > Pedro Janssen > > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Pedro Janssen" > Sent: Sunday, March 09, 2003 3:08 PM > Subject: Re: [AccessD] first five dates per year > > > > Hi Pedro > > > > Well, didn't imagine you had one field only. > > > > Anyway, here's the SQL to extract those dates for three years. > > If dates are not unique, you'll have to replace every occurrence of > > UNION with UNION ALL as shown: > > > > > > > > PARAMETERS > > Year Short; > > SELECT TOP 5 > > Year AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year],1,1) > > UNION ALL > > SELECT TOP 5 > > Year+1 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+1,1,1) > > UNION ALL > > SELECT TOP 5 > > Year+2 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+2,1,1) > > ORDER BY > > Year5, > > [datum]; > > > > > > > > If dates are not unique but you wish to extract the first five unique > > dates for each year, you'll have to group by the date like this: > > > > > > > > PARAMETERS > > Year Short; > > SELECT TOP 5 > > Year AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year],1,1) > > GROUP BY > > [datum] > > UNION > > SELECT TOP 5 > > Year+1 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+1,1,1) > > GROUP BY > > [datum] > > UNION > > SELECT TOP 5 > > Year+2 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+2,1,1) > > GROUP BY > > [datum] > > ORDER BY > > Year5, > > [datum]; > > > > > > > > All this, of course, assumes that your date field is of type > > date/time-value. > > > > /gustav > > > > > When i use only the part of the query with Year the result is good, > but > the > > > Parameters is asking for the year and afterthat for Year5. I don't > > > understand this. > > > When i use Year and Union Year+1 i get result that don't fit. > > > Maybe it has something to do with the fieldnames. In your query > which > field > > > is ID and which field is DateTrans. > > > > > For example in TblTrans i only have one field [datum]. > > > From this field [datum] i need each year the first 5 dates. > > > Couls you give me the sql for Year and Year+1. > > > > >> Sure. In addition to the correct comments of Drew, here is the > union > > >> query which collects data from maximum three years. If you need > more > > >> years, simply insert more "Union Select ..." sections where you for > > >> each section increase by 1 the number to add to Year. > > >> > > >> > > >> > > >> PARAMETERS > > >> Year Short; > > >> SELECT TOP 5 > > >> Year AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year],1,1) > > >> UNION > > >> SELECT TOP 5 > > >> Year+1 AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year]+1,1,1) > > >> UNION > > >> SELECT TOP 5 > > >> Year+2 AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year]+2,1,1) > > >> ORDER BY > > >> Year5, > > >> ID; > > >> > > >> > > >> > > >> You will, of course, have to change the names of table and fields > to > > >> those of your table. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Mon Mar 10 04:34:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Mon Mar 10 04:34:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> Message-ID: <002701c2e6f0$744391c0$346da8c0@IEW001> Hello Shamil, I heard of a story last year from a friend. He telephoned the French embasssey and asked how long it would take to get a visa to travel to France. Of course, he mentioned his nationality, because he is non-EU. The French guy said five working days. He went and bought his tickets. When he went to get the French visa, they then said "Oh no, it will take three to six weeks". He then tried the Netherlands and they wanted to wait nine weeks. These were the two countries that he was visiting. So, he had an idea, he telephoned the German embassy and asked the same question. They said five days. So he seached for a hotel in Germany, and made a reservation. He then asked the reservations department to send him his reservations confirmation by fax. Using this, he then was able to request a multi-entry shengen visa from the very helpful German embassey. He visited France, Belgium and Netherlands, but did not make Germany and had no problems anywhere. In the German embassy, the official asked why you are flying to France, he just said because it is a direct flight with ryanair and it is inexpensive. The German official was happy with this. Throughout the entire process, the Germans seemed to have the view that they were delighted to have people visit their counrty. I would agree with Marty, it is a cost of doing business, but even it was pleasure, some battles you cannot win. It certainly makes you crazy. Best of luck, Mark ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 09, 2003 1:48 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would write it off as the cost of doing business, it isn't worth the > hassle to complain about some minor functionary or bureaucrat who > probably doesn't understand all the rules and is too afraid to ask. I > have run into the same thing with Canadian External Affairs in embassies > overseas and got into arguments, only to find out it was local citizens > handling the Visa sections run by one Canadian national who was too busy > to oversee them what with all his demands of having to attend functions > at the local Jockey club and golf course. Lodging a complaint against > External Affairs is generally useless unless you threaten them with a > press expose or high political action from their minister. > I would get your partner to complain through his Dutch member of > parliament, if you really > wanted to raise the issue further. > > By the way the here is a description and cost of a Schengen Visa plus a > pdf of the form from Dutch > embassy in Washington. > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > Of course you could always expend some time filling in a Green Card > lottery form for permanent residence in US (odds 1:100) rather than > expending the time on a complaint. Better to light a candle than curse > the darkness. > > http://www.usnis.org/ > > I have got my own back at times on Immigration types, once in Lagos > Nigeria I was asked for > dash ,mordida or baksheesh; to expedite my getting out of the country at > the airport. So I reached into my throwdown wallet (in case of robbery) > and pulled out a fistfull of Canadian Tire money > (these are discount coupons that look like money in amounts of 10 cents > through a dollar put out > by an a Canadian Automotive chain store) explained to the guy I didn't > have US cash but here was > Canadian money. I could barely keep a straight face. > > Shamil Salakhetdinov wrote: > > >Hi All, > > > >I'm sorry I'm writing about that here - I just went very crazy today about > >what they - Western Embassies and Consulates here and their bosses in Den > >Haage (Netherlands) are doing... > > > >Here is a fresh story: > > > >- I applied for business Visum (15 days of staying, one entry) several days > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: her e > >in Consualate General they ACCEPTED this application for BUSINESS visum and > >they checked all the docs carefully) - to make that I prepared all the > >needed paperwork, get original invitation from my partner from Netherlands > >(DHL, second day delivery = rather expensive), even changed the passports to > >make them fresh new (some more bucks) because at first they said that the > >ones I had aren't good, PAID for their "services"(not that much but should > >be enough for a rather good dinner for three I think) and I started to > >wait... > >And BTW I spent quite some time on all that prepations and quite some > >bucks in total... > > > >Do you know what answer I've got today? (in fact my Netherland's partner was > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > >have applied for TOURISTIC not BUSINESS visum because I plan to go with my > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > >them... > > > >Should I fight with them looking for truth with the risk to be written in > >their "black lists" forever? > >Or should I give up and accept the "rules" of their game? - there is a whole > >business around them here - and one (including any kinds of criminals etc.) > >can buy for money any kind of Visum and freely enter West Europe or States > >or Canada... > > > >I wanted to make it direct and according to all the laws and I didn't want > >to pay to the "shadow business around them" any extra money - and I've got > >NOTHING - or I'd better say I and my partner in Netherlands got real > >mockery... And they were harsh not only with me - they were that hostile > >with my Netherland's partner too - how it comes? > > > >Shamil > > > >P.S. I know, probably Russian Embassies do something like that there in West > >Europe - but should it justify what they are doing here these ambassadors of > >"civilized" free world? > > > >-- > >e-mail: shamil at smsconsulting.spb.ru > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >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 Mon Mar 10 04:59:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 04:59:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <002701c2e6f0$744391c0$346da8c0@IEW001> Message-ID: <002d01c2e6f4$0e968770$b501010a@DAISY.local> <<< > Throughout the entire process, the Germans seemed to have > the view that they were delighted to have people > visit their counrty. >>> Hello Mark, I've heard that Germany embassy is much friendly now for Visum applicant than other western embassies. I should have asked for invitation from Lembit! :) But it's to late now - I plan to try to reapply tomorrow for another type of Visum and maybe talk to the Consul if they let me in... The problem is that when they reject application they can stamp our passports with "wolf mark" - and then other Shengen embassies may treat my docs badly from the very begiining... ...I'm sick and tired of all that - it eats so much time and money and nervuous energy but I've to solve it now peaceful way and then maybe always use friendly German or Finnish embassies to get Shengen visum (although it can be a trouble to pass customs of other Shengen countries with such visum if I fly directly to their cities - I've heard stories here when GERMAN custom control put a man into airport jail for one night and then sent him back to Russia because he had NETHERLANDS Shengen visum)... "IRON CURTAIN" - is it now built around Shegen Area? I just want to go there with my kids and to meet my friends and I've cash money/credit cards and I speak English well and I know how to travel their and I lived and worked and travelled there for quite some time and a lot fo times - that's just a crazy dream... THNX for your support, Shamil ----- Original Message ----- From: "Mark L. Breen" To: Sent: Monday, March 10, 2003 1:33 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hello Shamil, > > I heard of a story last year from a friend. > > He telephoned the French embasssey and asked how long it would take to get a > visa to travel to France. Of course, he mentioned his nationality, because > he is non-EU. The French guy said five working days. He went and bought > his tickets. When he went to get the French visa, they then said "Oh no, it > will take three to six weeks". He then tried the Netherlands and they > wanted to wait nine weeks. These were the two countries that he was > visiting. > > So, he had an idea, he telephoned the German embassy and asked the same > question. They said five days. So he seached for a hotel in Germany, and > made a reservation. He then asked the reservations department to send him > his reservations confirmation by fax. > > Using this, he then was able to request a multi-entry shengen visa from the > very helpful German embassey. He visited France, Belgium and Netherlands, > but did not make Germany and had no problems anywhere. In the German > embassy, the official asked why you are flying to France, he just said > because it is a direct flight with ryanair and it is inexpensive. The > German official was happy with this. Throughout the entire process, the > Germans seemed to have the view that they were delighted to have people > visit their counrty. > > I would agree with Marty, it is a cost of doing business, but even it was > pleasure, some battles you cannot win. It certainly makes you crazy. > > Best of luck, > > Mark > > > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Sunday, March 09, 2003 1:48 AM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would write it off as the cost of doing business, it isn't worth the > > hassle to complain about some minor functionary or bureaucrat who > > probably doesn't understand all the rules and is too afraid to ask. I > > have run into the same thing with Canadian External Affairs in embassies > > overseas and got into arguments, only to find out it was local citizens > > handling the Visa sections run by one Canadian national who was too busy > > to oversee them what with all his demands of having to attend functions > > at the local Jockey club and golf course. Lodging a complaint against > > External Affairs is generally useless unless you threaten them with a > > press expose or high political action from their minister. > > I would get your partner to complain through his Dutch member of > > parliament, if you really > > wanted to raise the issue further. > > > > By the way the here is a description and cost of a Schengen Visa plus a > > pdf of the form from Dutch > > embassy in Washington. > > > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > > > Of course you could always expend some time filling in a Green Card > > lottery form for permanent residence in US (odds 1:100) rather than > > expending the time on a complaint. Better to light a candle than curse > > the darkness. > > > > http://www.usnis.org/ > > > > I have got my own back at times on Immigration types, once in Lagos > > Nigeria I was asked for > > dash ,mordida or baksheesh; to expedite my getting out of the country at > > the airport. So I reached into my throwdown wallet (in case of robbery) > > and pulled out a fistfull of Canadian Tire money > > (these are discount coupons that look like money in amounts of 10 cents > > through a dollar put out > > by an a Canadian Automotive chain store) explained to the guy I didn't > > have US cash but here was > > Canadian money. I could barely keep a straight face. > > > > Shamil Salakhetdinov wrote: > > > > >Hi All, > > > > > >I'm sorry I'm writing about that here - I just went very crazy today > about > > >what they - Western Embassies and Consulates here and their bosses in Den > > >Haage (Netherlands) are doing... > > > > > >Here is a fresh story: > > > > > >- I applied for business Visum (15 days of staying, one entry) several > days > > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: her > e > > >in Consualate General they ACCEPTED this application for BUSINESS visum > and > > >they checked all the docs carefully) - to make that I prepared all the > > >needed paperwork, get original invitation from my partner from > Netherlands > > >(DHL, second day delivery = rather expensive), even changed the passports > to > > >make them fresh new (some more bucks) because at first they said that the > > >ones I had aren't good, PAID for their "services"(not that much but > should > > >be enough for a rather good dinner for three I think) and I started to > > >wait... > > >And BTW I spent quite some time on all that prepations and quite some > > >bucks in total... > > > > > >Do you know what answer I've got today? (in fact my Netherland's partner > was > > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > > >have applied for TOURISTIC not BUSINESS visum because I plan to go with > my > > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > > >them... > > > > > >Should I fight with them looking for truth with the risk to be written in > > >their "black lists" forever? > > >Or should I give up and accept the "rules" of their game? - there is a > whole > > >business around them here - and one (including any kinds of criminals > etc.) > > >can buy for money any kind of Visum and freely enter West Europe or > States > > >or Canada... > > > > > >I wanted to make it direct and according to all the laws and I didn't > want > > >to pay to the "shadow business around them" any extra money - and I've > got > > >NOTHING - or I'd better say I and my partner in Netherlands got real > > >mockery... And they were harsh not only with me - they were that hostile > > >with my Netherland's partner too - how it comes? > > > > > >Shamil > > > > > >P.S. I know, probably Russian Embassies do something like that there in > West > > >Europe - but should it justify what they are doing here these ambassadors > of > > >"civilized" free world? > > > > > >-- > > >e-mail: shamil at smsconsulting.spb.ru > > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 10 05:44:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 05:44:00 2003 Subject: [AccessD] Access and Crystal Reports In-Reply-To: <001801c2e6e5$87092d20$b501010a@DAISY.local> References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> Message-ID: <17913942628.20030310124305@cactus.dk> Hi Shamil > And this isn't marketing hype or something like that - I've a colleague who > because of his using C++ and of Crystal reports (and of course he is a very > smart programmer) upsized to the IIS his very advanced payroll/HRM system > system in SEVERAL weeks (less than a month) and he did all that ALONE. > Short info is here - http://www.fincomplex.com/ - with real screenshots - > and this software works in both modes: desktop or web-server based - one > have to just load another saved configuration settings pointing to the URL > of the WEB server... > BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting > can be reused... This looks very interesting. However, my Opera 7 browser doesn't trig the menu, and the link (when viewed in IE) to "The description of the system" seems to be broken. Would this link carry the screenshots? Here we have an extremely complicated personal tax system, literally uncomprehensible for even educated people. Would your system be able to be accommodate that? /gustav From gustav at cactus.dk Mon Mar 10 05:52:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 05:52:00 2003 Subject: [AccessD] Access and Crystal Reports In-Reply-To: <17913942628.20030310124305@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> Message-ID: <14714448666.20030310125131@cactus.dk> Hi Shamil Just noted that the screenshots are animated into one picture - but in IE only, no fun in Opera! /gustav > Would this link carry the screenshots? From JSkolits at CorporateDataDesign.com Mon Mar 10 07:07:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 07:07:01 2003 Subject: [AccessD] Replication Database, Speed Very Slow! In-Reply-To: <3E639A9D.10508@shaw.ca> Message-ID: I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits From shamil at smsconsulting.spb.ru Mon Mar 10 07:30:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 07:30:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> Message-ID: <001801c2e709$10623a30$b501010a@DAISY.local> > Here we have an extremely complicated personal tax system, literally > uncomprehensible for even educated people. Would your system be able > to be accommodate that? Gustav, I think Russian payroll/tax system is one of the most complicated in the World (e.g. I've heard that SAP can't be adapted well to automatically process all the business rules of payroll/tax/HRM systems in Russia). I think this system can be accomodated to that of your country without changes in its datamodel(it's not relational - it's network CODASYL datamodel)/framework but it will very probably need additional programming, and of course all reports have to be redone but as far as I know the reports in this system's framework are generated based on MS Access databases - so if you'll have your report data in MS Access then this system reporting framework should be possible to tune without big troubles... And this ISN'T my system - this is a system of my colleagues. And today is a non-wroking day here (first day of the longest Russian Orthodox Church fasting - 40 days - :0 - just kidding - in fact we've a non working day because 8 of March is an International Women Day here - and it is non-working day every year - so they gave additional non-working day on Monday) Because of non-working day today I will know about details only tomorrow after the talks with my colleague... Shamil ----- Original Message ----- From: "Gustav Brock" To: "Shamil Salakhetdinov" Sent: Monday, March 10, 2003 2:43 PM Subject: Re: [AccessD] Access and Crystal Reports > Hi Shamil > > > And this isn't marketing hype or something like that - I've a colleague who > > because of his using C++ and of Crystal reports (and of course he is a very > > smart programmer) upsized to the IIS his very advanced payroll/HRM system > > system in SEVERAL weeks (less than a month) and he did all that ALONE. > > > Short info is here - http://www.fincomplex.com/ - with real screenshots - > > and this software works in both modes: desktop or web-server based - one > > have to just load another saved configuration settings pointing to the URL > > of the WEB server... > > > BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting > > can be reused... > > This looks very interesting. > > However, my Opera 7 browser doesn't trig the menu, and the link (when > viewed in IE) to "The description of the system" seems to be broken. > Would this link carry the screenshots? > > Here we have an extremely complicated personal tax system, literally > uncomprehensible for even educated people. Would your system be able > to be accommodate that? > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Mar 10 07:30:37 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 07:30:37 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> <14714448666.20030310125131@cactus.dk> Message-ID: <001901c2e709$107db170$b501010a@DAISY.local> Gustav, I will ask my colleague tomorrow about the sources of his web-site and as far as I know there should be a fully functional demo in English with rather complete help system. Shamil ----- Original Message ----- From: "Gustav Brock" To: "Gustav Brock" Sent: Monday, March 10, 2003 2:51 PM Subject: Re: [AccessD] Access and Crystal Reports > Hi Shamil > > Just noted that the screenshots are animated into one picture - but in > IE only, no fun in Opera! > > /gustav > > > Would this link carry the screenshots? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 07:40:01 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 07:40:01 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve From artful at rogers.com Mon Mar 10 07:44:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 07:44:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <012601c2e6b8$e64b7130$6101a8c0@amd2k512> Message-ID: <009b01c2e70b$079c1040$8e01a8c0@Rock> Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Mar 10 07:59:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 10 07:59:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Sounds like mixed dot (.) and bang (!) operators. Try... Between [forms]![frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param]![txt_EndInvoiceDate] Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: Monday, March 10, 2003 08:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Mon Mar 10 08:01:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 10 08:01:00 2003 Subject: [AccessD] Sql Server 7 - Corrupt Views References: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <002501c2e70d$fe29ab50$6400000a@dogbert2k> I'm working on a project where I use VB6 to do specialized reports. I occasionally use Enterprise Manager to modify reports and most of the time I use an Access 2000 ADP to check data and modify views. I found 3 or 4 views corrupted last week. This was a big surprise to me and the first time I've found any corruption in Sql Server. Does anyone else know anything about view corruption in Sql Server? Thanks - Tom (My Boss says problems with Sql Server are not her problem, and to hurry up and finish this job!) Adams From artful at rogers.com Mon Mar 10 08:02:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 08:02:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: <009c01c2e70d$865dcac0$8e01a8c0@Rock> IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 10 08:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 08:09:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> References: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Message-ID: <12622637581.20030310150800@cactus.dk> Hi Mike Try specifying the two parameters [forms].[frm_Param].[txt_StartInvoiceDate] [forms].[frm_Param].[txt_StartInvoiceDate] as date/time. /gustav > I have a query that uses a form to get it's parameters. > This is what's in the criteria section of the query. > Between [forms].[frm_Param]![txt_StartInvoiceDate] And > [forms]![frm_Param].[txt_EndInvoiceDate] From mikedorism at ntelos.net Mon Mar 10 08:09:58 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 10 08:09:58 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <000101c2e70e$c71e10f0$59380cd8@hargrove.internal> Arthur, The RowSourceType is a string and doesn't use constants. The dropdown is apparently a value list composed of string choices. So whatever the text is, that is what you would use for the constant. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, March 10, 2003 08:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:20:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:20:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Message-ID: Hi Doris, I tried with all dots and then with all bangs and I get the same error msg. Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Mike and Doris Manning Envoye : Monday, March 10, 2003 09:00 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) Sounds like mixed dot (.) and bang (!) operators. Try... Between [forms]![frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param]![txt_EndInvoiceDate] Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: Monday, March 10, 2003 08:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Mon Mar 10 08:23:00 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon Mar 10 08:23:00 2003 Subject: Fw: [AccessD] Searching M$'s KB official statement Message-ID: <035e01c2e710$5ae14180$0300a8c0@S856> MessageCharles, - this is the official answer to your question: DBA does not require that a list member spends efforts to find the answer somewhere else before asking the list. The AccessD list is intended to help Access users with any level of knowledge. - If there are questions below your level of interest, or questions which you (or any other guru) simply dont want to answer, it is ok that you ignore these, but please refrain from any kind of negative or rude comment. Thank you Lembit Lembit Soobik ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 1:02 PM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Mon Mar 10 08:40:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 10 08:40:00 2003 Subject: [AccessD] PDF for word ... Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A78@NT04> Adobe acrobat can mix landscape and portrait, and it works well. But it's not something you want to purchase unless you are going to use it often. I use it to submit documents to other companies and to the government. It will work with Word, Excel, and Access. Jim Hewson -----Original Message----- From: James Hale [mailto:jhale at houston.rr.com] Sent: Saturday, March 08, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] PDF for word ... The only way I have been able to mix landscape and portrait in the same document is with Word and this doesn't always work well either. I presume Adobe acrobat can do the trick but I have been to cheap to spring for a copy. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, March 02, 2003 1:55 AM To: James Hale Subject: Re: [AccessD] PDF for word ... Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:48:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:48:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <12622637581.20030310150800@cactus.dk> Message-ID: Hi Gustav, Tried it and it did not work either. Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Gustav Brock Envoye : Monday, March 10, 2003 09:08 A : Mike and Doris Manning Objet : Re: [AccessD] Crosstab Querry with parameter on Form (A97) Hi Mike Try specifying the two parameters [forms].[frm_Param].[txt_StartInvoiceDate] [forms].[frm_Param].[txt_StartInvoiceDate] as date/time. /gustav > I have a query that uses a form to get it's parameters. > This is what's in the criteria section of the query. > Between [forms].[frm_Param]![txt_StartInvoiceDate] And > [forms]![frm_Param].[txt_EndInvoiceDate] _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:56:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:56:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <009c01c2e70d$865dcac0$8e01a8c0@Rock> Message-ID: Hi Arthur, Yeah! Works like a charm. Here is what I did in case someone else gets the same error: I created a new module (I called it bas_StaticFunctions) Created the two functions: Static Function StartDate() As Date StartDate = CDate(Forms.frm_Param.txt_StartInvoiceDate) End Function Static Function EndDate() As Date EndDate = CDate(Forms.frm_Param.txt_EndInvoiceDate) End Function In the criteria section of the query I put: Between StartDate() And EndDate() Note: The form "frm_Param" as to be opened in order for this to work. Note also that no validation is made in the functions StartDate() and EndDate() so validation for dates has to be done at the form level. Thanks a million! Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Arthur Fuller Envoye : Monday, March 10, 2003 09:01 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Mar 10 09:22:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 10 09:22:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: How weird...I am working on the exact same problem. I noticed that a program that I am about to roll out accepts any date, in the many date fields. Some of the dates need to be later than others that are there (for instance, there is a "Sent to Sheriff" field, and a "Returned from Sheriff" field, and you cannot receive it before it is sent). I used the code: If datFromSheriff.Value < datToSheriff.Value Then MsgBox "This date cannot be previous to the Sent to Sheriff Date", vbOKOnly, "Date Error" datFromSheriff = "" datFromSheriff.SetFocus End If And I have tried it in the "On Lost Focus", "On Change" (stupid), "Before Update" (there now), and "After Update" events, but none worked. It actually worked with "Lost Focus" but the SetFocus did not...it went to the next field in the tab order. Did you get this working? John Clark >>> bchacc at san.rr.com 03/09/03 01:45PM >>> Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software From JSkolits at CorporateDataDesign.com Mon Mar 10 09:24:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 09:24:00 2003 Subject: [AccessD] Replication Database, Speed Very Slow! SOLVED In-Reply-To: Message-ID: -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Replication Database, Speed Very Slow! I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Mar 10 09:39:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 09:39:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> Message-ID: <000d01c2e71b$10c95b40$b501010a@DAISY.local> THNX for your info Marty! Very much appreciated! > it isn't worth the hassle to complain > about some minor functionary or bureaucrat OK, I decided to reapply for the Visum if they are asking to do so but I'd like to have some documents left on my hands(unfortunately I didn't make the copy of the first Visa application) I'd like to write a letter to the head of the Consulate-General with request for their help of solving this small misapprehension ASAP - how should I proceed with them to let me to pass this letter to him and to allow me to meet with him/his representative and to officially register my letter with help request and explanation (my vision) of situation (of course without any complaints)? > filling in a Green Card lottery form for permanent > residence in US (odds 1:100) You propose me to immigrate to the States? A plenty of work there and a room for five people? - I still prefer to stay here in Russia and find a way to freely travel around the World - should be doable but needs some time to solve this without immigration to the States... Shamil ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 09, 2003 4:48 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would write it off as the cost of doing business, it isn't worth the > hassle to complain about some minor functionary or bureaucrat who > probably doesn't understand all the rules and is too afraid to ask. I > have run into the same thing with Canadian External Affairs in embassies > overseas and got into arguments, only to find out it was local citizens > handling the Visa sections run by one Canadian national who was too busy > to oversee them what with all his demands of having to attend functions > at the local Jockey club and golf course. Lodging a complaint against > External Affairs is generally useless unless you threaten them with a > press expose or high political action from their minister. > I would get your partner to complain through his Dutch member of > parliament, if you really > wanted to raise the issue further. > > By the way the here is a description and cost of a Schengen Visa plus a > pdf of the form from Dutch > embassy in Washington. > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > Of course you could always expend some time filling in a Green Card > lottery form for permanent residence in US (odds 1:100) rather than > expending the time on a complaint. Better to light a candle than curse > the darkness. > > http://www.usnis.org/ > > I have got my own back at times on Immigration types, once in Lagos > Nigeria I was asked for > dash ,mordida or baksheesh; to expedite my getting out of the country at > the airport. So I reached into my throwdown wallet (in case of robbery) > and pulled out a fistfull of Canadian Tire money > (these are discount coupons that look like money in amounts of 10 cents > through a dollar put out > by an a Canadian Automotive chain store) explained to the guy I didn't > have US cash but here was > Canadian money. I could barely keep a straight face. > > Shamil Salakhetdinov wrote: > > >Hi All, > > > >I'm sorry I'm writing about that here - I just went very crazy today about > >what they - Western Embassies and Consulates here and their bosses in Den > >Haage (Netherlands) are doing... > > > >Here is a fresh story: > > > >- I applied for business Visum (15 days of staying, one entry) several days > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > >in Consualate General they ACCEPTED this application for BUSINESS visum and > >they checked all the docs carefully) - to make that I prepared all the > >needed paperwork, get original invitation from my partner from Netherlands > >(DHL, second day delivery = rather expensive), even changed the passports to > >make them fresh new (some more bucks) because at first they said that the > >ones I had aren't good, PAID for their "services"(not that much but should > >be enough for a rather good dinner for three I think) and I started to > >wait... > >And BTW I spent quite some time on all that prepations and quite some > >bucks in total... > > > >Do you know what answer I've got today? (in fact my Netherland's partner was > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > >have applied for TOURISTIC not BUSINESS visum because I plan to go with my > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > >them... > > > >Should I fight with them looking for truth with the risk to be written in > >their "black lists" forever? > >Or should I give up and accept the "rules" of their game? - there is a whole > >business around them here - and one (including any kinds of criminals etc.) > >can buy for money any kind of Visum and freely enter West Europe or States > >or Canada... > > > >I wanted to make it direct and according to all the laws and I didn't want > >to pay to the "shadow business around them" any extra money - and I've got > >NOTHING - or I'd better say I and my partner in Netherlands got real > >mockery... And they were harsh not only with me - they were that hostile > >with my Netherland's partner too - how it comes? > > > >Shamil > > > >P.S. I know, probably Russian Embassies do something like that there in West > >Europe - but should it justify what they are doing here these ambassadors of > >"civilized" free world? > > > >-- > >e-mail: shamil at smsconsulting.spb.ru > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Mon Mar 10 09:55:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 09:55:00 2003 Subject: [AccessD] Replication Database, Speed Very Slow! SOLVED In-Reply-To: Message-ID: OOOPS, forgot to tell you how it was solved. Turns out having shared floppies or CDRoms causes a replication slow down. Here's the article. Thanks to Mike Kaplan the Replication and Internationalization Guru. http://trigeminal.com/usenet/usenet013.asp John Skolits -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication Database, Speed Very Slow! SOLVED -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Replication Database, Speed Very Slow! I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Mar 10 10:03:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 10 10:03:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <00bf01c2e68b$2970dbe0$b274d0d5@andypc> Message-ID: <000001c2e71e$6caf2d10$de1811d8@DanWaters> BeforeUpdate is a great method to prevent changes if a validation check requires that. The code below simply puts the focus where I want it, regardless of where it was to begin with. It can be used within a validation check, or anyplace you might find it useful. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Sunday, March 09, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails But if you cancel a BeforeUpdate you then don't need to set focus cos it never loses it. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: 09 March 2003 21:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Mar 10 10:15:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 10:15:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: Message-ID: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> John: My result is weirder than yours. I have seven fields I put the validation code into the BeforeUpdate event (no need for .SetFocus, because the focus *in theory* never goes away from the control). I have a bunch of validation tests in a function: Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) If ValidationTests = False Then Cancel = True End Sub Works on three, fails on four. And I can't see ANY differences between the three that work and the four that don't. Could it be timing problem in the event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate event, see if that changes anything. Rocky Smolin Beach Access Software ----- Original Message ----- From: "John Clark" To: Sent: Monday, March 10, 2003 7:19 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > How weird...I am working on the exact same problem. I noticed that a > program that I am about to roll out accepts any date, in the many date > fields. Some of the dates need to be later than others that are there > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > Sheriff" field, and you cannot receive it before it is sent). > > I used the code: > > If datFromSheriff.Value < datToSheriff.Value Then > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > vbOKOnly, "Date Error" > datFromSheriff = "" > datFromSheriff.SetFocus > End If > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > "Before Update" (there now), and "After Update" events, but none worked. > It actually worked with "Lost Focus" but the SetFocus did not...it went > to the next field in the tab order. > > Did you get this working? > > John Clark > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > Dear List > > I have a couple of simple validation tests: > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > txtStartingRoomNumber.SetFocus > Exit Sub > End If > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > vbExclamation > txtStartingRoomNumber.SetFocus > Exit Sub > End If > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > does not work. The focus ends up being set on the next control in the > tab sequence. I tried the tests in the Lost Focus event with the same > result. > > I know there must be a simple way to return the focus to the control > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > in Sunday school and it's quiet.) :) > > MTIA, > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 10:30:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 10:30:00 2003 Subject: [AccessD] Installer wizard Message-ID: Do you have the Developers Edition? If not, you can't distribute a runtime app with any installer, free or otherwise, because you don't have a license to do so. If your customer has Access, you can give them a database. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Saturday, March 08, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Installer wizard Hello all: I have built an application in Access and want to burn it to a CD to give to my customer. Dose anyone know of an affordable Installation wizard that will create a folder at a default path and ask where the customer where he/she would like to install with a browse button? I'd like to give them the option to create a desktop shortcut or go to a web site for more options and things like that. I'm going for a professional look here and will negotiate some of my demands. Any suggestions? Scott ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 10 10:32:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 10:32:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> Message-ID: <011101c2e722$7aa2a920$6601a8c0@HAL9002> John: Turns out my results were not as weird as my programming. I had an error in the ValidationTests function. I wasn't returning False from the function on the fields that failed to work correctly when their validation test failed. Fixed it and now the code below works correctly on all fields. Yours should work as well. Does your BeforeUpdate event not work? (You don't, I think, need the .SetFocus). With much egg on face, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 8:15 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Mar 10 10:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 10:41:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226E@main2.marlow.com> Interesting. The multithreading is taking place within the reporting engine, not the interpretted User code. Same with Access. Access is multi-threaded, VBA is not. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Monday, March 10, 2003 3:15 AM To: AccessD Subject: Re: [AccessD] Access and Crystal Reports <<< Though CR doesn't allow for > multi-threaded programming in the background...does it? >>> Drew, I didn't try to do that but it might be possible based on the info in P.S of this message. > As far as VBA is concerned, > it would be a little difficult to create a > multi-threaded interpretted language. I would say this is MS who made it that way - DELPHI supports multi-threading since its first versions AFAIK - and the level of programming on DELPHI is higher than on VB/VBA IMO(well DELPHI is compiled language). What is the problem to make multi-threaded interpreted language? - the core of interpreter can easily control different threads - I don't see any technocal problems here - and you? What am I missing? (of course there should be more limitations with 'edit and continue' debugging mode but just limitations...) > VBA is still a very powerful tool in the Access arsenal. > (why would you want to multi-thread code behind a report anyways? See P.S. for the reasons... > There's something I couldn't come up with a scenario > for....at least not for a report...a form > would be something completely different.) As I noted ONE CR's drill-down 'live' report can well substitute several MS Access forms and reports - this is just a different reporting ideology, another almost parallel universe with higher level of technological evolution :) and with the gap from MS Access becoming more and more perceptible with every new release... Well, what was really bad in CR v.8.x - these are subreports(when you need a lot of them for one report) - and this is a known fact - and CR application developers managed to make advanced reports WITHOUT subreports - imagine that! - as in all areas in this life when you gain in one area you loose in another - so of course CR isn't 100% perfect... With MS Access forever! Shamil P.S. Some facts about CR: <<<+ quoting CR online line +>>>> Optimized, multithreaded Report Engine The Crystal Report Engine's enhanced multithreading capabilities and thread-safe database drivers allow you to continue working on your important tasks, while many other operations are processed simultaneously in the background. The Report Engine also minimizes the number of passes made through the data, speeds up processing with improved memory management, and handles subreports and parameters as efficiently as possible. <<<- quoting CR online line ->>>> AND... <<<+ quoting CR online line +>>>> Page-on-demand technology Page-on-demand report access lets users download only the specific report pages they need to see, thus improving response times and reducing web traffic. Further, placeholders and partial page technology allow you to view report pages and data over the Web immediately, without having to wait for the processing of large objects, such as graphics and subreports. <<<- quoting CR online line ->>>> FURTHER... <<<+ quoting CR online line +>>>> Scale with Crystal Enterprise Reports Crystal Enterprise extends the value and scalability of Crystal Reports. It provides eBusiness with a scalable, web-based solution for managing the access and delivery of hundreds or thousands of Crystal reports to every decision-maker-across the enterprise and beyond. Crystal Enterprise provides a flexible, managed reporting solution. It gives you the ability to deliver the report-design power of Crystal Reports, atop a scalable, web-based infrastructure for managing a central report repository, user security, and report scheduling and processing. <<<- quoting CR online line ->>>> And this isn't marketing hype or something like that - I've a colleague who because of his using C++ and of Crystal reports (and of course he is a very smart programmer) upsized to the IIS his very advanced payroll/HRM system system in SEVERAL weeks (less than a month) and he did all that ALONE. Short info is here - http://www.fincomplex.com/ - with real screenshots - and this software works in both modes: desktop or web-server based - one have to just load another saved configuration settings pointing to the URL of the WEB server... BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting can be reused... ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:40 AM Subject: RE: [AccessD] Access and Crystal Reports > I agree on all of your statements. (Though CR doesn't allow for > multi-threaded programming in the background...does it?) > > As far as VBA is concerned, it would be a little difficult to create a > multi-threaded interpretted language. You can make a VB multi-thread .exe, > but you can't run it in debug mode. > > VBA is still a very powerful tool in the Access arsenal. (why would you > want to multi-thread code behind a report anyways? There's something I > couldn't come up with a scenario for....at least not for a report...a form > would be something completely different.) > > Drew > <<< tail skipped for brevity >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Mar 10 10:50:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon Mar 10 10:50:01 2003 Subject: [AccessD] compatability between Windows XP and older versions of office pro ducts. Message-ID: <8213C1F49875D61195DA0002A5412A0301406D5F@mail.doe.state.fl.us> We are in the process of purchasing new computers at the office. The Department policy is new machines are installed with WindowsXP. Some folks have heard that Office 2000 running on WindowsXP has issues with opening documents which were created with Office 97 running on Windows 95. Anyone know anything about this problem? Also, regarding backwards compatability. Is there a problem with any of the products except Access with that? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 10 10:57:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 10 10:57:00 2003 Subject: [AccessD] compatability between Windows XP and older versions of office products. Message-ID: Susan, I have been running XP Pro with Office 2000 at home, almost since the day XP was released with no problems. I have Office 97 and Office 2000 installed and have yet to run across any problems. I'd be interested to heard of any issues that you run across as well. I'll also offer to check out a few documents for you, if you want, that were created in O97 under W95 to allay any fears or concerns. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Susan.Klos at fldoe.org 10-Mar-03 11:45:13 AM >>> We are in the process of purchasing new computers at the office. The Department policy is new machines are installed with WindowsXP. Some folks have heard that Office 2000 running on WindowsXP has issues with opening documents which were created with Office 97 running on Windows 95. Anyone know anything about this problem? Also, regarding backwards compatability. Is there a problem with any of the products except Access with that? From cfoust at infostatsystems.com Mon Mar 10 11:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 11:26:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: DoCmd.TransferText acExportMerge, , , , Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, March 10, 2003 12:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DoCmd or RunCommand ? Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 11:52:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 11:52:00 2003 Subject: [AccessD] normalization question Message-ID: I tend to do it at the time so I don't forget. Of course, as we get older our memory ... Uh, what was I saying? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, March 09, 2003 3:36 PM To: AccessD at databaseadvisors.com Subject: [AccessD] normalization question When you remove a field to another table (for whatever reason), do you immediately create the foreign key in the original table, or do you wait until you've completely normalized each table and then return to the tables and insert all the foreign keys then? I tend to do it later because the nature of a single field can change. Does anyone know if the relational model requires a particular routine? Just curious. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 10 11:59:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 11:59:00 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> <00dc01c2e6b7$cfa49a70$6101a8c0@amd2k512> Message-ID: <02eb01c2e72d$1bc0cd00$f0e6ffcc@SusanOne> That's what I was looking for -- thanks William! Susan H. > ...if it will save at least 256Kb, it compacts ...HTH :) > http://www.zdnetindia.com/help/specials/officetips/stories/17453.html > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke From martyconnelly at shaw.ca Mon Mar 10 11:59:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 11:59:36 2003 Subject: [AccessD] Office 11 or 2003 Beta Shipping References: Message-ID: <3E6CD230.80205@shaw.ca> I posted this off to several other people; might be of interest here. Thought some people would get a chuckle out of a pound of CD's http://www.microsoft.com/office/preview/orderbeta.asp The beta kit's aforementioned 15 discs include a single disc holding Word, Excel, Outlook, PowerPoint, and Access, and individual CDs for FrontPage, Publisher, and two new apps, OneNote and InfoPath. The CDs also include Windows Server 2003 Enterprise Edition, Windows SharePoint Services, Windows SharePoint Portal Server 2.0, and Exchange Server 2003. There's also a separate disc for Outlook 2003 with Business Contact Manager. You may need a previously installed Sharepoint Server installed to get Sharepoint active. Otherwise known as Access 11 Beta software expires Dec 1 2003 Cost shipping and handling around $27 snail mail or $37 UPS plus whatever your customs tacks on The CDs also include Windows Server 2003 Enterprise Edition, Windows SharePoint Services, Windows SharePoint Portal Server 2.0, and Exchange Server 2003. There's also a separate disc for Outlook 2003 with Business Contact Manager, which is different from the stock version most everyone uses. What these server discs enable, and what makes Office 2003 special, are the collaboration features. Based on Microsoft's SharePoint technology, the suite enables users to collaborate on documents and hold meetings in ways not easily possible before. short blurb on installation http://www.zdnet.com/anchordesk/stories/story/0,10738,2912398,00.html From jeffrey.demulling at usbank.com Mon Mar 10 12:02:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon Mar 10 12:02:00 2003 Subject: [AccessD] Jeffrey F Demulling/MN/USB is out of the office. Message-ID: I will be out of the office starting 03/10/2003 and will not return until 03/17/2003. I will respond to your message when I return. Please contact Matt Lehmann (651) 244-8861 or Chris Kremmin (651) 244-4831 if you have an urgent matter. From harkins at iglou.com Mon Mar 10 12:06:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 12:06:01 2003 Subject: [AccessD] normalization question References: Message-ID: <035e01c2e72f$9f0b6b00$f0e6ffcc@SusanOne> Bill just asked me what channel my show comes on (it's a soap that I watch only on Mondays cause the kids are here the rest of the week) and I responded "Chapter 11..." I need a vacation. Susan H. > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? From bchacc at san.rr.com Mon Mar 10 12:07:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 12:07:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> Dear List I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 10 12:10:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 12:10:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <000101c2e70e$c71e10f0$59380cd8@hargrove.internal> Message-ID: <00ca01c2e730$2bbba740$8e01a8c0@Rock> Thanks. I was experimenting with the Properties("propname") syntax and couldn't nail it down. I'll keep trying. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: March 10, 2003 9:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, The RowSourceType is a string and doesn't use constants. The dropdown is apparently a value list composed of string choices. So whatever the text is, that is what you would use for the constant. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, March 10, 2003 08:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 10 12:21:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 12:21:00 2003 Subject: [AccessD] Expand the Immediate Window Buffer? Message-ID: <00cf01c2e731$c4957c60$8e01a8c0@Rock> I am not sure how many lines the immediate window saves, but I want it to save more. Is there a setting to control this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 12:26:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 12:26:01 2003 Subject: [AccessD] Office 11 or 2003 Beta Shipping In-Reply-To: <3E6CD230.80205@shaw.ca> References: <3E6CD230.80205@shaw.ca> Message-ID: <1047320714.3e6cd88b0047a@hosea.qub.ac.uk> If you have the hardware I advise installing .NET server and SharePoint. FrontPage2003 has major changes and working with Sharepoint as its application server the types of data you can bind to a web page is excellent. FP 2003 also contains the worlds only WYSIWYG XSLT editor. Anyone who has worked with XSLT will realise how useful this is. You can also work with XML, Oracle, SQL Server, Access, .NET, ASP I was very impressed with FP 2003 and Sharepoint. Cant say Access impressed me that much but the XML features of Office in general are good. Martin From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 12:35:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 12:35:00 2003 Subject: [AccessD] normalization question In-Reply-To: References: Message-ID: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait > until you've completely normalized each table and then return to the > tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 John.Clark at niagaracounty.com Mon Mar 10 12:39:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 10 12:39:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: I put the following in the "Before Update" event: If datFromSheriff.Value < datToSheriff.Value Then MsgBox "The return date cannot be previous to the Sent to Sheriff date", vbOKOnly, "Date Error" Cancel = True Me!datFromSheriff.Undo datFromSheriff = "" datFromSheriff.SetFocus End If And it now works fine. I actually got it after reading Andy's suggestion about "Cancel." I meant to send an Email that I got it, but I was called away from my desk for a couple of hours. Thanks! John W Clark >>> bchacc at san.rr.com 03/10/03 11:31AM >>> John: Turns out my results were not as weird as my programming. I had an error in the ValidationTests function. I wasn't returning False from the function on the fields that failed to work correctly when their validation test failed. Fixed it and now the code below works correctly on all fields. Yours should work as well. Does your BeforeUpdate event not work? (You don't, I think, need the .SetFocus). With much egg on face, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 8:15 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 10 12:53:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 12:53:00 2003 Subject: [AccessD] normalization question References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> Message-ID: <03c601c2e736$36e85040$f0e6ffcc@SusanOne> Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. The > theory is that the data is normalised before you actually create the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do you > > immediately create the foreign key in the original table, or do you > > wait > > until you've completely normalized each table and then return to the > > tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > 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 szeller at cce.umn.edu Mon Mar 10 12:55:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Mon Mar 10 12:55:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: I'm not familiar with the Static flag. Can you explain how this works and how I implement it? Couldn't find anything by this title in help. Thanks. --Susan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 5:55 PM To: Susan Zeller; accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close > seem like 3 obvious choices depending on what you're doing in the > code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an > Acess XP ADP in Access 2002 format. I want to run a bit of code on > start of the application so I created a macro called AutoExec which > has one step: RunCode and in it I call a function called LOAD which is > public and is in a module. When I start my application, it says it > can't find Load. What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 13:10:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 13:10:01 2003 Subject: [AccessD] normalization question In-Reply-To: <03c601c2e736$36e85040$f0e6ffcc@SusanOne> References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> <03c601c2e736$36e85040$f0e6ffcc@SusanOne> Message-ID: <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> When making the list before its finalised. I would generally take the user or who ever over the diagrams etc and get agreement before actually doing anything. FKs etc all go in to the diagrams. That way you dont forget to do them when you come to build the tables. Martin Quoting Susan Harkins : > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the structures. > The > > theory is that the data is normalised before you actually create the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we > get > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > you > > > immediately create the foreign key in the original table, or do > you > > > wait > > > until you've completely normalized each table and then return to > the > > > tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > 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 DWUTKA at marlow.com Mon Mar 10 13:15:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 13:15:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82271@main2.marlow.com> Is the file marked as read only? (The file you are exporting too.) Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 10, 2003 12:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] TransferText Failling Dear List I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Mon Mar 10 13:16:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon Mar 10 13:16:00 2003 Subject: [AccessD] TransferText Failling Message-ID: Hi Rocky, What is the extension of the filename you are trying to export to? Remember that Access is particular about that and will only export to .txt or .csv or .tab or a couple other magic extensions. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] TransferText Failling >Date: Mon, 10 Mar 2003 10:07:04 -0800 > >Dear List > >I'm trying to use the TransferText method of exporting a table to a comma >delimited file. I get "Error 3027: Cannot Update. Database or object is >read-only" when issuing: > >DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > >where varFileName contains a valid path and file name. Has anyone seen >this before? I have but can't remember why or what the fix was. > >MTIA, > >Rocky Smolin >Beach Access Software > > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From sgsax at ksu.edu Mon Mar 10 13:31:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 13:31:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> Message-ID: <1047324695.4534.270.camel@sgsax-th4022c> Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From sgsax at ksu.edu Mon Mar 10 13:36:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 13:36:00 2003 Subject: [AccessD] normalization question In-Reply-To: <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> <03c601c2e736$36e85040$f0e6ffcc@SusanOne> <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> Message-ID: <1047324943.4590.279.camel@sgsax-th4022c> I just did this for a potential client. It started out with an email they sent describing what they wanted from the application. I analyzed it and took into account what I knew about their organization. I then put together an ER diagram and a long-hand list of tables, fields, types, and notes regarding keys. This is what I presented the client with as my base starting point. We discussed it and they made suggestions and/or clarifications on some of the points. As soon as they sign the contract, I'm ready to run with it with little or no table modification from here on out. Seth On Mon, 2003-03-10 at 13:10, Mwp.Reid at Queens-Belfast.AC.UK wrote: > When making the list before its finalised. I would generally take the user or > who ever over the diagrams etc and get agreement before actually doing anything. > > FKs etc all go in to the diagrams. That way you dont forget to do them when you > come to build the tables. > > Martin > > Quoting Susan Harkins : > > > Yes, I agree... > > > > but in the process of making your paper lists -- when? > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Monday, March 10, 2003 1:34 PM > > Subject: RE: [AccessD] normalization question > > > > > > > > > > you do it before turning the PC on when your designing the structures. > > The > > > theory is that the data is normalised before you actually create the > > tables > > > physically. > > > > > > Martin > > > > > > (<: > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > > get > > > > older our memory ... Uh, what was I saying? > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > When you remove a field to another table (for whatever reason), do > > you > > > > immediately create the foreign key in the original table, or do > > you > > > > wait > > > > until you've completely normalized each table and then return to > > the > > > > tables and insert all the foreign keys then? > > > > > > > > I tend to do it later because the nature of a single field can > > change. > > > > > > > > Does anyone know if the relational model requires a particular > > > > routine? > > > > > > > > Just curious. > > > > > > > > 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 -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Mon Mar 10 13:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 13:43:00 2003 Subject: [AccessD] normalization question Message-ID: Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 martyconnelly at shaw.ca Mon Mar 10 13:46:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 13:46:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> Message-ID: <3E6CEB38.404@shaw.ca> I would complain (umm... make a request for clarification or advice) to the Head Office rather than locally. "Better to complain to the organ grinder than the monkey". This is an English aphorism referring to street buskers who would play a portable windup organ and have a little monkey running around with a cup to collect spare change. Here is the mailing address for Ministry in the Hague The Netherlands Ministry of Foreign Affairs Visitors Address: Bezuidenhoutseweg 67, The Hague tel. +31 70 3486486; fax. + 31 70 3484848; The Netherlands Ministry of Foreign Affairs Postal Address: PO Box 20061 2500 EB The Hague Or email complaint page http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X2X55346X5 or If you have any questions, please check the Frequently Asked Questions first. If you have still not found an answer to your question, then you can call the Communication department on weekdays from 9 a.m. to 12:30 p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. see: in english Visa Applications http://www.immigratiedienst.nl/ Probably a phone call to their communication department in external affairs for clarification would quickly resolve the matter. They aren't clear on their forms about very short business trips or actually working for a company on a 3 month contract or a business man who goes to Holland to solicit business and takes along his wife so she can shop or sitesee or a technician who goes to Holland to repair a machine. A 10 minute phone call to Europe from Canada only costs a little over a dollar, I don't know about your costs. Also when you applied, Holland was going through a National election where one of the major topics was Illegal Immigration and assylum seekers. So there may have been political direction to be hesitant or over zealous in the checking of visas, to avoid political embarassment to the powers that be, during the election period. This wasn't hard for me to check up. I was a Civil (Silly) Servant for a few years and can find my way around . You do learn skills as a civil servant. Things like reading upside down and backwards so you can read a letter on a desk you are not supposed to see. I can carry two passports EU and Canadian and still get into trouble over there with the regulations. Shamil Salakhetdinov wrote: >THNX for your info Marty! >Very much appreciated! > > > >> it isn't worth the hassle to complain >>about some minor functionary or bureaucrat >> >> >OK, I decided to reapply for the Visum if they are asking to do so but I'd >like to have some documents left on my hands(unfortunately I didn't make the >copy of the first Visa application) > >I'd like to write a letter to the head of the Consulate-General with request >for their help of solving this small misapprehension ASAP - how should I >proceed with them to let me to pass this letter to him and to allow me to >meet with him/his representative and to officially register my letter with >help request and explanation (my vision) of situation (of course without any >complaints)? > > > >>filling in a Green Card lottery form for permanent >>residence in US (odds 1:100) >> >> >You propose me to immigrate to the States? A plenty of work there and a room >for five people? - I still prefer to stay here in Russia and find a way to >freely travel around the World - should be doable but needs some time to >solve this without immigration to the States... > >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: >Sent: Sunday, March 09, 2003 4:48 AM >Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > >>I would write it off as the cost of doing business, it isn't worth the >>hassle to complain about some minor functionary or bureaucrat who >>probably doesn't understand all the rules and is too afraid to ask. I >>have run into the same thing with Canadian External Affairs in embassies >>overseas and got into arguments, only to find out it was local citizens >>handling the Visa sections run by one Canadian national who was too busy >>to oversee them what with all his demands of having to attend functions >>at the local Jockey club and golf course. Lodging a complaint against >>External Affairs is generally useless unless you threaten them with a >>press expose or high political action from their minister. >> I would get your partner to complain through his Dutch member of >>parliament, if you really >>wanted to raise the issue further. >> >> By the way the here is a description and cost of a Schengen Visa plus a >>pdf of the form from Dutch >>embassy in Washington. >> >>http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN >> >> Of course you could always expend some time filling in a Green Card >>lottery form for permanent residence in US (odds 1:100) rather than >>expending the time on a complaint. Better to light a candle than curse >>the darkness. >> >> http://www.usnis.org/ >> >> I have got my own back at times on Immigration types, once in Lagos >>Nigeria I was asked for >>dash ,mordida or baksheesh; to expedite my getting out of the country at >>the airport. So I reached into my throwdown wallet (in case of robbery) >>and pulled out a fistfull of Canadian Tire money >>(these are discount coupons that look like money in amounts of 10 cents >>through a dollar put out >>by an a Canadian Automotive chain store) explained to the guy I didn't >>have US cash but here was >>Canadian money. I could barely keep a straight face. >> >>Shamil Salakhetdinov wrote: >> >> >> >>>Hi All, >>> >>>I'm sorry I'm writing about that here - I just went very crazy today >>> >>> >about > > >>>what they - Western Embassies and Consulates here and their bosses in Den >>>Haage (Netherlands) are doing... >>> >>>Here is a fresh story: >>> >>>- I applied for business Visum (15 days of staying, one entry) several >>> >>> >days > > >>>ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: >>> >>> >here > > >>>in Consualate General they ACCEPTED this application for BUSINESS visum >>> >>> >and > > >>>they checked all the docs carefully) - to make that I prepared all the >>>needed paperwork, get original invitation from my partner from >>> >>> >Netherlands > > >>>(DHL, second day delivery = rather expensive), even changed the passports >>> >>> >to > > >>>make them fresh new (some more bucks) because at first they said that the >>>ones I had aren't good, PAID for their "services"(not that much but >>> >>> >should > > >>>be enough for a rather good dinner for three I think) and I started to >>>wait... >>>And BTW I spent quite some time on all that prepations and quite some >>>bucks in total... >>> >>>Do you know what answer I've got today? (in fact my Netherland's partner >>> >>> >was > > >>>called from Den Haage - Ministry of Foreign Affairs) - they said I should >>>have applied for TOURISTIC not BUSINESS visum because I plan to go with >>> >>> >my > > >>>kids but as I mentioned above here they CHECKED all the docs and ACCEPTED >>>them... >>> >>>Should I fight with them looking for truth with the risk to be written in >>>their "black lists" forever? >>>Or should I give up and accept the "rules" of their game? - there is a >>> >>> >whole > > >>>business around them here - and one (including any kinds of criminals >>> >>> >etc.) > > >>>can buy for money any kind of Visum and freely enter West Europe or >>> >>> >States > > >>>or Canada... >>> >>>I wanted to make it direct and according to all the laws and I didn't >>> >>> >want > > >>>to pay to the "shadow business around them" any extra money - and I've >>> >>> >got > > >>>NOTHING - or I'd better say I and my partner in Netherlands got real >>>mockery... And they were harsh not only with me - they were that hostile >>>with my Netherland's partner too - how it comes? >>> >>>Shamil >>> >>>P.S. I know, probably Russian Embassies do something like that there in >>> >>> >West > > >>>Europe - but should it justify what they are doing here these ambassadors >>> >>> >of > > >>>"civilized" free world? >>> >>>-- >>>e-mail: shamil at smsconsulting.spb.ru >>>Web: http://www.smsconsulting.spb.ru/shamil_s >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Mon Mar 10 13:46:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 13:46:59 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You dim a boolean as static inside the routine. One you set it, it stays set for that session. Static fConnection As Boolean Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Monday, March 10, 2003 10:54 AM To: accessd at databaseadvisors.com Subject: re: [AccessD] AutoExec Macro Question I'm not familiar with the Static flag. Can you explain how this works and how I implement it? Couldn't find anything by this title in help. Thanks. --Susan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 5:55 PM To: Susan Zeller; accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close > seem like 3 obvious choices depending on what you're doing in the > code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an > Acess XP ADP in Access 2002 format. I want to run a bit of code on > start of the application so I created a macro called AutoExec which > has one step: RunCode and in it I call a function called LOAD which is > public and is in a module. When I start my application, it says it > can't find Load. What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 10 13:49:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 13:49:00 2003 Subject: [AccessD] normalization question Message-ID: Susan, Whether you do it on paper or on the PC, it usually is an iterative process, at least in my experience. By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. And you will notice that some data fields split over several tables should be combined into one table. It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 12:50 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. > The theory is that the data is normalised before you actually create > the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do > > you immediately create the foreign key in the original table, or do > > you wait until you've completely normalized each table and then > > return to the tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can > > change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > Susan H. From harkins at iglou.com Mon Mar 10 13:59:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 13:59:00 2003 Subject: [AccessD] normalization question References: Message-ID: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along you > will discover that one or more of the tables you have already designed > needs to be split since some of the data fields apply only to the > subject of the table while other data fields does not. And you will > notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we get > > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > > > you immediately create the foreign key in the original table, or do > > > you wait until you've completely normalized each table and then > > > return to the tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > > > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > Susan H. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve.grant at stgsolutions.com Mon Mar 10 14:08:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 14:08:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Message-ID: Hi Arthur, Yeah! Works like a charm. Here is what I did in case someone else gets the same error: I created a new module (I called it bas_StaticFunctions) Created the two functions: Static Function StartDate() As Date StartDate = CDate(Forms.frm_Param.txt_StartInvoiceDate) End Function Static Function EndDate() As Date EndDate = CDate(Forms.frm_Param.txt_EndInvoiceDate) End Function In the criteria section of the query I put: Between StartDate() And EndDate() Note: The form "frm_Param" as to be opened in order for this to work. Note also that no validation is made in the functions StartDate() and EndDate() so validation for dates has to be done at the form level. Thanks a million! Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Arthur Fuller Envoye : Monday, March 10, 2003 09:01 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve From cfoust at infostatsystems.com Mon Mar 10 14:12:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 14:12:01 2003 Subject: [AccessD] normalization question Message-ID: Until recently, I liked to use Visio to design the schema. When I created a relationship between to tables, it would automagically insert the foreign keys. I actually liked version 5 better because it forced you to use unique field names in the schema and ONLY allowed foreign keys to use the same name when you created them by creating a relationship. Unfortunately, I lost the old, old disk 1 and can no longer install Visio 2002 on my machine because I can't give it a CD it recognizes as qualifying. Beside, MS took some of my favorite functionality (forward engineering) out of the Pro version and put it in Enterprise only :o{ Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 10, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along > you will discover that one or more of the tables you have already > designed needs to be split since some of the data fields apply only to > the subject of the table while other data fields does not. And you > will notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the > > structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we > > > get > > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > > > you immediately create the foreign key in the original table, or > > > do you wait until you've completely normalized each table and then > > > return to the tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > > > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > 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 CWortz at tea.state.tx.us Mon Mar 10 14:19:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 14:19:01 2003 Subject: [AccessD] normalization question Message-ID: Susan, Those (FK's) I already know about I add as I get to them. Those I don't know about I have to go back and add later. It's all part of the iterative process. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 13:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along > you will discover that one or more of the tables you have already > designed needs to be split since some of the data fields apply only to > the subject of the table while other data fields does not. And you > will notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the > > structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 14:19:16 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 14:19:16 2003 Subject: [AccessD] normalization question In-Reply-To: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> Message-ID: <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> In the design you include the FKs. Matter of course. Least I do. Particulary if your using a case tool to do the ERs etc. Martin Quoting Susan Harkins : > I agree with your Charles. It's the smart developer that can jump right > in > and create those tables with little or no thought to design before > starting. > I wouldn't attempt it. > > I'm just curious about the foreign keys though at this point -- more so > than > the actual design process. > > For whatever reason, I seem to remove fields until all my tables are > set. > Then, I go back and relate the tables by inserting foreign keys, and > I'm > just curious what others do. > > Susan H. > > > > Susan, > > > > Whether you do it on paper or on the PC, it usually is an iterative > > process, at least in my experience. By that I mean as you go along > you > > will discover that one or more of the tables you have already > designed > > needs to be split since some of the data fields apply only to the > > subject of the table while other data fields does not. And you will > > notice that some data fields split over several tables should be > > combined into one table. > > > > It would be a very simple application, or a very astute individual, > > where all the relationships are obvious from the beginning. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Monday 2003 Mar 10 12:50 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] normalization question > > > > Yes, I agree... > > > > but in the process of making your paper lists -- when? > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Monday, March 10, 2003 1:34 PM > > Subject: RE: [AccessD] normalization question > > > > > > > > > > you do it before turning the PC on when your designing the > structures. > > > > > The theory is that the data is normalised before you actually > create > > > the > > tables > > > physically. > > > > > > Martin > > > > > > (<: > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > get > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > When you remove a field to another table (for whatever reason), > do > > > > you immediately create the foreign key in the original table, or > do > > > > you wait until you've completely normalized each table and then > > > > return to the tables and insert all the foreign keys then? > > > > > > > > I tend to do it later because the nature of a single field can > > > > change. > > > > > > > > Does anyone know if the relational model requires a particular > > > > routine? > > > > > > > > Just curious. > > > > > > > > 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 wdhindman at bellsouth.net Mon Mar 10 14:24:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 10 14:24:00 2003 Subject: [AccessD] Iterating Controls References: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <009401c2e742$ed286320$6101a8c0@amd2k512> ...but you can change the reply format to text :( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Arthur Fuller" To: Sent: Monday, March 10, 2003 8:43 AM Subject: RE: [AccessD] Iterating Controls > Ok my code is working now. Just one more detail to take care of... I'm > looking for the constants that define the row source types of combos and > listboxes. Specifically I want the one that equals "table/view/stored proc". > TIA, > Arthur > P.S. > The RTF format comes about from replying to an RTF format message. Sorry > about that. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman > Sent: March 9, 2003 10:56 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Iterating Controls > > "clearly I am now dazed and confused" Arthur > > ...been telling you that for years :) > > ...and for heavens sake, turn off the rtf format :( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Mar 10 14:24:16 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 14:24:16 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> Message-ID: <000d01c2e742$f2e70780$b501010a@DAISY.local> THNX Marty, I will give it another try to solve the problem without complaints - if no result then maybe I will go compainingt o the Head Office. But the chances are very high that they will not accept any of my complaints and will play fool - or you've any success stories when complaints helped to solve the situations like that mine? TIA for any additional info, Shamil ----- Original Message ----- From: "MartyConnelly" To: Sent: Monday, March 10, 2003 10:44 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would complain (umm... make a request for clarification or advice) to > the Head Office rather than locally. "Better to complain to the organ > grinder than the monkey". This is an English aphorism > referring to street buskers who would play a portable windup organ and > have a little monkey running around with a cup to collect spare change. > > Here is the mailing address for Ministry in the Hague > The Netherlands Ministry of Foreign Affairs > > Visitors Address: > Bezuidenhoutseweg 67, The Hague > tel. +31 70 3486486; > fax. + 31 70 3484848; > > The Netherlands Ministry of Foreign Affairs > Postal Address: > PO Box 20061 > 2500 EB The Hague > > Or email complaint page > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X 2X55346X5 > or > > If you have any questions, please check the Frequently Asked Questions > first. If you have still not found an answer to your question, then you > can call the Communication department on weekdays from 9 a.m. to 12:30 > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > see: in english Visa Applications > > http://www.immigratiedienst.nl/ > > Probably a phone call to their communication department in external > affairs for clarification would quickly resolve the matter. They aren't > clear on their forms about very short business trips or actually working > for a company on a 3 month contract or a business man who goes to > Holland to solicit business and takes along his wife so she can shop or > sitesee or a technician who goes to Holland to repair a machine. A 10 > minute phone call to Europe from Canada only costs a little over a dollar, > I don't know about your costs. > > Also when you applied, Holland was going through a National election > where one of the major topics was Illegal Immigration and assylum > seekers. So there may have been political direction to be hesitant or > over zealous in the checking of visas, to avoid political embarassment > to the powers that be, during the election period. > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > few years and can find my way around . You do learn skills as a civil > servant. Things like reading upside down and backwards > so you can read a letter on a desk you are not supposed to see. I can > carry two passports EU and Canadian and still get into trouble over > there with the regulations. > > > Shamil Salakhetdinov wrote: > > >THNX for your info Marty! > >Very much appreciated! > > > > > > > >> it isn't worth the hassle to complain > >>about some minor functionary or bureaucrat > >> > >> > >OK, I decided to reapply for the Visum if they are asking to do so but I'd > >like to have some documents left on my hands(unfortunately I didn't make the > >copy of the first Visa application) > > > >I'd like to write a letter to the head of the Consulate-General with request > >for their help of solving this small misapprehension ASAP - how should I > >proceed with them to let me to pass this letter to him and to allow me to > >meet with him/his representative and to officially register my letter with > >help request and explanation (my vision) of situation (of course without any > >complaints)? > > > > > > > >>filling in a Green Card lottery form for permanent > >>residence in US (odds 1:100) > >> > >> > >You propose me to immigrate to the States? A plenty of work there and a room > >for five people? - I still prefer to stay here in Russia and find a way to > >freely travel around the World - should be doable but needs some time to > >solve this without immigration to the States... > > > >Shamil > > <<< tail skipped for brevity >>> From harkins at iglou.com Mon Mar 10 14:31:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 14:31:00 2003 Subject: [AccessD] normalization question References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> Message-ID: <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> In the design, yes -- I do too. I think I'm not making my question very clear. :) Susan H. > In the design you include the FKs. Matter of course. Least I do. Particulary if > your using a case tool to do the ERs etc. > > Martin > > > Quoting Susan Harkins : > > > I agree with your Charles. It's the smart developer that can jump right > > in > > and create those tables with little or no thought to design before > > starting. > > I wouldn't attempt it. > > > > I'm just curious about the foreign keys though at this point -- more so > > than > > the actual design process. > > > > For whatever reason, I seem to remove fields until all my tables are > > set. > > Then, I go back and relate the tables by inserting foreign keys, and > > I'm > > just curious what others do. > > > > Susan H. > > > > > > > Susan, > > > > > > Whether you do it on paper or on the PC, it usually is an iterative > > > process, at least in my experience. By that I mean as you go along > > you > > > will discover that one or more of the tables you have already > > designed > > > needs to be split since some of the data fields apply only to the > > > subject of the table while other data fields does not. And you will > > > notice that some data fields split over several tables should be > > > combined into one table. > > > > > > It would be a very simple application, or a very astute individual, > > > where all the relationships are obvious from the beginning. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Monday 2003 Mar 10 12:50 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] normalization question > > > > > > Yes, I agree... > > > > > > but in the process of making your paper lists -- when? > > > > > > > > > ----- Original Message ----- > > > From: > > > To: > > > Sent: Monday, March 10, 2003 1:34 PM > > > Subject: RE: [AccessD] normalization question > > > > > > > > > > > > > > you do it before turning the PC on when your designing the > > structures. > > > > > > > The theory is that the data is normalised before you actually > > create > > > > the > > > tables > > > > physically. > > > > > > > > Martin > > > > > > > > (<: > > > > > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > > get > > > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > > > > When you remove a field to another table (for whatever reason), > > do > > > > > you immediately create the foreign key in the original table, or > > do > > > > > you wait until you've completely normalized each table and then > > > > > return to the tables and insert all the foreign keys then? > > > > > > > > > > I tend to do it later because the nature of a single field can > > > > > change. > > > > > > > > > > Does anyone know if the relational model requires a particular > > > > > routine? > > > > > > > > > > Just curious. > > > > > > > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 14:45:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 14:45:01 2003 Subject: [AccessD] normalization question In-Reply-To: <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> Message-ID: <1047329086.3e6cf93e8f323@hosea.qub.ac.uk> As Charles says As you work over the data you begin to vreate tables etc. As you draw up the diagrams you begin to work out relationships. If I know a relationship I put the FKs in. As you repeat the prcess breaking down the data and creating relationships you add the FKs. If your using case tools you must add the FKs in oreder to get the software to create the relationships/ If you are using normilisation the FKs are created as you carry out each NF. But again its a discovery process and I would place the FKs in each entity as required as I go rather than have to go back to perhpas 200 tables and do it then. Martin Quoting Susan Harkins : > In the design, yes -- I do too. I think I'm not making my question > very > clear. :) > > Susan H. > > > > In the design you include the FKs. Matter of course. Least I do. > Particulary if > > your using a case tool to do the ERs etc. > > > > Martin > > > > > > Quoting Susan Harkins : > > > > > I agree with your Charles. It's the smart developer that can jump > right > > > in > > > and create those tables with little or no thought to design before > > > starting. > > > I wouldn't attempt it. > > > > > > I'm just curious about the foreign keys though at this point -- more > so > > > than > > > the actual design process. > > > > > > For whatever reason, I seem to remove fields until all my tables > are > > > set. > > > Then, I go back and relate the tables by inserting foreign keys, > and > > > I'm > > > just curious what others do. > > > > > > Susan H. > > > > > > > > > > Susan, > > > > > > > > Whether you do it on paper or on the PC, it usually is an > iterative > > > > process, at least in my experience. By that I mean as you go > along > > > you > > > > will discover that one or more of the tables you have already > > > designed > > > > needs to be split since some of the data fields apply only to > the > > > > subject of the table while other data fields does not. And you > will > > > > notice that some data fields split over several tables should be > > > > combined into one table. > > > > > > > > It would be a very simple application, or a very astute > individual, > > > > where all the relationships are obvious from the beginning. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Monday 2003 Mar 10 12:50 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] normalization question > > > > > > > > Yes, I agree... > > > > > > > > but in the process of making your paper lists -- when? > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: > > > > Sent: Monday, March 10, 2003 1:34 PM > > > > Subject: RE: [AccessD] normalization question > > > > > > > > > > > > > > > > > > you do it before turning the PC on when your designing the > > > structures. > > > > > > > > > The theory is that the data is normalised before you actually > > > create > > > > > the > > > > tables > > > > > physically. > > > > > > > > > > Martin > > > > > > > > > > (<: > > > > > > > > > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > > > > > I tend to do it at the time so I don't forget. Of course, as > we > > > get > > > > > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > > > To: AccessD at databaseadvisors.com > > > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > > > > > > > When you remove a field to another table (for whatever > reason), > > > do > > > > > > you immediately create the foreign key in the original table, > or > > > do > > > > > > you wait until you've completely normalized each table and > then > > > > > > return to the tables and insert all the foreign keys then? > > > > > > > > > > > > I tend to do it later because the nature of a single field > can > > > > > > change. > > > > > > > > > > > > Does anyone know if the relational model requires a > particular > > > > > > routine? > > > > > > > > > > > > Just curious. > > > > > > > > > > > > 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 thevigil at kabelfoon.nl Mon Mar 10 14:53:00 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Mon Mar 10 14:53:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> Message-ID: <010d01c2e746$72581f60$115b2d3e@jester> Rocky, I renewed my subscription to this list recently. And found it to be very helpful already. Didn't have anything to ask the list, yet ;-), but got some realy helpful info about some things i was about to ask the list...... Hope i will be able to help soon..... I was wondering though, Rocky, why you don't use something like: Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) Cancel = NOT ValidationTests End Sub This is how i am writing it. Is there any special reason for your syntax? Or any special reason i should NOT use my syntax? Bert-Jan Brinkhuis ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 5:15 PM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Mon Mar 10 15:01:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon Mar 10 15:01:01 2003 Subject: [AccessD] Emulating a splitter control Message-ID: <003401c2e747$d3498420$f2308690@bbb888> Goodmorning list! I am trying to emulate the standard splitter control - treeview on the left, listview on the right and a rectangle between to act as a grabber bar. The effect works OK in the main but the mousepointer is giving me grief. If I move the cursor off the rectangle either too quickly or off the top into the header, it remains as a left-right arrow and doesn't revert to a normal pointer. Has anyone got any ideas on this? The entire code follows - Dim boolDragOn As Boolean Dim minsize As Integer Dim maxsize As Integer Dim intheight As Integer Dim intwidth As Integer Const initFormWidth = 20 Const initFormHeight = 10 Const initSplitRatio = 0.2 Private Sub Form_Close() Screen.MousePointer = 0 End Sub Private Sub Form_Deactivate() Screen.MousePointer = 0 End Sub Private Sub Form_LostFocus() Screen.MousePointer = 0 End Sub Private Sub Form_Open(Cancel As Integer) intwidth = 567 * initFormWidth '567 twips per cm multiplied by cm width intheight = 567 * initFormHeight '567 twips per cm mulitplied by cm height Me.trvMain.Left = 0 Me.trvMain.Top = 0 Me.splitbar.Left = 0 Me.splitbar.Top = 0 Me.lvwMain.Left = 0 Me.lvwMain.Top = 0 Me.Width = intwidth Me.Detail.Height = intheight Me.trvMain.Height = intheight Me.lvwMain.Height = intheight Me.splitbar.Height = intheight Me.trvMain.Width = (intwidth - 66) * initSplitRatio Me.splitbar.Left = Me.trvMain.Width + 1 Me.splitbar.Width = 64 Me.lvwMain.Left = Me.splitbar.Left + Me.splitbar.Width + 1 Me.lvwMain.Width = Me.Width - (Me.trvMain.Width + 64) ' Me.Move 300, 300, Me.Width, Me.Detail.Height DoCmd.RunCommand acCmdSizeToFitForm minsize = 300 maxsize = 300 End Sub Private Sub Form_Resize() Dim ctl As Control intheight = Me.InsideHeight - Me.FormHeader.Height - Me.FormFooter.Height For Each ctl In Me.Detail.Controls ctl.Height = bMax(intheight, 0) Next ctl Me.Detail.Height = bMax(intheight, 0) Me.lvwMain.Width = bMax(Me.InsideWidth - Me.trvMain.Width - 364, 100) intwidth = Me.trvMain.Width + Me.splitbar.Width + Me.lvwMain.Width + 2 Me.Width = intwidth End Sub Private Sub splitbar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) boolDragOn = True Me.splitbar.BackColor = 5348410 End Sub Private Sub splitbar_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) '==================TRYING TO RESET THE POINTER HERE============ If X > 0 And X < 35 Then Screen.MousePointer = 9 Else Screen.MousePointer = 0 End If '============================================================= If boolDragOn Then If (Me.trvMain.Width + X) > minsize _ And (Me.lvwMain.Width - X) > maxsize Then Me.splitbar.Left = Me.splitbar.Left + X Me.trvMain.Width = Me.trvMain.Width + X If X < 0 Then Me.lvwMain.Left = Me.lvwMain.Left + X Me.lvwMain.Width = Me.lvwMain.Width - X Else Me.lvwMain.Width = Me.lvwMain.Width - X Me.lvwMain.Left = Me.lvwMain.Left + X End If Else X = 0 End If End If End Sub Private Sub splitbar_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) boolDragOn = False Me.splitbar.BackColor = -2147483633 Screen.MousePointer = 0 End Sub Public Function bMax(v1, v2) As Variant If v1 > v2 Then bMax = v1 Else bMax = v2 End If End Function Thanks in advance Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From CWortz at tea.state.tx.us Mon Mar 10 15:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 15:03:00 2003 Subject: [AccessD] normalization question Message-ID: Martin, I couldn't have said it better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday 2003 Mar 10 14:45 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question As Charles says As you work over the data you begin to vreate tables etc. As you draw up the diagrams you begin to work out relationships. If I know a relationship I put the FKs in. As you repeat the prcess breaking down the data and creating relationships you add the FKs. If your using case tools you must add the FKs in oreder to get the software to create the relationships/ If you are using normilisation the FKs are created as you carry out each NF. But again its a discovery process and I would place the FKs in each entity as required as I go rather than have to go back to perhpas 200 tables and do it then. Martin Quoting Susan Harkins : > In the design, yes -- I do too. I think I'm not making my question > very clear. :) > > Susan H. > > > > In the design you include the FKs. Matter of course. Least I do. > Particulary if > > your using a case tool to do the ERs etc. > > > > Martin From Lambert.Heenan at AIG.com Mon Mar 10 15:11:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon Mar 10 15:11:00 2003 Subject: [AccessD] Emulating a splitter control Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897443@xlivmbx12.aig.com> Suggest that both the Treeview control and the listbox need to have a Mouse_Move event that will set the mouse point to the standard one - perhaps even the Form's detail, header and footer sections too. > -----Original Message----- > From: Bruce Bruen [SMTP:bbruen at bigpond.com] > Sent: Monday, March 10, 2003 3:59 PM > To: AccessD > Subject: [AccessD] Emulating a splitter control > > Goodmorning list! > > I am trying to emulate the standard splitter control - treeview on the > left, listview on the right and a rectangle between to act as a grabber > bar. > > The effect works OK in the main but the mousepointer is giving me grief. > If I move the cursor off the rectangle either too quickly or off the top > into the header, it remains as a left-right arrow and doesn't revert to > a normal pointer. > > Has anyone got any ideas on this? The entire code follows - > > Dim boolDragOn As Boolean > Dim minsize As Integer > Dim maxsize As Integer > Dim intheight As Integer > Dim intwidth As Integer > > Const initFormWidth = 20 > Const initFormHeight = 10 > Const initSplitRatio = 0.2 > > Private Sub Form_Close() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_Deactivate() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_LostFocus() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_Open(Cancel As Integer) > > intwidth = 567 * initFormWidth '567 twips per cm multiplied by > cm width > intheight = 567 * initFormHeight '567 twips per cm mulitplied by > cm height > Me.trvMain.Left = 0 > Me.trvMain.Top = 0 > Me.splitbar.Left = 0 > Me.splitbar.Top = 0 > Me.lvwMain.Left = 0 > Me.lvwMain.Top = 0 > > Me.Width = intwidth > Me.Detail.Height = intheight > Me.trvMain.Height = intheight > Me.lvwMain.Height = intheight > Me.splitbar.Height = intheight > > Me.trvMain.Width = (intwidth - 66) * initSplitRatio > > Me.splitbar.Left = Me.trvMain.Width + 1 > Me.splitbar.Width = 64 > > Me.lvwMain.Left = Me.splitbar.Left + Me.splitbar.Width + 1 > Me.lvwMain.Width = Me.Width - (Me.trvMain.Width + 64) > > ' Me.Move 300, 300, Me.Width, Me.Detail.Height > DoCmd.RunCommand acCmdSizeToFitForm > > minsize = 300 > maxsize = 300 > > End Sub > > Private Sub Form_Resize() > Dim ctl As Control > > intheight = Me.InsideHeight - Me.FormHeader.Height - > Me.FormFooter.Height > For Each ctl In Me.Detail.Controls > ctl.Height = bMax(intheight, 0) > Next ctl > Me.Detail.Height = bMax(intheight, 0) > > Me.lvwMain.Width = bMax(Me.InsideWidth - Me.trvMain.Width - 364, > 100) > intwidth = Me.trvMain.Width + Me.splitbar.Width + Me.lvwMain.Width + > 2 > > Me.Width = intwidth > > End Sub > > Private Sub splitbar_MouseDown(Button As Integer, Shift As Integer, X As > Single, Y As Single) > boolDragOn = True > Me.splitbar.BackColor = 5348410 > End Sub > > Private Sub splitbar_MouseMove(Button As Integer, Shift As Integer, X As > Single, Y As Single) > '==================TRYING TO RESET THE POINTER HERE============ > If X > 0 And X < 35 Then > Screen.MousePointer = 9 > Else > Screen.MousePointer = 0 > End If > '============================================================= > If boolDragOn Then > If (Me.trvMain.Width + X) > minsize _ > And (Me.lvwMain.Width - X) > maxsize Then > Me.splitbar.Left = Me.splitbar.Left + X > Me.trvMain.Width = Me.trvMain.Width + X > If X < 0 Then > Me.lvwMain.Left = Me.lvwMain.Left + X > Me.lvwMain.Width = Me.lvwMain.Width - X > Else > Me.lvwMain.Width = Me.lvwMain.Width - X > Me.lvwMain.Left = Me.lvwMain.Left + X > End If > Else > X = 0 > End If > End If > > End Sub > > Private Sub splitbar_MouseUp(Button As Integer, Shift As Integer, X As > Single, Y As Single) > boolDragOn = False > Me.splitbar.BackColor = -2147483633 > Screen.MousePointer = 0 > End Sub > > Public Function bMax(v1, v2) As Variant > If v1 > v2 Then > bMax = v1 > Else > bMax = v2 > End If > End Function > > > > Thanks in advance > Bruce > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 10 15:14:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 15:14:00 2003 Subject: [AccessD] Iterating Controls: Solved In-Reply-To: <00ca01c2e730$2bbba740$8e01a8c0@Rock> Message-ID: <00f901c2e749$eea6e8a0$8e01a8c0@Rock> For those interested, here's a sub that walks the forms and grabs the data-driven record sources and within each form, the data-driven row sources for combo boxes and list boxes. Watch for wrap. '------------------------------------------------------------------------- ' Procedure : ListDataSources ' DateTime : 10/03/2003 ' Author : Arthur Fuller ' Purpose : List the data sources for all forms and data-driven controls '------------------------------------------------------------------------- Public Sub ListDataSources() Dim strOutFile As String Dim fs As Object Dim a As Object Dim frm As Form Dim ctl As Control Dim objFrm As Object Dim i As Integer strOutFile = "c:\RyersonDataSources.txt" Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Application.Echo False For Each objFrm In CurrentProject.AllForms i = 0 DoCmd.OpenForm objFrm.name, acDesign Set frm = Forms(objFrm.name) a.WriteLine "=========================================================================" a.WriteLine "Form: " & objFrm.name a.WriteLine "=========================================================================" Debug.Print objFrm.name & ": " & frm.RecordSource If frm.RecordSource <> "" Then a.WriteLine "RecordSource:" a.WriteLine frm.RecordSource a.WriteLine Else a.WriteLine "Unbound form" End If For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then i = 1 End If Case acListBox '110 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then i = 1 End If Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select Next ctl If i > 0 Then a.WriteLine "Data Driven Controls" a.WriteLine "--------------------" End If For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox '111 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.WriteLine "Control: " & ctl.name a.WriteLine "RowSource:" a.WriteLine ctl.RowSource a.WriteLine End If Case acListBox '110 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.WriteLine "Control: " & ctl.name a.WriteLine "RowSource:" a.WriteLine ctl.RowSource a.WriteLine End If Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select Next ctl Set frm = Nothing DoCmd.Close acForm, objFrm.name, acSaveNo a.WriteLine Next objFrm a.Close Application.Echo True Set frm = Nothing Set fs = Nothing Set a = Nothing Set ctl = Nothing Set objFrm = Nothing End Sub From martyconnelly at shaw.ca Mon Mar 10 15:25:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 15:25:00 2003 Subject: [AccessD] compatability between Windows XP and older versions of office pro ducts. References: <8213C1F49875D61195DA0002A5412A0301406D5F@mail.doe.state.fl.us> Message-ID: <3E6D0255.5060202@shaw.ca> You might want to check through back issues of woodyswatch for MS Word issues, there are some oddities. Many were patched with Office SP1 SP2 and SP3. So it depends on what you install. http://www.woodyswatch.com There is the Outlook 2000 email attachment security problem if you use this to transfer data via attachments. This was switched around in various Office SP's. And WinXP SP1 uses AES encryption rather than the older DESX alogrithm, opening these files on an older OS that uses DESX might be fatal to the files. I don't know many people that use this. see MSKB 329741 Win XP comes with MDAC 2.7 installed, so you might want to upgrade Access Jet to SP-6 If you have a reference to ADO in Access to say MDAC 2.5 or 2.1, you may have reference failures. Klos, Susan wrote: > We are in the process of purchasing new computers at the office. The > Department policy is new machines are installed with WindowsXP. Some > folks have heard that Office 2000 running on WindowsXP has issues with > opening documents which were created with Office 97 running on Windows > 95. Anyone know anything about this problem? Also, regarding > backwards compatability. Is there a problem with any of the products > except Access with that? From jim.hale at fleetpride.com Mon Mar 10 16:15:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 16:15:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Mon Mar 10 16:26:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 16:26:01 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> References: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> Message-ID: <1047335195.4590.464.camel@sgsax-th4022c> Jim, Try putting On Error Resume Next right before the Kill statement, and then On Error GoTo right after to re-enable your error handler. As for your formatting, have you tried looking in Help for User-Defined Number Formats? If you do, you'll see that the # character will display a digit or nothing. What you want to use is the 0 character, which will display a digit or a zero. So when you format your text for printing, you want to use Format(, "-0000.00") Hope this helps! Happy exporting! Seth On Mon, 2003-03-10 at 16:12, Hale, Jim wrote: > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bchacc at san.rr.com Mon Mar 10 16:44:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 16:44:01 2003 Subject: [AccessD] TransferText Failling References: Message-ID: <003a01c2e756$89ed4ff0$6601a8c0@HAL9002> Well, that solved it. Thanks. .txt works. But I think Seth is probably right as well. I've used direct I/O and it's really simple and real effective. That was going to be my next move but I was just lazy and trying to save a few lines of code. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Monday, March 10, 2003 11:15 AM Subject: Re: [AccessD] TransferText Failling > Hi Rocky, > > What is the extension of the filename you are trying to export to? Remember > that Access is particular about that and will only export to .txt or .csv or > .tab or a couple other magic extensions. > > Gary Kjos > garykjos at hotmail.com > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] TransferText Failling > >Date: Mon, 10 Mar 2003 10:07:04 -0800 > > > >Dear List > > > >I'm trying to use the TransferText method of exporting a table to a comma > >delimited file. I get "Error 3027: Cannot Update. Database or object is > >read-only" when issuing: > > > >DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > >where varFileName contains a valid path and file name. Has anyone seen > >this before? I have but can't remember why or what the fix was. > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Mar 10 16:47:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 16:47:00 2003 Subject: [AccessD] TransferText Failling References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> <1047324695.4534.270.camel@sgsax-th4022c> Message-ID: <004401c2e756$e30b7da0$6601a8c0@HAL9002> Seth: I think you're right. I was just trying to do it in one line. I've used direct file I/O and it's simple and straightforward, especially for an old DOS guy like me. If the client wants something besides .txt I'll probably convert. This is a real simple spit it out, read it in scenario. Not much control required. No specification. Any other good reason to abandon the transfertext if it's working? Thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Seth Galitzer" To: "accessd" Sent: Monday, March 10, 2003 11:31 AM Subject: Re: [AccessD] TransferText Failling > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Mon Mar 10 16:50:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Mon Mar 10 16:50:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047144877.3e6a29ad39151@hosea.qub.ac.uk> Message-ID: The survey has been closed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Saturday, March 08, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access Solutions Drilldown AND the URL WOULD BE WHAT? Martin Quoting Susan Harkins : > They wouldn't even let me take the darn thing because I haven't > "deployed" a > new application in 18 months. As if... :( > > Susan H. > > > > Has anyone else had problems with the survey? I get to page 2 and > it > > crashes IE. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Saturday, March 08, 2003 10:49 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > It is the Access survey for developers Microsoft is collecting on > line > right > > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > > You might be able to sign up for it on MS site somewhere. It takes > about > 10 > > minutes or less. > > > > JB > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur > Fuller > > Sent: Saturday, March 08, 2003 7:34 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > > have never noticed this. > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > > Sent: March 7, 2003 11:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale separately > from > > the Microsoft Office Developer Edition, would you be willing to pay > $299 > for > > the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > then? If > > you split Runtime and SQL tools from ODE it would cause nothing but > grief > > over increased cost for me. If you created an Access Developer > Edition > which > > incorporates all of the applicable Access ODE functionality into a > seperate > > lower cost package I would consider that as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 10 16:52:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon Mar 10 16:52:00 2003 Subject: [AccessD] normalization question In-Reply-To: Message-ID: Charlotte, << And we all know how closely theory matches reality. > Yeah right, I mean heck everyone is using natural keys, right? ;) Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 10, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 DWUTKA at marlow.com Mon Mar 10 16:52:27 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 16:52:27 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82277@main2.marlow.com> Here's my code....just writing it in the email..it's really simple to do. Function DumpRecordset(strSQL as String,strFileName as String) Dim f As Long Dim rs As recordset Dim strData as String dim i As Long set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO if rs.eof=False then rs.movefirst f=FreeFile If Dir(strFileName)<>"" Then Kill strFileName Open strFileName for binary access read as f Do Until rs.eof=True strData="" for i=0 to rs.Field.Count-1 strData=strData & rs.Field(i).Value & "," Next i strData=Left(strData,len(strData)-1) & vbcrlf Put f,,strData rs.movenext loop rs.close Close f End Function All in all, pretty simple code. (You can change the "," to whatever delimiter you want. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, March 10, 2003 4:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Mar 10 17:00:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 17:00:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCF4@corp-es00> Worked fine, thanks! Jim -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 4:27 PM To: accessd Subject: RE: [AccessD] TransferText Failling Jim, Try putting On Error Resume Next right before the Kill statement, and then On Error GoTo right after to re-enable your error handler. As for your formatting, have you tried looking in Help for User-Defined Number Formats? If you do, you'll see that the # character will display a digit or nothing. What you want to use is the 0 character, which will display a digit or a zero. So when you format your text for printing, you want to use Format(, "-0000.00") Hope this helps! Happy exporting! Seth On Mon, 2003-03-10 at 16:12, Hale, Jim wrote: > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ 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 Mar 10 17:05:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 10 17:05:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <3E6DA6D0.23344.292256@localhost> > I'm not familiar with the Static flag. Can you explain how this works > and how I implement it? Couldn't find anything by this title in help. > Not "the" Static flag, "a" Static flag. A flag is a variable (freqently a Boolean) which you use to signal the state of something. If you Dim it as a Static variable, it's state doesn't change from call to call of the function. You can use it to tell whether the function has been called before and therefore only run a particular piece of code once. Here's an example which: Function Test(Optional reset As Long) As Long Static flgAlreadyRun As Boolean If reset = -1 Then flgAlreadyRun = False MsgBox "Function reset to 'Uncalled'" Exit Function End If If flgAlreadyRun Then MsgBox "You've already called this function once" Else MsgBox "This is the first time you've called this function" flgAlreadyRun = True End If End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From sgsax at ksu.edu Mon Mar 10 17:15:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 17:15:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <004401c2e756$e30b7da0$6601a8c0@HAL9002> References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> <1047324695.4534.270.camel@sgsax-th4022c> <004401c2e756$e30b7da0$6601a8c0@HAL9002> Message-ID: <1047338112.4590.523.camel@sgsax-th4022c> On Mon, 2003-03-10 at 16:46, Rocky Smolin - Beach Access Software wrote: > > Any other good reason to abandon the transfertext if it's working? > Ummm.... more lines of code means you can pad your bill a bit. :) I know, no decent and honest person would do this, unless the client was a real pain the tuchas. You did say a "good" reason. Other than greater flexibility, I can't really think of one. TransferText has its limits, your own code does not. I've seen cases where transfertext absolutely failed and direct file I/O was flawless and faster to boot. I guess that's about it. Enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From stuart at lexacorp.com.pg Mon Mar 10 17:16:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 10 17:16:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A78@NT04> Message-ID: <3E6DA960.16196.332778@localhost> For a free alternative to Acrobat, take a lot at MakePDF on my site. This is a front end to Ghostscript and it handles mixed pages with no problems. > Adobe acrobat can mix landscape and portrait, and it works well. But it's > not something you want to purchase unless you are going to use it often. I > use it to submit documents to other companies and to the government. It > will work with Word, Excel, and Access. > > Jim Hewson > > -----Original Message----- > From: James Hale [mailto:jhale at houston.rr.com] > Sent: Saturday, March 08, 2003 12:57 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] PDF for word ... > > > The only way I have been able to mix landscape and portrait in the same > document is with Word and this doesn't always work well either. I presume > Adobe acrobat can do the trick but I have been to cheap to spring for a > copy. > > Jim Hale > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Sunday, March 02, 2003 1:55 AM > To: James Hale > Subject: Re: [AccessD] PDF for word ... > > > Hi James > > So which products do? > > /gustav > > > > I have found that many of these products don't handle a mixture of > portrait > > and landscape pages in the same report. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jim.hale at fleetpride.com Mon Mar 10 17:17:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 17:17:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCFD@corp-es00> Thanks Jim H -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 10, 2003 4:52 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Here's my code....just writing it in the email..it's really simple to do. Function DumpRecordset(strSQL as String,strFileName as String) Dim f As Long Dim rs As recordset Dim strData as String dim i As Long set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO if rs.eof=False then rs.movefirst f=FreeFile If Dir(strFileName)<>"" Then Kill strFileName Open strFileName for binary access read as f Do Until rs.eof=True strData="" for i=0 to rs.Field.Count-1 strData=strData & rs.Field(i).Value & "," Next i strData=Left(strData,len(strData)-1) & vbcrlf Put f,,strData rs.movenext loop rs.close Close f End Function All in all, pretty simple code. (You can change the "," to whatever delimiter you want. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, March 10, 2003 4:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 17:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 17:36:00 2003 Subject: [AccessD] normalization question Message-ID: Now, don't YOU start! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, March 10, 2003 2:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Charlotte, << And we all know how closely theory matches reality. > Yeah right, I mean heck everyone is using natural keys, right? ;) Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 10, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 EricGoetz at EGIsystems.com Mon Mar 10 17:57:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Mon Mar 10 17:57:00 2003 Subject: [AccessD] AXP form events for filter that returns no records Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FD@servera22.doma.ops> Hi, I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. TIA, Eric From jim.hale at fleetpride.com Mon Mar 10 18:48:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 18:48:00 2003 Subject: [AccessD] normalization question Message-ID: <869379ABF177D4118D3100508B5EF8730560DD11@corp-es00> LOL. Well it beats chapter 7. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 10, 2003 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Bill just asked me what channel my show comes on (it's a soap that I watch only on Mondays cause the kids are here the rest of the week) and I responded "Chapter 11..." I need a vacation. Susan H. > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Mon Mar 10 20:02:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon Mar 10 20:02:00 2003 Subject: [AccessD] Jeffrey F Demulling/MN/USB is out of the office. Message-ID: I will be out of the office starting 03/10/2003 and will not return until 03/17/2003. I will respond to your message when I return. Please contact Matt Lehmann (651) 244-8861 or Chris Kremmin (651) 244-4831 if you have an urgent matter. From stephen at bondsoftware.co.nz Mon Mar 10 20:06:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon Mar 10 20:06:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <70F3D727890C784291D8433E9C418F29038979@server.bondsoftware.co.nz> Thanks Charlotte and Paul - I was having one of those brain things .... -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, 11 March 2003 6:22 a.m. To: accessd at databaseadvisors.com Subject: RE: [AccessD] DoCmd or RunCommand ? DoCmd.TransferText acExportMerge, , , , Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, March 10, 2003 12:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DoCmd or RunCommand ? Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Mon Mar 10 23:35:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 10 23:35:00 2003 Subject: [AccessD] AXP form events for filter that returns no records References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FD@servera22.doma.ops> Message-ID: <003801c2e78f$e90602a0$6101a8c0@amd2k512> ...look at RecordCount in your Help file ...actual code differs depending upon whether you are using DAO or ADO ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Eric Goetz" To: Sent: Monday, March 10, 2003 6:59 PM Subject: [AccessD] AXP form events for filter that returns no records > Hi, > > I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. > > When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. > > TIA, > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 11 00:20:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 00:20:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> <010d01c2e746$72581f60$115b2d3e@jester> Message-ID: <00cf01c2e796$4c7434f0$6601a8c0@HAL9002> Bert-Jan: I always found my syntax to be a bit more self-documenting. But I suppose it's what you're used to. Yours is more compact and elegant, but mine reads more like a regular sentence. I'll bet the object code is the same, though. Rocky ----- Original Message ----- From: "Bert-Jan Brinkhuis" To: Sent: Monday, March 10, 2003 12:48 PM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > Rocky, > > I renewed my subscription to this list recently. And found it to be very > helpful already. Didn't have anything to ask the list, yet ;-), but got some > realy helpful info about some things i was about to ask the list...... > Hope i will be able to help soon..... > > I was wondering though, Rocky, why you don't use something like: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > Cancel = NOT ValidationTests > End Sub > > This is how i am writing it. Is there any special reason for your syntax? Or > any special reason i should NOT use my syntax? > > Bert-Jan Brinkhuis > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Monday, March 10, 2003 5:15 PM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > John: > > > > My result is weirder than yours. I have seven fields I put the validation > > code into the BeforeUpdate event (no need for .SetFocus, because the focus > > *in theory* never goes away from the control). > > > > I have a bunch of validation tests in a function: > > > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > > If ValidationTests = False Then Cancel = True > > End Sub > > > > Works on three, fails on four. And I can't see ANY differences between > the > > three that work and the four that don't. Could it be timing problem in > the > > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > > event, see if that changes anything. > > > > Rocky Smolin > > Beach Access Software > > > > ----- Original Message ----- > > From: "John Clark" > > To: > > Sent: Monday, March 10, 2003 7:19 AM > > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > > > > How weird...I am working on the exact same problem. I noticed that a > > > program that I am about to roll out accepts any date, in the many date > > > fields. Some of the dates need to be later than others that are there > > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > > Sheriff" field, and you cannot receive it before it is sent). > > > > > > I used the code: > > > > > > If datFromSheriff.Value < datToSheriff.Value Then > > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > > vbOKOnly, "Date Error" > > > datFromSheriff = "" > > > datFromSheriff.SetFocus > > > End If > > > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > > "Before Update" (there now), and "After Update" events, but none worked. > > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > > to the next field in the tab order. > > > > > > Did you get this working? > > > > > > John Clark > > > > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > > Dear List > > > > > > I have a couple of simple validation tests: > > > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > > txtStartingRoomNumber.SetFocus > > > Exit Sub > > > End If > > > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > > vbExclamation > > > txtStartingRoomNumber.SetFocus > > > Exit Sub > > > End If > > > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > > does not work. The focus ends up being set on the next control in the > > > tab sequence. I tried the tests in the Lost Focus event with the same > > > result. > > > > > > I know there must be a simple way to return the focus to the control > > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > > in Sunday school and it's quiet.) :) > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 11 00:23:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 00:23:00 2003 Subject: [AccessD] TransferText Failling References: <2F8793082E00D4119A1700B0D0216BF801D82277@main2.marlow.com> Message-ID: <00d701c2e796$b1a20050$6601a8c0@HAL9002> Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to do. > > Function DumpRecordset(strSQL as String,strFileName as String) > Dim f As Long > Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object is > read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 00:49:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 00:49:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <00d701c2e796$b1a20050$6601a8c0@HAL9002> Message-ID: <3E6E12CF.4625.BDA780@localhost> I work on the principle that if you are going to use anything more than once, assign it to a variable, otherwise just use it directly. Generally you will find that gives you optimal performance. On 10 Mar 2003 at 22:23, Rocky Smolin - Beach Access S wrote: > Drew: > > Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db > as the object? > -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From bbruen at bigpond.com Tue Mar 11 05:19:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 11 05:19:00 2003 Subject: [AccessD] Expand the Immediate Window Buffer? In-Reply-To: <00cf01c2e731$c4957c60$8e01a8c0@Rock> Message-ID: <000001c2e7bf$954fcd00$5d338690@bbb888> Don't know - never tried! :-) But every time I've had the same problem the simplest solution was to stream the output to a text file, viz Open op.txt as #1:do a bunch of immediate using print #1 instead of debug.print: close #1 I dont know what your trying to achieve Arthur, but as I say, this has always been the easiest way for me to do it. hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, March 11, 2003 5:21 AM To: 'AccessD' Subject: [AccessD] Expand the Immediate Window Buffer? I am not sure how many lines the immediate window saves, but I want it to save more. Is there a setting to control this? TIA, Arthur --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Tue Mar 11 05:33:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 05:33:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From paul.hartland at fsmail.net Tue Mar 11 05:41:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 05:41:00 2003 Subject: [AccessD] Opening Outlook from VB6 Message-ID: <20030311114019.VSDR3409.fep06-svc.ttys.com@localhost> To all, This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Tue Mar 11 05:44:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 11 05:44:01 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> References: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <6015109926.20030311124333@cactus.dk> Hi paul If this is the only purpose of pubCallingForm, you could pass the name of the calling in OpenArgs when you open the other form. When this opens, read the name of the calling form from OpenArgs ... /gustav > I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also > assigns the variable the form name. > (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then > is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. > Anybody have any idea as to why this is happening ? From artful at rogers.com Tue Mar 11 06:52:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 06:52:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <000601c2e7cc$ed3fef10$8e01a8c0@Rock> A misplaced END statement? Does everything compile fine? Have you tried setting a break point on a change to the public variable? And finally, you might want to use a static function rather than a public variable. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 11, 2003 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Public variable losing contents To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Tue Mar 11 07:12:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 07:12:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <3E6D9A18.8682.151AC4@localhost> On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. From paul.hartland at fsmail.net Tue Mar 11 07:38:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 07:38:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <20030311133743.BZPB2393.fep10-svc.ttys.com@localhost> Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Tue Mar 11 07:44:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 07:44:01 2003 Subject: [AccessD] Public variable losing contents Message-ID: Paul, Variables declared in a form's module are only in scope while the form is open, even if they are declared public. Variables you want to last throughout the session must be declared in standard modules. That is one part of the O-O paradigm that Access follows. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday 2003 Mar 11 07:38 To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From artful at rogers.com Tue Mar 11 07:52:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 07:52:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311133743.BZPB2393.fep10-svc.ttys.com@localhost> Message-ID: <000001c2e7d5$40f8e960$8e01a8c0@Rock> A variable declared inside a form module is not public, even if you use the public keyword. In a module, a public variable IS public. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 11, 2003 8:38 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Tue Mar 11 07:52:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 07:52:20 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE26@exchange.pgdp> Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 11 07:59:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 07:59:00 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Mar 11 08:01:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 08:01:00 2003 Subject: [AccessD] Opening Outlook from VB6 In-Reply-To: <20030311114019.VSDR3409.fep06-svc.ttys.com@localhost> Message-ID: <3E6E78F1.6352.35DF352@localhost> Shell() ? > To all, > > This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 > > Thanks in advance > > Paul Hartland > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Tue Mar 11 08:14:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 08:14:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 11 08:22:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 11 08:22:01 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <005101c2e7da$f5253ba0$6401a8c0@default> MessageVirginia, Here's some ideas: 1) Make a form that they can type information into and hold the info in a table. If there are photos you can store them (if necessary) or link them in the same folder as the db. Then just print from a preformatted report. 2) Make use of the webbrowser control to view external Office documents. ----- Original Message ----- From: Hollis,Virginia To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 11, 2003 9:12 AM Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Tue Mar 11 08:23:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 08:23:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Tue Mar 11 08:23:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 08:23:16 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Mar 11 09:05:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 09:05:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <002401c2e7df$95edad20$6601a8c0@HAL9002> Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 09:12:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 09:12:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Tue Mar 11 09:23:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 11 09:23:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> References: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: <1047396173.6591.105.camel@sgsax-th4022c> Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Tue Mar 11 09:24:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 09:24:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Message-ID: <000901c2e7e2$5ca8d9b0$8a3c0cd8@hargrove.internal> Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Tue Mar 11 09:39:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Tue Mar 11 09:39:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B02@NEWMAN_EXC> Here is the code that I have on my form to link to a jpg image. I think you should be able to link to any kind of file you want with the same theory: Private Sub cmdPickPath_Click() Dim cdl As CommonDlg Set cdl = New CommonDlg cdl.InitDir = "\\kramer_app\applications\databases\human_resources\badgemaker\images\" cdl.ShowOpen Me.PicPath = cdl.FileName Set cdl = Nothing imgview.Picture = PicPath End Sub Hth Brenda -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 9:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 11 09:50:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 09:50:01 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: <000001c2e7e5$baddf2b0$8e01a8c0@Rock> Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 09:57:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 09:57:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 11 10:00:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 10:00:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <000501c2e7e7$412a7b80$8e01a8c0@Rock> I had a similar problem. In my case I have a hierarchy of Tours 1:M Events 1:M Packages. At any level there may be multiple documents (in my case URLs). So I created a URLs table with a TourID, an EventID and a PackageID. The structure violates BCNF but c?est la guerre :-). It does let me present a list of URLs in a subform, and to add as many URLs as I want at each of the 3 levels, without any complex queries. (Fuller?s Law # 4: anything Access can do should be left to Access to do.) So. The table may contain one URL for the Madonna tour, leading to her site. After that, there may be URLs for some or all dates on the tour, leading say to a page describing the venue, with a seating diagram. After that, there may be an URL for the package offered, say ?Hard Rock Caf?? in Toronto. In Access MDBs this is trivial to set up since URLs are a recognized data type (hyperlink). In SQL it?s a teensy bit tougher, you have to code the double-click event to open the URL of interest. The point of all this is to suggest that a 1:1 relationship between documents and database objects may be incorrect. IMO you are on the right track. Create a publicly-visible directory to house your documents, then store only the paths to same. Evolve the 1:1 relationship into 1:M and let your users do what they will. HTH. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 11 10:12:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:12:07 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 11 10:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:16:00 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Message-ID: <00ec01c2e7e9$6f964330$6101a8c0@amd2k512> MessageVirginia http://www.mvps.org/access/ has a good common dialogs sample to start with http://www.candace-tripp.com/access_downloads.htm has a picture in database sample ...from the combination of those, you should be able to build any file selection/storage/reference solution you need ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Hollis,Virginia To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 11, 2003 10:56 AM Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 11 10:19:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 10:19:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> Message-ID: <001801c2e7ea$16b7e830$8a3c0cd8@hargrove.internal> I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul From artful at rogers.com Tue Mar 11 10:20:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 10:20:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Message-ID: <000001c2e7ea$0e8b7820$8e01a8c0@Rock> You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 11 10:23:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 10:23:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Message-ID: <001901c2e7ea$9a824f70$8a3c0cd8@hargrove.internal> Virginia, Whenever I am looking for information on a particular topic, I have actually found it more useful to do a generic internet search using Google (www.google.com) than to limit myself to the MS KB. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 11 10:25:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:25:01 2003 Subject: [AccessD] Adding Attachments References: <000001c2e7ea$0e8b7820$8e01a8c0@Rock> Message-ID: <016a01c2e7ea$b8d8ba90$6101a8c0@amd2k512> Message...can't fool us Arthur, we all know you've always been an Old Fart :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 11:19 AM Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 11 10:30:09 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:30:09 2003 Subject: [AccessD] TransferText Failling Message-ID: According to the stuff I've read, doing something like Set rst = CurrentDb.OpenRecordset ... Etc., doesn't return a persistent object, so when you go to use the recordset later on in code, it isn't there anymore. Using CurrentDb() to set a database object variable makes it persist. I know that, unlike using DBEngine(0)(0), every time you call CurrentDb you get a new pointer rather than reusing the existing one. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 10, 2003 10:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TransferText Failling Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to > do. > > Function DumpRecordset(strSQL as String,strFileName as String) Dim f > As Long Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text > file so the mention of your code was very timely. Thanks! several > comments: If the file doesn't exist the killfile line gives an error. > I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with > the Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this > be correctly formatted in the print statement? Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and > I have NEVER had it fail on me. I've got sample code on my website. > Look under Downloads for "File I/O in VB". There should be enough > there to get you started. I'd be happy to answer any questions if you > have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software > wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object > is read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone > > seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 11 10:32:09 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:32:09 2003 Subject: [AccessD] Opening Outlook from VB6 Message-ID: As an alternative to Shell, you can use CreateObject and create a late bound instance of the application object for automation servers. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 3:40 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook from VB6 To all, This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Tue Mar 11 10:37:04 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 10:37:04 2003 Subject: [AccessD] Word Automation Message-ID: Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From wdhindman at bellsouth.net Tue Mar 11 10:45:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:45:01 2003 Subject: [AccessD] TransferText Failling References: Message-ID: <01b401c2e7ed$8f5a4b40$6101a8c0@amd2k512> ...now THAT is interesting AND useful ...learned something new today and its still early :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Charlotte Foust" To: Sent: Tuesday, March 11, 2003 11:26 AM Subject: RE: [AccessD] TransferText Failling > According to the stuff I've read, doing something like Set rst = > CurrentDb.OpenRecordset ... Etc., doesn't return a persistent object, so > when you go to use the recordset later on in code, it isn't there > anymore. Using CurrentDb() to set a database object variable makes it > persist. I know that, unlike using DBEngine(0)(0), every time you call > CurrentDb you get a new pointer rather than reusing the existing one. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, March 10, 2003 10:23 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] TransferText Failling > > > Drew: > > Is there any advantage to using CurrentDB. vs set db=CurrentDB and using > db as the object? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, March 10, 2003 2:52 PM > Subject: RE: [AccessD] TransferText Failling > > > > Here's my code....just writing it in the email..it's really simple to > > do. > > > > Function DumpRecordset(strSQL as String,strFileName as String) Dim f > > As Long Dim rs As recordset > > Dim strData as String > > dim i As Long > > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > > if rs.eof=False then rs.movefirst > > f=FreeFile > > If Dir(strFileName)<>"" Then Kill strFileName > > Open strFileName for binary access read as f > > Do Until rs.eof=True > > strData="" > > for i=0 to rs.Field.Count-1 > > strData=strData & rs.Field(i).Value & "," > > Next i > > strData=Left(strData,len(strData)-1) & vbcrlf > > Put f,,strData > > rs.movenext > > loop > > rs.close > > Close f > > End Function > > > > All in all, pretty simple code. (You can change the "," to whatever > > delimiter you want. > > > > Drew > > > > -----Original Message----- > > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > > Sent: Monday, March 10, 2003 4:13 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] TransferText Failling > > > > > > Seth, > > I happened to be writing a little routine to dump plan data to a text > > file so the mention of your code was very timely. Thanks! several > > comments: If the file doesn't exist the killfile line gives an error. > > I added a > filexists > > test. Second > > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with > > the Print statement. I changed binary to Append and the code works. > > > > I need my amount field in the text file formatted as "-####.##" > but -2000.00 > > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this > > be correctly formatted in the print statement? Regards, > > Jim Hale > > > > -----Original Message----- > > From: Seth Galitzer [mailto:sgsax at ksu.edu] > > Sent: Monday, March 10, 2003 1:32 PM > > To: accessd > > Subject: Re: [AccessD] TransferText Failling > > > > > > Rocky, > > > > Dump TransferText like a bad prom date and use file I/O manually to > > generate your text file. You have much more control of the output and > > > I have NEVER had it fail on me. I've got sample code on my website. > > Look under Downloads for "File I/O in VB". There should be enough > > there to get you started. I'd be happy to answer any questions if you > > > have any. > > > > Seth > > > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software > > wrote: > > > Dear List > > > > > > I'm trying to use the TransferText method of exporting a table to a > comma > > delimited file. I get "Error 3027: Cannot Update. Database or object > > > is read-only" when issuing: > > > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > > > where varFileName contains a valid path and file name. Has anyone > > > seen > > this before? I have but can't remember why or what the fix was. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Mar 11 11:07:14 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 11:07:14 2003 Subject: [AccessD] Select all controls where Visible = No? In-Reply-To: Message-ID: <000001c2e7f0$a0561ac0$8e01a8c0@Rock> Yes, trying to select them all in design view. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 11 11:36:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 11 11:36:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From harkins at iglou.com Tue Mar 11 11:57:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 11:57:00 2003 Subject: [AccessD] ADO Command object Message-ID: <094501c2e7f7$a0688d20$f0e6ffcc@SusanOne> I see a lot of code that uses the Command object but connects via a Connection object, when a Command object can do the same thing. I assume this arrangement nets advantages -- can someone name a few? Susan H. From artful at rogers.com Tue Mar 11 11:58:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 11:58:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: Message-ID: <000501c2e7f7$a1cb2a60$8e01a8c0@Rock> Sounds cool. Can it import all the stuff from Outlook, or some of it? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 11, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Tue Mar 11 12:03:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 11 12:03:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: There are importers, but I've never had to try them :) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Sounds cool. Can it import all the stuff from Outlook, or some of it? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 11, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From chris at denverdb.com Tue Mar 11 12:08:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Tue Mar 11 12:08:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <094501c2e7f7$a0688d20$f0e6ffcc@SusanOne> Message-ID: One major one is that the Command object has the parameters collection that is vital to either passing parameters to a Stored Procedure or a paramterized Query. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 10:56 AM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO Command object I see a lot of code that uses the Command object but connects via a Connection object, when a Command object can do the same thing. I assume this arrangement nets advantages -- can someone name a few? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Mar 11 12:18:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue Mar 11 12:18:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: <5.2.0.9.0.20030312070932.00bc2270@mail.dalyn.co.nz> At 11/03/2003, you wrote: >Dear List: > >I'm considering switching mail programs. Does anyone have any experience >with Eudora Light? I'm currently using Outlook Express. MTIA > >Rocky I concur with Seth. I have always used Eudora and am currently using 5.2 Sponsored mode. I am not sure of the differences between light and sponsored but sponsored has more features for searching messages and filtering. By making the ad as small as possible it sits in a corner of my screen and I hardly notice it. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Tue Mar 11 12:20:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 11 12:20:01 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> Message-ID: <000001c2e7fa$cea67190$de1811d8@DanWaters> Paul, This is the code I've been using. What this does NOT do is move the focus back to the Access Window after Outlook has been opened. That's why I put in a message box to tell the user what to do. You can find the code for FormattedMsgBox on the Trigeminal web site. If anyone knows how to re-display the Access window after Outlook has opened, that sure would be helpful. HTH, Dan Waters ________________________________________________________________________ __________ Private Sub OpenOutlook() On Error GoTo EH Dim objOutlook As Object Dim stgApplication As String '-- Path to Outlook stgApplication = "C:\Program Files\Microsoft Office\Office10\Office10\OUTLOOK.EXE" '-- check to see if Outlook is open. If not then error 429 is raised Set objOutlook = GetObject(, "Outlook.Application") Exit Sub EH: Application.Echo True GlngErrNumber = Err.Number GstgErrDescription = Err.Description Select Case GlngErrNumber Case 429 FormattedMsgBox "Outlook will now open. After it is open move back to QMS.@ @", vbOKOnly, "Open Outlook" Call Shell(stgApplication, 1) Case Else Call GlobalErrors("", GlngErrNumber, GstgErrDescription, CurrentObjectName, "OpenOutlook") End Select End Sub ________________________________________________________________________ __________ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 8:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RGeldart at detma.org Tue Mar 11 12:22:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 12:22:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: Add me to the list of very satisfied Eudora light users. I've used Eudora for five or six years, long before the Lite/Pro split, and opted for the Lite version. The ads are quite unobtrusive (I think I've only clicked on one since I've had it), and I haven't noticed anything additional I should have. I also use Norton AV/SystemWorks and ZoneAlert, which work quite compatibly with Eudora. Bob Geldart -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, March 11, 2003 10:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky From John.Clark at niagaracounty.com Tue Mar 11 12:37:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 12:37:00 2003 Subject: [AccessD] Painted into a corner Message-ID: I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark From RGeldart at detma.org Tue Mar 11 12:41:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 12:41:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: List, I'm doing an output to file routine in a module. I have a number of variables dimmed as long -- c1, c2, c3, c4, ... c20 The data file is required to put each data field on a separate line: tDate c1 c2 ... c20 My data is a single recordset of a query. I make a number of calculations and then output all the results: c1 = rst!FieldOne c2 = rst!FieldTwo c3 = rst!FieldThree c4 = c1 + c2 + c3 ... Print #1, c1 Print #1, c2 Print #1, c3 Print #1, c4 ... It seems to be inefficient to have 20 lines of "Print #1, c..." Is there a way I could run a loop something like? For i = 1 to 20 Print #1, "c" + i Next i I know that specifically won't work as I tried it, but I hope you can see what I'm driving at. I would like to loop through variables (c1...c20) and do a Print# for each. Thanks for your help, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training From dwaters at usinternet.com Tue Mar 11 12:48:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 11 12:48:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE26@exchange.pgdp> Message-ID: <000001c2e7fe$a3d30420$de1811d8@DanWaters> Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Tue Mar 11 12:51:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 12:51:00 2003 Subject: [AccessD] Painted into a corner Message-ID: I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 11 12:52:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 12:52:00 2003 Subject: [AccessD] ADO Command object References: Message-ID: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Hmmm... my understanding was that you needed the Command object to use CommandType, so how would using a Connection object to connect be an advantage with parameters? Susan H. > One major one is that the Command object has the parameters collection that > is vital to either passing parameters to a Stored Procedure or a > paramterized Query. > > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 10:56 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ADO Command object > > > I see a lot of code that uses the Command object but connects via a > Connection object, when a Command object can do the same thing. I assume > this arrangement nets advantages -- can someone name a few? > > 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 DWUTKA at marlow.com Tue Mar 11 13:01:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:01:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227B@main2.marlow.com> I believe there actually is. From what I remember, there was some issue with using CurrentDB, that it could fail for some reason with certain circumstances, but for the life of me, I don't remember what they were. I personally have never had a problem with using CurrentDB, in fact, I had the opposite, I had a switchboard (on a db I didn't make), where MS's code set db=currentDB, and it was failing. Replacing the variable object with just plain CurrentDB solved the problem. Odd, eh? Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, March 11, 2003 12:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TransferText Failling Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to do. > > Function DumpRecordset(strSQL as String,strFileName as String) > Dim f As Long > Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object is > read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Tue Mar 11 13:02:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Tue Mar 11 13:02:00 2003 Subject: [AccessD] AXP form events for filter that returns no records Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FF@servera22.doma.ops> Hi, It sounds like I'll be counting the records in a record set. I'm not sure when I count them in the chain of events. How can I find out when the form's recordset gets the filter applied after I assign the "FilterOn" property of the form to "True", and can I still cancel the filter then? Or, do I create my own recordset to count the number of records the filter will be returning, and if it is more than zero, I let the event propagate so the filter gets applied to the form's recordset? In a more general sense, where do I go to find out the interaction between events and the form's recordset? Should I build diagnostic code to dump the form's recordset after each event that I can find in the chain? Is there a hook in the event processing that I can use to trigger code to log each event that occurs (like a Spy program?) How can I tell when the form's recordset gets changed? TIA, Eric -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Mon 3/10/2003 9:34 PM To: accessd at databaseadvisors.com Cc: Subject: Re: [AccessD] AXP form events for filter that returns no records ...look at RecordCount in your Help file ...actual code differs depending upon whether you are using DAO or ADO ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Eric Goetz" To: Sent: Monday, March 10, 2003 6:59 PM Subject: [AccessD] AXP form events for filter that returns no records > Hi, > > I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. > > When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. > > TIA, > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6450 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 11 13:02:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:02:22 2003 Subject: [AccessD] Public variable losing contents Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227C@main2.marlow.com> Are you ending your code anywhere...that will reset your globals. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 5:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Public variable losing contents To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:03:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:03:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227D@main2.marlow.com> Don't be confused. Forms are class modules. When you use the Public statement within a class module (such as a form), you are creating a property, NOT a global variable. Public only creates a global variable when placed within the declarations of a standard module. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 7:38 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:05:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227E@main2.marlow.com> You can use an OLE object field, however I recommend either storing the path to the file, or using a BLOB. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 11 13:05:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:05:59 2003 Subject: [AccessD] Adding Attachments Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227F@main2.marlow.com> http://www.mvps.org/Access has a nice module that uses API calls to ask the user for a file name. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 9:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 13:10:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 13:10:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Message-ID: <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> Command objects allow you to work with Stored Procedures containing output parameters. Allow you to sue prepared statements YOu can call a command multiple times Command Objects can be reused within an application IS this what your after? martin Quoting Susan Harkins : > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters > collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I > assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 chris at denverdb.com Tue Mar 11 13:11:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Tue Mar 11 13:11:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Message-ID: I think I misunderstood your question, you're asking why create a connection object just to use that connection object for the .ActiveConnection of a Command? If you're just using the currentproject.connection I can't really see any advantage of first creating a Connection object and using that instead, seems to just add extra overhead. But if you're connection object is to any other backend than the CurrentProject.Connection you need to the Connection object to establish a valid connection first using the .ConnectionString etc.... HTH, Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Hmmm... my understanding was that you needed the Command object to use CommandType, so how would using a Connection object to connect be an advantage with parameters? Susan H. > One major one is that the Command object has the parameters collection that > is vital to either passing parameters to a Stored Procedure or a > paramterized Query. > > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 10:56 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ADO Command object > > > I see a lot of code that uses the Command object but connects via a > Connection object, when a Command object can do the same thing. I assume > this arrangement nets advantages -- can someone name a few? > > 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 scott.marcus at ae.ge.com Tue Mar 11 13:15:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Tue Mar 11 13:15:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2D@bwam02msx.ae.ge.com> John, This can be done using a "Union" query. The whole thing could possibly be done in one query I just need to know the table structure. Scott Marcus -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 1:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:19:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82280@main2.marlow.com> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From John.Clark at niagaracounty.com Tue Mar 11 13:20:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 13:20:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I think I've got it. I really thought I was sunk this time. Sub Reports, to my surprise actually worked. From DMcAfee at haascnc.com Tue Mar 11 13:22:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue Mar 11 13:22:00 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: <657FB70438B7D311AF320090279C1801026D7940@EXCHMAIL> What I usually do is disable all non-visible fields, so in design view, I can quickly tell which are viewable and which aren't, along with a label like "NonViewableCompanyID". I also usually place them all near each other (like in a corner). By doing this you can either quickly drag a window around all of them to quickly change them back to visible (or some other change) or press CTRL+A (and holding SHIFT, click on the fields that you don't want to select) HTH David McAfee -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, March 11, 2003 9:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? Yes, trying to select them all in design view. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 11 13:25:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 13:25:01 2003 Subject: [AccessD] ADO Command object References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> Message-ID: <09b801c2e803$d63db770$f0e6ffcc@SusanOne> No. Let me restate this and see if I can do better. I often see Command objects in the form Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Set cnn = New ADODB.Connection cnn.Open connectionstring Set cmd = New ADODB.Command Set cmd.ActiveConnection = cnn when Dim strConn As String Dim cmd As ADODB.command strConn = connectionstring Set cmd = New ADODB.command With cmd .ActiveConnection = strConn ... End With will do -- I don't see the purpose of connecting the Command object via a Connection object. I'm assuming that it's required for certain tasks, so what would those tasks be? So far, I've not run into anything, but then, I'm use to simple examples. Susan H. ----- Original Message ----- From: To: Sent: Tuesday, March 11, 2003 2:08 PM Subject: Re: [AccessD] ADO Command object > Command objects allow you to work with Stored Procedures containing output > parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to use > > CommandType, so how would using a Connection object to connect be an > > advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via a > > > Connection object, when a Command object can do the same thing. I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 BBarabash at TappeConstruction.com Tue Mar 11 13:28:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 13:28:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B4@TAPPEEXCH01> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. Another (slower) method, would be to use DCount statements on each of the 9 textboxes. Its ControlSource would look something like: =DCount("*","tblCases","Status=1 AND Type='ADC'") =DCount("*","tblCases","Status=1 AND Type='HR'") =DCount("*","tblCases","Status=1 AND Type='MA'") =DCount("*","tblCases","Status=2 AND Type='ADC'") ... -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 11 13:28:23 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 13:28:23 2003 Subject: [AccessD] ADO Command object References: Message-ID: <09be01c2e804$3f528100$f0e6ffcc@SusanOne> I'm using it to connect to other databases on my local system -- including a local SQL Server. Function EditAccessNorthwind() Dim strConn As String Dim cmd As ADODB.command Dim rst As ADODB.Recordset strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Program Files\Microsoft Office\" & _ "Office10\Samples\Northwind.mdb;" Set cmd = New ADODB.command With cmd .ActiveConnection = strConn .CommandText = "UPDATE Employees " & _ "SET Title = 'Account Executive' " & _ "WHERE Title = 'Sales Representative'" .Execute End With End Function Function EditSQLServerNorthwind() Dim strConn As String Dim cmd As ADODB.command Dim rst As ADODB.Recordset strConn = "Provider=SQLOLEDB;" & _ "Server=(local);" & _ "Initial Catalog=Northwind;" & _ "Integrated Security=SSPI;" Set cmd = New ADODB.command With cmd .ActiveConnection = strConn .CommandText = "UPDATE Employees " & _ "SET Title = 'Account Executive' " & _ "WHERE Title = 'Sales Representative'" .Execute End With Set cmd = Nothing End Function Susan H. > I think I misunderstood your question, you're asking why create a connection > object just to use that connection object for the .ActiveConnection of a > Command? If you're just using the currentproject.connection I can't really > see any advantage of first creating a Connection object and using that > instead, seems to just add extra overhead. But if you're connection object > is to any other backend than the CurrentProject.Connection you need to the > Connection object to establish a valid connection first using the > .ConnectionString etc.... > > HTH, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 cfoust at infostatsystems.com Tue Mar 11 13:45:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 13:45:00 2003 Subject: [AccessD] ADO Command object Message-ID: >>Allow you to sue prepared statements Lawyers are everywhere these day!! ROTFL Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, March 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Command objects allow you to work with Stored Procedures containing output parameters. Allow you to sue prepared statements YOu can call a command multiple times Command Objects can be reused within an application IS this what your after? martin Quoting Susan Harkins : > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters > collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I > assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 hsimpson88 at hotmail.com Tue Mar 11 13:49:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 11 13:49:00 2003 Subject: [AccessD] TransferText Failling Message-ID: DAO is assumed with CurrentDb: copy the little sub below and watch it choke on the CurrentDb loop. The reason is, CurrentDb is a function that returns an implicit object variable pointing at a database object. It is not an object variable in and of itself. It returns a new pointer each time it is called so the For Each loop can never work as this loop requires a persistent object. No problem for the db object variable. Sub DBvsCurDB() Dim db As Database Dim tdf As TableDef Set db = CurrentDb For Each tdf In db.TableDefs MsgBox tdf.Name Next For Each tdf In CurrentDb MsgBox tdf.Name Next End Sub Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] TransferText Failling >Date: Tue, 11 Mar 2003 13:00:20 -0600 > >I believe there actually is. From what I remember, there was some issue >with using CurrentDB, that it could fail for some reason with certain >circumstances, but for the life of me, I don't remember what they were. > >I personally have never had a problem with using CurrentDB, in fact, I had >the opposite, I had a switchboard (on a db I didn't make), where MS's code >set db=currentDB, and it was failing. Replacing the variable object with >just plain CurrentDB solved the problem. > >Odd, eh? > >Drew > >-----Original Message----- >From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Tuesday, March 11, 2003 12:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] TransferText Failling > > >Drew: > >Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db >as the object? > >Rocky > >----- Original Message ----- >From: "Drew Wutka" >To: >Sent: Monday, March 10, 2003 2:52 PM >Subject: RE: [AccessD] TransferText Failling > > > > Here's my code....just writing it in the email..it's really simple to >do. > > > > Function DumpRecordset(strSQL as String,strFileName as String) > > Dim f As Long > > Dim rs As recordset > > Dim strData as String > > dim i As Long > > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > > if rs.eof=False then rs.movefirst > > f=FreeFile > > If Dir(strFileName)<>"" Then Kill strFileName > > Open strFileName for binary access read as f > > Do Until rs.eof=True > > strData="" > > for i=0 to rs.Field.Count-1 > > strData=strData & rs.Field(i).Value & "," > > Next i > > strData=Left(strData,len(strData)-1) & vbcrlf > > Put f,,strData > > rs.movenext > > loop > > rs.close > > Close f > > End Function > > > > All in all, pretty simple code. (You can change the "," to whatever > > delimiter you want. > > > > Drew > > > > -----Original Message----- > > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > > Sent: Monday, March 10, 2003 4:13 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] TransferText Failling > > > > > > Seth, > > I happened to be writing a little routine to dump plan data to a text >file > > so the mention of your code was very timely. Thanks! several comments: >If > > the file doesn't exist the killfile line gives an error. I added a >filexists > > test. Second > > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with >the > > Print statement. I changed binary to Append and the code works. > > > > I need my amount field in the text file formatted as "-####.##" >but -2000.00 > > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > > correctly formatted in the print statement? > > Regards, > > Jim Hale > > > > -----Original Message----- > > From: Seth Galitzer [mailto:sgsax at ksu.edu] > > Sent: Monday, March 10, 2003 1:32 PM > > To: accessd > > Subject: Re: [AccessD] TransferText Failling > > > > > > Rocky, > > > > Dump TransferText like a bad prom date and use file I/O manually to > > generate your text file. You have much more control of the output and I > > have NEVER had it fail on me. I've got sample code on my website. Look > > under Downloads for "File I/O in VB". There should be enough there to > > get you started. I'd be happy to answer any questions if you have any. > > > > Seth > > > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > > Dear List > > > > > > I'm trying to use the TransferText method of exporting a table to a >comma > > delimited file. I get "Error 3027: Cannot Update. Database or object >is > > read-only" when issuing: > > > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > > > where varFileName contains a valid path and file name. Has anyone >seen > > this before? I have but can't remember why or what the fix was. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From cfoust at infostatsystems.com Tue Mar 11 13:50:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 13:50:00 2003 Subject: [AccessD] ADO Command object Message-ID: Well, the Connection object has properties that make it easier to see and set the various pieces of the connection string instead of creating one huge string that you then may have to debug when it doesn't work. You can't get there through the Command object. It also has the errors collection you'll need for any error trapping. I personally find it easier to work with cnn.Errors than having to go through the command object first. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, March 11, 2003 11:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object No. Let me restate this and see if I can do better. I often see Command objects in the form Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Set cnn = New ADODB.Connection cnn.Open connectionstring Set cmd = New ADODB.Command Set cmd.ActiveConnection = cnn when Dim strConn As String Dim cmd As ADODB.command strConn = connectionstring Set cmd = New ADODB.command With cmd .ActiveConnection = strConn ... End With will do -- I don't see the purpose of connecting the Command object via a Connection object. I'm assuming that it's required for certain tasks, so what would those tasks be? So far, I've not run into anything, but then, I'm use to simple examples. Susan H. ----- Original Message ----- From: To: Sent: Tuesday, March 11, 2003 2:08 PM Subject: Re: [AccessD] ADO Command object > Command objects allow you to work with Stored Procedures containing > output parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to > > use CommandType, so how would using a Connection object to connect > > be an advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via > > > a Connection object, when a Command object can do the same thing. > > > I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 13:56:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 13:56:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: References: Message-ID: <1047412509.3e6e3f1d6909e@hosea.qub.ac.uk> LOL You know what I meant. Martin Quoting Charlotte Foust : > >>Allow you to sue prepared statements > > Lawyers are everywhere these day!! ROTFL > > Charlotte Foust > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, March 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Command objects allow you to work with Stored Procedures containing > output > parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to > use > > > CommandType, so how would using a Connection object to connect be an > > > advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via a > > > > Connection object, when a Command object can do the same thing. I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 harkins at iglou.com Tue Mar 11 14:02:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 14:02:00 2003 Subject: [AccessD] ADO Command object References: Message-ID: <0a0f01c2e808$fb7bc450$f0e6ffcc@SusanOne> How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of creating > one huge string that you then may have to debug when it doesn't work. > You can't get there through the Command object. It also has the errors > collection you'll need for any error trapping. I personally find it > easier to work with cnn.Errors than having to go through the command > object first. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, March 11, 2003 11:24 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > No. Let me restate this and see if I can do better. > > I often see Command objects in the form > > Dim cnn As ADODB.Connection > Dim cmd As ADODB.Command > Set cnn = New ADODB.Connection > cnn.Open connectionstring > Set cmd = New ADODB.Command > Set cmd.ActiveConnection = cnn > > when > > Dim strConn As String > Dim cmd As ADODB.command > strConn = connectionstring > Set cmd = New ADODB.command > With cmd > .ActiveConnection = strConn > ... > End With > > will do -- I don't see the purpose of connecting the Command object via > a Connection object. I'm assuming that it's required for certain tasks, > so what would those tasks be? So far, I've not run into anything, but > then, I'm use to simple examples. > > Susan H. > > ----- Original Message ----- > From: > To: > Sent: Tuesday, March 11, 2003 2:08 PM > Subject: Re: [AccessD] ADO Command object > > > > Command objects allow you to work with Stored Procedures containing > > output parameters. > > > > Allow you to sue prepared statements > > > > YOu can call a command multiple times > > > > Command Objects can be reused within an application > > > > IS this what your after? > > > > > > martin > > > > Quoting Susan Harkins : > > > > > Hmmm... my understanding was that you needed the Command object to > > > use CommandType, so how would using a Connection object to connect > > > be an advantage with parameters? > > > > > > Susan H. > > > > > > > > > > One major one is that the Command object has the parameters > > > collection > > > that > > > > is vital to either passing parameters to a Stored Procedure or a > > > > paramterized Query. > > > > > > > > Chris Mackin > > > > www.denverdb.com > > > > Denver Database Consulting, LLC > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-admin at databaseadvisors.com > > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] ADO Command object > > > > > > > > > > > > I see a lot of code that uses the Command object but connects via > > > > a Connection object, when a Command object can do the same thing. > > > > I > > > assume > > > > this arrangement nets advantages -- can someone name a few? > > > > > > > > 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 mikedorism at ntelos.net Tue Mar 11 14:28:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 14:28:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <0a0f01c2e808$fb7bc450$f0e6ffcc@SusanOne> Message-ID: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> Since I'm working strictly in an ADP, I don't bother to use the Connection object at all. I can see using it if I needed to connect to something other than the CurrentProject.Connection (or anything you can get to through it). In my error handler code, I cycle through the CurrentProject.Connection.Errors collection for information relating to the failure of the Command object. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 03:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of > creating one huge string that you then may have to debug when it > doesn't work. You can't get there through the Command object. It also > has the errors collection you'll need for any error trapping. I > personally find it easier to work with cnn.Errors than having to go > through the command object first. > > Charlotte Foust From BBarabash at TappeConstruction.com Tue Mar 11 14:41:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 14:41:00 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From cfoust at infostatsystems.com Tue Mar 11 14:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 14:43:00 2003 Subject: [AccessD] ADO Command object Message-ID: You have to get to the connection through the command object. For Each errADO In cmd.ActiveConnection.Errors Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, March 11, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of > creating one huge string that you then may have to debug when it > doesn't work. You can't get there through the Command object. It also > has the errors collection you'll need for any error trapping. I > personally find it easier to work with cnn.Errors than having to go > through the command object first. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, March 11, 2003 11:24 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > No. Let me restate this and see if I can do better. > > I often see Command objects in the form > > Dim cnn As ADODB.Connection > Dim cmd As ADODB.Command > Set cnn = New ADODB.Connection > cnn.Open connectionstring > Set cmd = New ADODB.Command > Set cmd.ActiveConnection = cnn > > when > > Dim strConn As String > Dim cmd As ADODB.command > strConn = connectionstring > Set cmd = New ADODB.command > With cmd > .ActiveConnection = strConn > ... > End With > > will do -- I don't see the purpose of connecting the Command object > via a Connection object. I'm assuming that it's required for certain > tasks, so what would those tasks be? So far, I've not run into > anything, but then, I'm use to simple examples. > > Susan H. > > ----- Original Message ----- > From: > To: > Sent: Tuesday, March 11, 2003 2:08 PM > Subject: Re: [AccessD] ADO Command object > > > > Command objects allow you to work with Stored Procedures containing > > output parameters. > > > > Allow you to sue prepared statements > > > > YOu can call a command multiple times > > > > Command Objects can be reused within an application > > > > IS this what your after? > > > > > > martin > > > > Quoting Susan Harkins : > > > > > Hmmm... my understanding was that you needed the Command object to > > > use CommandType, so how would using a Connection object to connect > > > be an advantage with parameters? > > > > > > Susan H. > > > > > > > > > > One major one is that the Command object has the parameters > > > collection > > > that > > > > is vital to either passing parameters to a Stored Procedure or a > > > > paramterized Query. > > > > > > > > Chris Mackin > > > > www.denverdb.com > > > > Denver Database Consulting, LLC > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-admin at databaseadvisors.com > > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] ADO Command object > > > > > > > > > > > > I see a lot of code that uses the Command object but connects > > > > via > > > > a Connection object, when a Command object can do the same thing. > > > > I > > > assume > > > > this arrangement nets advantages -- can someone name a few? > > > > > > > > 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 RGeldart at detma.org Tue Mar 11 14:55:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 14:55:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: I found a way to do it that works almost as well... Dim cr as string cr = vbCrLf Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; c7; cr; c8; cr; c9; cr; c10 Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; c16; cr; c17; cr; c18; cr; c19; cr; c20 ... It allows me to condense the code so I can output ten data items per line. Thanks, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: Geldart, Robert [mailto:RGeldart at detma.org] > Sent: Tuesday, March 11, 2003 1:40 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Iteration construct to print variables > > > List, > > I'm doing an output to file routine in a module. > > I have a number of variables dimmed as long -- c1, c2, c3, > c4, ... c20 > > The data file is required to put each data field on a separate line: > tDate > c1 > c2 > ... > c20 > > My data is a single recordset of a query. I make a number of > calculations > and then output all the results: > > c1 = rst!FieldOne > c2 = rst!FieldTwo > c3 = rst!FieldThree > c4 = c1 + c2 + c3 > ... > Print #1, c1 > Print #1, c2 > Print #1, c3 > Print #1, c4 > ... > > It seems to be inefficient to have 20 lines of "Print #1, > c..." Is there a > way I could run a loop something like? > > For i = 1 to 20 > Print #1, "c" + i > Next i > > I know that specifically won't work as I tried it, but I hope > you can see > what I'm driving at. I would like to loop through variables > (c1...c20) and > do a Print# for each. > > Thanks for your help, > > Bob Geldart > RGeldart at detma.org > Massachusetts Department of Employment & Training > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Tue Mar 11 15:12:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 15:12:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) I looked up the error and it says: Possible causes with Microsoft Access: ? You have a parameter in a crosstab query or in a query that a crosstab query or chart is based on, and the parameter data type isn't explicitly specified in the Query Parameters dialog box. To solve the problem: ? In the query that contains the parameter, specify the parameter and its data type in the Query Parameters dialog box. And; ?Set the ColumnHeadings property for the query that contains the parameter. I didn't see a "Query Parameters" dialog box, so I then looked up "PARAMETERS Declaration" in the Access help...this is A97 BTW...and it gave me sample code: PARAMETERS [Enter a Last Name:] Text; SELECT * FROM Employees WHERE LastName = [Enter a Last Name:]; and this looks simple enough...for a single, user input, parameter...but I have the following line: >=[Forms]![PrintMenu]![txtStartDate] And <=[Forms]![PrintMenu]![txtEndDate] So, to throw a wrench in the works, I not only have two parameters, but they are located on a form. It may sound stupid, but what is actually my parameter(s) here? I now know where the "Query Parameters" is, but either way, I don't understand what exactly I am declaring. Thanks for the help though...I actually see the cross-tab idea a little clearer now...not there yet, but it will. John W Clark >>> BBarabash at tappeconstruction.com 03/11/03 02:28PM >>> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. From CWortz at tea.state.tx.us Tue Mar 11 15:16:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 15:16:00 2003 Subject: [AccessD] Painted into a corner Message-ID: John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) From martyconnelly at shaw.ca Tue Mar 11 15:25:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 11 15:25:01 2003 Subject: [AccessD] Searching M$'s KB References: <003e01c2e4da$c6bdb4c0$6101a8c0@amd2k512> Message-ID: <3E6E542A.9090906@shaw.ca> I have missed the ability to search the MS Knowledge base by just typing in mskb 814033 in the URL in IE 6.0 and Win XP and going directly to the article. This may still exist in IE5.5 (US version) automatically without the tweak , haven't got a copy to test. Today I just read an Article in Woodyswatch WinXP newsletter of how to put back in with MS TweakUI PowerToys. Hurrah! Click on current article 10/3/2003 http://www.woodyswatch.com/winxp/index.asp William Hindman wrote: > ...I've been know to be wrong :) > William Hindman > > ----- Original Message ----- > From: John W. Colby > To: accessd at databaseadvisors.com > > Sent: Friday, March 07, 2003 1:41 PM > Subject: RE: [AccessD] Searching M$'s KB > > Flattery will get you everywhere. ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of > William Hindman > Sent: Friday, March 07, 2003 7:20 AM > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Searching M$'s KB > > ...and it is exactly that mix that makes this, for me at > least, much more valuable than any other Access list or > newsgroup ...its fairly well balanced between Access gurus and > those with the level of experience I originally brought to the > list ...not a day goes by that I don't learn something > entirely new and useful in my work, or better yet, catch a > glimpse of gurus exchanging salvos in debates that illuminate > the Access landscape for all of us ...so as far as I'm > concerned, bring it on ...the lurkers finally popping up with > the thing that's stumped them for days ...or sages like JC > asking questions that I don't even begin to understand until > days later when I've absorbed the equivalent of a post-grad > semester in database design. > William Hindman > > ----- Original Message ----- > From: Wortz, Charles > To: accessd at databaseadvisors.com > > Sent: Friday, March 07, 2003 7:02 AM > Subject: RE: [AccessD] Searching M$'s KB > > I have to respectively disagree with Susan and Arthur. I > don't mind answering a commonly asked question if the > person seems to have put forth some effort to solve the > problem. But I do not like to have people come to the list > as a first-ditch effort to ask common questions. > The reason I stay active on this list is because there are > a lot of difficult and/or unusual questions that pop up > that help us all when we get to similar situations. Susan > has asked some questions that seemed very simple on the > surface, but when people start to answer them it turned > out that there were deeper meanings than most of us were > aware of. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Thursday 2003 Mar 06 16:28 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Searching M$'s KB > > It?s a first-ditch effort J > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: March 6, 2003 10:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Searching M$'s KB > > I know that at times I have told listers that the answer > is in M$'s KB without giving an article number. Sorry > about that, but now you have no excuse for not looking it > up yourself before asking the list. > > ==============I always come to the list when I find > myself stuck. It's the first place I try. Not the KB, > not the wide, wide, world of the web. Why? Because if > there's an answer to be had, it is probably here. In > fact, AccessD has been mentioned in two of my book > acknowledgements. Why should anyone waste time > spinning their wheels looking for something they might > not find. Even if info is found, trying to apply it to > what you're doing can be as much a problem as finding > it! Especially the MK articles, because they're almost > always out of date! > > That just isn't very efficient. In our business, time > is just as important as accuracy. > > No one on this list should waste precious time looking > up what someone here already knows. It doesn't make > sense. This list is not a last ditch effort -- "I've > looked everywhere else..." > > Susan H. > > ------------------------------------------------------------------------ > Get your copy today at http://www.eMailBoss.com > From jbartow at earthlink.net Tue Mar 11 15:32:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 15:32:00 2003 Subject: [AccessD] Word Automation In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> Message-ID: Hi Brett, I'm just putting out feelers here. I don't remember this being discussed before and I usually preview at least the subject lines of AccessD mail but it could've been one of those subject lines that never dies where the discussion just keeps changing. I'll check the archives. Mail Merge does work good if you're on the same versions of Word and Access. Otherwise it causes some (minor to me) irritations that are not to well recieved by end-users. I sell these apps to customers and they don't like all kinds of dialog boxes popping up, it "scares them" :o) -If you have W2k and A97 it will intially want to convert the DB. After you say no the first time you're OK but a lot of end users just freak out! -It will pop up another instance of the Access DB where the merge data is coming from (sometimes the extra process closes with Word and somtimes not) -W97 and W2k can't read an A97 MDE data source it has to be a MDB -W97 can't read the A2k format so for these issues you have to jump through all kinds of extra hoops converting the data to a format W97 can read. I wish I could jsut make them all have the same version but I'm not that good... JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, March 11, 2003 2:42 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Word Automation I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Tue Mar 11 15:38:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 15:38:00 2003 Subject: [AccessD] Painted into a corner Message-ID: Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From mwhittinghill at symphonyinfo.com Tue Mar 11 15:41:01 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue Mar 11 15:41:01 2003 Subject: [AccessD] Word Automation References: Message-ID: <005901c2e817$4a451b50$0300000a@Pascal> I don't know if this is relevant, but what we do here with Mail Merge is export the data as a text file from Access, then use that text file as the source document for the Word mail merge. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: "John Bartow" To: Sent: Tuesday, March 11, 2003 3:32 PM Subject: RE: [AccessD] Word Automation > Hi Brett, > I'm just putting out feelers here. I don't remember this being discussed > before and I usually preview at least the subject lines of AccessD mail but > it could've been one of those subject lines that never dies where the > discussion just keeps changing. I'll check the archives. > > Mail Merge does work good if you're on the same versions of Word and Access. > > Otherwise it causes some (minor to me) irritations that are not to well > recieved by end-users. I sell these apps to customers and they don't like > all kinds of dialog boxes popping up, it "scares them" :o) > > -If you have W2k and A97 it will intially want to convert the DB. After you > say no the first time you're OK but a lot of end users just freak out! > -It will pop up another instance of the Access DB where the merge data is > coming from (sometimes the extra process closes with Word and somtimes not) > > -W97 and W2k can't read an A97 MDE data source it has to be a MDB > -W97 can't read the A2k format > > so for these issues you have to jump through all kinds of extra hoops > converting the data to a format W97 can read. > > I wish I could jsut make them all have the same version but I'm not that > good... > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Tuesday, March 11, 2003 2:42 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Word Automation > > > I've seen this discussed before on this list, and wondered why people are > rolling their own mail merge routines? Personally, I find bookmarks > cumbersome to work with and mail merge has always worked well for me with > minimal effort. > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Tuesday, March 11, 2003 10:38 AM > To: AccessD > Subject: [AccessD] Word Automation > > > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail merges > with your bookmark style automation? > > Basically use bokmarks and some looping scheme to dump addresses it a > prepared letter/envelope, creating one document with all of the merged > letters/envelopes. > > JB > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Tue Mar 11 15:47:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 11 15:47:00 2003 Subject: [AccessD] Word Automation Message-ID: If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From jbartow at earthlink.net Tue Mar 11 15:55:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 15:55:00 2003 Subject: [AccessD] Word Automation In-Reply-To: Message-ID: Henry, Interesting note. Similar to Bryan's technique in his articles in Many-to-Many. Do you do mail merges via bookmarks? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Tuesday, March 11, 2003 3:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 15:55:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 15:55:26 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82287@main2.marlow.com> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From harkins at iglou.com Tue Mar 11 16:02:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 16:02:01 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> Message-ID: <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> > Since I'm working strictly in an ADP, I don't bother to use the Connection > object at all. I can see using it if I needed to connect to something other > than the CurrentProject.Connection (or anything you can get to through it). =============I'm not sure what this means. I'm not using CurrentProject.Connection, but a connection string that's connecting to whatever I want. I don't seem to have lost a thing by doing so -- I still don't see the advantage of using the Connection object instead of a connection string. I'm not arguing -- I just don't understand. The light's not going on. :) Susan H. From carbonnb at sympatico.ca Tue Mar 11 16:30:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 16:30:01 2003 Subject: [AccessD] Word Automation In-Reply-To: Message-ID: <3E6E1CEA.31646.21420E7@localhost> On 11 Mar 2003 at 10:37, John Bartow wrote: > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail > merges with your bookmark style automation? John, This is just off the top of my head, and totally untested. You will need a "master" merge document. Create this first. It should be just a blank doc to start. Run the bookmark merge, one record at a time. Save that document temporarily. Insert the "temp" document you just created at the end of the "master" merge document. and loop. You may want to kill the temp doc after you have inserted it. Also, you will need to insert a page break after you insert the file so that the next doc starts at the top of the next page. This will give you one document with all the resulting merges in one. Just as a side note, the master document I'm talking about here does NOT have anything to do with Word's Master Document feature. It's just a plain jane blank document that will hold the resulting merges. -- Bryan Carbonnell - carbonnb at sympatico.ca If you never fail, you're not trying hard enough. From carbonnb at sympatico.ca Tue Mar 11 16:35:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 16:35:01 2003 Subject: [AccessD] Word Automation In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> Message-ID: <3E6E1E1B.4752.218C48C@localhost> On 11 Mar 2003 at 14:41, Brett Barabash wrote: > I've seen this discussed before on this list, and wondered why people > are rolling their own mail merge routines? Personally, I find > bookmarks cumbersome to work with and mail merge has always worked > well for me with minimal effort. I don't like Word's Mail Merge feature because I don't feel I have the control I want, which I feel that I have with the bookmark merge. I also haven't figured out how to do a 1-M merge into Word yet (such as a sales invoice 1 customer record with many items purchased). I think it has something to do with a catalog merge, but I'm not sure. That's why I use automation for my merges. -- Bryan Carbonnell - carbonnb at sympatico.ca Normal people worry me. From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 16:39:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 16:39:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <1047422326.3e6e6576aafeb@hosea.qub.ac.uk> Current project connection is a conenction string Quoting Susan Harkins : > > > > Since I'm working strictly in an ADP, I don't bother to use the > Connection > > object at all. I can see using it if I needed to connect to > something > other > > than the CurrentProject.Connection (or anything you can get to > through > it). > > =============I'm not sure what this means. I'm not using > CurrentProject.Connection, but a connection string that's connecting > to > whatever I want. I don't seem to have lost a thing by doing so -- I > still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. > :) > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Tue Mar 11 16:43:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 16:43:00 2003 Subject: [AccessD] Word Automation In-Reply-To: <3E6E1CEA.31646.21420E7@localhost> Message-ID: Bryan, Thanks, I'll give it a try. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 11, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Word Automation On 11 Mar 2003 at 10:37, John Bartow wrote: > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail > merges with your bookmark style automation? John, This is just off the top of my head, and totally untested. You will need a "master" merge document. Create this first. It should be just a blank doc to start. Run the bookmark merge, one record at a time. Save that document temporarily. Insert the "temp" document you just created at the end of the "master" merge document. and loop. You may want to kill the temp doc after you have inserted it. Also, you will need to insert a page break after you insert the file so that the next doc starts at the top of the next page. This will give you one document with all the resulting merges in one. Just as a side note, the master document I'm talking about here does NOT have anything to do with Word's Master Document feature. It's just a plain jane blank document that will hold the resulting merges. -- Bryan Carbonnell - carbonnb at sympatico.ca If you never fail, you're not trying hard enough. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 16:51:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 16:51:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <3E6EF537.4670.AFC8F@localhost> If you have a table with just a single field of the "OLE Object", you can have them insert as many PDFs, Word documents etc as you want into the table. You can even set them up with a simple form containing a file browser and code behind it to save the selected file into the table to make it easier for them. > I really do not know what I am after :-) I am open for any ideas because I > sure can't think of any... > > Make a folder to store the attachments and they would place them in the > directory? Would it matter if they were .pdf or .doc or any type of file? > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 7:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > You can have a hyperlink field in a table in which the link to the external > document is placed. Is this what you are after? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 07:51 > To: accessd at databaseadvisors.com > Subject: [AccessD] Adding Attachments > > > Is there a way to add a document as an attachment to a database? > > The database is used to request services. The data is entered by a customer > and sometimes the customer needs to add additional documentation to support > their request. The attachment might be a sketch or Word file. > > Does anyone have any idea how this might be done? > > Virginia > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:03:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:03:01 2003 Subject: [AccessD] Iteration construct to print variables In-Reply-To: Message-ID: <3E6EF802.13447.15E69D@localhost> That's what arrays are for. Dim lngTemp(20) as Long Dim lngCounter as Long ... For lngCounter = 1 to 20 Print #1, lngTemp(lngCounter) Next > List, > > I'm doing an output to file routine in a module. > > I have a number of variables dimmed as long -- c1, c2, c3, c4, ... c20 > > The data file is required to put each data field on a separate line: > tDate > c1 > c2 > ... > c20 > > My data is a single recordset of a query. I make a number of calculations > and then output all the results: > > c1 = rst!FieldOne > c2 = rst!FieldTwo > c3 = rst!FieldThree > c4 = c1 + c2 + c3 > ... > Print #1, c1 > Print #1, c2 > Print #1, c3 > Print #1, c4 > ... > > It seems to be inefficient to have 20 lines of "Print #1, c..." Is there a > way I could run a loop something like? > > For i = 1 to 20 > Print #1, "c" + i > Next i > > I know that specifically won't work as I tried it, but I hope you can see > what I'm driving at. I would like to loop through variables (c1...c20) and > do a Print# for each. > > Thanks for your help, > > Bob Geldart > RGeldart at detma.org > Massachusetts Department of Employment & Training > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:10:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:10:00 2003 Subject: [AccessD] Painted into a corner In-Reply-To: Message-ID: <3E6EF9A3.5866.1C4407@localhost> You don't need a crosstab. Create a query with a series of fields like: NoErrors:Sum(IIf(Instr(Description,"CASES",1,0))) ADC: Sum(Iif(Instr(Description,"ADR",1,0))) etc > I got fancy w/my latest program, and now cannot seem to complete the > project. That is, I cannot finish the last report. This due to my own > stubbornness and stupidity, but I'm guessing that somebody on the list > can either guide me to an answer, or at least say, "That can't be done > you idiot!" ...thus saving me time looking for a solution. > > Many of you offered advice, while I was building my drop-down box...it > was the one that listed a category, that was not able to be chosen, and > "details", under these categories, that were indented slightly. The box, > in its drop down state, looks like this: > > CASES W/NO ERRORS FOUND > ADC > HR > MA > DENIED/WITHDRAWN > ADC > HR > MA > GRANT REDUCTION > ADC > HR > MA > > I then found out that they needed a report that had totals for each > type, within a time period, and I have gotten close, with Jim DeMarco's > advice. I used a query that makes a subset of the main table limited by > date...this comes from a form with a start and ending date. I then use > another query that uses this query, along w/the table with the info for > the combo box above, to total each category. I get the following for the > time period that I have chosen: > > CASES W/NO ERRORS FOUND ADC 1 > CASES W/NO ERRORS FOUND HR 4 > CASES W/NO ERRORS FOUND MA 2 > DENIED/WITHDRAWN HR 1 > GRANT REDUCTION ADC 3 > GRANT REDUCTION HR 1 > GRANT REDUCTION MA 2 > > > I also sum up the counts with the following formula behind a text box: > "=Sum([Count])" > > This is close, but the are telling me that they need to know: > > 1) How many of each detail (i.e. "ADC", "HR", "MA") > > 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", > "DENIED/WITHDRAWN", "GRANT REDUCTION") > > It looks like a crosstab query, but I don't even know what a crosstab > query is. I have a total mental block, when it comes to these things...I > just don't get them! Is this what I should be looking at? Or, is there > another way to pull these out? For instance, if I pull apart the "CASES > W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? > I need to end up with: > > CASES W/NO ERRORS FOUND 7 > DENIED/WITHDRAWN 1 > GRANT REDUCTION 6 > > ADC 4 > HR 6 > MA 4 > > in addition to what I currently have. > > I am currently investigating doing each of these in its own query, but > then how do I blend them, assuming I am able to figure it out. > > > A Humongous thanks to whoever can help me out! I am so far behind > schedule, that it isn't funny. The next project in line has a due date > of April 1st (the start of their fiscal year), and that one is much > bigger than my current one. I am already thinking of just giving them a > "shell" so they can input, and then finish the program around it. > > John W Clark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:20 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE31@exchange.pgdp> I guess I just don't understand... what is the use of making a field a Hyperlink type if you still have to click the Insert Hyperlink button to make it work? It just seems to me that you should be able to type the document name (Test.doc) in the field & it would work. I was able to get the Open dialog box to work & place the select document name into the hyperlink field. But what good is it if you still have to open the Insert Hyperlink and Browse to find the document and set it as a hyperlink?? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:37 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:37 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE30@exchange.pgdp> Is there one that opens the LinkToFile dialog? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Mar 11 17:26:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 17:26:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B6@TAPPEEXCH01> John, This is an interesting wrinkle indeed! For some reason, crosstab queries won't accept form control references as parameters unless you declare them as parameters. All other queries work fine. So, to get it to work, you need to declare 2 parameters: Parameter Name: [Forms]![PrintMenu]![txtStartDate] Datatype: Date/Time Parameter Name: [Forms]![PrintMenu]![txtEndDate] Datatype: Date/Time I just tested this out, and it works great! -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) I looked up the error and it says: Possible causes with Microsoft Access: ? You have a parameter in a crosstab query or in a query that a crosstab query or chart is based on, and the parameter data type isn't explicitly specified in the Query Parameters dialog box. To solve the problem: ? In the query that contains the parameter, specify the parameter and its data type in the Query Parameters dialog box. And; ?Set the ColumnHeadings property for the query that contains the parameter. I didn't see a "Query Parameters" dialog box, so I then looked up "PARAMETERS Declaration" in the Access help...this is A97 BTW...and it gave me sample code: PARAMETERS [Enter a Last Name:] Text; SELECT * FROM Employees WHERE LastName = [Enter a Last Name:]; and this looks simple enough...for a single, user input, parameter...but I have the following line: >=[Forms]![PrintMenu]![txtStartDate] And <=[Forms]![PrintMenu]![txtEndDate] So, to throw a wrench in the works, I not only have two parameters, but they are located on a form. It may sound stupid, but what is actually my parameter(s) here? I now know where the "Query Parameters" is, but either way, I don't understand what exactly I am declaring. Thanks for the help though...I actually see the cross-tab idea a little clearer now...not there yet, but it will. John W Clark >>> BBarabash at tappeconstruction.com 03/11/03 02:28PM >>> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Mar 11 17:26:14 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 17:26:14 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B7@TAPPEEXCH01> Aha, I see! I've experienced the same behavior you mentioned, so as a result I never use Access tables/queries as a mail merge data source. I use a delimited text file instead, and use good ol' file I/O in Access to write the records to the file. As for cross-version compatibility with this method, how about Access 2.0 merging to Word 2000 documents? Works like a champ! -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation Hi Brett, I'm just putting out feelers here. I don't remember this being discussed before and I usually preview at least the subject lines of AccessD mail but it could've been one of those subject lines that never dies where the discussion just keeps changing. I'll check the archives. Mail Merge does work good if you're on the same versions of Word and Access. Otherwise it causes some (minor to me) irritations that are not to well recieved by end-users. I sell these apps to customers and they don't like all kinds of dialog boxes popping up, it "scares them" :o) -If you have W2k and A97 it will intially want to convert the DB. After you say no the first time you're OK but a lot of end users just freak out! -It will pop up another instance of the Access DB where the merge data is coming from (sometimes the extra process closes with Word and somtimes not) -W97 and W2k can't read an A97 MDE data source it has to be a MDB -W97 can't read the A2k format so for these issues you have to jump through all kinds of extra hoops converting the data to a format W97 can read. I wish I could jsut make them all have the same version but I'm not that good... JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, March 11, 2003 2:42 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Word Automation I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 17:45:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:45:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE31@exchange.pgdp> Message-ID: <3E6F01C8.16065.3C12D5@localhost> Do it in code, rather than having the user working with that clumsy "Insert hyperlink' A hyperlink field is just a plain text field with the display text followed the hyperlink text surrounded by '#''s Instead of inserting strFileOpenReturn, insert strDisplayText & "#" & strFileOpenReturn & "#" > I guess I just don't understand... what is the use of making a field a > Hyperlink type if you still have to click the Insert Hyperlink button to > make it work? It just seems to me that you should be able to type the > document name (Test.doc) in the field & it would work. > > I was able to get the Open dialog box to work & place the select document > name into the hyperlink field. But what good is it if you still have to open > the Insert Hyperlink and Browse to find the document and set it as a > hyperlink?? > > Virginia > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:52:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:52:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Message-ID: <3E6F037D.14751.42BD4F@localhost> 1. Put a common dialog control on your form 2. Put a button on your form 3 Behind the button put Private Sub Command1_Click() CmnDlg.ShowOpen If CmnDlg.FileName > " " Then rs!HyperlinkField = "Attached Document" "#" & CmnDlg.FileName & "#" End If End Sub > Ok, I found Sub TestGetFileName() in ADH. > > You mentioned posting the results to a control. Do I need to have a button > on the form that opens the GetFileName? Then what transfers this file name > to the field? > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > You don't need to use URLs if you don't want to. I use code from ADH that > calls the Windows API to open the GetFile dialog, then posts the result to a > control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it you're > an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the app path > with a relative reference. The Replace function does it in one line: > > > > Replace( strExp as String, strFind as String, strReplace as String ) > > > > HTH, > > A. > > > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 10:12 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Do you know if there is a way to default the hyperlink to use "relative path > to hyperlink"? > > > > It always wants to use http:\\ for the hyperlink instead of the path. I set > the Base to the directory and folder. I set a field to Hyperlink, I was > hoping that all the customer would have to do is type the name of the > document into the field (Test Attach.doc) and it would open the hyperlink to > the document. Is this correct? What am I missing? > > > > ************ > > The archives only show the past 3 months, how do you get to the previous > messages? > > > > Virginia > > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 8:23 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > Virginia, > > > > Since you are storing the files externally to Access and only storing a link > (path name) to the files in Access, it makes no difference to Access what > types of files they are. Linking to external files is a frequent subject on > this list so you should be able to find a lot of hints in the archives. > Some non-obvious search terms that may help are "Image files" and "bloat." > > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 08:13 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I really do not know what I am after :-) I am open for any ideas because I > sure can't think of any... > > > > Make a folder to store the attachments and they would place them in the > directory? Would it matter if they were .pdf or .doc or any type of file? > > > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 7:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > Virginia, > > > > You can have a hyperlink field in a table in which the link to the external > document is placed. Is this what you are after? > > Charles Wortz > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 07:51 > To: accessd at databaseadvisors.com > Subject: [AccessD] Adding Attachments > > Is there a way to add a document as an attachment to a database? > > > > The database is used to request services. The data is entered by a customer > and sometimes the customer needs to add additional documentation to support > their request. The attachment might be a sketch or Word file. > > > > Does anyone have any idea how this might be done? > > > > Virginia > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Tue Mar 11 18:01:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 18:01:08 2003 Subject: [AccessD] Adding Attachments References: <000001c2e7fe$a3d30420$de1811d8@DanWaters> Message-ID: <003501c2e82a$85fdabe0$6101a8c0@amd2k512> MessageDan ...the FSO is a really nice new tool ...I was so enthused I converted an entire app over to using it before discovering it doesn't work in a runtime environment :((((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 1:47 PM Subject: RE: [AccessD] Adding Attachments Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From davide at dalyn.co.nz Tue Mar 11 18:04:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue Mar 11 18:04:00 2003 Subject: [AccessD] Deleting record (Column Reference Constraint) Message-ID: <5.2.0.9.0.20030312130307.00b37d90@mail.dalyn.co.nz> AXP/SQL2K I have a subform which causes an error message when I delete a record from it - DELETE statement conflicted with COLUMN REFERENCE constraint 'tblCustInvoiceMeter_FK00'. BOL doesn't seem to help. There are no related records to the one I am deleting. Can anyone enlighten me on the problem? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From stephen at bondsoftware.co.nz Tue Mar 11 18:47:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 18:47:00 2003 Subject: [AccessD] Access to Word - DDE link Message-ID: <70F3D727890C784291D8433E9C418F298E93@server.bondsoftware.co.nz> Can I have comments from the list about DDE links and Access security. From bbruen at bigpond.com Tue Mar 11 19:02:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 11 19:02:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? Message-ID: <000001c2e832$800ade80$de308690@bbb888> Hi List, I am trying to use a form that may appear as a subform or on its own. If it?s a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don?t know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From DWUTKA at marlow.com Tue Mar 11 19:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 19:22:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Mar 11 19:24:59 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 19:24:59 2003 Subject: [AccessD] Access to Word - DDE link Message-ID: <70F3D727890C784291D8433E9C418F29038980@server.bondsoftware.co.nz> The first line should read 1. Set objWord = GetObject("C:\JA45.dot","Word.Document") Sorry about that. Stephen -----Original Message----- From: Stephen Bond Sent: Wednesday, 12 March 2003 1:47 p.m. To: 'accessd at databaseadvisors.com' Subject: Access to Word - DDE link Can I have comments from the list about DDE links and Access security. From stephen at bondsoftware.co.nz Tue Mar 11 19:25:21 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 19:25:21 2003 Subject: [AccessD] Word Automation Message-ID: <70F3D727890C784291D8433E9C418F2903897F@server.bondsoftware.co.nz> I got some good help from ADH 97 (p.1214ff) and ADH 2000 Vol 1 (p.945 ff). Works well. Stephen Bond -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Wednesday, 12 March 2003 5:38 a.m. To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From d.dick at uws.edu.au Tue Mar 11 19:30:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Tue Mar 11 19:30:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 11 19:34:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 11 19:34:00 2003 Subject: [AccessD] Iteration construct to print variables References: Message-ID: <3E6E8E89.5040801@shaw.ca> How about dim c(20) as long ' or use variant dim i as long then something like c(1) = rst !fieldone c(4) =c(1) +c(2) debug.print concstring(c()) where Function concstring(arrc()) As String 'concatenate array to string Dim strTemp As String Dim k As Long strTemp = "" For k = 1 To UBound(arrc) strTemp = strTemp & arrc(k) & vbCrLf Next k concstring = strTemp End Function Geldart, Robert wrote: >I found a way to do it that works almost as well... > >Dim cr as string >cr = vbCrLf > > Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; c7; cr; c8; cr; >c9; cr; c10 > Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; c16; cr; c17; cr; >c18; cr; c19; cr; c20 > ... > >It allows me to condense the code so I can output ten data items per line. > >Thanks, >Bob Geldart >RGeldart at detma.org >Massachusetts Department of Employment & Training > > > > >>-----Original Message----- >>From: Geldart, Robert [mailto:RGeldart at detma.org] >>Sent: Tuesday, March 11, 2003 1:40 PM >>To: 'accessd at databaseadvisors.com' >>Subject: [AccessD] Iteration construct to print variables >> >> >>List, >> >>I'm doing an output to file routine in a module. >> >>I have a number of variables dimmed as long -- c1, c2, c3, >>c4, ... c20 >> >>The data file is required to put each data field on a separate line: >> tDate >> c1 >> c2 >> ... >> c20 >> >>My data is a single recordset of a query. I make a number of >>calculations >>and then output all the results: >> >> c1 = rst!FieldOne >> c2 = rst!FieldTwo >> c3 = rst!FieldThree >> c4 = c1 + c2 + c3 >> ... >> Print #1, c1 >> Print #1, c2 >> Print #1, c3 >> Print #1, c4 >> ... >> >>It seems to be inefficient to have 20 lines of "Print #1, >>c..." Is there a >>way I could run a loop something like? >> >> For i = 1 to 20 >> Print #1, "c" + i >> Next i >> >>I know that specifically won't work as I tried it, but I hope >>you can see >>what I'm driving at. I would like to loop through variables >>(c1...c20) and >>do a Print# for each. >> >>Thanks for your help, >> >>Bob Geldart >>RGeldart at detma.org >>Massachusetts Department of Employment & Training >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Tue Mar 11 20:02:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 20:02:01 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8228C@main2.marlow.com> A few things Darren. First of all, if you are all moving to an Exchange server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email virus protection. We have had it for going on 2 and a half years, and the reason I am plugging it, is because in that 2 and a half years, we have only had ONE minor issue with a virus. (A little over a year ago, they had viruses that attached to the MIME attachment format, which are usually 'run' by Media Player.....ScanMail let 2 of those through, until we updated the virus engine.)(There is an Add-in called eManager which allows for filtering spam on the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 here). Next, as to your view points on Outlook. I personally use OE at home. OE does all that I need...just plain old email. I use Outlook 2000 at work, and it also does all that I need. (Just plain email .....I can't tell you how confused some of my co-workers are when I decline meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try and organize! ). Anyhow, the Rules wizard on Outlook is actually far more powerful then you may realize. First of all, a lot of rules set in Outlook 2000 can be set ON THE SERVER. This is very handy, because it reduces the work that your client machine has to do. As far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you can stack as many actions into a rule that you want), and it let's you select what sound you want to play. If you are using a version older then 2000, I would kick and scream until they let you use Outlook 2000. In my opinion Outlook 2000 was the most improved component of the normal Office 2k suite (PowerPoint's conversion of a presentation to a web page is far superior in 2k over it's 97 version....and Front Page 2000 leaves it's predecessor in the dust). Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday, March 11, 2003 7:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Mar 11 23:17:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 23:17:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8228C@main2.marlow.com> Message-ID: <3E6F4F7E.18736.16BA2E3@localhost> > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email . Ahem, I wish you Outlook and OE did just do just plain email. Then we wouldn't get all the HTML baggage that comes along with your message This is what is ACTUALLY sent by your wonderful MS email software when you are sending "plain old email" > Date: Tue, 11 Mar 2003 20:01:29 -0600 > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C2E83B.4BB43150 > Content-Type: text/plain; > charset="iso-8859-1" > > A few things Darren. First of all, if you are all moving to an Exchange > server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server > side email virus protection. We have had it for going on 2 and a half > years, and the reason I am plugging it, is because in that 2 and a half > years, we have only had ONE minor issue with a virus. (A little over a year > ago, they had viruses that attached to the MIME attachment format, which are > usually 'run' by Media Player.....ScanMail let 2 of those through, until we > updated the virus engine.)(There is an Add-in called eManager which allows > for filtering spam on the server level.....(it works better in Exchange > 2000, unfortunately we run 5.5 here). > > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email .....I can't tell > you how confused some of my co-workers are when I decline meetings...because > I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try > and organize! ). Anyhow, the Rules wizard on Outlook is actually far > more powerful then you may realize. First of all, a lot of rules set in > Outlook 2000 can be set ON THE SERVER. This is very handy, because it > reduces the work that your client machine has to do. As far as a playing a > sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you > can stack as many actions into a rule that you want), and it let's you > select what sound you want to play. > > If you are using a version older then 2000, I would kick and scream until > they let you use Outlook 2000. In my opinion Outlook 2000 was the most > improved component of the normal Office 2k suite (PowerPoint's conversion of > a presentation to a web page is far superior in 2k over it's 97 > version....and Front Page 2000 leaves it's predecessor in the dust). > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Tuesday, March 11, 2003 7:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT- Recommendations on Eudora > > > Hi Rocky > I totally agree with all the others who comment positively on Eudora. > Our Firm (An Australian University) is moving in the opposite direction. > We will be using Exchange and as a result have all been asked to move > from Eudora to Outlook. > > After using Outlook for the last 2 months I cannot bag it enough. I am > convinced it is > the software incarnation of the Prince of Darkness himself. It is tripe. > Eudora is vastly superior in every way from an email point of view. > > > > One of my most used and thus most missed features of Eudora was... > I could assign a sound file when one of my filters was activated. > (Outlook calls them rules. What a PITA they are in Outlook too) > Like the rest of you I get about 80 to 120 emails a day. Everything was > filtered, > I mean everything, and I had different sound files playing when certain > rules cut in. > I miss it so much. All I can do in outlook is activate 1 single sound when > any email arrives. That's it. > It was a great tool to make sure important/urgent emails got the appropriate > attention. > > Anyway, Eudora IM not so HO is vastly superior. > > I want to go back to Eudora but our IT doods say nope. > > Darren > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, 12 March 2003 2:05 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT- Recommendations on Eudora > > > Dear List: > > I'm considering switching mail programs. Does anyone have any experience > with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky > > > > ------_=_NextPart_001_01C2E83B.4BB43150 > Content-Type: text/html; > charset="iso-8859-1" > > > > > > > > > > >
A few > things Darren.  First of all, if you are all moving to an Exchange server, > I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email > virus protection.  We have had it for going on 2 and a half years, and the > reason I am plugging it, is because in that 2 and a half years, we have only had > ONE minor issue with a virus.  (A little over a year ago, they had viruses > that attached to the MIME attachment format, which are usually 'run' by Media > Player.....ScanMail let 2 of those through, until we updated the virus > engine.)(There is an Add-in called eManager which allows for filtering spam on > the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 > here).
>
size=2> 
>
Next, > as to your view points on Outlook.  I personally use OE at home.  OE > does all that I need...just plain old email.  I use Outlook 2000 at work, > and it also does all that I need.  (Just plain email <grin>.....I > can't tell you how confused some of my co-workers are when I decline > meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too > frazzled to try and organize! <VBG>).  Anyhow, the Rules wizard on > Outlook is actually far more powerful then you may realize.  First of all, > a lot of rules set in Outlook 2000 can be set ON THE SERVER.  This is very > handy, because it reduces the work that your client machine has to do.  As > far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a > sound' option (you can stack as many actions into a rule that you want), and it > let's you select what sound you want to play.
>
size=2> 
>
If you > are using a version older then 2000, I would kick and scream until they let you > use Outlook 2000.  In my opinion Outlook 2000 was the most improved > component of the normal Office 2k suite (PowerPoint's conversion of a > presentation to a web page is far superior in 2k over it's 97 version....and > Front Page 2000 leaves it's predecessor in the dust).
>
size=2> 
>
size=2>Drew
>
>
size=2>-----Original Message-----
From: Darren Dick > [mailto:d.dick at uws.edu.au]
Sent: Tuesday, March 11, 2003 7:28 > PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] > OT- Recommendations on Eudora

>
Hi > Rocky
>
I totally agree > with all the others who comment positively on Eudora.
>
Our Firm (An > Australian University) is moving in the opposite > direction.
>
We will be using > Exchange size=2>and as a result have all been asked to move
>
from Eudora to > Outlook.
>
<Rant Mode > On>
>
After using > Outlook for the last 2 months I cannot bag it enough. I am convinced it > is
>
the software > incarnation of the Prince of Darkness himself. It is > tripe.
>
Eudora is vastly > superior in every way from an email point of view.
>
>
<Rant Mode > Off>
>
size=2> 
>
One of my most > used and thus most missed features of Eudora was...
>
I could assign a > sound file size=2>when one of my filters was activated.
>
(Outlook calls > them rules. What a PITA they are in Outlook too)
>
Like the rest of > you I get about 80 to 120 emails a day. Everything was > filtered,
>
I mean > everything, and I had different sound files playing when certain rules cut > in.
>
I miss it so > much. All I can do in outlook is activate 1 single sound when any email > arrives. That's it.
>
It was a great > tool to make sure important/urgent emails got the appropriate > attention.
>
size=2> 
>
Anyway, Eudora > IM not so HO is vastly superior.
>
size=2> 
>
I want to go > back to Eudora but our IT doods say nope. <sigh>
>
class=437193000-12032003> 
>
size=2>Darren
>
size=2> 
>
>
size=2>-----Original Message-----
From: > accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software
Sent: Wednesday, 12 March 2003 2:05 > AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] > OT- Recommendations on Eudora

>
Dear List:
>
 
>
I'm considering switching mail programs.  > Does anyone have any experience with Eudora Light?  I'm currently using > Outlook Express.  MTIA
>
 
>
Rocky
>
size=2> 
-- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Mar 11 23:42:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 23:42:01 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> Is THIS better? Darren's original email was in HTML format, so Outlook defaulted to that format in the reply. It's just a matter of switching to Plain text in from the Format Menu. I could set it to default to whatever format I want, I prefer Rich Text or HTML actually, because it provides a bit more flexibility with some things I email off list. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, March 11, 2003 11:17 PM To: Drew Wutka; accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email . Ahem, I wish you Outlook and OE did just do just plain email. Then we wouldn't get all the HTML baggage that comes along with your message This is what is ACTUALLY sent by your wonderful MS email software when you are sending "plain old email" From subs at solution-providers.ie Wed Mar 12 03:17:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 12 03:17:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <003501c2e879$eed68c00$346da8c0@IEW001> Hello Susan, Would the explanation be that in your sample code With cmd .ActiveConnection = strConn It appears that the connection is being initialised here. Perhaps in the other example, it reads clearer when you are passing in a live cnn connection rather than strCnn. Having said that, you could use cnn in both scenario's. I do think ( as I think you do ), that your way is neater. For a further question on this, see my new thread 'Using Global Connctions' Best Regards Mark L. Breen Solution Providers Ltd Ireland ----- Original Message ----- From: "Susan Harkins" To: Sent: Tuesday, March 11, 2003 10:01 PM Subject: Re: [AccessD] ADO Command object -- I still don't see the advantage of using the Connection object instead of a connection string. I'm not arguing -- I just don't understand. The light's not going on. :) Susan H. From subs at solution-providers.ie Wed Mar 12 03:23:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 12 03:23:00 2003 Subject: [AccessD] Using Global Connctions References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> <09b801c2e803$d63db770$f0e6ffcc@SusanOne> Message-ID: <003b01c2e87a$ad95b940$346da8c0@IEW001> Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks From paul.hartland at fsmail.net Wed Mar 12 03:58:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 03:58:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312095705.CGOJ2393.fep10-svc.ttys.com@localhost> Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From scott.marcus at ae.ge.com Wed Mar 12 05:53:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 05:53:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2E@bwam02msx.ae.ge.com> John, Using your example I have the following table where description would be the 'Generic Types' you have such as..."CASES W/NO ERRORS FOUND ADC" or "DENIED/WITHDRAWN HR". The 'GenericTypes' appear multiple times in the table The Table ("tblTypes"): *ID, autonumber Description, Text Two queries are then done to get the two different types such as "CASES W/NO ERRORS FOUND" or "ADC" The Types queries: qryTypes1... SELECT Trim(Right([Description],3)) AS Type FROM tblTypes; qryTypes2... SELECT Trim(Left([Description],Len([Description])-3)) AS Type FROM tblTypes; From gustav at cactus.dk Wed Mar 12 06:57:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 06:57:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> Message-ID: <10211185283.20030312135642@cactus.dk> Hi Drew > Is THIS better? Certainly. Thank you. /gustav > Darren's original email was in HTML format, so Outlook defaulted to that > format in the reply. It's just a matter of switching to Plain text in from > the Format Menu. .. From artful at rogers.com Wed Mar 12 07:10:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 12 07:10:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Message-ID: <000001c2e898$961a6360$8e01a8c0@Rock> On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Susan.Klos at fldoe.org Wed Mar 12 07:18:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 07:18:01 2003 Subject: [AccessD] Word Automation Message-ID: <8213C1F49875D61195DA0002A5412A0301406D6B@mail.doe.state.fl.us> Henry, I would like to learn more about how you do this. I have a new client who is doing a merge currently from Excel. His Master word document is set up with a bunch of field codes. He does a mail merge from excel and has a bunch of if statements in the master document that put different responses in depending on the information in the excel field. He know he needs to store the data in Access and we have had a session (he wants to learn Access at the same time we are doing this) where he learned how to create tables, set primary keys and relationships. There are 4 or 5 tables at present, but there is no table set up that would hold the responses yet. He is comfortable with the way he has set up his word document and I am not sure how to show him that storing everything in Access would be better than doing it the way he is currently. My gut feeling is that it would be. I will try to give you an example of what he has in his word document.

blah blah blah {IF{MERGEFIELED whatever}="a" "Some text goes here"}blah blah blah. He might have several of these if statements depending on what is in the field. ie a=some text b=some other text c=some other text altogether The field from the database might also trigger a document that is on the network that gets merged into the master doc at some point. The master doc is an RFP / Contract. The RFP gets filled in first then the contract gets filled in. I guess what I am asking is 1)should the text be held in the database rather than the codes that trigger the if statements in the word doc. 2)would just inserting merge fields into the doc work or should bookmarks be used? Why would bookmarks be better if they are? Maybe you could recommend a book that would be good background on this sort of thing. -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, March 11, 2003 4:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Mar 12 07:29:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 07:29:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312095705.CGOJ2393.fep10-svc.ttys.com@localhost> Message-ID: <000201c2e89b$8864fd90$ae310cd8@hargrove.internal> Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Mar 12 07:40:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 07:40:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312133922.CSHM5236.fep03-svc.ttys.com@localhost> Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Wed Mar 12 07:44:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 07:44:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: Darren, Sorry to hear your University has gone over to the Dark Side. My shop is strictly M$. The only things we have on our PC's that do not come from M$ are some apps that make working with M$ Windows and Office easier. When M$ finally gets around to adding those features to Windows/Office, then those independent apps will go too. Back in the dark ages when IBM dominated the mainframe market, they invented the FUD factor to intimidate managers into going all IBM. Now M$ uses the FUD factor on managers to go all M$. Until managers become technically sophisticated, somebody will always be able to get away with FUD and we techies will have to suffer. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday 2003 Mar 11 19:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Wed Mar 12 07:57:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed Mar 12 07:57:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> Message-ID: <000001c2e89e$d0aa6560$29308690@bbb888> Thanks Drew! Must have been having on of Colby's senior moments, I've used the same construct 2^n times and it never occurred to me this time. Thanks again Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, March 12, 2003 12:21 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From Susan.Klos at fldoe.org Wed Mar 12 08:00:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 08:00:01 2003 Subject: [AccessD] Building a search form Message-ID: <8213C1F49875D61195DA0002A5412A0301406D6D@mail.doe.state.fl.us> I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 12 08:14:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 08:14:00 2003 Subject: [AccessD] Building a search form Message-ID: Susan, You can set up almost any combination when you build the SQL. I have a search form that contains up to 13 variables the user can search on. (Thirteen was all that fitted on the form neatly.) The user enters values into any of the fields (and the operator to use, and depending on the operator whether they needed to enter both a minimum and maximum value or only a single value) they want to use in the search. When the hit the Search button I then go through each field to determine if it is selected. If it is I then build the proper SQL expression for it and add it to the SQL string. When all fields have been tested and the SQL string completed, it is then executed. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Wednesday 2003 Mar 12 07:54 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Wed Mar 12 08:17:00 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed Mar 12 08:17:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <004101c2e8a2$8e649e60$a2c50a44@hr.cox.net> Is there any way to hide the Close button on an Access 97 application window? The client just wants an "Exit Application" button on the main menu form as the only way to terminate the application. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Mar 12 08:30:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 08:30:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312133922.CSHM5236.fep03-svc.ttys.com@localhost> Message-ID: <000001c2e8a4$0a45eab0$ae310cd8@hargrove.internal> What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Mar 12 08:32:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 08:32:01 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From Lambert.Heenan at AIG.com Wed Mar 12 08:32:16 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 08:32:16 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744A@xlivmbx12.aig.com> Short of sub-classing the application window, the answer is no. However, your workaround is to have the application's main form monitor the value of a form scope variable. The variable will be set to False when the appropriate "Close the application button" is clicked. Then define an Unload event for the application's main form. The unload event has a Cancel parameter. When set to True it prevents the form from unloading. So if the uses just hits the Access window's close button, the form's unload event will be cancelled and the application will continue to run. Of course you would also put a MsgBox call in the unload event telling the user's to hit the correct button. Lambert > -----Original Message----- > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > Sent: Wednesday, March 12, 2003 9:21 AM > To: Access List > Subject: [AccessD] Hide Close button in application window > > Is there any way to hide the Close button on an Access 97 application > window? The client just wants an "Exit Application" button on the main > menu form as the only way to terminate the application. > > Thanks, > Barb Ryan From RGeldart at detma.org Wed Mar 12 08:34:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Wed Mar 12 08:34:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: Barbara, I build a short macro called mac_Exit, with the single command Quit. Put this on a button on my Main Menu, labeled "Exit database and Quit Access" HTH, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Wednesday, March 12, 2003 9:21 AM To: Access List Subject: [AccessD] Hide Close button in application window Is there any way to hide the Close button on an Access 97 application window? The client just wants an "Exit Application" button on the main menu form as the only way to terminate the application. Thanks, Barb Ryan From Lambert.Heenan at AIG.com Wed Mar 12 08:37:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 08:37:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> P.S. I forgot to mention that the applications "main menu" form obviously must never be unloaded during normal use. So either hide it when other forms are opened or just open the other forms on top of the menu form. > -----Original Message----- > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > Sent: Wednesday, March 12, 2003 9:21 AM > To: Access List > Subject: [AccessD] Hide Close button in application window > > Is there any way to hide the Close button on an Access 97 application > window? The client just wants an "Exit Application" button on the main > menu form as the only way to terminate the application. > > Thanks, > Barb Ryan From JRojas at tnco-inc.com Wed Mar 12 08:41:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed Mar 12 08:41:00 2003 Subject: [AccessD] Report Print Margins Message-ID: <806536912C472E4A9D6515DF2E57261E0C58F7@mercury.tnco-inc.com> Hello All, I have experienced, for some time now, that when I create a report that doesn't use the standard margins of 1" that the margins sometimes resets to 1" after a compact and repair. It also seems to reset even without a compact and repair (according to users). Most of the reports that I create end up having margins of .5" and it gets a little annoying when I have to restore the margins every so often. Anyone have an explanation of why this is happening? Is there a way to stop this from happening? Thanks! Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From michael.mattys at adelphia.net Wed Mar 12 08:48:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed Mar 12 08:48:00 2003 Subject: [AccessD] Report Print Margins References: <806536912C472E4A9D6515DF2E57261E0C58F7@mercury.tnco-inc.com> Message-ID: <008801c2e8a7$d1544ae0$6401a8c0@default> Joe, Karen kicked me about this the other day. Apparently, if you have Name-Autocorrect on in the Options ( as it is *by default* in A2K) then you'll get this problem with report margins. Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Joe Rojas" To: Sent: Wednesday, March 12, 2003 8:56 AM Subject: [AccessD] Report Print Margins > Hello All, > > I have experienced, for some time now, that when I create a report that > doesn't use the standard margins of 1" that the margins sometimes resets to > 1" after a compact and repair. It also seems to reset even without a compact > and repair (according to users). > > Most of the reports that I create end up having margins of .5" and it gets a > little annoying when I have to restore the margins every so often. > > Anyone have an explanation of why this is happening? Is there a way to stop > this from happening? > > Thanks! > Joe Rojas > jrojas at tnco-inc.com > > > > > This electronic transmission is strictly confidential to TNCO, Inc. and > intended solely for the addressee. It may contain information which is > covered by legal, professional, or other privileges. If you are not the > intended addressee, or someone authorized by the intended addressee to > receive transmissions on behalf of the addressee, you must not retain, > disclose in any form, copy, or take any action in reliance on this > transmission. If you have received this transmission in error, please notify > the sender as soon as possible and destroy this message. While TNCO, Inc. > uses virus protection, the recipient should check this email and any > attachments for the presence of viruses. TNCO, Inc. accepts no liability for > any damage caused by any virus transmitted by this email. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomadatn at bellsouth.net Wed Mar 12 09:26:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Wed Mar 12 09:26:00 2003 Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 References: <009b01c2e70b$079c1040$8e01a8c0@Rock> <002501c2e70d$fe29ab50$6400000a@dogbert2k> Message-ID: <001501c2e8ac$3c9853b0$6400000a@dogbert2k> Just a note to pass on my experiences with the above combination. I use Access 2000 ADP's whenever I can because I think they're much more flexible and easy to use. I especially need to be able to sort tables and views to analize and check data. I use both Enterprise Manager and Access 2000 to modify tables and views and Stored procedures and to move tables between the production database and the development database. However I've recently had some problems and think Access might be the cause. I've had several corrupt views and when I copied a small report menu table from Production to Development and back to Production, I found an added chr(10) at the beginning of an nText field. This broke some code that used that field and after I finally figured out what the problem was I coded around it. I've decided to use Enterprise Manager to do all modifications and to copy objects from the Production to the Development database and back. I will also use Enterprise Manager to run all stored procedures. I'll just use the Access ADP's to check data. If anyone has any comments I'd love to hear them. Thanks - Tom From BarbaraRyan at cox.net Wed Mar 12 09:31:01 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed Mar 12 09:31:01 2003 Subject: [AccessD] Hide Close button in application window References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> Message-ID: <007801c2e8ac$f3bf1380$a2c50a44@hr.cox.net> Thanks, Lambert.... that worked! ----- Original Message ----- From: Heenan, Lambert To: Sent: Wednesday, March 12, 2003 9:36 AM Subject: RE: [AccessD] Hide Close button in application window > P.S. I forgot to mention that the applications "main menu" form obviously > must never be unloaded during normal use. So either hide it when other forms > are opened or just open the other forms on top of the menu form. > > > -----Original Message----- > > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > > Sent: Wednesday, March 12, 2003 9:21 AM > > To: Access List > > Subject: [AccessD] Hide Close button in application window > > > > Is there any way to hide the Close button on an Access 97 application > > window? The client just wants an "Exit Application" button on the main > > menu form as the only way to terminate the application. > > > > Thanks, > > Barb Ryan > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 12 09:34:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 12 09:34:00 2003 Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 Message-ID: Tom, I think you are asking where others create views and sprocs? I mostly use Query Analyzer for this. Sometimes I do some preliminary SQL building by using EM to design a view, but I always use QA in the end. One of the reasons for this is that I have found that EM doesn't allow complicated structures whereas QA does. Some of my views are pages long with complicated case statements, etc. The ohther thing I like about QA is that I can document my code better. I created a custom template in QA that allows me to document basic things like who I am ,when I built the object, what it does in a consistent format. All my apps are ADP's, but I never create my views or sprocs there. Never really thought about doing it until recently. Questions on that appear in another post on the Access-SQL list. --Susan -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Wednesday, March 12, 2003 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 Just a note to pass on my experiences with the above combination. I use Access 2000 ADP's whenever I can because I think they're much more flexible and easy to use. I especially need to be able to sort tables and views to analize and check data. I use both Enterprise Manager and Access 2000 to modify tables and views and Stored procedures and to move tables between the production database and the development database. However I've recently had some problems and think Access might be the cause. I've had several corrupt views and when I copied a small report menu table from Production to Development and back to Production, I found an added chr(10) at the beginning of an nText field. This broke some code that used that field and after I finally figured out what the problem was I coded around it. I've decided to use Enterprise Manager to do all modifications and to copy objects from the Production to the Development database and back. I will also use Enterprise Manager to run all stored procedures. I'll just use the Access ADP's to check data. If anyone has any comments I'd love to hear them. Thanks - Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Mar 12 09:56:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 12 09:56:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> <003501c2e879$eed68c00$346da8c0@IEW001> Message-ID: <00b301c2e8ae$f7ae6430$0100007f@SusanOne> Exactly Mark -- you can use a connection string or a connection object. The latter requires more code, but the connection string, as Charlotte or Doris pointed out (sorry, I can't remember which one of you said that), the connection string can be a pain to work with. Other than that though, I can really find no advantage to using a Connection object. I expected to find some benefit, such as properties or methods available only via the Connect object, because most of the code samples I see uses the Connection object, but other than perspective, I can see no advantage. I'll keep digging around a little, but so far, I've not really turned up anything. Susan H. > > Would the explanation be that in your sample code > > With cmd > .ActiveConnection = strConn > > It appears that the connection is being initialised here. Perhaps in the > other example, it reads clearer when you are passing in a live cnn > connection rather than strCnn. > > Having said that, you could use cnn in both scenario's. > > I do think ( as I think you do ), that your way is neater. > > For a further question on this, see my new thread 'Using Global Connctions' > > Best Regards > > > Mark L. Breen > Solution Providers Ltd > Ireland > > > > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 11, 2003 10:01 PM > Subject: Re: [AccessD] ADO Command object > > > -- I still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. :) > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From my.lists at verizon.net Wed Mar 12 10:07:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed Mar 12 10:07:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <003201c2e8b1$9ef3d2f0$b615010a@FHTAPIA> Susan, Check out YOURS and Martin's book (Sql: From Access to SQL Server) pages 643 (1st Note), and pages 668-670 for an explanation of why you would use a connection object. -Francisco http://rcm.netfirms.com On Tuesday, March 11, 2003 2:01 PM [GMT-8], Susan Harkins wrote: :: Since I'm working strictly in an ADP, I don't bother to use the :: Connection object at all. I can see using it if I needed to connect :: to something other than the CurrentProject.Connection (or anything :: you can get to through it). : : =============I'm not sure what this means. I'm not using : CurrentProject.Connection, but a connection string that's connecting : to whatever I want. I don't seem to have lost a thing by doing so -- : I still don't see the advantage of using the Connection object : instead of a connection string. : : I'm not arguing -- I just don't understand. The light's not going on. : :) : : Susan H. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From weeden1949 at hotmail.com Wed Mar 12 10:21:00 2003 From: weeden1949 at hotmail.com (Greg S) Date: Wed Mar 12 10:21:00 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> <007801c2e8ac$f3bf1380$a2c50a44@hr.cox.net> Message-ID: Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com From DWUTKA at marlow.com Wed Mar 12 10:39:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:39:14 2003 Subject: [AccessD] Building a search form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82293@main2.marlow.com> Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? From DWUTKA at marlow.com Wed Mar 12 10:39:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:39:59 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82294@main2.marlow.com> I think we all have moments like that, regardless of our age, or relation to JC! Drew -----Original Message----- From: Bruce Bruen To: accessd at databaseadvisors.com Sent: 3/12/03 7:53 AM Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? Thanks Drew! Must have been having on of Colby's senior moments, I've used the same construct 2^n times and it never occurred to me this time. Thanks again Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, March 12, 2003 12:21 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 12 10:46:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 10:46:01 2003 Subject: [AccessD] Painted into a corner Message-ID: This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From DWUTKA at marlow.com Wed Mar 12 10:50:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:50:00 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82295@main2.marlow.com> Yes, two suggestions. First, make a brand new .mdw file, not just a copy. You're copy may already be partially corrupted. Next, put the .mdw file on the local machines, with the Front End. There is really no need to have the .mdw on the network, unless you have users changing their passwords frequently. Drew -----Original Message----- From: Greg S To: accessd at databaseadvisors.com Sent: 3/12/03 10:20 AM Subject: [AccessD] Mdw File Growing in Size, then Corrupted Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 11:12:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 11:12:00 2003 Subject: [AccessD] notes on mdb bloat Message-ID: <1047489135.8377.32.camel@sgsax-th4022c> Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From gustav at cactus.dk Wed Mar 12 11:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 11:14:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> Message-ID: <7026574902.20030312181312@cactus.dk> Hi Drew That was an awful lot of code to replace something like these two lines: Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > This is from my new MiniCalendar database....still in development...but the > function works fine. > Private Function AmIASubForm() As Boolean > On Error GoTo ErrorHandler > Dim varTemp > varTemp = Me.Parent > AmIASubForm = True > Exit Function > ErrorHandler: > Err.Clear > AmIASubForm = False > End Function > -----Original Message----- > From: Bruce Bruen [mailto:bbruen at bigpond.com] > Sent: Tuesday, March 11, 2003 6:58 PM > To: AccessD > Subject: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi List, > I am trying to use a form that may appear as a subform or on its own. > If it's a subform then I want to maximise it in its parent control > space, if not then it should be sized to fit the form. > But how do I tell where it is being opened? The following doesn't work: > On Error Resume Next > If Not IsNull(Me.Parent.Name) Then > boolIsSubform = True > DoCmd.Maximize > Else > boolIsSubform = False > End If > On Error GoTo 0 > Ignore the fact that the docmd works on the parent, I am not worried > about that at the moment, only that I don't know how to test the > "subformedness". From cfoust at infostatsystems.com Wed Mar 12 11:26:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 11:26:01 2003 Subject: [AccessD] notes on mdb bloat Message-ID: Seth, Unicode in 2000 accounts for most of the size difference. Some other "features" like Name Autocorrect and subdatasheets can also balloon the size. I'm surprised at the time it's taking for the 2000 to 97 conversion though. I've never seen it take that long. Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 9:12 AM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ 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 Mar 12 11:26:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 11:26:31 2003 Subject: [AccessD] notes on mdb bloat Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744C@xlivmbx12.aig.com> At least some of the A2K bloat will be because it's using Unicode text - two bytes per character, not one. > -----Original Message----- > From: Seth Galitzer [SMTP:sgsax at ksu.edu] > Sent: Wednesday, March 12, 2003 12:12 PM > To: accessd > Subject: [AccessD] notes on mdb bloat > > Greetings, > > Just wanted to share an observation with y'all. We have one app which > needs both A2K and A97 versions. It's not a big deal. It just means > that every time we make any changes to the FE, wee need to back-port it > to A97 using the built-in tool. Before I do this, I always run a > compact-and-repair first. Having done this several times now, I have > noticed two things. > > 1) The conversion process seems to take an inordinately long time. I > haven't timed it, but it seems to take at least 5 minutes, if not > longer. This is not a large or complex app. It's a bit sloppy (I > inherited it from a previous, inexperienced Access user), but I've fixed > a lot of that. It's not a big deal, I just start it and then check on > it until it's done. Not a big deal, but I'm wondering what the hangup > is. > > 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just > under 600KB. What the heck does A2K require in the file that adds that > much overhead? Like I said, this is not a terribly complex or large > app. This is also not a big deal, it just takes longer to download > updates to the users' computers. > > I'm not really looking for answers here, just wanted to share what I've > observed. If anyone can corroborate this experience and has some ideas, > I'd be interested from an academic standpoint to see what you think. > > Share and enjoy! > > Seth > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Wed Mar 12 11:40:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 12 11:40:00 2003 Subject: [AccessD] Word Automation Message-ID: I have done a few simple merges but generally rely on bookmarks simply because I find them simpler and more intuitive when using VBA. Using bookmarks lets you move all the decision logic into a code module rather than a bunch of inline If statements. Note also, that bookmarks in conjunction with VBA permit you to use code to insert not only text but form fields or merge codes and do complex conditional formatting not possible with merge codes alone. The main reason I use automation is that VBA permits me to create folders and save files in folders with specific names and verify the existence of templates and existing documents. Something an unsophisticated user may not be able to do is customize a query to a specific set of records or quickly find a list of templates appropriate to a certain kind of record. My document generation form opens from one of several main forms as a pop up. When opened from a member form, a document template selection combo is filled with a list of all documents in a folder beneath the path to the database containing the table tblMembers in a subfolder named \MemberTemplates\. Another combo permits me to pop a membership filtering parameter form that sets the query of people to whom the chosen document should be sent. If this isn't selected, a document only for the current member record is created. The doc generation form also has a series of checkboxes that 1) Print the Document, 2) Save the Document in the Member Record Folder, 3) Save the document in the Output Folder 4) Create if Document Doesn't exist 5) Overwrite if exists 6)Suffix with new number if exists. A typical example is, we have 400 members who need a renewal notice. The user can select Renewal Notice as the Document Type. The user may excessively filter the target list. When they select a broader filter, they may choose to generate all the docs again or simply create those that don't already exist. A bonus is that each document may be saved in each member's folder but for batch printing, all the files can be generated into a single folder and emailed from a single folder yet a copy can remain on each member file. I have failed to have much luck with merge codes in documents with form fields and with codes in headers and footers. Also, should the text span 1 or more than one page in various circumstances, doing it with VBA lets you select a different subsequent page header and adapt automatically to different document lengths. VBA also permits to you use password protected documents and lock and unlock programmatically. I can't point to any particular books as I have many and they all have their strengths. A good place to start is www.helenfeddema.com/ online and of course, the examples at this www.databaseadvisors.com. I'll see if I can whittle out an example of some stuff and move this offline for the time being. Hen >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Wed, 12 Mar 2003 08:12:23 -0500 > >Henry, I would like to learn more about how you do this. I have a new >client who is doing a merge currently from Excel. His Master word document >is set up with a bunch of field codes. He does a mail merge from excel and >has a bunch of if statements in the master document that put different >responses in depending on the information in the excel field. He know he >needs to store the data in Access and we have had a session (he wants to >learn Access at the same time we are doing this) where he learned how to >create tables, set primary keys and relationships. There are 4 or 5 tables >at present, but there is no table set up that would hold the responses yet. >He is comfortable with the way he has set up his word document and I am not >sure how to show him that storing everything in Access would be better than >doing it the way he is currently. My gut feeling is that it would be. I >will try to give you an example of what he has in his word document. > >

blah blah blah {IF{MERGEFIELED whatever}="a" "Some text goes here"}blah >blah blah. He might have several of these if statements depending on what >is in the field. ie a=some text b=some other text c=some other text >altogether The field from the database might also trigger a document that >is on the network that gets merged into the master doc at some point. > >The master doc is an RFP / Contract. The RFP gets filled in first then the >contract gets filled in. > >I guess what I am asking is 1)should the text be held in the database >rather >than the codes that trigger the if statements in the word doc. 2)would just >inserting merge fields into the doc work or should bookmarks be used? Why >would bookmarks be better if they are? > >Maybe you could recommend a book that would be good background on this sort >of thing. > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Tuesday, March 11, 2003 4:47 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Word Automation > > >If you invest a significant amount of work in Word, you will find that an >Automation session of Word run by Access can iterate the bookmarks >collection of the document object. I have given the users a list of >bookmark names that they can use in any document. If they save that >document as a template in a particular folder, that template file will >appear in a callback filled combo of documents that may be created from a >record or query. Double click of any template file in the combo will >create > >a new Word doc based on the template for the record or each record in a >query should that source be selected. > >For versatility with things like date datatypes, users have been trained to >use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 >Mar'. Since bookmarks can not contain punctuation, should punctuation be >required, the Date must be broken down into components with the punctuation >between bookmarks. If the suffix of any bookmark containing a parsable >format string ends in 'ord' and begins with 'DocDate', then the appropriate >th, rd or nd suffix is appended in Word. Should the document require the >current month or the month of a project start date or an invoice date or >whatever, in several places, the bookmark name cannot be repeated. In that >case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. > >For things like this, all that happens is that the application iterates and >parses each bookmark name and selects the appropriate field and format to >write to Word. Should the field parsed data type happen to be currency, a >formatCurrency function is called that formats the data to a currency >string. > >Users may now point any query at any document in their custom templates >folder and Access will generate a series of documents. What's more, the >users need only be able to set parameters from a multi field filter >interface and not only is the query customized accordingly, related records >are pulled even though they may not be required by the document. The price >of flexibility is a bit of overhead in the queries as a Project record may >have related invoice data when all that is needed is PO information. > >Not one of the users I deal with knows how to generate a merge, never mind >a > >query, but they can select a record from a combo and punch a button. And >now, they can even use the insert menu from Word and insert one of about >200 > >allowed bookmark names. They have even figured out how to save the file in >their custom template folder. The biggest training hurdle was to get them >to add a suffix to a field name of the bookmark should it be required in >more than one place in the document. > >Although considerable effort and thought went into the original system, it >is now virtually maintenance free and I am rarely called in for minor >changes to existing document templates or even entirely new documents. > > >Hen > > >From: Brett Barabash > >Reply-To: accessd at databaseadvisors.com > >To: "'accessd at databaseadvisors.com'" > >Subject: RE: [AccessD] Word Automation > >Date: Tue, 11 Mar 2003 14:41:35 -0600 > > > >I've seen this discussed before on this list, and wondered why people are > >rolling their own mail merge routines? Personally, I find bookmarks > >cumbersome to work with and mail merge has always worked well for me with > >minimal effort. > > > > > >-----Original Message----- > >From: John Bartow [mailto:jbartow at earthlink.net] > >Sent: Tuesday, March 11, 2003 10:38 AM > >To: AccessD > >Subject: [AccessD] Word Automation > > > > > >Bryan (or any other word gurus out there), > >Can you think of a way to elegantly replace my (word automation) mail > >merges > >with your bookmark style automation? > > > >Basically use bokmarks and some looping scheme to dump addresses it a > >prepared letter/envelope, creating one document with all of the merged > >letters/envelopes. > > > >JB > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From MPorter at acsalaska.com Wed Mar 12 11:41:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed Mar 12 11:41:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: With regards to mail filters, I strongly recommend www.mailwasher.net . it's a free utilitiy that is independent of your email client that scrubs your accounts on the server level (unlimited accounts including Hotmail), deleting unwanted emails there. Calls your email client after it's done to collect the rest. Great filter ability with RegExp capability. It's an excellent email add-on to any email program. If you get a signifigant amount of junk email it's well worth the cost of NOTHING :) Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 11, 2003 5:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora A few things Darren. First of all, if you are all moving to an Exchange server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email virus protection. We have had it for going on 2 and a half years, and the reason I am plugging it, is because in that 2 and a half years, we have only had ONE minor issue with a virus. (A little over a year ago, they had viruses that attached to the MIME attachment format, which are usually 'run' by Media Player.....ScanMail let 2 of those through, until we updated the virus engine.)(There is an Add-in called eManager which allows for filtering spam on the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 here). Next, as to your view points on Outlook. I personally use OE at home. OE does all that I need...just plain old email. I use Outlook 2000 at work, and it also does all that I need. (Just plain email .....I can't tell you how confused some of my co-workers are when I decline meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try and organize! ). Anyhow, the Rules wizard on Outlook is actually far more powerful then you may realize. First of all, a lot of rules set in Outlook 2000 can be set ON THE SERVER. This is very handy, because it reduces the work that your client machine has to do. As far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you can stack as many actions into a rule that you want), and it let's you select what sound you want to play. If you are using a version older then 2000, I would kick and scream until they let you use Outlook 2000. In my opinion Outlook 2000 was the most improved component of the normal Office 2k suite (PowerPoint's conversion of a presentation to a web page is far superior in 2k over it's 97 version....and Front Page 2000 leaves it's predecessor in the dust). Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday, March 11, 2003 7:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 12 11:46:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 11:46:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> References: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: <1128525026.20030312184542@cactus.dk> Hi Seth What happens if you "forward port" the A97 version to A2000? /gustav > Greetings, > Just wanted to share an observation with y'all. We have one app which > needs both A2K and A97 versions. It's not a big deal. It just means > that every time we make any changes to the FE, wee need to back-port it > to A97 using the built-in tool. Before I do this, I always run a > compact-and-repair first. Having done this several times now, I have > noticed two things. > 1) The conversion process seems to take an inordinately long time. I > haven't timed it, but it seems to take at least 5 minutes, if not > longer. This is not a large or complex app. It's a bit sloppy (I > inherited it from a previous, inexperienced Access user), but I've fixed > a lot of that. It's not a big deal, I just start it and then check on > it until it's done. Not a big deal, but I'm wondering what the hangup > is. > 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just > under 600KB. What the heck does A2K require in the file that adds that > much overhead? Like I said, this is not a terribly complex or large > app. This is also not a big deal, it just takes longer to download > updates to the users' computers. > I'm not really looking for answers here, just wanted to share what I've > observed. If anyone can corroborate this experience and has some ideas, > I'd be interested from an academic standpoint to see what you think. > Share and enjoy! > Seth From Susan.Klos at fldoe.org Wed Mar 12 11:46:45 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 11:46:45 2003 Subject: [AccessD] Building a search form Message-ID: <8213C1F49875D61195DA0002A5412A0301406D75@mail.doe.state.fl.us> Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Mar 12 11:50:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 12 11:50:01 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted In-Reply-To: Message-ID: Hi Greg: My first question would be to ask if anyone has changed the access rights to a specific folder...For example: the directory where the lock-file is created must allow both read, write and delete rights or the file will not get created or/and written to when a user logs in and will not be written to or/and deleted when the user or last user logs out. Maybe put the FE and lock-files on the user stations. The security mdw file may be totally corrupted and will required recreation. It might be time to create a new FE and BE databases... (Create a blank DB and copy all the objects from the old to new DB.) I have found that I/O errors, like abruptly losing connection to the BE data is the fastest way to corrupt a MDB database. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Greg S Sent: Wednesday, March 12, 2003 8:21 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mdw File Growing in Size, then Corrupted Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Mar 12 11:50:23 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed Mar 12 11:50:23 2003 Subject: [AccessD] Access/Oracle Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From artful at rogers.com Wed Mar 12 12:20:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 12 12:20:01 2003 Subject: [AccessD] Building a search form In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406D6D@mail.doe.state.fl.us> Message-ID: <000001c2e8c3$e5570f70$8e01a8c0@Rock> Base the form on a query that grabs both? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Klos, Susan Sent: March 12, 2003 8:54 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.marcus at ae.ge.com Wed Mar 12 12:22:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:22:00 2003 Subject: [AccessD] Access/Oracle Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2F@bwam02msx.ae.ge.com> I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Mar 12 12:23:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 12 12:23:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: Hi Seth: Just a personal observation. When working with some of the older databases, like FoxBASE, the programmer could decide to append a record or recall a record when adding it to the data file. The append was always faster and recall was always slower because it had to find a deleted record position in the data file and then insert it. This process worked great if the data file was configured with fixed-length records. In fact the recall method was not allowed on a data file that had been created to allow variable length records. My understanding of the MDB files are that: 1. They are designed as variable length record files. 2. All the objects are stuffed in the MDB blob, first come first serve. 3. When storing records/objects the system first attempts to 'recall' a existing 'empty' same or larger space or gives up and appends the record/object to the end of the file, what ever is faster. 4. There is no definitive file rebuilding routine even though the compact process is supposed to do that. The compact process just removes the spaces where a complete object has been deleted and is still completely intact. There is still little spaces left where smaller records/objects were stuffed into holes left when larger objected were modified and shuffled to other positions or simply deleted. These small cushion spaces between objects are left and not tracked. Eventually they build up in the MDB and we have a 'Bloated' file. This is simply my theory but it makes sense when relating these issues to Access's predecessors. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 9:12 AM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Mar 12 12:29:59 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed Mar 12 12:29:59 2003 Subject: [AccessD] Access/Oracle Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD6@srciml1.ds.doc.state.or.us> Thanks Scott, Pointers is exactly what I will need and any place on the net that you know of that has information on Oracle. I have not really embarked on anything that has to do with Oracle so this is going to be a new avenue for me. It is going to be fun but I am sure agrivating at times. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader (541)881-4808 -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 11:22 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access/Oracle I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:31:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82297@main2.marlow.com> Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:34:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:34:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82298@main2.marlow.com> I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From scott.marcus at ae.ge.com Wed Mar 12 12:37:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:37:00 2003 Subject: [AccessD] Access/Oracle Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> Oracle has a website with all their documentation on it. It also has examples for Oracle specific syntax/features. You may have to join there developer network. I joined a few years ago and it was free (don't know if it still is). Scott -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 1:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access/Oracle Thanks Scott, Pointers is exactly what I will need and any place on the net that you know of that has information on Oracle. I have not really embarked on anything that has to do with Oracle so this is going to be a new avenue for me. It is going to be fun but I am sure agrivating at times. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader (541)881-4808 -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 11:22 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access/Oracle I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:37:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:37:35 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> I know, it's just one of my coding habits. I only use 'resume next' when I want to completely ignore errors. If I am expecting an error...to use it (as in my example), or I am just handling unexpected errors, then I always use On Error Goto... Make sense? (your code is smaller....can't deny that!) Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:13 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew That was an awful lot of code to replace something like these two lines: Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > This is from my new MiniCalendar database....still in development...but the > function works fine. > Private Function AmIASubForm() As Boolean > On Error GoTo ErrorHandler > Dim varTemp > varTemp = Me.Parent > AmIASubForm = True > Exit Function > ErrorHandler: > Err.Clear > AmIASubForm = False > End Function > -----Original Message----- > From: Bruce Bruen [mailto:bbruen at bigpond.com] > Sent: Tuesday, March 11, 2003 6:58 PM > To: AccessD > Subject: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi List, > I am trying to use a form that may appear as a subform or on its own. > If it's a subform then I want to maximise it in its parent control > space, if not then it should be sized to fit the form. > But how do I tell where it is being opened? The following doesn't work: > On Error Resume Next > If Not IsNull(Me.Parent.Name) Then > boolIsSubform = True > DoCmd.Maximize > Else > boolIsSubform = False > End If > On Error GoTo 0 > Ignore the fact that the docmd works on the parent, I am not worried > about that at the moment, only that I don't know how to test the > "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 12:43:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 12:43:01 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits From scott.marcus at ae.ge.com Wed Mar 12 12:44:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:44:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D31@bwam02msx.ae.ge.com> John, Check out the queries I gave you earlier for doing this all in queries. You see that you can add a constant to each of your queries in the union that will sort the types within your groups(each sub-query). It looks like this... SELECT '1' as Major, query1.* FROM query1 UNION SELECT '2' as Major, query2.* FROM query2 Drew is correct. Add the ORDER BY clause to the last query in the union. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From scott.marcus at ae.ge.com Wed Mar 12 12:46:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:46:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D32@bwam02msx.ae.ge.com> Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Wed Mar 12 12:49:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:49:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D33@bwam02msx.ae.ge.com> Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 12 12:53:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 12:53:00 2003 Subject: [AccessD] Access/Oracle In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> References: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> Message-ID: <6832505200.20030312195202@cactus.dk> Of course, Scott, OTN is a must for Mike: http://technet.oracle.com /gustav > Oracle has a website with all their documentation on it. It also has examples > for Oracle specific syntax/features. You may have to join there developer > network. I joined a few years ago and it was free (don't know if it still is). > Scott > -----Original Message----- > From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] > Sent: Wednesday, March 12, 2003 1:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access/Oracle > Thanks Scott, > Pointers is exactly what I will need and any place on the net that you > know of that has information on Oracle. I have not really embarked on > anything that has to do with Oracle so this is going to be a new avenue > for me. It is going to be fun but I am sure agrivating at times. > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > (541)881-4808 From sgsax at ksu.edu Wed Mar 12 13:02:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:02:00 2003 Subject: [AccessD] Access/Oracle In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> Message-ID: <1047495718.8435.166.camel@sgsax-th4022c> Mike, I wrote a VB app that connects to an Oracle BE. It operates completely disconnected, no bound controls or anything. I used ADO instead of DAO because everything I've seen says it's better suited for this kind of thing. This app is supposed to run constantly with very little user interaction. Here's what I've learned: 1) The Oracle ODBC drivers are a major pain to install. The installer is all java, and if you don't have a compatible JRE, you need to download install one first. They are also BIG. Takes a long time to install them, and they are fat and heavy. Performance seems OK though. 2) I frequently get errors (usually after about 72 hours of constant running) that basically say the app was unable to connect to the Oracle server. I have no idea if the problem is with the server or my app. When this happens, the app will not connect again until I stop the app and restart it. I don't know if this is a problem with the ODBC drivers, or ADO, or what. I create a new Connection object each time I want to dump data (every 15 minutes), and then throw it away when I'm done. So it may be a memory leak, but I have no real way of telling. If it is, I'm not sure who to blame, the ODBC driver or VB. I have no idea how this translates to Access, but I should think that it would behave similarly using unbound forms. Bound may be a whole different story. I've been tempted to move the whole BE to MySQL and see what the difference is in performance and stability. Hope you find any of this useful. Seth On Wed, 2003-03-12 at 11:49, Gowey Mike W wrote: > > I am about to embark on a project to right a front end that will connect > to a back End Oracle database. Has anyone had any experience in this > area or know of where I can find good information on techniques? Any > help anyone can provide would be great. > > Thanks > > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From DMcAfee at haascnc.com Wed Mar 12 13:09:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed Mar 12 13:09:00 2003 Subject: [AccessD] Building a search form Message-ID: <657FB70438B7D311AF320090279C1801026D7947@EXCHMAIL> You can do it several ways. Does your first combo list only Topics (textually), or do you have a hidden column 0 with an ID? If no hidden ID field, then you can run code in the second combo box's OnEnter event. Something Like (OTTOMH): If me.cboTopic = "(All)" then Me.cboQuestions.rowsource = "qryQuestionsAll" Else Me.cboQuestions.rowsource = "qryQuestionsFiltered" End IF Or, if you are using a hidden Column(0), using ONE question query you can do something like: 1. Create a Union Query for the rowsource for cboTopic: SELECT TopicID, TopicTitle FROM tblTopics UNION SELECT "*" AS TopicID, "(All)" AS TopicTitle ORDER BY TopicTitle ASC; 2. In your cbo.Question's rowsource query, create a column like (Also OTTOMH): SELECT Q.ID, Q.Title FROM tblQuestions AS Q INNER JOIN tblTopicQuestionJunction AS TQJ ON TQJ.QID = Q.ID WHERE (((([Forms]![YourForm]![cboTopic] = "*") Or ([Forms]![YourForm]![cboTopic] = [QID]))=True)) GROUP BY Q.ID, Q.title ORDER BY Q.title; HTH David McAfee -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Wednesday, March 12, 2003 9:41 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Building a search form Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? From sgsax at ksu.edu Wed Mar 12 13:11:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:11:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1128525026.20030312184542@cactus.dk> References: <1047489135.8377.32.camel@sgsax-th4022c> <1128525026.20030312184542@cactus.dk> Message-ID: <1047496262.8435.182.camel@sgsax-th4022c> Gustav, I hadn't even thought of that. I tried it just now, and the resulting mdb is 1.5MB. Still three times as big as the A97 version, but not as big as the base A2K version. The unicode comments make sense, I had forgotten about that, too. Oh well, more interesting info from the developer front... Seth On Wed, 2003-03-12 at 11:45, Gustav Brock wrote: > Hi Seth > > What happens if you "forward port" the A97 version to A2000? > > /gustav > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Wed Mar 12 13:14:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:14:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Wed Mar 12 13:16:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed Mar 12 13:16:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE93@exchange.pgdp> Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 12 13:17:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 13:17:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> Message-ID: <2033976946.20030312201634@cactus.dk> Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". From cfoust at infostatsystems.com Wed Mar 12 13:19:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:19:01 2003 Subject: [AccessD] notes on mdb bloat Message-ID: Open the 2000 version, look at a few forms and close it again. Is it back to the 2MB? There is some bloat in 2k just opening the database. :o{ Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 11:11 AM To: accessd Subject: Re: [AccessD] notes on mdb bloat Gustav, I hadn't even thought of that. I tried it just now, and the resulting mdb is 1.5MB. Still three times as big as the A97 version, but not as big as the base A2K version. The unicode comments make sense, I had forgotten about that, too. Oh well, more interesting info from the developer front... Seth On Wed, 2003-03-12 at 11:45, Gustav Brock wrote: > Hi Seth > > What happens if you "forward port" the A97 version to A2000? > > /gustav > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 13:25:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:25:01 2003 Subject: [AccessD] sniggling problem with treeview Message-ID: <1047497097.8377.198.camel@sgsax-th4022c> Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From John.Clark at niagaracounty.com Wed Mar 12 13:31:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 13:31:01 2003 Subject: [AccessD] Painted into a corner Message-ID: Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Mar 12 13:38:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 13:38:00 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkolits at CorporateDataDesign.com Wed Mar 12 13:40:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 13:40:01 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D33@bwam02msx.ae.ge.com> Message-ID: Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 12 13:41:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 13:41:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: References: Message-ID: <12635404098.20030312204021@cactus.dk> Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. From cfoust at infostatsystems.com Wed Mar 12 13:47:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:47:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: The globals vanish when you hit an unhandled error. Can you truly say you NEVER have any such errors in your apps? The environment in VB just seems to lead to fewer instances of that behavior. I still don't like globals. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:40 AM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 12 13:54:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 13:54:00 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BC@TAPPEEXCH01> >Brett, >That's a good idea. Do you have some code you can send me that I can start >with? Since this is definitely on-topic, I'm posting this to the list. Here goes: Normally, I keep the data source text file in a consistent location, and manually open the MailMerge data source in Word. Access has the built-in ability to export a table/query to a delimited file (there is even a "Mail Merge" option in the file type list). I use file I/O to do it instead, to allow me more control over where the data comes from (i.e. multiple queries). By default Word uses tabs as field delimiters and carriage returns as record delimiters. Some of my documents require embedded tabs and carriage returns, so I use tildes (~) as my field delimiters and carats (^) as my record delimiters. When you open the data source in the Word Mail Merge helper, it will ask you to specify these delimiters. Here is a routine I wrote to generate a Mail Merge data source based on any table or query: Public Sub CreateMergeDataSource(ByVal strTblQry As String, ByVal strFilePath As String) Const cFieldDelim = "~" Const cRecordDelim = "^" Dim db As DAO.Database Dim rs As DAO.Recordset Dim fld As DAO.Field Dim lngFileNo As Long Dim strBuffer As String Set db = CurrentDb() Set rs = db.OpenRecordset(strTblQry, dbOpenSnapshot) 'Initialize field name list (first line of data source) For Each fld In rs.Fields Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Name & Chr$(34) & cFieldDelim End Select Next fld strBuffer = strBuffer & cRecordDelim 'Loop through all records in source table/query Do Until rs.EOF For Each fld In rs.Fields Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Value & Chr$(34) & cFieldDelim End Select Next fld strBuffer = strBuffer & cRecordDelim rs.MoveNext Loop rs.Close 'Generate data source text file lngFileNo = FreeFile Open strFilePath For Output As #lngFileNo Print #lngFileNo, strBuffer Close #lngFileNo Set rs = Nothing Set db = Nothing End Sub From rusty.hammond at cpiqpc.com Wed Mar 12 14:00:00 2003 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Wed Mar 12 14:00:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> > I have an app that imports a text file, makes some changes to the data, > then exports the updated data to another text file. The client would like > to be able to have the Access program automatically send the new file to > an FTP server on the internet. > > Has anyone automated sending a file to an FTP server from A2K? The server > requires login name and password. Any ideas and suggestions are > appreciated. > > > Rusty Hammond > From BBarabash at TappeConstruction.com Wed Mar 12 14:06:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 14:06:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BD@TAPPEEXCH01> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 14:28:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 14:28:01 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <1047500895.8377.207.camel@sgsax-th4022c> Rusty, There are, of course, many ways to do this. One of the easier ways is to use the Internet Transfer Control, one of the MS ActiveX controls you sould get with Access. I've got a demo for its usage on my website. The demo uses http, but you should be able to easily change it to ftp instead. Go to my downloads page and look for "Get Web Document Demo". Seth On Wed, 2003-03-12 at 13:59, Rusty Hammond wrote: > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From andy at minstersystems.co.uk Wed Mar 12 14:33:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 12 14:33:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: Message-ID: <006c01c2e8d6$2096e300$b274d0d5@andypc> John Just the kind of thing the BEU (Backend Upgrader) will do for you. (couldn't resist the plug) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Skolits > Sent: 12 March 2003 18:44 > To: AccessD at databaseadvisors.com > Subject: [AccessD] How to Delete or modify an index in VBA > > > Anyone know how to delete an index in VBA after it's already > been added to a collection. Another option would be to modify > it (add a field) or to set it's Unique property to false. Any > of these would be fine. > > I know how to Create an index, just can't delete it. I am > using DAO but could also use ADO if that's the better solution. > > > John Skolits > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From gustav at cactus.dk Wed Mar 12 14:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 14:37:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: References: Message-ID: <3538770769.20030312213628@cactus.dk> Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav From gustav at cactus.dk Wed Mar 12 14:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 14:47:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <1047500895.8377.207.camel@sgsax-th4022c> References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> <1047500895.8377.207.camel@sgsax-th4022c> Message-ID: <239345545.20030312214603@cactus.dk> Hi Rusty You can also check out http://www.pacific.net/~ken/software/ where wcl_ftp and an Access module is free to download and use. Also, check the archive for "FTP" - lots of hits. /gustav > There are, of course, many ways to do this. One of the easier ways is > to use the Internet Transfer Control, one of the MS ActiveX controls you > sould get with Access. I've got a demo for its usage on my website. > The demo uses http, but you should be able to easily change it to ftp > instead. Go to my downloads page and look for "Get Web Document Demo". > Seth > On Wed, 2003-03-12 at 13:59, Rusty Hammond wrote: >> > I have an app that imports a text file, makes some changes to the data, >> > then exports the updated data to another text file. The client would like >> > to be able to have the Access program automatically send the new file to >> > an FTP server on the internet. >> > >> > Has anyone automated sending a file to an FTP server from A2K? The server >> > requires login name and password. Any ideas and suggestions are >> > appreciated. From cfoust at infostatsystems.com Wed Mar 12 14:47:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 14:47:20 2003 Subject: [AccessD] Using Global Connctions Message-ID: If that's your last word, Gustav, then the rest of us can drivel on unchecked. As for "believers", I believe what I see daily. If you are able to write immaculate code that NEVER errors, then I kiss you hands and feet, but I also reserve judgement until I have the evidence of my own eyes. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 12:36 PM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Mar 12 14:49:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 12 14:49:00 2003 Subject: [AccessD] PDF for word ... Message-ID: <869379ABF177D4118D3100508B5EF8730560E059@corp-es00> Thank you very much. I'm playing with it now. Jim bhale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 10, 2003 5:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] PDF for word ... For a free alternative to Acrobat, take a lot at MakePDF on my site. This is a front end to Ghostscript and it handles mixed pages with no problems. > Adobe acrobat can mix landscape and portrait, and it works well. But it's > not something you want to purchase unless you are going to use it often. I > use it to submit documents to other companies and to the government. It > will work with Word, Excel, and Access. > > Jim Hewson > > -----Original Message----- > From: James Hale [mailto:jhale at houston.rr.com] > Sent: Saturday, March 08, 2003 12:57 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] PDF for word ... > > > The only way I have been able to mix landscape and portrait in the same > document is with Word and this doesn't always work well either. I presume > Adobe acrobat can do the trick but I have been to cheap to spring for a > copy. > > Jim Hale > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Sunday, March 02, 2003 1:55 AM > To: James Hale > Subject: Re: [AccessD] PDF for word ... > > > Hi James > > So which products do? > > /gustav > > > > I have found that many of these products don't handle a mixture of > portrait > > and landscape pages in the same report. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Mar 12 15:00:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 15:00:01 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <1047497097.8377.198.camel@sgsax-th4022c> Message-ID: <000001c2e8da$8296ca30$ae310cd8@hargrove.internal> Could it be that you have your code in the Click event instead of the NodeClick event? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 02:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Mar 12 15:00:24 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed Mar 12 15:00:24 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <5.2.0.9.0.20030313095223.00bc9b68@mail.dalyn.co.nz> Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From garciad at kentri.org Wed Mar 12 15:12:00 2003 From: garciad at kentri.org (Dwylene Garcia) Date: Wed Mar 12 15:12:00 2003 Subject: [AccessD] Report criteria using form Message-ID: I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia From scott.marcus at ae.ge.com Wed Mar 12 15:17:03 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 15:17:03 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D34@bwam02msx.ae.ge.com> John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 12 15:24:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 15:24:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 15:27:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 15:27:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <006c01c2e8d6$2096e300$b274d0d5@andypc> Message-ID: Ya' know. I've often though about the BEU and John C's stuff, but I have built so many functions in my Framework to do most of the features, I decided not to. I never had to change indexes before (because my designs are always so perfect!) :) So, index handling wasn't in my frame work. Some day (in all my free time), I'll look at the BEU and others but not in the near future. Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, March 12, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA John Just the kind of thing the BEU (Backend Upgrader) will do for you. (couldn't resist the plug) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Skolits > Sent: 12 March 2003 18:44 > To: AccessD at databaseadvisors.com > Subject: [AccessD] How to Delete or modify an index in VBA > > > Anyone know how to delete an index in VBA after it's already > been added to a collection. Another option would be to modify > it (add a field) or to set it's Unique property to false. Any > of these would be fine. > > I know how to Create an index, just can't delete it. I am > using DAO but could also use ADO if that's the better solution. > > > John Skolits > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Wed Mar 12 15:30:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 15:30:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D35@bwam02msx.ae.ge.com> John, What I posted to you earlier would be 5 queries (you could make into 3), would be dynamic, and require no sub-queries. Scott -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 12 15:37:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 15:37:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BF@TAPPEEXCH01> Actually, you CAN get there from here, but it is a little trickier. I just assumed that you wanted all 3 columns to appear on the report regardless of the data. If you save the query, and use the query name as your report's recordsource, Access is fine with using a crosstab query for a report recordsource. The problem is, if your column names are dynamic, how do you setup textbox control sources for your report? Columns that were present with one criteria disappear with another! I have successfully used dynamic crosstab queries for reports by looping through the fields in the underlying query in the Report_Open event and setting the ControlSource properties accordingly. If you want, I can walk you through this... -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 15:42:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 15:42:00 2003 Subject: [AccessD] Building a search form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229D@main2.marlow.com> Simple, for your first combo box, let's say we are talking about tblKB, and you have the TopicID, QID and Question fields, with TopicID and TopicText in tblTopics For the First combo box, use this query: Select "All" As TopicText, 0 As TopicID From BBarabash at TappeConstruction.com Wed Mar 12 15:49:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 15:49:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6C0@TAPPEEXCH01> For the heck of it, let me post the dynamic column query code for you. Use it as you please. For this sample, we will assume: - The name of the query is qryRptXTab. - The Report contains multiple unbound textboxes named txtCol1, txtCol2, txtCol3... Private Sub Report_Open () Dim db As DAO.Database Dim qdf As DAO.QueryDef Dim prm As DAO.Parameter Dim fld As DAO.Field Dim lngCol As Long Set db = DBEngine(0)(0) Set qdf = db.QueryDefs("qryRptXTab") 'Because this query references form controls, we need to evaluate 'them and supply the control values to the query For Each prm In qdf.Parameters prm.Value = Eval(prm.Name) Next prm For Each fld In qdf.Fields Select Case fld.Name Case "MyRowFieldName","MyOtherRowFieldName" 'These fields are setup at design time; skip them Case Else 'Dynamically fill the unbound textboxes with the remaining fields lngCol = lngCol + 1 Me("txtCol" & lngCol).ControlSource = fld.Name End Select Next fld Set db = Nothing Set qdf = Nothing End Sub -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark From jim.hale at fleetpride.com Wed Mar 12 15:56:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 12 15:56:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <869379ABF177D4118D3100508B5EF8730560E093@corp-es00> Page 727 of the ADH has code that may solve your problem. HTH Jim Hale -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:07:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:07:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229E@main2.marlow.com> Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Wed Mar 12 16:10:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:10:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229F@main2.marlow.com> I don't really want to kick start another debate, but just exactly how does a Global work differently from VB to VBA? They work EXACTLY the same way, so how can one be better then the other? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Wed Mar 12 16:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:22:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> I know what you are saying about intentionally looking for an error. It gives me an uneasy feeling too, but there are some things that just absolutely require it. As far as your code, I'm pretty tired so I could be wrong on this, but I think I could trigger a false positive with your code. If you opened formA, then opened formB, then set the source object on a subform on FormA to FormB, you will now have FormB as a subform on FormA, but your function will say False, because FormB was the last form to be put into the form's collection AND it is also now a subform. (Actually, just tried it, and it did say false from the subform) I know, it wouldn't be a common occurrence, but the error method is guaranteed to be correct. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 1:17 PM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:25:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:25:00 2003 Subject: [AccessD] sniggling problem with treeview Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A1@main2.marlow.com> Seth, it seems like you have something else 'absorbing' the first click. Either you have a control that is 'taking' focus and you aren't catching it (so the first click is only setting focus to the treeview...the second fires the actual on click event), or it is possible that your code is corrupt. Try decompile/recompile, or just porting everything into a new database. Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 1:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:29:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:29:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A2@main2.marlow.com> ROTFLOL. The globals vanish when you hit an unhandled error in VB too. Actually, step back, they don't vanish when you hit an unhandled error, only if you click the END button. If you select Debug, then you just get ported to the appropriate place in your code....globals still intact. In VB the default behavior on an error is to just dump to the code(When running in debug mode...when running compiled, your entire app stops). The reason Access gives you a choice, is so that code problems don't delay data stuff. You could have a minor glitch in your code, but you are pulling data through a query. You want to pull all of the data, before getting to the code problem, so providing the 'end' option allows for that. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions The globals vanish when you hit an unhandled error. Can you truly say you NEVER have any such errors in your apps? The environment in VB just seems to lead to fewer instances of that behavior. I still don't like globals. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:40 AM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 16:32:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 16:32:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D34@bwam02msx.ae.ge.com> Message-ID: Trying to make me look bad eh? :) Actually, I did look and still couldn't easily find the 'drop' feature. I no longer use the Access 97 help file, but still couldn't seem to find it in A2K help. Must be my old age. John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 4:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Mar 12 16:32:33 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed Mar 12 16:32:33 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: In addition to the unicode comments, don't forget that the page size went from 2K to 4K as well. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 12:12 PM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:32:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:32:56 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A3@main2.marlow.com> Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 12 16:36:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:36:01 2003 Subject: [AccessD] Report criteria using form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A4@main2.marlow.com> A quick fix for this, if you don't mind losing the * wildcard, you can use the In statement...so your criteria in the query would look like this: In([What Department(s)? (Seperate with a comma ',')]) Then '2 West,Education' should bring up both of those departments. Off hand, to make that process be more forgiving, I would resort to coding the criteria. Drew -----Original Message----- From: Dwylene Garcia [mailto:garciad at kentri.org] Sent: Wednesday, March 12, 2003 3:11 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report criteria using form I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia _______________________________________________ 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 Mar 12 16:40:11 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 16:40:11 2003 Subject: [AccessD] Intentional Errors Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897456@xlivmbx12.aig.com> Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert From stuart at lexacorp.com.pg Wed Mar 12 16:57:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 12 16:57:00 2003 Subject: [AccessD] Report criteria using form In-Reply-To: Message-ID: <3E7047F3.2837.3F4026@localhost> The query will be puttin quotes around the string in txtDepartment so your criteria will end up as something like Like '"2 West" or "Education"' (note the single quotes in there) or Like "2 West or Education" The simplest way around it is - don't set any criteria in the underlying query. Have it just report all Departments. Then set the criteria when you open the report strCriteria = "Like " & txtDepartment DoCmd.OpenReport "MyReport",acViewPreview,,strCriteria Just make sure you do use quotes around anything like "2 West" What I tend to do in cases like this to avoid the problems of users getting the quoting syntax wrong is create a listbox with "Extended Mutiselect" and fill it with all possible department names. That way the user can just select the departments he wants. I use something like: Dim lngLoopcount As Long Dim lngItems As Long Dim strItem As String Dim strOr As String Dim strDQ As String strDQ = Chr$(34) 'Double Quotes For lngCounter = 0 To lstDepartments.ListCount - 1 If lstDepartments(lngcount).Selected Then lngItems = lngItems + 1 strItem = lstDepartments(lngcount).ItemData Replace strItem, strDQ, strDQ & strDQ ' take care of any double quotes in Dept name If lngItems = 1 Then strCriteria = strDQ & strItem & strDQ Else strCriteria = strCriteria & " or " & strDQ & strItem & strDQ End If End If Next > I have built a form to run a report that allows the user to set various > criteria using the following in the criteria line of the underlying > query of the report: Like > [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm > looking for one particular department such as "education" or all > departments which is obtained by using "*". I can't get it to work if I > want to run the report for two separate departments. I have tried the > following entries in the textbox: > > 2 West Or Education > > "2 West" Or "Education" > > > I have verified that there are records for both departments. I have > put the criteria directly in the query and it does work... I just can't > get it to work through the form. > > Any suggestions? > > Dwylene Garcia > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 12 16:57:30 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 12 16:57:30 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <3E7047F3.23888.3F3F0E@localhost> > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > A small (17Kb) PowerBasic utility I wrote: "FTPSend will upload a specified file to a web site based on parameters passed to it on the command line or in an encrypted parameter file. By putting it in a batch file or calling it from a macro/procedure in another application, you can automate updating of files on your site. " Grab it from my website below. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From hsimpson88 at hotmail.com Wed Mar 12 17:34:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 12 17:34:00 2003 Subject: [AccessD] Word Automation Message-ID: Here is some code that I've culled for finding bookmarks and writing field data to them together with a few ancilliary functions. The additional is for sorting queries and template names in the arrays prior to filling the callbacks. I cannot include all the code here as it is very extensive and I've culled some of the error handling. The code below is derived from a demo that I gave to a client and relies on a naming convention in the bookmark naming to match field data to bookmarks. If I were to include all the code for parsing out repeated use of the same field and parsing dates and other formatting, there would be a great deal more. One of the nice things that is done in the sample, and there may be a function or two missing, is that it checks the bookmarks and identifies any non matching bookmarks that the user has created. Note also that this uses a hard coded fixed query to get the fields that may be written. It is easily modified to point to other saved queries with broader or narrower collections of fields. First, the callback functions for the Doc template selection and Query selection templates. If the user does not select a query, a document is generated for the current Member record. Dim mstrTable As String 'Table of Primary Record to which docs are related, parsed from Opening Args Dim mlngFileID As Long 'Long PK of record from which Doc form is opened, parsed from Opening Args Dim mstrPath As String 'Path to File Folder based on Table and PK above and Path to BE Dim marDocNames As Variant 'Callback data array for Templates combo. Below path to Table Dim mlngIDot As Long 'Count of above Dim marQryNames As Variant 'Callback data array for Recipient Query combo Dim mlngIQry As Long 'Count of above Private Sub GetTemplates() 'Fills array with all template docs in the table's template folder for the template combo callback Dim strFileName As String Dim strFilePath As String strFilePath = fnDbPath & mstrTable & "\Templates\" strFileName = Dir(strFilePath & "*.Dot", vbDirectory) ReDim marDocNames(0, 0) Do While Len(strFileName) If Not (strFileName = ".." Or strFileName = ".") Then ReDim Preserve marDocNames(0, mlngIDot) marDocNames(0, mlngIDot) = Left$(strFileName, Len(strFileName) - 4) strFileName = Dir mlngIDot = mlngIDot + 1 End If Loop qSort marDocNames, 0, False, 0 End Sub Private Sub GetQuerys() 'Fills Array for combo query callback listing all queries in the database Dim strPrefix As String Dim db As DAO.Database Dim qdf As QueryDef Set db = CurrentDb strPrefix = "" 'removed, ordinarily a passed in parameter ReDim marQryNames(0, 0) For Each qdf In db.QueryDefs If Left$(qdf.Name, Len(strPrefix)) = strPrefix Then ReDim Preserve marQryNames(0, mlngIQry) marQryNames(0, mlngIQry) = qdf.Name mlngIQry = mlngIQry + 1 End If Next qSort marQryNames, 0, False, 0 db.Close Set db = Nothing Set qdf = Nothing End Sub Function Dot(fld As Control, ID As Variant, Row As Long, Col As Long, Code As Variant) As Variant 'Word template callback for cboDocType Dim ReturnVal As Variant ReturnVal = Null Select Case Code Case acLBInitialize ReturnVal = mlngIDot Case acLBOpen ReturnVal = Timer Case acLBGetRowCount ReturnVal = mlngIDot Case acLBGetColumnCount ReturnVal = 1 Case acLBGetColumnWidth ReturnVal = -1 Case acLBGetValue ReturnVal = marDocNames(0, Row) Case acLBGetFormat Case acLBEnd End Select Dot = ReturnVal End Function Function Qry(fld As Control, ID As Variant, Row As Long, Col As Long, Code As Variant) As Variant 'cboQuery filling function Dim ReturnVal As Variant ReturnVal = Null Select Case Code Case acLBInitialize ReturnVal = mlngIQry Case acLBOpen ReturnVal = Timer Case acLBGetRowCount ReturnVal = mlngIQry Case acLBGetColumnCount ReturnVal = 1 Case acLBGetColumnWidth ReturnVal = -1 Case acLBGetValue ReturnVal = marQryNames(0, Row) Case acLBGetFormat Case acLBEnd End Select Qry = ReturnVal End Function Private Sub cmdNewDoc_Click() Dim r As DAO.Recordset Dim r2 As DAO.Recordset Dim owdApp As Word.Application Dim owdDoc As Word.Document Dim strTemplate As String Dim owdBkm As Word.Bookmark Dim strFld As String Dim strFileName As String Dim lngTemp As Long Dim strFormat As String Dim strWrite As String Dim blnBkmChecked As Boolean If Len(Me.cboQuery) Then Set r2 = CurrentDb.OpenRecordset(Me.cboQuery) If Not r2.EOF Then Do Until r2.EOF Set r = CurrentDb.OpenRecordset("SELECT tblMember.*, Locale, Province, MemberType " & _ "FROM (tblProvince RIGHT JOIN (tblLocale RIGHT JOIN tblMember ON tblLocale." & _ "LocaleID = tblMember.LocaleID) ON tblProvince.ProvinceID = tblLocale.ProvinceID) " & _ "INNER JOIN tblMemberType ON tblMember.MemberTypeID = tblMemberType.MemberTypeID " & _ "WHERE ContactID = " & r2!ContactID) strTemplate = fnDbPath & mstrTable & "\Templates\" & Me.cboDocType & ".dot" If fnWordTemplate(owdApp, owdDoc, strTemplate) Then With owdDoc On Error Resume Next If blnBkmChecked = False Then fnCheckBookMarks r, owdDoc blnBkmChecked = True End If For Each owdBkm In owdDoc.Bookmarks If InStr(owdBkm.Name, "__") Then lngTemp = InStr(owdBkm.Name, "__") + 2 strFormat = Mid$(owdBkm.Name, lngTemp) strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = Format$(r(strFld), strFormat) ElseIf InStr(owdBkm.Name, "_") Then strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = r(strFld) Else strFld = owdBkm.Name strWrite = r(strFld) End If owdBkm.Select owdApp.Selection = strWrite Next End With If Me.chkMemberFolder = True Then strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & r2!ContactID & "\" & fnFileNameOK(Me.cboDocType)) & "doc" fnFolders mstrTable & "\" & r2!ContactID & "\" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If If Me.chkGroupFolder = True Then fnFolders mstrTable & "\" & Me.cboQuery & "\" strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & Me.cboQuery & "\" & fnFileNameOK(r!FirstName & " " & r!LastName & "-" & Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If If Me.chkPrint = True Then owdDoc.PrintOut End If If Me.chkOpenDocs = False Then owdDoc.Close SaveChanges:=wdDoNotSaveChanges End If strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & r!FirstName & " " & r!LastName & "-" & fnFileNameOK(Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If owdApp.Visible = True r2.MoveNext Loop End If Else Set r = CurrentDb.OpenRecordset("SELECT tblMember.*, Locale, Province, MemberType " & _ "FROM (tblProvince RIGHT JOIN (tblLocale RIGHT JOIN tblMember ON tblLocale." & _ "LocaleID = tblMember.LocaleID) ON tblProvince.ProvinceID = tblLocale.ProvinceID) " & _ "INNER JOIN tblMemberType ON tblMember.MemberTypeID = tblMemberType.MemberTypeID " & _ "WHERE ContactID = " & mlngFileID) strTemplate = fnDbPath & mstrTable & "\Templates\" & Me.cboDocType & ".dot" If fnWordTemplate(owdApp, owdDoc, strTemplate) Then With owdDoc On Error Resume Next fnCheckBookMarks r, owdDoc For Each owdBkm In owdDoc.Bookmarks If InStr(owdBkm.Name, "__") Then lngTemp = InStr(owdBkm.Name, "__") + 2 strFormat = Mid$(owdBkm.Name, lngTemp) strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = Format$(r(strFld), strFormat) ElseIf InStr(owdBkm.Name, "_") Then strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = r(strFld) Else strFld = owdBkm.Name strWrite = r(strFld) End If owdBkm.Select owdApp.Selection = strWrite Next End With If Me.chkMemberFolder = True Then strFileName = fnFileSuffix(mstrPath & fnFileNameOK(Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName Else Me.sfrmDocumentList.Form.AddToArray Mid$(strFileName, Len(mstrPath) + 1), FileLen(strFileName), "fax*" End If End If If Me.chkPrint = True Then owdDoc.PrintOut End If If Me.chkOpenDocs = False Then owdDoc.Close SaveChanges:=wdDoNotSaveChanges End If End If owdApp.Visible = True End If On Error Resume Next r.Close Set r = Nothing r2.Close Set r2 = Nothing Set owdDoc = Nothing Set owdApp = Nothing End Sub This code above is in a form with some of the check boxes I mentioned. It has combos that are filled by callback for templates in a location beneath the path to the table container file and a combo filled with queries with a prefixed naming convention. I culled out the prefix code. Function fnDbPath() As String Dim lngPos As Long Dim lngPosStrt As Long Dim lngPosExit As Long Dim strFile As String strFile = CurrentDb.Name lngPosStrt = 2 Do Until lngPosStrt = 1 lngPos = InStr(lngPosStrt, strFile, "\") lngPosStrt = lngPos + 1 If lngPosStrt <> 1 Then lngPosExit = lngPosStrt - 1 Loop fnDbPath = Left$(strFile, lngPosExit) End Function Public Function fnWordTemplate(owdApp As Word.Application, owdDoc As Word.Document, strTemplate As String, Optional blnClose As Boolean = False) As Boolean Dim lngCount As Long If Len(Dir(strTemplate)) Then fnReturnWord owdApp, blnClose lngCount = owdApp.Documents.Count Set owdDoc = owdApp.Documents.Add(Template:=strTemplate, newtemplate:=False) If owdApp.Documents.Count = lngCount + 1 Then fnWordTemplate = True Else MsgBox "Unable to create new document" End If Else MsgBox "The template file: " & strTemplate & _ " was not found. Unable to create document." Exit Function End If End Function Public Function fnCheckBookMarks(r As DAO.Recordset, owdDoc As Word.Document) Dim owdBkm As Word.Bookmark Dim strBkm() As String Dim lngI As Long Dim lngJ As Long Dim blnFound As Boolean ReDim strBkm(1, owdDoc.Bookmarks.Count - 1) For Each owdBkm In owdDoc.Bookmarks strBkm(0, lngI) = owdBkm.Name If InStr(owdBkm.Name, "__") Then strBkm(1, lngI) = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) ElseIf InStr(owdBkm.Name, "_") Then strBkm(1, lngI) = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) Else strBkm(1, lngI) = owdBkm.Name End If lngI = lngI + 1 Next For lngI = 0 To owdDoc.Bookmarks.Count - 1 For lngJ = 0 To r.Fields.Count - 1 If strBkm(1, lngI) = r(lngJ).Name Then blnFound = True Exit For Debug.Print lngI & " = " & lngJ End If Next If blnFound = False Then MsgBox strBkm(1, lngI) & " was not found in the recordset but is a bookmark in " & _ "the Template." & vbCrLf & vbCrLf & "This bookmark cannot be filled from the " & _ "recordset. It will require a query that returns a field with that name." End If blnFound = False Next End Function Function fnFixFileName(ByVal strIn As String, strMapIn As String, ByVal strMapOut As String) As String Dim IntI As Integer Dim intPos As Integer Dim strChar As String * 1 Dim strout As String If Len(strMapIn) > 0 Then If Len(strMapOut) > 0 Then strMapOut = Left$(strMapOut & String(Len(strMapIn), Right$(strMapOut, 1)), Len(strMapIn)) End If For IntI = 1 To Len(strIn) strChar = Mid$(strIn, IntI, 1) intPos = InStr(1, strMapIn, strChar) If intPos > 0 Then strout = strout & Mid$(strMapOut, intPos, 1) Else strout = strout & strChar End If Next IntI End If fnFixFileName = strout End Function Function fnFileNameOK(strIn As String) As String Dim strout As String strout = fnFixFileName(strIn, "/\?*" & Chr$(34), "-") fnFileNameOK = fnFixFileName(strout, ".", "") End Function Sub qSort(varAr As Variant, fld As Long, Asc As Boolean, NumberCol As Long, Optional lngL As _ Long = -2, Optional lngR As Long = -2) Dim lngI As Long Dim lngK As Long Dim lngJ As Long Dim varMid As Variant If lngL = -2 Then lngL = LBound(varAr, 2) If lngR = -2 Then lngR = UBound(varAr, 2) If lngL < lngR Then lngJ = (lngL + lngR) \ 2 varMid = varAr(fld, lngJ) lngI = lngL lngK = lngR If Asc Then Do Do While varAr(fld, lngI) > varMid lngI = lngI + 1 Loop Do While varAr(fld, lngK) < varMid lngK = lngK - 1 Loop If lngI <= lngK Then Swap varAr, lngI, lngK, NumberCol lngI = lngI + 1 lngK = lngK - 1 End If Loop Until lngI > lngK Else Do Do While varAr(fld, lngI) < varMid lngI = lngI + 1 Loop Do While varAr(fld, lngK) > varMid lngK = lngK - 1 Loop If lngI <= lngK Then Swap varAr, lngI, lngK, NumberCol lngI = lngI + 1 lngK = lngK - 1 End If Loop Until lngI > lngK End If If lngK <= lngJ Then qSort varAr, fld, Asc, NumberCol, lngL, lngK qSort varAr, fld, Asc, NumberCol, lngI, lngR Else qSort varAr, fld, Asc, NumberCol, lngI, lngR qSort varAr, fld, Asc, NumberCol, lngL, lngK End If End If End Sub Private Sub Swap(varArr As Variant, lng1 As Long, lng2 As Long, NumCol As Long) Dim varTemp As Variant Dim lngN As Long For lngN = 0 To NumCol varTemp = varArr(lngN, lng2) varArr(lngN, lng2) = varArr(lngN, lng1) varArr(lngN, lng1) = varTemp Next End Sub Hen >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Wed, 12 Mar 2003 08:12:23 -0500 > >Henry, I would like to learn more about how you do this. _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From DWUTKA at marlow.com Wed Mar 12 18:15:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 18:15:01 2003 Subject: [AccessD] Intentional Errors Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A6@main2.marlow.com> I have only ever dabbled in C (VC++), but I have lots of experience with VB and VBA. The queasy feeling comes from not being able to handle ALL errors from within VB. There are times where your code can trigger an error that you cannot handle. For instance, if you have a corrupt database, and you try to open a form that msaccess.exe runs into an unhandled error for, then your code will fail, and Access will shut down. Granted, knowing that you may get an error, that you can handle, and getting broadsided by something you can't trap are two different things. And I don't think I have ever seen an unexpected error in a routine that I expected an error to be a valid 'response'. However, it's kind of like the feeling you may get sometimes in bed, when you feel like you are falling. You are not falling, but the sensation is there, and it just triggers the fight or flight response! Know what I mean? I completely agree that catching 'expected' errors is a very valid method of writing code...in fact, in some API calls, getting an error is the only 'response' you get back...the error message is the result of the API. Drew -----Original Message----- From: Heenan, Lambert To: Access-D Email (E-mail) Sent: 3/12/03 4:39 PM Subject: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at hotmail.com Wed Mar 12 18:18:00 2003 From: mmmtbig at hotmail.com (Myke) Date: Wed Mar 12 18:18:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software In-Reply-To: <20030312230800.16930.74354.Mailman@databaseadvisors.com> Message-ID: <003d01c2e8f5$f5130090$6501a8c0@tbig3> Note: I am using a hotmail email account to post to AccessD because attempted posts from my BellSouth.Net email account bounce back. Soon I will buy a new PC and drop the oldest one from the lineup in my office. I'd like some opinions on PCs. I'm an independent developer working from a home office with a DSL connection. I live about 20 miles north of Atlanta. I use a keyboard video mouse sharing device for all the PCs. I don't like fixing hardware so I'd like a good onsite service contract. I don't need an OS or software installed because I'm a MSDN subscriber. I'd like to have less white noise from power supply/fans. I'd like to use temperature monitoring software because most of the failures I've had were due to a fan malfunctioning and the heat killing a hard disk. Opinions on the following would be welcome: Intel vs. AMD; DVD RW for backup; Same day onsite service; Best value monitor configuration. The easy decision is to buy a Dell. Anyone have suggestions? TIA, Myke From cfoust at infostatsystems.com Wed Mar 12 18:53:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 18:53:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: You just explained in another post what I meant. They don't work differently but the environment is different. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 2:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions I don't really want to kick start another debate, but just exactly how does a Global work differently from VB to VBA? They work EXACTLY the same way, so how can one be better then the other? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From wdhindman at bellsouth.net Wed Mar 12 18:57:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 18:57:01 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: <003d01c2e8f5$f5130090$6501a8c0@tbig3> Message-ID: <00c801c2e8fb$81e3f1f0$6101a8c0@amd2k512> Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" To: Sent: Wednesday, March 12, 2003 7:17 PM Subject: [AccessD] OT: Buying a PC for Developing Software > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Mar 12 19:27:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 19:27:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <00f301c2e8ff$a7139c60$6101a8c0@amd2k512> Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Wed Mar 12 19:38:00 2003 From: papparuff at attbi.com (John Ruff) Date: Wed Mar 12 19:38:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <00f301c2e8ff$a7139c60$6101a8c0@amd2k512> Message-ID: <016401c2e900$f8315690$6401a8c0@papparuff> Would not this file be a good candidate for the Database Advisors Download site? John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, March 12, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the > > data, then exports the updated data to another text file. The > > client would like > > to be able to have the Access program automatically send the new > > file to an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Wed Mar 12 19:40:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed Mar 12 19:40:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: <657FB70438B7D311AF320090279C1801026D7949@EXCHMAIL> Amen William! 1. This must be my problem (pacbell.com) why many of my posts are bounced (or waiting for Moderator approval) 2. no comment 3. Same here, I built an AMD 1400 2 years ago for about $1400. It included: 19" View Sonic monitor (Trinitron flat tube), 1 GB PC-133 Mem, 60 GB HDD (now 140), ATI All-In-Wonder Video Card (32MB), Sound Blaster Platinum, iWill MB, 24x CDRW. A month or two later my company upgraded my work computer to a Dell Dimension 8100, 17" monitor, 256MB (now up to 768) 400Mhz Rambus memory, 40GB HDD, Nvidia Geforce 2 MX4X (32MB), Sound Blaster 64V PCI, 8x CDRW (now upgraded to 24x). Its funny how the two differ. The Dell was several hundred dollars more. At home, I can listen to music, burn CDs, re-encode an mpg movie/TV show, have Outlook Open, Access 97 & 2000 open, SQL EM & QA running (all at the same time). SQL Statements run quick, no bog to the system at all. The Dell at work, well if I'm burning a CD, that's about all I can do, because the system crawls. I've updated drivers, upgraded the CDRW drive to a faster one (which helped a bit), wiped the system clean and no difference. I've upgraded the memory by adding another 512, this also helped a bit. but I often wish I were home working on my home system. The prices are so much cheaper now on the systems, that I can build a box for about $400 to $600 that kicks over my current home system. I was a big Intel supporter and didn't want to follow the advised of friends and coworkers to make the switch over to AMD...I'm glad I did! I've even heard complaints from co-workers who were on Celeron 600 boxes & PIII boxes who switched over the Dell 1600 Mhz boxes that they are slower too! 4. A computer vendor who sold my P-166 told me to forget about contracts and warranties on computers. If something DOES fail in a year, the replacement part is always faster, cheaper & better the original (and usually less than the price of the contract). 5. See #3 above :) just my 2 cents. David McAfee -----Original Message----- From:William Hindman Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke From DWUTKA at marlow.com Wed Mar 12 20:11:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 20:11:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A7@main2.marlow.com> Yes, I am working on the issue. Rosehosting just got back to me tonight, and they verified nothing was wrong on their end, that the only way to track this down is from the sending end, so tomorrow I get to be Rambo and go rattle some cages at BellSouth! Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/12/03 6:57 PM Subject: Re: [AccessD] OT: Buying a PC for Developing Software Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" To: Sent: Wednesday, March 12, 2003 7:17 PM Subject: [AccessD] OT: Buying a PC for Developing Software > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ 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 Mar 12 20:14:00 2003 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Wed Mar 12 20:14:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBB4@cpixchng-1.cpiqpc.net> This sounds pretty good William. If you don't mind sending me a copy that would be great. I'm also looking at the ActiveX control that Seth made me aware of. Thanks to everyone else who responded. I'm trying to stay with a solution that I know the client will have all the extra pieces for it in place already. Rusty -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, March 12, 2003 7:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Mar 12 20:47:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed Mar 12 20:47:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A3@main2.marlow.com> Message-ID: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: >Sounds like the broadband connections changed their DNS or WINS settings, >so they can't resolve the computer names anymore. > >Drew >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Wednesday, March 12, 2003 2:59 PM >To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >Subject: [AccessD] OT - Mapping dialup drive with broadband > >Cross post AccessD, AccessL > >This is slightly related as my users can't synchronise unless we can get >them connected :( > >Previously my users had normal modems and were able to dial into a server >and map drives ok. > >Two of them have connected to broadband lines. Now when they disconnect >the broadband connection and use their modems to connect to the server >they are able to make a connection but are not able to map drives. The >error they get is - > >"The following error occurred while trying to connect F: to >\\OAServer\OAServer > The computer or sharename could not be found. Make sure you typed it > correctly, and try again." > >Does anyone know of any issues with broadband (or similar high speed >connections) that interfere when going back to normal 56k modems? > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Mar 12 21:05:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed Mar 12 21:05:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <003501c2e82a$85fdabe0$6101a8c0@amd2k512> Message-ID: <000101c2e90d$300277f0$de1811d8@DanWaters> Ouch! Thanks for letting me know before I did the same thing! Dan -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, March 11, 2003 6:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Adding Attachments Dan ...the FSO is a really nice new tool ...I was so enthused I converted an entire app over to using it before discovering it doesn't work in a runtime environment :((((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 1:47 PM Subject: RE: [AccessD] Adding Attachments Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Mar 12 21:38:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed Mar 12 21:38:01 2003 Subject: [AccessD] Access/Oracle References: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD6@srciml1.ds.doc.state.or.us> Message-ID: <3E6FFCF2.60800@shaw.ca> Here is a generic site covering SQL, Oracle and DB2 http://searchdatabase.techtarget.com/ Gowey Mike W wrote: >Thanks Scott, > >Pointers is exactly what I will need and any place on the net that you >know of that has information on Oracle. I have not really embarked on >anything that has to do with Oracle so this is going to be a new avenue >for me. It is going to be fun but I am sure agrivating at times. > >Mike Gowey, MCP >Technical Support Analyst >SRCI ISSD Team Leader >(541)881-4808 > > >-----Original Message----- >From: Marcus, Scott (GEAE, RHI Consulting) >[mailto:scott.marcus at ae.ge.com] >Sent: Wednesday, March 12, 2003 11:22 AM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Access/Oracle > > >I have done this many times. What are you looking for? Pointers? > >I have noticed that pass-thru queries work better(but requires you use >Oracle only syntax for SQL) than attaching tables and running queries >based off those attachments. Provided that the user has the proper >privleges, attaching the tables to the front end (replacing the existing >attached access tables)is the whole beauty (well not the only advantage) >of splitting your database into front-end back-end. Very little else >needs to be done. > >Scott Marcus > >-----Original Message----- >From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] >Sent: Wednesday, March 12, 2003 12:50 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access/Oracle > > > >I am about to embark on a project to right a front end that will connect >to a back End Oracle database. Has anyone had any experience in this >area or know of where I can find good information on techniques? Any >help anyone can provide would be great. > >Thanks > >Mike Gowey, MCP >Technical Support Analyst >SRCI ISSD Team Leader > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 pacific.net.hk Wed Mar 12 22:46:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Wed Mar 12 22:46:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Message-ID: <000a01c2e91b$599c00a0$2900a8c0@BITSNB02> Another thing you can try is instead of mapping \\OAserver\Oaserver, trying using the ip address of the server. eg \\192.168.0.11\OAserver This bypasses wins/dns and unless they need to browse the network should solve the issue. Another thing to keep in mind is that win9x doesn't handle switching like this very well. Not sure if you are using win2k/xp as you didn't mention it. My main notebook is Win2K, and I often hibernate as opposed to shutdown as it keeps my workspace. Using win2k I can switch from home to work, to clients networks with no issue. Win2K releases the network configuration cleanly in my experience and grabs a new one at whatever site I am at if DHCP is set up. Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, 13 March, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Wed Mar 12 23:23:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 23:23:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server References: <016401c2e900$f8315690$6401a8c0@papparuff> Message-ID: <004c01c2e920$9e3f2980$6101a8c0@amd2k512> John ...I used quite a bit of ADH code which can't be publicly posted. :( William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John Ruff" To: Sent: Wednesday, March 12, 2003 8:36 PM Subject: RE: [AccessD] A2K - Automate sending a file to an FTP server > Would not this file be a good candidate for the Database Advisors Download > site? > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman > Sent: Wednesday, March 12, 2003 5:27 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server > > > Rusty > > ...I have a small app that I cobbled together from others code a couple of > years ago for a client that does almost exactly this ...imports data from > another mdb, updates it, exports it to a text file and automatically ftps it > to an ftp server on the net using a login name and password ...still working > every day without a hitch ...its about 250Kb zipped if your e-mail can > handle it and you're interested ...its in AXP now but was a straight > conversion from A97 ...HTH :) > > ...per list netiquette, I will not respond to any on list "me toos" :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants." > Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "Rusty Hammond" > To: > Sent: Wednesday, March 12, 2003 2:59 PM > Subject: [AccessD] A2K - Automate sending a file to an FTP server > > > > > I have an app that imports a text file, makes some changes to the > > > data, then exports the updated data to another text file. The > > > client would > like > > > to be able to have the Access program automatically send the new > > > file to an FTP server on the internet. > > > > > > Has anyone automated sending a file to an FTP server from A2K? The > server > > > requires login name and password. Any ideas and suggestions are > > > appreciated. > > > > > > > > > Rusty Hammond > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From medela at eunet.yu Wed Mar 12 23:59:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Wed Mar 12 23:59:00 2003 Subject: [AccessD] Is form open in another database Message-ID: <00d701c2e925$4f94aa80$0100a8c0@razvoj> Cross posted to Access-L & AccessD My customers use the same BE file, which resides on the server, through their local FE files. Is there a way to check if a specific form is open on a specific machine or any of the machines? Because I need to kick out all users before running some append and delete queries. Many TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Thu Mar 13 00:21:01 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Thu Mar 13 00:21:01 2003 Subject: [AccessD] Re: Is form open in another database References: <00d601c2e925$4e98e560$0100a8c0@razvoj> Message-ID: <009001c2e929$1dbad670$0eb62904@amd2k> What I do now is create a text file called lockout w/ a time, when a specific form is open all it would have to do is check for this file, all specific forms that need to check if the BE's been locked out would check this file first and if it existed then BOOT! -Francisco http://rcm.netfirms.com/ On Wednesday, March 12, 2003 9:56 PM [GMT -8], Ervin Brindza wrote: : Cross posted to Access-L & AccessD : : My customers use the same BE file, which resides on the server, : through their local FE files. Is there a way to check if a specific : form is open on a specific machine or any of the machines? Because I : need to kick out all users before running some append and delete : queries. : : Many TIA, : : Ervin : From medela at eunet.yu Thu Mar 13 01:08:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Thu Mar 13 01:08:00 2003 Subject: [AccessD] Is form open in another database References: <00d601c2e925$4e98e560$0100a8c0@razvoj> <009001c2e929$1dbad670$0eb62904@amd2k> Message-ID: <004801c2e92e$e4d7a3a0$0100a8c0@razvoj> Francisco, thanks for the quick response :) I have 3 disputable forms(e.g. frmA, frmB, frmC), and have a couple of users(1 user on each machine, e.g. PC1, PC2, PC3, PC4, PC5). The solution might be to create files for each active form for each machine(e.g. A4.txt, A5.txt then the form frmA is active on PC4 and PC5) and when the form is closed then to delete the appropriate file. I think it'll be the best solution because there is just a couple of forms and users. Maybe someone can suggest a better solution, to make less files and to check are files empty? Many thanks for the idea, best regards, Ervin > What I do now is create a text file called lockout w/ a time, when a > specific form is open all it would have to do is check for this file, all > specific forms that need to check if the BE's been locked out would check > this file first and if it existed then BOOT! > > -Francisco > http://rcm.netfirms.com/ > > On Wednesday, March 12, 2003 9:56 PM [GMT -8], > Ervin Brindza wrote: > > : Cross posted to Access-L & AccessD > : > : My customers use the same BE file, which resides on the server, > : through their local FE files. Is there a way to check if a specific > : form is open on a specific machine or any of the machines? Because I > : need to kick out all users before running some append and delete > : queries. > : > : Many TIA, > : > : Ervin > : > > > From medela at eunet.yu Thu Mar 13 02:48:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Thu Mar 13 02:48:00 2003 Subject: [AccessD] Is form open in another database References: <3E70D177.13060.FFF51E@localhost> Message-ID: <003201c2e93c$ef548b00$0100a8c0@razvoj> Stuart, great idea, it's almost friday here :) Many thanks, Ervin ----- Original Message ----- From: "Stuart McLachlan" To: "Ervin Brindza" Sent: 13 March, 2003 9:44 AM Subject: Re: [AccessD] Is form open in another database > Why not a system table in the BE. > > tdlOpenForms: > fldUserName > fldFormName > > In the on_open of the form write a record to the table > in the on_close, delete the matching record. > > > Francisco, > > thanks for the quick response :) > > I have 3 disputable forms(e.g. frmA, frmB, frmC), and have a couple of > > users(1 user on each machine, e.g. PC1, PC2, PC3, PC4, PC5). The solution > > might be to create files for each active form for each machine(e.g. A4.txt, > > A5.txt then the form frmA is active on PC4 and PC5) and when the form is > > closed then to delete the appropriate file. I think it'll be the best > > solution because there is just a couple of forms and users. > > Maybe someone can suggest a better solution, to make less files and to check > > are files empty? > > Many thanks for the idea, best regards, > > Ervin > > > > > What I do now is create a text file called lockout w/ a time, when a > > > specific form is open all it would have to do is check for this file, all > > > specific forms that need to check if the BE's been locked out would check > > > this file first and if it existed then BOOT! > > > > > > -Francisco > > > http://rcm.netfirms.com/ > > > > > > On Wednesday, March 12, 2003 9:56 PM [GMT -8], > > > Ervin Brindza wrote: > > > > > > : Cross posted to Access-L & AccessD > > > : > > > : My customers use the same BE file, which resides on the server, > > > : through their local FE files. Is there a way to check if a specific > > > : form is open on a specific machine or any of the machines? Because I > > > : need to kick out all users before running some append and delete > > > : queries. > > > : > > > : Many TIA, > > > : > > > : Ervin > > > : > > > > > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > From gustav at cactus.dk Thu Mar 13 03:42:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 13 03:42:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> Message-ID: <1176975750.20030313104053@cactus.dk> Hi Drew > I know what you are saying about intentionally looking for an error. It > gives me an uneasy feeling too, but there are some things that just > absolutely require it. Of course, and no problem with that. However, I can't imagine why one would do as described in your example - I've never designed a form to be used as both a main form and a subform and indeed not at the same time - but, well, never say never. /gustav > As far as your code, I'm pretty tired so I could be wrong on this, but I > think I could trigger a false positive with your code. If you opened formA, > then opened formB, then set the source object on a subform on FormA to > FormB, you will now have FormB as a subform on FormA, but your function will > say False, because FormB was the last form to be put into the form's > collection AND it is also now a subform. (Actually, just tried it, and it > did say false from the subform) > I know, it wouldn't be a common occurrence, but the error method is > guaranteed to be correct. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav >> I know, it's just one of my coding habits. I only use 'resume next' when >> I >> want to completely ignore errors. If I am expecting an error...to use it >> (as in my example), or I am just handling unexpected errors, then I always >> use On Error Goto... >> Make sense? (your code is smaller....can't deny that!) >> Drew >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, March 12, 2003 11:13 AM >> To: Drew Wutka >> Subject: Re: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi Drew >> That was an awful lot of code to replace something like these two >> lines: >> >> Private Function IsSubform() As Boolean >> On Error Resume Next >> IsSubform = Me.Parent.hWnd >> End Function >> >> /gustav >>> This is from my new MiniCalendar database....still in development...but >>> the function works fine. >>> Private Function AmIASubForm() As Boolean >>> On Error GoTo ErrorHandler >>> Dim varTemp >>> varTemp = Me.Parent >>> AmIASubForm = True >>> Exit Function >>> ErrorHandler: >>> Err.Clear >>> AmIASubForm = False >>> End Function >>> -----Original Message----- >>> From: Bruce Bruen [mailto:bbruen at bigpond.com] >>> Sent: Tuesday, March 11, 2003 6:58 PM >>> To: AccessD >>> Subject: [AccessD] How do I tell if a form is opened as a subform or >>> not? >>> Hi List, >>> I am trying to use a form that may appear as a subform or on its own. >>> If it's a subform then I want to maximise it in its parent control >>> space, if not then it should be sized to fit the form. >>> But how do I tell where it is being opened? The following doesn't work: >>> On Error Resume Next >>> If Not IsNull(Me.Parent.Name) Then >>> boolIsSubform = True >>> DoCmd.Maximize >>> Else >>> boolIsSubform = False >>> End If >>> On Error GoTo 0 >>> Ignore the fact that the docmd works on the parent, I am not worried >>> about that at the moment, only that I don't know how to test the >>> "subformedness". From scott.marcus at ae.ge.com Thu Mar 13 06:19:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 06:19:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D36@bwam02msx.ae.ge.com> Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From scott.marcus at ae.ge.com Thu Mar 13 06:24:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 06:24:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D37@bwam02msx.ae.ge.com> Not trying to make you look bad, forgive me if I sounded that way. Remember that there is more than one way to skin a cat. I hear that the help files in 2000+ absolutely stink. Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Trying to make me look bad eh? :) Actually, I did look and still couldn't easily find the 'drop' feature. I no longer use the Access 97 help file, but still couldn't seem to find it in A2K help. Must be my old age. John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 4:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 13 07:05:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:05:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <00b301c2e8ae$f7ae6430$0100007f@SusanOne> Message-ID: <000901c2e961$0b372ca0$8e01a8c0@Rock> Maybe this is what you want, Susan? With a connection object you can do things like this: Debug.print CurrentProject.Connection.Properties("User ID") -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 12, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Exactly Mark -- you can use a connection string or a connection object. The latter requires more code, but the connection string, as Charlotte or Doris pointed out (sorry, I can't remember which one of you said that), the connection string can be a pain to work with. Other than that though, I can really find no advantage to using a Connection object. I expected to find some benefit, such as properties or methods available only via the Connect object, because most of the code samples I see uses the Connection object, but other than perspective, I can see no advantage. I'll keep digging around a little, but so far, I've not really turned up anything. Susan H. > > Would the explanation be that in your sample code > > With cmd > .ActiveConnection = strConn > > It appears that the connection is being initialised here. Perhaps in > the other example, it reads clearer when you are passing in a live cnn > connection rather than strCnn. > > Having said that, you could use cnn in both scenario's. > > I do think ( as I think you do ), that your way is neater. > > For a further question on this, see my new thread 'Using Global Connctions' > > Best Regards > > > Mark L. Breen > Solution Providers Ltd > Ireland > > > > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 11, 2003 10:01 PM > Subject: Re: [AccessD] ADO Command object > > > -- I still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. > :) > > 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 bheid at appdevgrp.com Thu Mar 13 07:11:00 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu Mar 13 07:11:00 2003 Subject: [AccessD] Intentional Errors Message-ID: <916187228923D311A6FE00A0CC3FAA30332E6E@ADGSERVER> I think that sometimes this is the ONLY way to handle certain issues. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Wednesday, March 12, 2003 5:40 PM To: Access-D Email (E-mail) Subject: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Thu Mar 13 07:12:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 13 07:12:01 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <000a01c2e91b$599c00a0$2900a8c0@BITSNB02> References: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030313225227.024b7d38@mail.dalyn.co.nz> The users are on XP. Thanks for the suggestion - will try it out. David At 13/03/2003, you wrote: >Another thing you can try is instead of mapping >\\OAserver\Oaserver, trying using the ip >address of the server. eg >\\192.168.0.11\OAserver > >This bypasses wins/dns and unless they need to browse the network should >solve the issue. > >Another thing to keep in mind is that win9x doesn't handle switching like >this very well. Not sure if you are using win2k/xp as you didn't mention >it. My main notebook is Win2K, and I often hibernate as opposed to >shutdown as it keeps my workspace. Using win2k I can switch from home to >work, to clients networks with no issue. Win2K releases the network >configuration cleanly in my experience and grabs a new one at whatever >site I am at if DHCP is set up. > >Stuart > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson >Sent: Thursday, 13 March, 2003 10:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT - Mapping dialup drive with broadband > >Aha!. Where do I find those settings so that I can check? > >David > >At 12/03/2003, you wrote: >>Sounds like the broadband connections changed their DNS or WINS settings, >>so they can't resolve the computer names anymore. >> >>Drew >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: Wednesday, March 12, 2003 2:59 PM >>To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >>Subject: [AccessD] OT - Mapping dialup drive with broadband >> >>Cross post AccessD, AccessL >>This is slightly related as my users can't synchronise unless we can get >>them connected :( >>Previously my users had normal modems and were able to dial into a server >>and map drives ok. >>Two of them have connected to broadband lines. Now when they disconnect >>the broadband connection and use their modems to connect to the server >>they are able to make a connection but are not able to map drives. The >>error they get is - >> >>"The following error occurred while trying to connect F: to >>\\OAServer\OAServer >> The computer or sharename could not be found. Make sure you typed it >> correctly, and try again." >> >>Does anyone know of any issues with broadband (or similar high speed >>connections) that interfere when going back to normal 56k modems? >>Regards >>David Emerson >>DALYN Software Ltd >>25b Cunliffe St, Johnsonville >>Wellington, New Zealand >>Ph/Fax (877) 456-1205 > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 13 07:16:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:16:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D32@bwam02msx.ae.ge.com> Message-ID: <000a01c2e962$97c82ba0$8e01a8c0@Rock> In case JC is too busy, I'll step up. I never use globals. For equivalent functionality I always use static functions. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: March 12, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From RGeldart at detma.org Thu Mar 13 07:20:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu Mar 13 07:20:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: Stuart, and Marty, A little further explanation (there's always more....) 1. There are actually 97 data fields to be output. I used 20 as it seemed an easier number to deal with, theoretically. 2. The module produces a data file for uploading state agency data to a Federal database. Feds refer to the data fields as "cells", thus identifying the data items "c1", "c2", ... "c97". 3. The data comes from a Query which is also used for an internal report. Thus, I have more meaningful fieldnames ("num_Lapse_Under8") which I recode as "c10" in the module, for ease of debugging and understanding what the Feds are expecting. 4. I do computation of sums on my report. However, Feds take totals as data cells, so I need to compute them in the module. Not a problem, but Feds have c1...c8 as column totals, and c9, c17, c25, c33, etc, as row totals. All of this would seem to make arrays, or any logical sequential action by cell name or cell number a real problem. So I've settled on incorporating a number of Print statements. It ain't pretty, but it works alright. I do thank you for your time and suggestions. Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Tuesday, March 11, 2003 8:34 PM > > > How about > > dim c(20) as long ' or use variant > dim i as long > > then something like > c(1) = rst !fieldone > c(4) =c(1) +c(2) > > debug.print concstring(c()) > > where > > Function concstring(arrc()) As String > 'concatenate array to string > Dim strTemp As String > Dim k As Long > strTemp = "" > For k = 1 To UBound(arrc) > strTemp = strTemp & arrc(k) & vbCrLf > Next k > concstring = strTemp > > End Function > > Geldart, Robert wrote: > > >I found a way to do it that works almost as well... > > > >Dim cr as string > >cr = vbCrLf > > > > Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; > > Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; > > ... > > > >It allows me to condense the code so I can output ten data > >items per line. > > > >Bob Geldart > > > >>-----Original Message----- > >>From: Geldart, Robert [mailto:RGeldart at detma.org] > >>Sent: Tuesday, March 11, 2003 1:40 PM > >> > >>I'm doing an output to file routine in a module. > >> > >>I have a number of variables dimmed as long -- c1, c2, c3, > >>c4, ... c20 > >> > >>The data file is required to put each data field on a separate line: > >> tDate > >> c1 > >> c2 > >> ... > >> c20 > >> > >>My data is a single recordset of a query. I make a number of > >>calculations and then output all the results: > >> > >> c1 = rst!FieldOne > >> c2 = rst!FieldTwo > >> c3 = rst!FieldThree > >> c4 = c1 + c2 + c3 > >> ... > >> Print #1, c1 > >> Print #1, c2 > >> Print #1, c3 > >> Print #1, c4 > >> ... > >> > >>It seems to be inefficient to have 20 lines of "Print #1, > >>c..." Is there a way I could run a loop something like? > >> > >> For i = 1 to 20 > >> Print #1, "c" + i > >> Next i > >> > >>I know that specifically won't work as I tried it, but I hope > >>you can see what I'm driving at. I would like to loop through variables > >>(c1...c20) and do a Print# for each. > >> > >> > >>Bob Geldart From artful at rogers.com Thu Mar 13 07:23:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:23:01 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <1047497097.8377.198.camel@sgsax-th4022c> Message-ID: <001301c2e963$91c92d70$8e01a8c0@Rock> I have never seen this, Seth. In the M:M article I wrote on treeviews I showed population of both a parent and a child form (i.e. click on a parent node and the child form disappears; click on an unrelated child and the parent form refreshes to display the right parent data). I used single-click throughout and it works fine. Maybe you could check your code against mine and see what you're doing differently. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 12, 2003 2:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Thu Mar 13 07:25:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu Mar 13 07:25:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: Myke, I'll agree with the folks that have said build your own system. You get exactly what you want, nothing more, nothing less. Now on to the CPU, the things religious wars are made of :-)) I will highly recommend AMDs. You get a better bang for your buck. I built a 1.4 GHz Athlon system about 18 months ago and it cost me about ? the price of a comparable Intel. The MoBo was cheaper as well. I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz AMD) and I find that even thought he AMD has a lower speed, the overall system is faster. Yes, I have actually done benchmarks on both systems and the AMD always came back faster. The only thing that you will need to watch is the temp. I've been working on getting my CPU temp down for about 4 months now. I get it down to a comfortable level and then it slowly creeps up over a week or so. So I tweak and clean again and it drops again, but rises after a while. Dells are good machines, that's my Intel system at work and I haven't had a problem with it since I've had it. Just my $0.02 CAD worth from an AMD fan. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> Note: I am using a hotmail email account to post to AccessD because attempted posts from my BellSouth.Net email account bounce back. Soon I will buy a new PC and drop the oldest one from the lineup in my office. I'd like some opinions on PCs. I'm an independent developer working from a home office with a DSL connection. I live about 20 miles north of Atlanta. I use a keyboard video mouse sharing device for all the PCs. I don't like fixing hardware so I'd like a good onsite service contract. I don't need an OS or software installed because I'm a MSDN subscriber. I'd like to have less white noise from power supply/fans. I'd like to use temperature monitoring software because most of the failures I've had were due to a fan malfunctioning and the heat killing a hard disk. Opinions on the following would be welcome: Intel vs. AMD; DVD RW for backup; Same day onsite service; Best value monitor configuration. The easy decision is to buy a Dell. Anyone have suggestions? TIA, Myke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 13 07:29:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:29:01 2003 Subject: [AccessD] Report criteria using form In-Reply-To: Message-ID: <001c01c2e964$7f1b1d40$8e01a8c0@Rock> Didn't I send you code a while back that constructs an IN() clause from the multiple selections in a listbox? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dwylene Garcia Sent: March 12, 2003 4:11 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report criteria using form I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From juliea at eccs-seattle.com Thu Mar 13 07:42:00 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 07:42:00 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: I am using the following code to send a report to Word, then conduct a search and replace for the search phrase used to create the report. The problem: This only works once, then I have to reboot in order for it to work again.... Any one know a reliable way to do this repetitively? Search, send results to word, then bold the search phrases. Thanks, DoCmd.RunCommand acCmdOutputToRTF With Selection.Find .ClearFormatting With .Replacement ' .ClearFormatting .Font.Name = "Arial" .Font.Size = 24 .Font.AllCaps = True .Font.Bold = True End With .Forward = True .Wrap = wdFindContinue .Execute FindText:=strCriteria(0), _ Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) End With Julie Alley Emerald City Computer Solutions, Inc. Juliea at eccs-seattle.com Cell: 206-235-0954 Office: 206-932-6618 Fax: 206-938-7941 Web site: http://www.eccs-seattle.com WARNING: The information contained in this e-mail is confidential. The information is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please immediately notify us by a collect telephone call to 206.932.6618 and return the original message to us by e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From juliea at eccs-seattle.com Thu Mar 13 07:44:01 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 07:44:01 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: I am using the following code to send a report to Word, then conduct a search and replace for the search phrase used to create the report. The problem: This only works once, then I have to reboot in order for it to work again.... Any one know a reliable way to do this repetitively? Search, send results to word, then bold the search phrases. Thanks, DoCmd.RunCommand acCmdOutputToRTF With Selection.Find .ClearFormatting With .Replacement ' .ClearFormatting .Font.Name = "Arial" .Font.Size = 24 .Font.AllCaps = True .Font.Bold = True End With .Forward = True .Wrap = wdFindContinue .Execute FindText:=strCriteria(0), _ Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) End With Julie Alley Emerald City Computer Solutions, Inc. Juliea at eccs-seattle.com Cell: 206-235-0954 Office: 206-932-6618 Fax: 206-938-7941 Web site: http://www.eccs-seattle.com WARNING: The information contained in this e-mail is confidential. The information is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please immediately notify us by a collect telephone call to 206.932.6618 and return the original message to us by e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Thu Mar 13 07:55:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 07:55:00 2003 Subject: [AccessD] Painted into a corner Message-ID: ORDER BY doesn't do it, because I can only seem to be able to use "Findings" or "Count" and these don't do it for me. "Findings" is the default anyhow, and "Count" would be of no use. Just as an FYI...it was news to me anyhow...I was able to use "ORDER BY Findings" after the first select statement and after the last, with the same results. I guess this makes sense. Also, it occurs to me that I may not be clear in what I want. I want this: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 To look like this: Findings Count CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 CASES W/NO ERRORS FOUND 102 DENIED / WITHDRAWN 104 GRANT REDUCTION 102 ADC 79 HR 79 MA 47 MA ONLY 26 NPA FS 77 * The spaces aren't necessary...I am just emphasizing the different groupings. I have basically decided to present what I have to them...I have really got to get this off of my plate, even if I have to come back to it later. I have all the data they need, only it isn't in the format that they are used to. I think I have actually gotten more caught up in it than I needed to. They don't seem that picky, but I don't like not being able to do something, which is my problem, and I don't have time to be this way right now. I would like to thank everybody for their help though...my skills as an Access/VBA programmer have grown so much, and it is directly linked to my participation on this list. Thanks again! John W Clark >>> scott.marcus at ae.ge.com 03/12/03 01:42PM >>> John, Check out the queries I gave you earlier for doing this all in queries. You see that you can add a constant to each of your queries in the union that will sort the types within your groups(each sub-query). It looks like this... SELECT '1' as Major, query1.* FROM query1 UNION SELECT '2' as Major, query2.* FROM query2 Drew is correct. Add the ORDER BY clause to the last query in the union. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew From bob at renaissancesiding.com Thu Mar 13 07:59:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 07:59:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E93E.B52B6780.bob@renaissancesiding.com> Dear Fellow Listers: I am in over my head (again)! I am trying to prevent users from opening a second instance of Microsoft Access (A97). The code below was taken directly from Microsoft's Knowledge Base (A97=167843, A2K=197593). It works *perfectly* - if the other instance is windowed; it doesn't work at all if the other instance is either minimized or maximized. I need it to work no matter what the state of the currently running instance. I placed the CBF in the Switchboard, as my AutoExec macro loads the switchboard when the database is opened. Any suggestions, of course, are greatly appreciated! TIA, Bob Gajewski *** SWITCHBOARD CBF *** =============================================== Private Sub Form_Open(Cancel As Integer) ' Check for instance of Access already running. If GetCountOfWindows(hWndAccessApp, "Microsoft Access") > 2 Then ' I changed the original value of 1 to 2, as the error condition occurred _ on every initial open when the value was 1. Cancel = True MsgBox "Please use the instance of Microsoft Access that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub =============================================== *** MODULE "modStartup" *** =============================================== Option Compare Database Option Explicit '------------------------------------------ ' Global Declarations Section Of The Module '------------------------------------------ Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, _ ByVal wCmd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, ByVal CCh As Long) _ As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) _ As Long Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 ' This function returns the Caption Text of each window passed to ' it. If a window does not have a Caption bar, then this function ' returns a zero-length string ("") Function GetAppName(Lnghwnd As Long) Dim LngResult As Long Dim StrWinText As String * 255 Dim LngCCh As Long LngResult = GetWindowText(Lnghwnd, StrWinText, 255) GetAppName = Left(StrWinText, LngResult) End Function ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function =============================================== From sgsax at ksu.edu Thu Mar 13 08:10:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 13 08:10:00 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <001301c2e963$91c92d70$8e01a8c0@Rock> References: <001301c2e963$91c92d70$8e01a8c0@Rock> Message-ID: <1047564631.10021.0.camel@sgsax-th4022c> Arthur, This is exactly what we're trying to do. I'll check out your code later today. Thanks! Seth On Thu, 2003-03-13 at 07:22, Arthur Fuller wrote: > I have never seen this, Seth. In the M:M article I wrote on treeviews I > showed population of both a parent and a child form (i.e. click on a parent > node and the child form disappears; click on an unrelated child and the > parent form refreshes to display the right parent data). I used single-click > throughout and it works fine. Maybe you could check your code against mine > and see what you're doing differently. > > A. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From John.Clark at niagaracounty.com Thu Mar 13 08:31:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 08:31:01 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark From BBarabash at TappeConstruction.com Thu Mar 13 08:37:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu Mar 13 08:37:01 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6C1@TAPPEEXCH01> Um... If you are using the query as a report recordsource, your ORDER BY clause has absolutely no effect. Report sorting is handled by the Sorting & Grouping dialog in Report design view. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Thu Mar 13 08:46:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 13 08:46:01 2003 Subject: [AccessD] ADO Command object References: <000901c2e961$0b372ca0$8e01a8c0@Rock> Message-ID: <00ff01c2e96f$38835d10$194afccc@SusanOne> If you can't do it with a Command object, that's what I'm after. :) Thanks Arthur, I'll check it out! Susan H. > Maybe this is what you want, Susan? With a connection object you can do > things like this: > > Debug.print CurrentProject.Connection.Properties("User ID") > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: March 12, 2003 10:46 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Exactly Mark -- you can use a connection string or a connection object. The > latter requires more code, but the connection string, as Charlotte or Doris > pointed out (sorry, I can't remember which one of you said that), the > connection string can be a pain to work with. Other than that though, I can > really find no advantage to using a Connection object. I expected to find > some benefit, such as properties or methods available only via the Connect > object, because most of the code samples I see uses the Connection object, > but other than perspective, I can see no advantage. I'll keep digging around > a little, but so far, I've not really turned up anything. > > Susan H. > > > > > > Would the explanation be that in your sample code > > > > With cmd > > .ActiveConnection = strConn > > > > It appears that the connection is being initialised here. Perhaps in > > the other example, it reads clearer when you are passing in a live cnn > > connection rather than strCnn. > > > > Having said that, you could use cnn in both scenario's. > > > > I do think ( as I think you do ), that your way is neater. > > > > For a further question on this, see my new thread 'Using Global > Connctions' > > > > Best Regards > > > > > > Mark L. Breen > > Solution Providers Ltd > > Ireland > > > > > > > > > > ----- Original Message ----- > > From: "Susan Harkins" > > To: > > Sent: Tuesday, March 11, 2003 10:01 PM > > Subject: Re: [AccessD] ADO Command object > > > > > > -- I still > > don't see the advantage of using the Connection object instead of a > > connection string. > > > > I'm not arguing -- I just don't understand. The light's not going on. > > :) > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Thu Mar 13 08:52:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu Mar 13 08:52:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software In-Reply-To: References: Message-ID: <1047566265.3e7097b9dd293@hosea.qub.ac.uk> I have two Dells. a dimension and an Optiplex. Both Great. Have also a built Server which works really well. Never had problem with the Dells. Windows software YES, the Hardware, Nope. Also using Cable Modem. That has been giving me all sort of problems this ast week Quoting Bryan Carbonnell : > Myke, > > I'll agree with the folks that have said build your own system. You get > exactly what you want, nothing more, nothing less. > > Now on to the CPU, the things religious wars are made of :-)) > > I will highly recommend AMDs. You get a better bang for your buck. I > built a 1.4 GHz Athlon system about 18 months ago and it cost me about ? > the price of a comparable Intel. The MoBo was cheaper as well. > > I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz AMD) > and I find that even thought he AMD has a lower speed, the overall > system is faster. Yes, I have actually done benchmarks on both systems > and the AMD always came back faster. > > The only thing that you will need to watch is the temp. I've been > working on getting my CPU temp down for about 4 months now. I get it > down to a comfortable level and then it slowly creeps up over a week or > so. So I tweak and clean again and it drops again, but rises after a > while. > > Dells are good machines, that's my Intel system at work and I haven't > had a problem with it since I've had it. > > Just my $0.02 CAD worth from an AMD fan. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing > hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have > less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to > a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scott.marcus at ae.ge.com Thu Mar 13 09:05:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 09:05:00 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D38@bwam02msx.ae.ge.com> I'm sorry it took you so long to figure this out but, I told you about this in a previous response! <> Scott -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 13 10:14:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 10:14:00 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: Yes, you are absolutely correct. But, I was concentrating on the query first, and didn't worry about the report until afterwards, so I needed this for my tests. I then copied my SQL code into the datasource of the report...and...to behonest, I still forgot to remove the ORDER BY statement, so it remains in there for now. Thanks for your help...I am a little less leary of crosstabs now, due to your help! John W Clark >>> BBarabash at tappeconstruction.com 03/13/03 09:37AM >>> Um... If you are using the query as a report recordsource, your ORDER BY clause has absolutely no effect. Report sorting is handled by the Sorting & Grouping dialog in Report design view. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Thu Mar 13 10:18:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 10:18:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E952.17B197E0.bob@renaissancesiding.com> William: Thanks for the reply! I understand that this is a module called "mdlCheckMultipleInstances", but I do not know how to call this directly from the autoexec. Could you help me just a little more here? I hate to impose, but I truly appreciate the assistance!! Thanks, Bob On Thursday, March 13, 2003 10:27 AM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > Bob > > ....I use the following code module that was passed to me on this list long > ago ...I call it in an autoexec ...it works for me regardless of the app's > windowed state ...either giving the user a msgbox if the second app is > visible or restoring the first it if its minimized and then closing ...HTH > :) > From HollisVJ at pgdp.usec.com Thu Mar 13 10:18:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 10:18:35 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB0@exchange.pgdp> I found the below code (Save_DriveJ) on Microsoft. It will open the Save dialog, Except it does not actually save the same file. When I click on the name of the file that is placed in the field 'attachments' it is not the same file, it has the correct title, but it overwrites the text in the file to show only the words, Attached Document. Virginia This is what I put on the command button on the form: *********** Dim strFile As String strFile = GetOpenFile("J:\RCSEAtt\", "Select a File To Attach") Call Save_DriveJ If CmnDlg.FileName > " " Then Attachments = "Attached Document" & "#" & CmnDlg.FileName & "#" End If *************** Function Save_DriveJ() Dim X As Integer Do CmnDlg.Action = 2 'save file If UCase(Left(CmnDlg.FileName, 1)) <> "J" Then MsgBox "You must save file to drive J only" Else Exit Do End If DoEvents Loop X = FreeFile Open CmnDlg.FileName For Output As #X Attachments.SetFocus Print #X, Attachments.Text Close #X MsgBox "File has been saved to drive J" -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 13, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Mar 13 10:21:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 13 10:21:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <00af01c2e979$b993a1d0$036fa8c0@DellLaptop> References: <00af01c2e979$b993a1d0$036fa8c0@DellLaptop> Message-ID: <2730925959.20030313172003@cactus.dk> Hi Lawrence You need to set it for every detail. Try this: Me.Difference.Visible = (Me.Difference <> 0) /gustav > Using Access XP. I calculated field in the detail section of a report > that compares an invoice amount with a check amount. I'd like the > textbox to display if the value of the textbox does not equal zero. I've > tried to use the following code in the "OnFormat" property of the detail > section: > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > On Error GoTo ERR_OnFormat > If Me.Difference = 0 Then > Me.Difference.Visible = False > End If > Exit_ERR_OnFormat: > Exit Sub > ERR_OnFormat: > MsgBox Err.Description > Resume Exit_ERR_OnFormat > End Sub > This code correctly detects the first textbox where the value <>0, but > doesn't find any others (I've checked, and I should have a couple of > other textboxes displaying). From joconnell at indy.rr.com Thu Mar 13 10:22:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu Mar 13 10:22:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail Message-ID: <059201c2e97c$d12d0400$6601a8c0@joe.indy.rr.com> Larry, If your textbox has a transparent background and transparent border, try changing the source for the textbox to display nothing. The source would be something like this: = Iif(datafield=0,"",datafield) Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 11:06 AM Subject: [AccessD] Conditional Display of TextBox in Report Detail |Greetings: | |Using Access XP. I calculated field in the detail section of a report |that compares an invoice amount with a check amount. I'd like the |textbox to display if the value of the textbox does not equal zero. I've |tried to use the following code in the "OnFormat" property of the detail |section: | |Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) |On Error GoTo ERR_OnFormat | | If Me.Difference = 0 Then | Me.Difference.Visible = False | End If | |Exit_ERR_OnFormat: | Exit Sub | |ERR_OnFormat: | MsgBox Err.Description | Resume Exit_ERR_OnFormat | |End Sub | |This code correctly detects the first textbox where the value <>0, but |doesn't find any others (I've checked, and I should have a couple of |other textboxes displaying). | |Thanks in advance for your help. | |Larry Mrazek |LCM Research, Inc. |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 HollisVJ at pgdp.usec.com Thu Mar 13 10:22:13 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 10:22:13 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Mar 13 11:24:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu Mar 13 11:24:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897466@xlivmbx12.aig.com> You need to set a reference to the Windows Script Host Object Model > From: Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 13, 2003 11:21 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file > to a specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file > they need to attach. Then the Save dialog box opens to the directory & > folder where the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > > The Save dialog opens, and places the file name in the > attachments field, but it does not Save the file to the folder & > directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the > path name and reject all path names that start with a drive letter and > only accept UNC path names. Thus, the only drives on their computers that > pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia > [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) > to a common network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will > attach a file that is stored on their computer, which obviously will make > it unavailable to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little > button whose text is just 3 dots. The OnClick fires the code I posted. The > user navigates to a file and selects ok, then the code plugs the complete > filename into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I > need to have a button on the form that opens the GetFileName? Then what > transfers this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I > use code from ADH that calls the Windows API to open the GetFile dialog, > then posts the result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said > function or its API declaration. Of course I could change all the variable > names and the function name and claim it as my own work, which is how I > learned to program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and > before you know it you're an Old Fart.) > > > > The function called above returns an absolute path, > but given same and knowledge of the app directory, it's a simple matter to > replace the app path with a relative reference. The Replace function does > it in one line: > > > > Replace( strExp as String, strFind as String, > strReplace as String ) > > > > HTH, > > A. > From mikedorism at ntelos.net Thu Mar 13 11:29:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 13 11:29:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> Message-ID: <002d01c2e986$453d2600$3d320cd8@hargrove.internal> Add a reference to the "Microsoft Scripting Runtime" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 11:21 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 13 11:30:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 11:30:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB4@exchange.pgdp> I added the reference & still receive the same error. Virginia -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Thursday, March 13, 2003 11:24 AM To: 'accessd at databaseadvisors.com' Cc: 'HollisVJ at pgdp.usec.com' Subject: RE: [AccessD] Adding Attachments You need to set a reference to the Windows Script Host Object Model > From: Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 13, 2003 11:21 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file > to a specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file > they need to attach. Then the Save dialog box opens to the directory & > folder where the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > > The Save dialog opens, and places the file name in the > attachments field, but it does not Save the file to the folder & > directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the > path name and reject all path names that start with a drive letter and > only accept UNC path names. Thus, the only drives on their computers that > pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia > [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) > to a common network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will > attach a file that is stored on their computer, which obviously will make > it unavailable to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little > button whose text is just 3 dots. The OnClick fires the code I posted. The > user navigates to a file and selects ok, then the code plugs the complete > filename into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I > need to have a button on the form that opens the GetFileName? Then what > transfers this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I > use code from ADH that calls the Windows API to open the GetFile dialog, > then posts the result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said > function or its API declaration. Of course I could change all the variable > names and the function name and claim it as my own work, which is how I > learned to program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and > before you know it you're an Old Fart.) > > > > The function called above returns an absolute path, > but given same and knowledge of the app directory, it's a simple matter to > replace the app path with a relative reference. The Replace function does > it in one line: > > > > Replace( strExp as String, strFind as String, > strReplace as String ) > > > > HTH, > > A. > From wdhindman at bellsouth.net Thu Mar 13 11:53:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 11:53:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access References: <01C2E952.17B197E0.bob@renaissancesiding.com> Message-ID: <001101c2e989$543c1410$6101a8c0@amd2k512> Bob ...just put "RunCode" in a macro Action line and "winCheckMultipleInstances (True)" in the Function Name line ...without the quotes of course ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Bob Gajewski" To: Sent: Thursday, March 13, 2003 11:17 AM Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > William: > > Thanks for the reply! I understand that this is a module called > "mdlCheckMultipleInstances", but I do not know how to call this directly > from the autoexec. Could you help me just a little more here? I hate to > impose, but I truly appreciate the assistance!! > > Thanks, > Bob > > On Thursday, March 13, 2003 10:27 AM, William Hindman > [SMTP:wdhindman at bellsouth.net] wrote: > > Bob > > > > ....I use the following code module that was passed to me on this list > long > > ago ...I call it in an autoexec ...it works for me regardless of the > app's > > windowed state ...either giving the user a msgbox if the second app is > > visible or restoring the first it if its minimized and then closing > ...HTH > > :) > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From my.lists at verizon.net Thu Mar 13 12:01:29 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu Mar 13 12:01:29 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: Message-ID: <004c01c2e98a$c0831550$b615010a@FHTAPIA> Myke, IF you are going to build your own masterpice, I recommend you do a little research... right now your TOP OF THE LINE chipset mb's for AMD are the NForce2 chipset based systems, any will do from any manufacturere. For Intel the top contender right now is their native intel chipset or SIS. As for noise, I have an AMD XP +2000 (1.667ghz) w/ a Volcano 7 cooling fan, and THAT is the noisy part of it, Recently I've been checking out cooling solutions such as the "Alpha PAL8045" it is very nice, multi-pin forrest and if you combine it w/ a whisper quiet fan you should be good. On average my CPU runs about 104F. When I'm running processes intensive software such as converting a Video or Playing a 3D Game I've seen it go as Hot as 113F but no more than that. I've included some links that I hope you find useful in your search for the perfect development system. On the whole I don't have a problem with Dell, except to say that you'll NEVER know how much faster an AMD pc would be unless you go over to your friends house to find out he Runs 100 more things at once with less lag on his AMD based system :D. All things PC related : http://www.tomshardware.com/ http://anandtech.com/ CPU Cooler review, Very nice :D http://www.dansdata.com/coolercomp.htm Motherboard Links http://www.motherboards.org http://amdzone.com/ http://intelzone.com/ -Francisco http://rcm.netfirms.com On Thursday, March 13, 2003 5:24 AM [GMT-8], Bryan Carbonnell wrote: : Myke, : : I'll agree with the folks that have said build your own system. You : get exactly what you want, nothing more, nothing less. : : Now on to the CPU, the things religious wars are made of :-)) : : I will highly recommend AMDs. You get a better bang for your buck. I : built a 1.4 GHz Athlon system about 18 months ago and it cost me : about ? the price of a comparable Intel. The MoBo was cheaper as : well. : : I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz : AMD) and I find that even thought he AMD has a lower speed, the : overall system is faster. Yes, I have actually done benchmarks on : both systems and the AMD always came back faster. : : The only thing that you will need to watch is the temp. I've been : working on getting my CPU temp down for about 4 months now. I get it : down to a comfortable level and then it slowly creeps up over a week : or so. So I tweak and clean again and it drops again, but rises after : a while. : : Dells are good machines, that's my Intel system at work and I haven't : had a problem with it since I've had it. : : Just my $0.02 CAD worth from an AMD fan. : : Bryan Carbonnell : bryan_carbonnell at cbc.ca : :::: mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> : Note: I am using a hotmail email account to post to AccessD because : attempted posts from my BellSouth.Net email account bounce back. : : Soon I will buy a new PC and drop the oldest one from the lineup in my : office. I'd like some opinions on PCs. : : I'm an independent developer working from a home office with a DSL : connection. I live about 20 miles north of Atlanta. I use a keyboard : video mouse sharing device for all the PCs. I don't like fixing : hardware : so I'd like a good onsite service contract. I don't need an OS or : software installed because I'm a MSDN subscriber. I'd like to have : less : white noise from power supply/fans. I'd like to use temperature : monitoring software because most of the failures I've had were due to : a : fan malfunctioning and the heat killing a hard disk. : : Opinions on the following would be welcome: : Intel vs. AMD; : DVD RW for backup; : Same day onsite service; : Best value monitor configuration. : : The easy decision is to buy a Dell. Anyone have suggestions? : : TIA, : Myke From HollisVJ at pgdp.usec.com Thu Mar 13 12:18:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 12:18:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB6@exchange.pgdp> That solved the reference problem. But now I am lost, I have tried so many different combinations of trying to make this work, I don't know which end is up anymore. I do not know how to put this all together to select the file attachment from whatever drive, move it to the drive & folder I want it in, enter the name into the Attachment (hyperlink) field so someone can click the name & open the file. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 11:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Add a reference to the "Microsoft Scripting Runtime" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 11:21 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 13 13:19:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 13:19:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E96B.6F7B76D0.bob@renaissancesiding.com> William Okay - I didn't have the "(True)" parameter. The code works perfectly now. I did make a modification to bypass giving the user an option: ****************************************************** ' Original Code ' If fConfirm Then ' If MsgBox(sMyCaption & " is already open@" _ ' & "Do you want to open a second instance of this database?@", _ ' vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function ' End If ' Modified Code - The user will not be given a choice! If fConfirm Then If MsgBox("The National Jobs database is already open.", _ vbOKOnly + vbExclamation) = vbYes Then Exit Function End If ****************************************************** Thanks so much! Bob On Thursday, March 13, 2003 12:53 PM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > Bob > > ....just put "RunCode" in a macro Action line and "winCheckMultipleInstances > (True)" in the Function Name line ...without the quotes of course ...HTH :) > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > ----- Original Message ----- > From: "Bob Gajewski" > To: > Sent: Thursday, March 13, 2003 11:17 AM > Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > > > > William: > > > > Thanks for the reply! I understand that this is a module called > > "mdlCheckMultipleInstances", but I do not know how to call this directly > > from the autoexec. Could you help me just a little more here? I hate to > > impose, but I truly appreciate the assistance!! > > > > Thanks, > > Bob > > > > On Thursday, March 13, 2003 10:27 AM, William Hindman > > [SMTP:wdhindman at bellsouth.net] wrote: > > > Bob > > > > > > ....I use the following code module that was passed to me on this list > > long > > > ago ...I call it in an autoexec ...it works for me regardless of the > > app's > > > windowed state ...either giving the user a msgbox if the second app is > > > visible or restoring the first it if its minimized and then closing > > ...HTH > > > :) > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From wdhindman at bellsouth.net Thu Mar 13 13:38:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 13:38:01 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access References: <01C2E96B.6F7B76D0.bob@renaissancesiding.com> Message-ID: <002301c2e998$04863400$6101a8c0@amd2k512> ...de nada ...but the thanks belong to AccessD, I just passed on what I had once been given by others here when I asked for help :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Bob Gajewski" To: Sent: Thursday, March 13, 2003 2:18 PM Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > William > > Okay - I didn't have the "(True)" parameter. The code works perfectly now. I did make a modification to bypass giving the user an option: > > ****************************************************** > ' Original Code > ' If fConfirm Then > ' If MsgBox(sMyCaption & " is already open@" _ > ' & "Do you want to open a second instance of this database?@", _ > ' vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function > ' End If > > ' Modified Code - The user will not be given a choice! > If fConfirm Then > If MsgBox("The National Jobs database is already open.", _ > vbOKOnly + vbExclamation) = vbYes Then Exit Function > End If > ****************************************************** > > Thanks so much! > > Bob > > > On Thursday, March 13, 2003 12:53 PM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > > Bob > > > > ....just put "RunCode" in a macro Action line and "winCheckMultipleInstances > > (True)" in the Function Name line ...without the quotes of course ...HTH :) > > > > William Hindman > > "All it takes for evil to prevail is for good men to do nothing." Edmund > > Burke > > > > > > ----- Original Message ----- > > From: "Bob Gajewski" > > To: > > Sent: Thursday, March 13, 2003 11:17 AM > > Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > > > > > > > William: > > > > > > Thanks for the reply! I understand that this is a module called > > > "mdlCheckMultipleInstances", but I do not know how to call this directly > > > from the autoexec. Could you help me just a little more here? I hate to > > > impose, but I truly appreciate the assistance!! > > > > > > Thanks, > > > Bob > > > > > > On Thursday, March 13, 2003 10:27 AM, William Hindman > > > [SMTP:wdhindman at bellsouth.net] wrote: > > > > Bob > > > > > > > > ....I use the following code module that was passed to me on this list > > > long > > > > ago ...I call it in an autoexec ...it works for me regardless of the > > > app's > > > > windowed state ...either giving the user a msgbox if the second app is > > > > visible or restoring the first it if its minimized and then closing > > > ...HTH > > > > :) > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 13 14:14:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 14:14:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark From CWortz at tea.state.tx.us Thu Mar 13 14:24:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 13 14:24:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: John, If you want the other departments to come to you first, they need to know what you can do for them. Toot your own horn! Maybe you can set up an electronic newsletter letting others know what you in IT do and what you have done recently. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 13 14:13 To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark From John.Clark at niagaracounty.com Thu Mar 13 14:48:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 14:48:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: Did this. I actually helped to start a county usergroup back in 1997, and this usergroup puts out a monthly newsletter. And, I do toot my horn a little bit...I tell them, "I can do that," for almost anything I see. And my coworkers advertise me very well. But I am in my office 95% of the time, and don't get to see the users, unless I am already doing work for them. I spoke with a few coworkers of one of the woman who does a great deal of "my" work...she works in nursing as a clerical worker, and is constantly programming, and even doing PC repair...This woman has brought down the whole network before. They say that they understand my compliant, but I am so busy, and they can't always wait for me. I told them that first of all I am busier because I have to constantly fix problems caused by people like "their friend." And, that if they keep picking up my slack, I'll never get any help hired. This same woman has also done work for nearby departments, other than her own. Another woman wrote a program for Social Services, but has since transferred to Employment and Training. Now she says, "she can no longer support this program, and they will have to call Data Processing" (our department's stupid name, from the days of mainframe and printing). I have to work on that program tomorrow. Take care! John W Clark >>> CWortz at tea.state.tx.us 03/13/03 03:23PM >>> John, If you want the other departments to come to you first, they need to know what you can do for them. Toot your own horn! Maybe you can set up an electronic newsletter letting others know what you in IT do and what you have done recently. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 13 14:13 To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Mar 13 14:53:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 14:53:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this In-Reply-To: Message-ID: <000101c2e9a2$7ae1d730$de1811d8@DanWaters> John - Great Story! Venting is a good thing. From dwaters at usinternet.com Thu Mar 13 14:53:15 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 14:53:15 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Message-ID: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Mar 13 14:55:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu Mar 13 14:55:01 2003 Subject: [AccessD] OT Voice activated applications...hardware In-Reply-To: Message-ID: Hi All: Has anyone heard of voice activated software/hardware that will allow inter-action between an application that say might be written in Access? MTIA Jim From cfoust at infostatsystems.com Thu Mar 13 15:15:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 15:15:00 2003 Subject: [AccessD] OT Voice activated applications...hardware Message-ID: There are speech recognition tools in Office 2002. Is that what you're looking for? Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, March 13, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Voice activated applications...hardware Hi All: Has anyone heard of voice activated software/hardware that will allow inter-action between an application that say might be written in Access? MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Mar 13 15:32:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 13 15:32:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Message-ID: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> The problem with shelling out to a program is that control doesn't pass back to the calling program until the shelled out program closes. That is why I asked you what you needed to do with Outlook that you couldn't do via VBA. In my code I pass the bolOutlook variable back to the calling routine via the function so that when I'm done working with Outlook, I know whether I need to shut it down or not. Here is the code that calls the function I sent you earlier (uses Redemption to bypass Outlook Security): Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String) On Error GoTo ErrorHandler Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim bolOpen As Boolean bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe .Recipients.Add SendTo If IsMissing(SendCC) = False Then .Recipients.Add SendCC .Recipients.ResolveAll .Subject = SendSubj .Body = SendBody If SendEdit = True Then .Display Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 13, 2003 03:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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 Thu Mar 13 15:42:01 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu Mar 13 15:42:01 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <059201c2e97c$d12d0400$6601a8c0@joe.indy.rr.com> Message-ID: <00fc01c2e9a9$58faee20$036fa8c0@DellLaptop> Thanks for the hints Joe & Gustav ... I'm now seeing some more wackiness for the report, as it is giving me incorrect values for the textbox (for example it is evaluating the expression: 17804.94 - 17804.94 to equal -3.637978807E-12. I'm going to go over this report to see if they built it correctly. Thanks again for the hints. Larry Mrazek LCM Research, Inc. lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Thursday, March 13, 2003 10:23 AM To: accessd at databaseadvisors.com; lmrazek at lcm-res.com Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail Larry, If your textbox has a transparent background and transparent border, try changing the source for the textbox to display nothing. The source would be something like this: = Iif(datafield=0,"",datafield) Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 11:06 AM Subject: [AccessD] Conditional Display of TextBox in Report Detail |Greetings: | |Using Access XP. I calculated field in the detail section of a report |that compares an invoice amount with a check amount. I'd like the |textbox to display if the value of the textbox does not equal zero. |I've tried to use the following code in the "OnFormat" property of the |detail |section: | |Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On |Error GoTo ERR_OnFormat | | If Me.Difference = 0 Then | Me.Difference.Visible = False | End If | |Exit_ERR_OnFormat: | Exit Sub | |ERR_OnFormat: | MsgBox Err.Description | Resume Exit_ERR_OnFormat | |End Sub | |This code correctly detects the first textbox where the value <>0, but |doesn't find any others (I've checked, and I should have a couple of |other textboxes displaying). | |Thanks in advance for your help. | |Larry Mrazek |LCM Research, Inc. |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 - - From joconnell at indy.rr.com Thu Mar 13 15:59:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu Mar 13 15:59:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail Message-ID: <071a01c2e9ab$e7d26540$6601a8c0@joe.indy.rr.com> Larry, Be sure that all fields that contain monetary amounts are defined as Currrency and not as Double. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 4:49 PM Subject: RE: [AccessD] Conditional Display of TextBox in Report Detail |Thanks for the hints Joe & Gustav ... I'm now seeing some more wackiness |for the report, as it is giving me incorrect values for the textbox (for |example it is evaluating the expression: 17804.94 - 17804.94 to equal |-3.637978807E-12. I'm going to go over this report to see if they built |it correctly. | |Thanks again for the hints. | |Larry Mrazek |LCM Research, Inc. |lmrazek at lcm-res.com |http://www.lcm-res.com | |-----Original Message----- |From: accessd-admin at databaseadvisors.com |[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell |Sent: Thursday, March 13, 2003 10:23 AM |To: accessd at databaseadvisors.com; lmrazek at lcm-res.com |Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail | | |Larry, | |If your textbox has a transparent background and transparent border, try |changing the source for the textbox to display nothing. The source |would be something like this: = Iif(datafield=0,"",datafield) | |Joe O'Connell |joconnell at indy.rr.com | | |-----Original Message----- |From: Lawrence Mrazek |To: accessd at databaseadvisors.com |Date: Thursday, March 13, 2003 11:06 AM |Subject: [AccessD] Conditional Display of TextBox in Report Detail | | ||Greetings: || ||Using Access XP. I calculated field in the detail section of a report ||that compares an invoice amount with a check amount. I'd like the ||textbox to display if the value of the textbox does not equal zero. ||I've tried to use the following code in the "OnFormat" property of the ||detail ||section: || ||Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On | ||Error GoTo ERR_OnFormat || || If Me.Difference = 0 Then || Me.Difference.Visible = False || End If || ||Exit_ERR_OnFormat: || Exit Sub || ||ERR_OnFormat: || MsgBox Err.Description || Resume Exit_ERR_OnFormat || ||End Sub || ||This code correctly detects the first textbox where the value <>0, but ||doesn't find any others (I've checked, and I should have a couple of ||other textboxes displaying). || ||Thanks in advance for your help. || ||Larry Mrazek ||LCM Research, Inc. ||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 |- | | |- | |_______________________________________________ |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 Mar 13 16:13:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> References: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Message-ID: <3E718F20.14941.293ABF@localhost> > Doris, > > The problem I had with using CreateObject was that Outlook closed when > the object variable went out of scope, or when Access was closed. > > Opening Outlook using Shell will open Outlook so that it will stay open, > but upon opening the Outlook window becomes Active instead of the Access > window. > > Is there a way out of this dilemma? > A vbMinimizedNoFocus second paramter *should* do it. Are you sure it doesn't -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:13:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:37 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> Message-ID: <3E718F20.31093.293BA5@localhost> Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the second > selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a specified > folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where the > attachment needs to be saved. > > Once they save the file it places the file name in the field 'attachments' > which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments field, > but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and reject all > path names that start with a drive letter and only accept UNC path names. > Thus, the only drives on their computers that pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common network > drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that is > stored on their computer, which obviously will make it unavailable to > everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is just > 3 dots. The OnClick fires the code I posted. The user navigates to a file > and selects ok, then the code plugs the complete filename into the text > field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a button > on the form that opens the GetFileName? Then what transfers this file name > to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH that > calls the Windows API to open the GetFile dialog, then posts the result to a > control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it you're > an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the app path > with a relative reference. The Replace function does it in one line: > > > > Replace( strExp as String, strFind as String, strReplace as String ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:13:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:50 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB0@exchange.pgdp> Message-ID: <3E718F20.5029.293C81@localhost> > I found the below code (Save_DriveJ) on Microsoft. It will open the Save > dialog, Except it does not actually save the same file. When I click on the > name of the file that is placed in the field 'attachments' it is not the > same file, it has the correct title, but it overwrites the text in the file > to show only the words, Attached Document. > That's what you told it to do Try this instead (Store the directory where you want to save the attachments in strNewPath) strFilePathname = CmnDlg.Filename strFilename = Mid$(InstrRev(strFilePathname,"\")) strNewFilename = StrNewPath & strFilename Filecopy strFilePathname strNewFilename -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:14:04 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:14:04 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> References: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Message-ID: <3E718F20.4935.2939BA@localhost> > The problem with shelling out to a program is that control doesn't pass back > to the calling program until the shelled out program closes. Quite the opposite, the Shell() function is asynchronous. It rdoes NOT wait for the shelled application to finish. That's why you hvae to jump through rings at times to prevent the rest of your code running too soon. One of my wishes is for a synchronour Shell in VB/VBA -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Thu Mar 13 16:31:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:31:01 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D36@bwam02msx.ae.ge.com> Message-ID: Marcus, >It's built around them being sloppy coding practice in any programming language. Precisely. Sloppy programming habits. Globals serve a purpose, but they should be few and far between. The biggest problem is that anyone can SET them. And that always leads to problems. By having "Read only" globals, i.e. globals that are set by (for example) a class opening and having no way to otherwise set the global, or having functions that check the write to the global to ensure that they are not being trashed accidentally goes along way towards ameliorating the problem. BTW, global really is a misnomer. You have scope. Global can be global to a class (for instance), where any function in the class can read / write the variable. Global can be global to a module, where any object in the module can read / write the variable, but nothing outside the module can see the variable. Or it can be truly global where anything in the entire application can read / write the variable. Much of the problem with globals is that they have to be understood by everyone that can see them (has them in their scope). Class global variables are actually quite useful. Since a class typically has a single author, that author understands the purpose, and therefore can use the global appropriately. I routinely dim my class variables private in the header, set them, then access them directly in the functions inside the class. Why pass things around unnecessarily? OTOH, a truly global variable can be set (and cleared) by anyone who has access to the code. Again, that is not necessarily bad, there is a time and a place, but to do that with every variable you create leads to chaos. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Thursday, March 13, 2003 7:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5944 bytes Desc: not available URL: From jcolby at colbyconsulting.com Thu Mar 13 16:34:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:34:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Charlotte, You too can never have an unhandled error. Download the one and only VBErrHandler from our list website. Tell it to insert error handlers in all functions in all modules, forms and reports. Use it religiously as you create new functions. There is no excuse for unhandled errors! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, March 12, 2003 3:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions If that's your last word, Gustav, then the rest of us can drivel on unchecked. As for "believers", I believe what I see daily. If you are able to write immaculate code that NEVER errors, then I kiss you hands and feet, but I also reserve judgement until I have the evidence of my own eyes. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 12:36 PM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2580 bytes Desc: not available URL: From jcolby at colbyconsulting.com Thu Mar 13 16:39:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:39:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2033976946.20030312201634@cactus.dk> Message-ID: Gustav, How about: 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A SUBFORM? Function ccIsSubForm(frm As Form) As Boolean Dim str As String On Error Resume Next str = frm.Parent.Name ccIsSubForm = (err = 0) On Error GoTo 0 End Function If a form has a valid parent property then it is by definition embedded in another something. It may be in a tab control, or a form, but it will be a subform. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, March 12, 2003 2:17 PM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3592 bytes Desc: not available URL: From martyconnelly at shaw.ca Thu Mar 13 16:39:17 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 16:39:17 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text References: Message-ID: <3E71087D.40106@shaw.ca> Wildeyed Guess Are you creating more than one version of word application when you run this code and running out of memory You need to use the CreateObject() if Word is not open. So Test for set appword= GetObject("Word.Application") If Err.Number = 492 Then set appword= CreateObject("Word.Application") Julie A. Alley wrote: > I am using the following code to send a report to Word, then conduct a > search and replace for the search phrase used to create the report. > > The problem: This only works once, then I have to reboot in order for > it to work again.... Any one know a reliable way to do this repetitively? > > Search, send results to word, then bold the search phrases. > > Thanks, > > > > DoCmd.RunCommand acCmdOutputToRTF > > With Selection.Find > .ClearFormatting > With .Replacement > ' .ClearFormatting > .Font.Name = "Arial" > .Font.Size = 24 > .Font.AllCaps = True > .Font.Bold = True > End With > .Forward = True > .Wrap = wdFindContinue > .Execute FindText:=strCriteria(0), _ > Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) > End With > > > Julie Alley > Emerald City Computer Solutions, Inc. > > Juliea at eccs-seattle.com > > Cell: 206-235-0954 > Office: 206-932-6618 > Fax: 206-938-7941 > Web site: http://www.eccs-seattle.com > > WARNING: The information contained in this e-mail is confidential. > The information is intended only for the use of the individual or > entity to whom it is addressed. If you are not the intended > recipient, or the employee or agent responsible for delivering it to > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this e-mail in error, > please immediately notify us by a collect telephone call > to 206.932.6618 and return the original message to us by e-mail. > Thank you. > From lmrazek at lcm-res.com Thu Mar 13 16:48:00 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu Mar 13 16:48:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <071a01c2e9ab$e7d26540$6601a8c0@joe.indy.rr.com> Message-ID: <011601c2e9b2$8a4b8210$036fa8c0@DellLaptop> Hi Joe. That fixed it! Report is running correctly now. Thanks again for your help. Larry Mrazek LCM Research, Inc. lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Thursday, March 13, 2003 3:59 PM To: accessd at databaseadvisors.com; lmrazek at lcm-res.com Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail Larry, Be sure that all fields that contain monetary amounts are defined as Currrency and not as Double. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 4:49 PM Subject: RE: [AccessD] Conditional Display of TextBox in Report Detail |Thanks for the hints Joe & Gustav ... I'm now seeing some more |wackiness for the report, as it is giving me incorrect values for the |textbox (for example it is evaluating the expression: 17804.94 - |17804.94 to equal -3.637978807E-12. I'm going to go over this report to |see if they built it correctly. | |Thanks again for the hints. | |Larry Mrazek |LCM Research, Inc. |lmrazek at lcm-res.com |http://www.lcm-res.com | |-----Original Message----- |From: accessd-admin at databaseadvisors.com |[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell |Sent: Thursday, March 13, 2003 10:23 AM |To: accessd at databaseadvisors.com; lmrazek at lcm-res.com |Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail | | |Larry, | |If your textbox has a transparent background and transparent border, |try changing the source for the textbox to display nothing. The source |would be something like this: = Iif(datafield=0,"",datafield) | |Joe O'Connell |joconnell at indy.rr.com | | |-----Original Message----- |From: Lawrence Mrazek |To: accessd at databaseadvisors.com |Date: Thursday, March 13, 2003 11:06 AM |Subject: [AccessD] Conditional Display of TextBox in Report Detail | | ||Greetings: || ||Using Access XP. I calculated field in the detail section of a report ||that compares an invoice amount with a check amount. I'd like the ||textbox to display if the value of the textbox does not equal zero. ||I've tried to use the following code in the "OnFormat" property of the ||detail ||section: || ||Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) ||On | ||Error GoTo ERR_OnFormat || || If Me.Difference = 0 Then || Me.Difference.Visible = False || End If || ||Exit_ERR_OnFormat: || Exit Sub || ||ERR_OnFormat: || MsgBox Err.Description || Resume Exit_ERR_OnFormat || ||End Sub || ||This code correctly detects the first textbox where the value <>0, but ||doesn't find any others (I've checked, and I should have a couple of ||other textboxes displaying). || ||Thanks in advance for your help. || ||Larry Mrazek ||LCM Research, Inc. ||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 |- | | |- | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - - From DWUTKA at marlow.com Thu Mar 13 16:48:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 16:48:30 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A8@main2.marlow.com> Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. For ipconfig, using 'ipconfig /all' displays all information..including WINS and DNS Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 8:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [ mailto:davide at dalyn.co.nz ] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Mar 13 16:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 16:51:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> Actually, the code I posted was from my new MiniCalendar, which could be used as a subform, or as a stand alone, or both at the same time. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, March 13, 2003 3:41 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew > I know what you are saying about intentionally looking for an error. It > gives me an uneasy feeling too, but there are some things that just > absolutely require it. Of course, and no problem with that. However, I can't imagine why one would do as described in your example - I've never designed a form to be used as both a main form and a subform and indeed not at the same time - but, well, never say never. /gustav > As far as your code, I'm pretty tired so I could be wrong on this, but I > think I could trigger a false positive with your code. If you opened formA, > then opened formB, then set the source object on a subform on FormA to > FormB, you will now have FormB as a subform on FormA, but your function will > say False, because FormB was the last form to be put into the form's > collection AND it is also now a subform. (Actually, just tried it, and it > did say false from the subform) > I know, it wouldn't be a common occurrence, but the error method is > guaranteed to be correct. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav >> I know, it's just one of my coding habits. I only use 'resume next' when >> I >> want to completely ignore errors. If I am expecting an error...to use it >> (as in my example), or I am just handling unexpected errors, then I always >> use On Error Goto... >> Make sense? (your code is smaller....can't deny that!) >> Drew >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, March 12, 2003 11:13 AM >> To: Drew Wutka >> Subject: Re: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi Drew >> That was an awful lot of code to replace something like these two >> lines: >> >> Private Function IsSubform() As Boolean >> On Error Resume Next >> IsSubform = Me.Parent.hWnd >> End Function >> >> /gustav >>> This is from my new MiniCalendar database....still in development...but >>> the function works fine. >>> Private Function AmIASubForm() As Boolean >>> On Error GoTo ErrorHandler >>> Dim varTemp >>> varTemp = Me.Parent >>> AmIASubForm = True >>> Exit Function >>> ErrorHandler: >>> Err.Clear >>> AmIASubForm = False >>> End Function >>> -----Original Message----- >>> From: Bruce Bruen [mailto:bbruen at bigpond.com] >>> Sent: Tuesday, March 11, 2003 6:58 PM >>> To: AccessD >>> Subject: [AccessD] How do I tell if a form is opened as a subform or >>> not? >>> Hi List, >>> I am trying to use a form that may appear as a subform or on its own. >>> If it's a subform then I want to maximise it in its parent control >>> space, if not then it should be sized to fit the form. >>> But how do I tell where it is being opened? The following doesn't work: >>> On Error Resume Next >>> If Not IsNull(Me.Parent.Name) Then >>> boolIsSubform = True >>> DoCmd.Maximize >>> Else >>> boolIsSubform = False >>> End If >>> On Error GoTo 0 >>> Ignore the fact that the docmd works on the parent, I am not worried >>> about that at the moment, only that I don't know how to test the >>> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Mar 13 16:57:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:57:00 2003 Subject: [AccessD] normalization question In-Reply-To: Message-ID: Charles, >It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. I would agree with that. >By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. This implies that you are not designing tables using the simple rule "is it a property of the object this table models". Each table models an object. Banks, Account Holders, accounts, checks etc. There is no reason to be putting account holder info in the account table or vice versa. Account Holders are people, Accounts are not. The only case I can think of where you might put data in a table when it belongs in another is in the case of a property that ends up plural. Addresses are an example. A company has an address. Oops, it can have TWO (or 10) addresses. In this case, the data (addresses) ARE still properties of the object (company) it's just that the company can have several of that property (addresses) and thus they have to be a child table. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 10, 2003 2:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Susan, Whether you do it on paper or on the PC, it usually is an iterative process, at least in my experience. By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. And you will notice that some data fields split over several tables should be combined into one table. It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 12:50 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. > The theory is that the data is normalised before you actually create > the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do > > you immediately create the foreign key in the original table, or do > > you wait until you've completely normalized each table and then > > return to the tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can > > change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3584 bytes Desc: not available URL: From andy at minstersystems.co.uk Thu Mar 13 16:57:19 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu Mar 13 16:57:19 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> Message-ID: <001401c2e9b3$71be2620$b274d0d5@andypc> By mistake sent this direct to Gustav earlier. Meant to come here. Apologies to Gustav for getting it twice I have a form which is used both as a subform and on its own. It saved having two almost identical forms. One of the differences I wanted though was to have a footer section witha Quit button when opened on its own, but not when it's a subform. My solution was very low-tech. When I'm opening it on its own I just open it with something identifiable in OpenArgs and test that. If nothing in OpenArgs it's a subform, else it isn't. If it isn't then I make my otherwise invisible footer section visible. Not sure how it would react to Drew's hypothetical situation but unless you're likely to do that it could perhaps stay hypothetical. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 12 March 2003 22:22 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] How do I tell if a form is opened as a > subform or not? > > > I know what you are saying about intentionally looking for an > error. It gives me an uneasy feeling too, but there are some > things that just absolutely require it. > > As far as your code, I'm pretty tired so I could be wrong on > this, but I think I could trigger a false positive with your > code. If you opened formA, then opened formB, then set the > source object on a subform on FormA to FormB, you will now > have FormB as a subform on FormA, but your function will say > False, because FormB was the last form to be put into the > form's collection AND it is also now a subform. (Actually, > just tried it, and it did say false from the subform) > > I know, it wouldn't be a common occurrence, but the error > method is guaranteed to be correct. > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a > subform or not? > > > Hi Drew > > I don't like at all coding where you rely on error > generation. It may very well be quick and dirty code and some > like that, but I try to use it as the last resort only. > > Previously I have posted this small function for the same > purpose - it could have been for the benefit of Arthur "the > static lover" as you'll see. It is not much larger than your code: > > > > Private Function IsSubform() As Boolean > > Static booSubform As Boolean > Static lngFormsCount As Long > > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > > IsSubform = booSubform > > End Function > > > > /gustav > > > > I know, it's just one of my coding habits. I only use > 'resume next' > > when > I > > want to completely ignore errors. If I am expecting an > error...to use > > it (as in my example), or I am just handling unexpected > errors, then I > > always use On Error Goto... > > > Make sense? (your code is smaller....can't deny that!) > > > Drew > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, March 12, 2003 11:13 AM > > To: Drew Wutka > > Subject: Re: [AccessD] How do I tell if a form is opened as > a subform > > or not? > > > > Hi Drew > > > That was an awful lot of code to replace something like these two > > lines: > > > > > > Private Function IsSubform() As Boolean > > > On Error Resume Next > > IsSubform = Me.Parent.hWnd > > > End Function > > > > > > /gustav > > > >> This is from my new MiniCalendar database....still in > >> development...but > > the > >> function works fine. > > >> Private Function AmIASubForm() As Boolean > >> On Error GoTo ErrorHandler > >> Dim varTemp > >> varTemp = Me.Parent > >> AmIASubForm = True > >> Exit Function > >> ErrorHandler: > >> Err.Clear > >> AmIASubForm = False > >> End Function > > >> -----Original Message----- > >> From: Bruce Bruen [mailto:bbruen at bigpond.com] > >> Sent: Tuesday, March 11, 2003 6:58 PM > >> To: AccessD > >> Subject: [AccessD] How do I tell if a form is opened as a > subform or > >> not? > > > >> Hi List, > > >> I am trying to use a form that may appear as a subform or > on its own. > >> If it's a subform then I want to maximise it in its parent control > >> space, if not then it should be sized to fit the form. But > how do I > >> tell where it is being opened? The following doesn't work: > > >> On Error Resume Next > >> If Not IsNull(Me.Parent.Name) Then > >> boolIsSubform = True > >> DoCmd.Maximize > >> Else > >> boolIsSubform = False > >> End If > >> On Error GoTo 0 > > >> Ignore the fact that the docmd works on the parent, I am > not worried > >> about that at the moment, only that I don't know how to test the > >> "subformedness". > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From dwaters at usinternet.com Thu Mar 13 17:03:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 17:03:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> Message-ID: <000001c2e9b4$9038c5a0$de1811d8@DanWaters> Doris, I'll try out your code this weekend - Thanks for posting it! In the meantime, what is Redemption? Is this an email program/utility that can be downloaded? I did a google search and got many religious references . . . This sounds like it would be great to use when doing laptop demos! Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: Thursday, March 13, 2003 3:33 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working The problem with shelling out to a program is that control doesn't pass back to the calling program until the shelled out program closes. That is why I asked you what you needed to do with Outlook that you couldn't do via VBA. In my code I pass the bolOutlook variable back to the calling routine via the function so that when I'm done working with Outlook, I know whether I need to shut it down or not. Here is the code that calls the function I sent you earlier (uses Redemption to bypass Outlook Security): Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String) On Error GoTo ErrorHandler Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim bolOpen As Boolean bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe .Recipients.Add SendTo If IsMissing(SendCC) = False Then .Recipients.Add SendCC .Recipients.ResolveAll .Subject = SendSubj .Body = SendBody If SendEdit = True Then .Display Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 13, 2003 03:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Thu Mar 13 17:54:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 13 17:54:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A8@main2.marlow.com> Message-ID: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> I tried on my WXP machine and a dos window opened and then closed again before I could see anything. What is supposed to happen? David At 13/03/2003, you wrote: >Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. > >For ipconfig, using 'ipconfig /all' displays all information..including >WINS and DNS > >Drew >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Wednesday, March 12, 2003 8:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT - Mapping dialup drive with broadband > >Aha!. Where do I find those settings so that I can check? > >David > >At 12/03/2003, you wrote: >>Sounds like the broadband connections changed their DNS or WINS settings, >>so they can't resolve the computer names anymore. >> >>Drew >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: Wednesday, March 12, 2003 2:59 PM >>To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >>Subject: [AccessD] OT - Mapping dialup drive with broadband >> >>Cross post AccessD, AccessL >>This is slightly related as my users can't synchronise unless we can get >>them connected :( >>Previously my users had normal modems and were able to dial into a server >>and map drives ok. >>Two of them have connected to broadband lines. Now when they disconnect >>the broadband connection and use their modems to connect to the server >>they are able to make a connection but are not able to map drives. The >>error they get is - >> >>"The following error occurred while trying to connect F: to >>\\OAServer\OAServer >> The computer or sharename could not be found. Make sure you typed it >> correctly, and try again." >> >>Does anyone know of any issues with broadband (or similar high speed >>connections) that interfere when going back to normal 56k modems? >>Regards >>David Emerson >>DALYN Software Ltd >>25b Cunliffe St, Johnsonville >>Wellington, New Zealand >>Ph/Fax (877) 456-1205 > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Thu Mar 13 18:14:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 18:14:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband References: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> Message-ID: <001c01c2e9be$96952510$6101a8c0@amd2k512> ...your dos window should remain open until you exit ...however, although w9x's graphical winipcfg is technically not present in XP, you can open Network Connections, right-click any connection, click Status, and then click the Support tab and there is pretty much your old winipcfg ...HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: David Emerson To: accessd at databaseadvisors.com Sent: Thursday, March 13, 2003 6:52 PM Subject: RE: [AccessD] OT - Mapping dialup drive with broadband I tried on my WXP machine and a dos window opened and then closed again before I could see anything. What is supposed to happen? David At 13/03/2003, you wrote: Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. For ipconfig, using 'ipconfig /all' displays all information..including WINS and DNS Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 8:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Thu Mar 13 18:41:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 18:41:01 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: <004c01c2e98a$c0831550$b615010a@FHTAPIA> Message-ID: <3E712522.2060908@shaw.ca> Why not go for the Gusto? And build your own Super Computer using Windows or Linux clustering via Message Passing Interface (MPI is a standard for supporting clustered computing based on message passing). This is how they did cheap special effects rendering for Titanic. MPI Software http://www.lfbs.rwth-aachen.de/mp-mpich/download/ Description http://www.devarticles.com/art/1/444/1 PS. For you ulimate machine make sure it can handle dual monitors. For backup, I use a couple of BackPack $250 USB2 pluggable 60 Gig drives with Ghost. They fit into a safety deposit box. They are far faster to backup, no fiddling around with multple DVD's As for flat panel monitors they are a little too pricey where I am in Canada. Get one with digital input and your video card needs this digital output too. Make sure you have at least one USB 2.0 port. For monitor hints http://www.bcentral.com/articles/komando/102.asp I have a local dealer who services within 4 hours if brought in. Usual rush cost $ 80 CDN plus parts and time. He has to do it, this fast as he looks after a catchment area where people bring in machines and live on about 30 islands; they have to catch the last ferry home. Francisco H Tapia wrote: >Myke, > IF you are going to build your own masterpice, I recommend you do a little >research... right now your TOP OF THE LINE chipset mb's for AMD are the >NForce2 chipset based systems, any will do from any manufacturere. For >Intel the top contender right now is their native intel chipset or SIS. As >for noise, I have an AMD XP +2000 (1.667ghz) w/ a Volcano 7 cooling fan, and >THAT is the noisy part of it, Recently I've been checking out cooling >solutions such as the "Alpha PAL8045" it is very nice, multi-pin forrest and >if you combine it w/ a whisper quiet fan you should be good. On average my >CPU runs about 104F. When I'm running processes intensive software such as >converting a Video or Playing a 3D Game I've seen it go as Hot as 113F but >no more than that. I've included some links that I hope you find useful in >your search for the perfect development system. On the whole I don't have a >problem with Dell, except to say that you'll NEVER know how much faster an >AMD pc would be unless you go over to your friends house to find out he >Runs 100 more things at once with less lag on his AMD based system :D. > >All things PC related : >http://www.tomshardware.com/ >http://anandtech.com/ > >CPU Cooler review, Very nice :D >http://www.dansdata.com/coolercomp.htm > >Motherboard Links >http://www.motherboards.org >http://amdzone.com/ >http://intelzone.com/ > > > >-Francisco >http://rcm.netfirms.com > >On Thursday, March 13, 2003 5:24 AM [GMT-8], >Bryan Carbonnell wrote: > >: Myke, >: >: I'll agree with the folks that have said build your own system. You >: get exactly what you want, nothing more, nothing less. >: >: Now on to the CPU, the things religious wars are made of :-)) >: >: I will highly recommend AMDs. You get a better bang for your buck. I >: built a 1.4 GHz Athlon system about 18 months ago and it cost me >: about ? the price of a comparable Intel. The MoBo was cheaper as >: well. >: >: I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz >: AMD) and I find that even thought he AMD has a lower speed, the >: overall system is faster. Yes, I have actually done benchmarks on >: both systems and the AMD always came back faster. >: >: The only thing that you will need to watch is the temp. I've been >: working on getting my CPU temp down for about 4 months now. I get it >: down to a comfortable level and then it slowly creeps up over a week >: or so. So I tweak and clean again and it drops again, but rises after >: a while. >: >: Dells are good machines, that's my Intel system at work and I haven't >: had a problem with it since I've had it. >: >: Just my $0.02 CAD worth from an AMD fan. >: >: Bryan Carbonnell >: bryan_carbonnell at cbc.ca >: >:::: mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> >: Note: I am using a hotmail email account to post to AccessD because >: attempted posts from my BellSouth.Net email account bounce back. >: >: Soon I will buy a new PC and drop the oldest one from the lineup in my >: office. I'd like some opinions on PCs. >: >: I'm an independent developer working from a home office with a DSL >: connection. I live about 20 miles north of Atlanta. I use a keyboard >: video mouse sharing device for all the PCs. I don't like fixing >: hardware >: so I'd like a good onsite service contract. I don't need an OS or >: software installed because I'm a MSDN subscriber. I'd like to have >: less >: white noise from power supply/fans. I'd like to use temperature >: monitoring software because most of the failures I've had were due to >: a >: fan malfunctioning and the heat killing a hard disk. >: >: Opinions on the following would be welcome: >: Intel vs. AMD; >: DVD RW for backup; >: Same day onsite service; >: Best value monitor configuration. >: >: The easy decision is to buy a Dell. Anyone have suggestions? >: >: TIA, >: Myke > > > > From cfoust at infostatsystems.com Thu Mar 13 18:46:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 18:46:00 2003 Subject: [AccessD] Adding Attachments Message-ID: But can't you get to the FSO functionality through the Office library? If you set a reference to the Office Object Library in XP, at least, you have Office.FileSearch, Office.FoundFiles, etc. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 13 18:47:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 18:47:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: Actually, I use MZ-Tools to insert my error handlers. I still get surprised on occasion. Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, March 13, 2003 2:33 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Charlotte, > > You too can never have an unhandled error. Download the one and only > VBErrHandler from our list website. Tell it to insert error handlers > in all functions in all modules, forms and reports. Use it > religiously as you create new functions. > > There is no excuse for unhandled errors! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, March 12, 2003 3:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > If that's your last word, Gustav, then the rest of us can drivel on > unchecked. As for "believers", I believe what I see daily. If > you > are able to write immaculate code that NEVER errors, then I kiss you > hands and feet, but I also reserve judgement until I have the evidence > of my own eyes. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 12:36 PM > To: Charlotte Foust > Subject: Re: [AccessD] Using Global Connctions > > > Hi Charlotte > > > The globals vanish when you hit an unhandled error. Can you truly > say > > > you NEVER have any such errors in your apps? > > Yes. > > That will be my last word in this thread. Should anyone (new) lister > be > interested beyond, please search the archive thoroughly for an endless > old thread on globals and "believers" in their habit of vanishing. > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From juliea at eccs-seattle.com Thu Mar 13 19:04:01 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 19:04:01 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: Ok, I will try that - thanks Julie Alley -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 13, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Question about Sending RTF to Word and bolding specific text Wildeyed Guess Are you creating more than one version of word application when you run this code and running out of memory You need to use the CreateObject() if Word is not open. So Test for set appword= GetObject("Word.Application") If Err.Number = 492 Then set appword= CreateObject("Word.Application") Julie A. Alley wrote: > I am using the following code to send a report to Word, then conduct a > search and replace for the search phrase used to create the report. > > The problem: This only works once, then I have to reboot in order for > it to work again.... Any one know a reliable way to do this repetitively? > > Search, send results to word, then bold the search phrases. > > Thanks, > > > > DoCmd.RunCommand acCmdOutputToRTF > > With Selection.Find > .ClearFormatting > With .Replacement > ' .ClearFormatting > .Font.Name = "Arial" > .Font.Size = 24 > .Font.AllCaps = True > .Font.Bold = True > End With > .Forward = True > .Wrap = wdFindContinue > .Execute FindText:=strCriteria(0), _ > Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) > End With > > > Julie Alley > Emerald City Computer Solutions, Inc. > > Juliea at eccs-seattle.com > > Cell: 206-235-0954 > Office: 206-932-6618 > Fax: 206-938-7941 > Web site: http://www.eccs-seattle.com > > WARNING: The information contained in this e-mail is confidential. > The information is intended only for the use of the individual or > entity to whom it is addressed. If you are not the intended > recipient, or the employee or agent responsible for delivering it to > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this e-mail in error, > please immediately notify us by a collect telephone call > to 206.932.6618 and return the original message to us by e-mail. > Thank you. > _______________________________________________ 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 Mar 13 19:28:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 19:28:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: Message-ID: <3E71BC2A.11330.F0BBE3D@localhost> I don't know about XP. I'm still staying away from it On 13 Mar 2003 at 16:41, Charlotte Foust wrote: > But can't you get to the FSO functionality through the Office library? > If you set a reference to the Office Object Library in XP, at least, you > have Office.FileSearch, Office.FoundFiles, etc. > > Charlotte Foust > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Thursday, March 13, 2003 2:13 PM > To: Hollis,Virginia; accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Stay away from the FSO unless you can *guarantee* that your applcation > will never > have to run on a machine which has scripting turned off (Done frequently > by network > administrators as a virus protection measure). > > You can handle the case where the directory doesn't exist without using > it fairly easily. > > > > I get User defined type not defined Error on: Dim fso As > > FileSystemObject > > > > This is in 97, does that make a difference? > > > > -----Original Message----- > > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > > Sent: Thursday, March 13, 2003 10:03 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > You have to do a FileCopy from the first selected location to the > > second selected location in order to actually move the file. > > > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > > strNewPath As String, strNewName As String) > > > > On Error GoTo ErrorHandler > > > > Dim fso As FileSystemObject > > Dim strOldFile As String > > > > DoCmd.Hourglass True > > > > strOldFile = strOldPath & strOldName > > > > If Dir(strNewPath, vbDirectory) = "" Then > > Set fso = New FileSystemObject > > fso.CreateFolder strNewPath > > End If > > > > FileCopy strOldFile, strNewName > > > > DoCmd.Hourglass False > > > > Exit Sub > > > > ErrorHandler: > > Call HandleErrors(Err, strMyName, "MoveFile") > > End Sub > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Thursday, March 13, 2003 10:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > I have been playing around with the dialog to Save the file to a > > specified folder. Tell me if anyone thinks this will work... > > > > Use the Open file dialog so the user can select the file they need to > > attach. Then the Save dialog box opens to the directory & folder where > > > the attachment needs to be saved. > > > > Once they save the file it places the file name in the field > > 'attachments' which is a hyperlink field. > > > > Now, the problem... (there's always a catch) > > > > How do I make the Save dialog box actually "Save" the file?! > > > > The Save dialog opens, and places the file name in the attachments > > field, but it does not Save the file to the folder & directory. > > > > Virginia > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Wednesday, March 12, 2003 1:38 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > Virginia, > > > > If I was doing it I would add code that checks the path name and > > reject all path names that start with a drive letter and only accept > > UNC path names. Thus, the only drives on their computers that pass are > > > shared drives. > > > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Wednesday 2003 Mar 12 13:16 > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > Is there a way to have the attachment saved (moved?) to a common > > network drive, or the directory the database is stored? > > > > I got to thinking, there will be the user that will attach a file that > > > is stored on their computer, which obviously will make it unavailable > > to everyone that needs the attachment. > > > > Virginia > > > > > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Wednesday, March 12, 2003 7:09 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > > > On my forms I have the text field beside a little button whose text is > > > just 3 dots. The OnClick fires the code I posted. The user navigates > > to a file and selects ok, then the code plugs the complete filename > > into the text field (in this case BigImagePath). > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: March 11, 2003 12:34 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > > > > > You mentioned posting the results to a control. Do I need to have a > > button on the form that opens the GetFileName? Then what transfers > > this file name to the field? > > > > > > > > Virginia > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Tuesday, March 11, 2003 10:20 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > You don't need to use URLs if you don't want to. I use code from ADH > > that calls the Windows API to open the GetFile dialog, then posts the > > result to a control on my form, like so: > > > > > > > > With Me > > > > .BigImagePath = ahtCommonFileOpenSave() > > > > End With > > > > > > > > To cohere to the licensing I cannot post said function or its API > > declaration. Of course I could change all the variable names and the > > function name and claim it as my own work, which is how I learned to > > program, but now that I'm an old fart I don't do that any more. > > > > > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > > you're an Old Fart.) > > > > > > > > The function called above returns an absolute path, but given same and > > > knowledge of the app directory, it's a simple matter to replace the > > app path with a relative reference. The Replace function does it in > > one line: > > > > > > > > Replace( strExp as String, strFind as String, strReplace as String > > > ) > > > > > > > > HTH, > > > > A. > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From martyconnelly at shaw.ca Thu Mar 13 20:15:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 20:15:00 2003 Subject: [AccessD] OT Voice activated applications...hardware References: Message-ID: <3E713B1A.8040709@shaw.ca> Try this Access SoapService download http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=26157&lngWId=1 Access 97 mdb methods to call various Soap Web Services such as Talking Clock, Text to Speech (returns .wav file so MS XVoice.dll not required) make your error messages verbal, Airline Plane location while plane in the air, Text language translation English to Spanish etc., California Highway conditions, Worldwide SMS phone messages, Soap to Email, Stock Exchange quotes etc. The PocketSoap version 0.9 download may no longer be available so you would need to rewrite to 1.4 version or use MS Soap toolkit. Guess I should rewrite haven't touiched this in two years. There is one form in mdb that uses text to speech agent only;so try that, should run removing soap references. It also creates a .wav file. Maybe I should rewrite. Further explanation in download text files. http://www.microsoft.com/msagent/downloads.htm#tts 1 Download the Microsoft SAPI 4.0a runtime binaries (824 KB exe) 2 Download Text-to-speech engines English or German etc 3 Download the Microsoft Agent core components (395 KB exe) not needed for XP 2000 or Me 4 there is a download for limited speech recognition haven't tried. http://www.pocketsoap.com Jim Lawrence (AccessD) wrote: >Hi All: > >Has anyone heard of voice activated software/hardware that will allow >inter-action between an application that say might be written in Access? > >MTIA >Jim > > > From martyconnelly at shaw.ca Thu Mar 13 20:24:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 20:24:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband References: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> Message-ID: <3E713D34.5000303@shaw.ca> at start run, open up dos command window by typing cmd then in window type ipconfig /all the window stays open till you type exit David Emerson wrote: > I tried on my WXP machine and a dos window opened and then closed > again before I could see anything. What is supposed to happen? > > David > > At 13/03/2003, you wrote: > >> Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. >> >> For ipconfig, using 'ipconfig /all' displays all >> information..including WINS and DNS >> >> Drew >> >> -----Original Message----- >> From: David Emerson [mailto:davide at dalyn.co.nz] >> Sent: Wednesday, March 12, 2003 8:42 PM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] OT - Mapping dialup drive with broadband >> >> Aha!. Where do I find those settings so that I can check? >> >> David >> >> At 12/03/2003, you wrote: >> >>> Sounds like the broadband connections changed their DNS or >>> WINS settings, so they can't resolve the computer names anymore. >>> >>> Drew -----Original Message----- From: David Emerson >>> [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 >>> 2:59 PM To: accessd at databaseadvisors.com; >>> ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - >>> Mapping dialup drive with broadband >>> >>> Cross post AccessD, AccessL >>> This is slightly related as my users can't synchronise >>> unless we can get them connected :( >>> Previously my users had normal modems and were able to dial >>> into a server and map drives ok. >>> Two of them have connected to broadband lines. Now when >>> they disconnect the broadband connection and use their >>> modems to connect to the server they are able to make a >>> connection but are not able to map drives. The error they >>> get is - >>> >>> "The following error occurred while trying to connect F: to >>> \\OAServer\OAServer The >>> computer or sharename could not be found. Make sure you >>> typed it correctly, and try again." Does anyone know of >>> any issues with broadband (or similar high speed >>> connections) that interfere when going back to normal 56k >>> modems? >>> Regards >>> David Emerson DALYN Software Ltd 25b Cunliffe St, >>> Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 >> >> >> Regards >> >> David Emerson >> DALYN Software Ltd >> 25b Cunliffe St, Johnsonville >> Wellington, New Zealand >> Ph/Fax (877) 456-1205 > > Regards > > David Emerson > DALYN Software Ltd > 25b Cunliffe St, Johnsonville > Wellington, New Zealand > Ph/Fax (877) 456-1205 > From DWUTKA at marlow.com Thu Mar 13 21:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:08:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AA@main2.marlow.com> Actually, I remember the last debate on this, and it was based around how 'unstable' they are. There were side debates about 'spaghetti code'. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) To: 'accessd at databaseadvisors.com' Sent: 3/13/03 6:17 AM Subject: RE: [AccessD] Using Global Connctions Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 DWUTKA at marlow.com Thu Mar 13 21:10:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:10:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AB@main2.marlow.com> I have never used statis functions. If I want my globals to 'default' to a particular value, I make a Class, and make a global instance of the class. Drew -----Original Message----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: 3/13/03 7:15 AM Subject: RE: [AccessD] Using Global Connctions In case JC is too busy, I'll step up. I never use globals. For equivalent functionality I always use static functions. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: March 12, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Thu Mar 13 21:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:19:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AC@main2.marlow.com> You're looking for the window's text. You should have it look for the class name, which for an Access window is OMain. Drew -----Original Message----- From: Bob Gajewski To: 'AccessD at databaseadvisors.com' Sent: 3/13/03 7:58 AM Subject: [AccessD] (A97) Prevent multiple instances of Access Dear Fellow Listers: I am in over my head (again)! I am trying to prevent users from opening a second instance of Microsoft Access (A97). The code below was taken directly from Microsoft's Knowledge Base (A97=167843, A2K=197593). It works *perfectly* - if the other instance is windowed; it doesn't work at all if the other instance is either minimized or maximized. I need it to work no matter what the state of the currently running instance. I placed the CBF in the Switchboard, as my AutoExec macro loads the switchboard when the database is opened. Any suggestions, of course, are greatly appreciated! TIA, Bob Gajewski *** SWITCHBOARD CBF *** =============================================== Private Sub Form_Open(Cancel As Integer) ' Check for instance of Access already running. If GetCountOfWindows(hWndAccessApp, "Microsoft Access") > 2 Then ' I changed the original value of 1 to 2, as the error condition occurred _ on every initial open when the value was 1. Cancel = True MsgBox "Please use the instance of Microsoft Access that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub =============================================== *** MODULE "modStartup" *** =============================================== Option Compare Database Option Explicit '------------------------------------------ ' Global Declarations Section Of The Module '------------------------------------------ Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, _ ByVal wCmd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, ByVal CCh As Long) _ As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) _ As Long Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 ' This function returns the Caption Text of each window passed to ' it. If a window does not have a Caption bar, then this function ' returns a zero-length string ("") Function GetAppName(Lnghwnd As Long) Dim LngResult As Long Dim StrWinText As String * 255 Dim LngCCh As Long LngResult = GetWindowText(Lnghwnd, StrWinText, 255) GetAppName = Left(StrWinText, LngResult) End Function ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function =============================================== _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 13 21:35:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:35:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AD@main2.marlow.com> I'm a fellow IT developer. I have seen similar issues at my job too. It is amazing the number of 'developers' out there, that haven't picked up on how to make their apps flexible enough to be installed/used without 'special' settings needing to be setup on a machine. My biggest headache is when an app developed by a contractor fails, and the first response the developer gives is 'it's a network problem, contact your IS department'....which in our case, we are usually the first contacted, and one of the first things we do is to check the network connection. Drew -----Original Message----- From: John Clark To: accessd at databaseadvisors.com Sent: 3/13/03 2:12 PM Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. From accessd at shaw.ca Thu Mar 13 21:40:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu Mar 13 21:40:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this In-Reply-To: Message-ID: Hi John: I know how you feel. At this moment I have found myself in the uncomfortable situation of being the outside programmer coming in to build an application for which the current IT guy was not even asked for comment. I did not find this out until I started nosing around to get a status of the current hardware resources. Someone, mentioned that they had an IT fellow that did most of their inside work. I called the Tech, quite innocently and asked for some information, on the system setup, only to find that the guy was very hurt and angry. It sure isn't fair. :-( What would you do in my circumstance? Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, March 13, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 13 21:48:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:48:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> Globals are just the broadest scope that you can have on a variable. You have procedural, modular, and global variables. Global variables should be used where they need to be used, no more, no less. The 'debate' on 'sloppy code' is really a moot point on this List. The chances of having to recode a project from another list member is pretty slim. Not too mention that I would rather deal with someone's sloppy code, then deal with a sloppy data structure. Drew -----Original Message----- From: John W. Colby To: accessd at databaseadvisors.com Sent: 3/13/03 4:30 PM Subject: RE: [AccessD] Using Global Connctions Marcus, >It's built around them being sloppy coding practice in any programming language. Precisely. Sloppy programming habits. Globals serve a purpose, but they should be few and far between. From martyconnelly at shaw.ca Fri Mar 14 03:29:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 03:29:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this References: Message-ID: <3E71A0A8.10607@shaw.ca> This is usually done by management to avoid overloading the Tech with more work than he can handle. Rather than have the tech arguing that he can do it, they present him with a "fait acompli". Some techs wear too many hats, and management gets worried what happens if he disappears. Lousy management style never the less but I have seen it before. . I have got my own back on consultants when something like this happened. One day all these high powered DBA types appeared from nowhere with design plans to install all sorts of databases for personnel and inventory etc. They all wanted kudos for developing the latest hot IDS Codasyl database which was on the machine. No one consulted me even though I was the sole system progammer and also resident GIS expert. I looked at this and said I would have to purchase more memory and disk space for the Honeywell mainframe otherwise the GIS databases could not coexist. Heard nothing more for a few months, and was told to start installing the test databases. Where are my extra disks I said. Oh we are going to outsource the GIS to an IBM site. Before I could get my explanations out , I was turfed from the meeting for being too protectionist of my GIS system. These guys were all 2 or 3 levels above my pay grade and had senior department directors on their side. Boy were they pissed off when I got ahold of the assistant deputy minister and pointed out to him that the mainframe 5 year lease was being paid for by another government department for the express purpose of GIS research and where was he going to come up with the million dollars a year to make up the shortfall when these jokers turfed the GIS systems and the grant was cancelled. None of the senior IT guys above me had been there more than a year and didn't know how the mainframe was being paid for. Just pointing this out made me a lot of enemies. Jim Lawrence (AccessD) wrote: >Hi John: > >I know how you feel. At this moment I have found myself in the uncomfortable >situation of being the outside programmer coming in to build an application >for which the current IT guy was not even asked for comment. I did not find >this out until I started nosing around to get a status of the current >hardware resources. Someone, mentioned that they had an IT fellow that did >most of their inside work. I called the Tech, quite innocently and asked for >some information, on the system setup, only to find that the guy was very >hurt and angry. It sure isn't fair. :-( > >What would you do in my circumstance? > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark >Sent: Thursday, March 13, 2003 12:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT but Access related...I've just got to share this > > >I have been fighting a battle for the past three years or so. My boss, >who is a politician, doesn't hold my job in high regard...I could get >really deep into explaining this, but I'll leave it here for now. >Anyhow, when he got the job in 1998, we made a decision to go w/MS >Access...we had FoxPro for many years, but there were many programs that >needed rewrote, and we also looked at VB. We chose Access for many >reasons, such as it was already on many of the machines, and I had >already begun learning it. Also, it seemed very flexible...good for >small, quick jobs, but also had capabilities for much larger projects. > >I am getting away from the subject, but I wanted to provide some >background. > >Over the past few years, we have found some programs in departments >that were written by programmer wanna-bees in those departments. When I >finally find these programs, I show my boss how pathetic they are...I >may not be a guru yet, but I think I write pretty decent >programs...especially compared to these pieces of shitaki mushrooms (got >that from watching Spy Kids w/my kids). > >In 1999, I had to re-write a program for our Pistol Permits Office. I >could write the program fine, but they needed to keep track of every >single change that was ever made to an account, and keep a historical >account. I had no idea how to do this, and my boss contracted with an >outside agency to help me. This programmer was suppose to "help" me >write this so that I learned as we went. This was a mistake on my >behalf, but I had had no training at all back then, and I had no >connection to any lists like this one. I also felt a little better, when >this programmer said that this was the hardest program that he ever >worked on, and he "had written some point of sales programs, and done >work for the border patrol." > >Since this time I've written several programs on my own, and I have >enjoyed a really good track record (i.e. not many calls after the fact), >which I probably just jinxed by mentioning this out loud. A couple of >months ago, I "accidentally" found out that our Risk Management >department had contracted outside for a new Claims Tracking program. I >had already written another small program for them, and as far as I >know, they were happy with it. Turns out the same programmer that helped >me came in to do it, and because he had known me, and wasn't aware that >this was a secret, he called me and talked w/me about this. > >He finished this program, less than a month ago, and today one of our >technicians calls to have me help with a network mapping >problem...network admin is one of my other hats here. They weren't >getting a Y: drive mapping, so their new Access program wouldn't work. I >recognized this mapping as one that we have programmed in the logging >script...any body that had old FoxPro programs had a Y: drive mapping to >the location of the FoxPro files, and this included them. > >It turns out that this "professional" programmer took it upon himself >to create a local mapping on these users machines...a big >"No-no"...which overwrites our network mappings. Our office is currently >in the middle of rolling out about 100 new PCs to those users who have >older ones. As you might be guessing, this PC was one of the ones >replaced. She had no idea of what mapping she had, so she couldn't warn >us, and we weren't notified, so we didn't know. The old Y: mapping for >FoxPro is really not needed any longer...by them at least...so I offered >to simply remap them via the login script. > >The tech returned to the office after lunch, and reported to me that, >"this guy did something with Windows files too!" Apparently, although I >can't think of what this would be, there were ties directly into the >Windows OS from this program (Registry maybe? I dunno). These new PCs >had Windows 2000 and Office 2000, and her old system had Windows 95 and >the program is A97. They loaded A97, but it still does not work. Now >they have to call this "professional" in...he'll be here tomorrow. > >I really think that I am at a level that I can compete w/this guy, and >that they should have given me a chance. It is plain stupidity to not >communicate with the internal IT staff. Even though I don't like the >idea of them outsourcing, I have no personal problems with this guy. He >is a really nice guy, and I have always been nice to him. We have even >spoke a time or two on our own, since he had been in here. > >Sorry for this OT, but I had to vent. You may not see my point here, >seeing as how many of you are independants, but at the very least please >tell me that you would communicate to avoid later problems. Or is it >standard to just get it, get paid, and leave the mess to the IT staff. > >Take care! > >John W Clark > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Fri Mar 14 03:37:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 03:37:01 2003 Subject: [AccessD] Method for Local Tables with an ADP References: Message-ID: <3E71A2B5.8020406@shaw.ca> I remember people asking for this awhile back and got this in the mail this evening from Superior Software newsletter.. This method for local tables with an ADP uses a local XML file instead of using Access database with local tables. A class clsXMLLocalTable is used to read and update an XML file then it just handles the data as a recordset. There is a sample 2002 database to demo it. http://www.ssw.com.au/SSW/kb/KB.asp?KBID=Q634862 From paul.hartland at fsmail.net Fri Mar 14 03:43:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 14 03:43:00 2003 Subject: [AccessD] Active Reports for Visual Basic 6 Message-ID: <20030314094212.EMGX5263.fep04-svc.ttys.com@localhost> To all, Has anyone had any experience with Active Reports v2.0 for Visual Basic, if so I wondered if someone could help me with somthing (bearing in mind I only started using it yesterday). I have built a report using the ADO connector and I need it to buils the recordset on the fly. So I am trying to use the following method..... repPersonnelByOffice.dcRptData.Recordset = "SELECT * FROM [tblPersonnel] WHERE [FinishDate] Is Null ORDER BY [Office], [Surname]" But I get the error Type Mismatch and the whole line gets highlighted when I click debug. Now I can't see anything wrong with this, can anyone point out my mistakes please....... Thanks in advance. Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Fri Mar 14 04:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 04:47:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access In-Reply-To: <006101c2e974$efcef0b0$6101a8c0@amd2k512> References: <01C2E93E.B52B6780.bob@renaissancesiding.com> <006101c2e974$efcef0b0$6101a8c0@amd2k512> Message-ID: <19510481952.20030314114627@cactus.dk> Hi Bob et all Another solution is present at Tony D'Ambras site: http://www.aadconsulting.com/news.html Browse to code examples: Find Out if a Windows Application is Open /gustav From gustav at cactus.dk Fri Mar 14 04:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 04:56:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> Message-ID: <17711001289.20030314115507@cactus.dk> Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav From gustav at cactus.dk Fri Mar 14 05:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 05:09:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: References: Message-ID: <11711784365.20030314120810@cactus.dk> Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? > Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition embedded in > another something. It may be in a tab control, or a form, but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav From gustav at cactus.dk Fri Mar 14 05:29:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 05:29:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> Message-ID: <2712959805.20030314122745@cactus.dk> Hi Drew I see. But don't you open a new instance of the calendar if it is open as a main form and you open another main form with the calender as a subform? /gustav > Actually, the code I posted was from my new MiniCalendar, which could be > used as a subform, or as a stand alone, or both at the same time. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, March 13, 2003 3:41 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? >> I know what you are saying about intentionally looking for an error. It >> gives me an uneasy feeling too, but there are some things that just >> absolutely require it. > Of course, and no problem with that. > However, I can't imagine why one would do as described in your > example - I've never designed a form to be used as both a main form > and a subform and indeed not at the same time - but, well, never say > never. > /gustav >> As far as your code, I'm pretty tired so I could be wrong on this, but I >> think I could trigger a false positive with your code. If you opened >> formA, >> then opened formB, then set the source object on a subform on FormA to >> FormB, you will now have FormB as a subform on FormA, but your function >> will >> say False, because FormB was the last form to be put into the form's >> collection AND it is also now a subform. (Actually, just tried it, and it >> did say false from the subform) >> I know, it wouldn't be a common occurrence, but the error method is >> guaranteed to be correct. From HollisVJ at pgdp.usec.com Fri Mar 14 06:02:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri Mar 14 06:02:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Then what do I do? I have tried every combination. I found out opening the file & saving it to the directory & folder I want it in, does not work. When I do a save, the document that was saved to the network directory is blank. I can't figure out how to make the file 'Move' from where the user has it stored to the folder & directory on the network. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Fri Mar 14 06:30:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 14 06:30:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 07:16:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 07:16:00 2003 Subject: [AccessD] OT Voice activated applications...hardware In-Reply-To: <3E713B1A.8040709@shaw.ca> Message-ID: Hi Marty: Thanks for the information. I will review this and see what I can come up with for the client. Again many thanks Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, March 13, 2003 6:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Voice activated applications...hardware Try this Access SoapService download http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=26157&ln gWId=1 Access 97 mdb methods to call various Soap Web Services such as Talking Clock, Text to Speech (returns .wav file so MS XVoice.dll not required) make your error messages verbal, Airline Plane location while plane in the air, Text language translation English to Spanish etc., California Highway conditions, Worldwide SMS phone messages, Soap to Email, Stock Exchange quotes etc. The PocketSoap version 0.9 download may no longer be available so you would need to rewrite to 1.4 version or use MS Soap toolkit. Guess I should rewrite haven't touiched this in two years. There is one form in mdb that uses text to speech agent only;so try that, should run removing soap references. It also creates a .wav file. Maybe I should rewrite. Further explanation in download text files. http://www.microsoft.com/msagent/downloads.htm#tts 1 Download the Microsoft SAPI 4.0a runtime binaries (824 KB exe) 2 Download Text-to-speech engines English or German etc 3 Download the Microsoft Agent core components (395 KB exe) not needed for XP 2000 or Me 4 there is a download for limited speech recognition haven't tried. http://www.pocketsoap.com Jim Lawrence (AccessD) wrote: >Hi All: > >Has anyone heard of voice activated software/hardware that will allow >inter-action between an application that say might be written in Access? > >MTIA >Jim > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Fri Mar 14 08:32:01 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Fri Mar 14 08:32:01 2003 Subject: [AccessD] Access dies when writing large number of records Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> Using Access2K on Win2K I'm importing about 30K records from a text file. The file is read line by line, parsed, and records created or updated in the database as needed via VBA/DAO code. The whole thing is wrapped in a transaction. When the transaction is enabled Access dies at about 2500 records with a Windows generated message saying "MSAccess.exe has generated an error..." My error handler never gets invoked. If I comment out the transaction it runs fine. I'm confident that the code is OK. This has worked fine for more than a year. I recently updated to O2K SP3. I found a KB article that addresses a similar problem that suggests one should update Jet to 4.0 SP6 which I have done with no effect. O2K SP3 cannot be uninstalled. Running this without the transaction is do-able, but not desirable. Does anyone have any ideas or suggestions on this? Neal Kling From michael.mattys at adelphia.net Fri Mar 14 09:16:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 09:16:00 2003 Subject: [AccessD] Access dies when writing large number of records References: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> Message-ID: <001f01c2ea3e$0f608190$6401a8c0@default> Hi Neal, Not knowing what your text file looks like, I'm still going to recommend this: How to Programmatically Create a Schema.ini File http://support.microsoft.com/?kbid=210001 Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Neal Kling" To: Sent: Friday, March 14, 2003 9:30 AM Subject: [AccessD] Access dies when writing large number of records > Using Access2K on Win2K I'm importing about 30K records from a text > file. The file is read line by line, parsed, and records created or > updated in the database as needed via VBA/DAO code. The whole thing is > wrapped in a transaction. > > When the transaction is enabled Access dies at about 2500 records with a > Windows generated message saying "MSAccess.exe has generated an > error..." My error handler never gets invoked. If I comment out the > transaction it runs fine. I'm confident that the code is OK. > > This has worked fine for more than a year. I recently updated to O2K > SP3. I found a KB article that addresses a similar problem that > suggests one should update Jet to 4.0 SP6 which I have done with no > effect. O2K SP3 cannot be uninstalled. > > Running this without the transaction is do-able, but not desirable. > Does anyone have any ideas or suggestions on this? > > Neal Kling > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Mar 14 09:35:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 09:35:00 2003 Subject: [AccessD] Access dies when writing large number of records In-Reply-To: <001f01c2ea3e$0f608190$6401a8c0@default> References: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> <001f01c2ea3e$0f608190$6401a8c0@default> Message-ID: <3127750743.20030314163416@cactus.dk> Hi Neal What happens if you write those validated records to a temp table, then appending the temp table to the final table? /gustav >> Using Access2K on Win2K I'm importing about 30K records from a text >> file. The file is read line by line, parsed, and records created or >> updated in the database as needed via VBA/DAO code. The whole thing is >> wrapped in a transaction. >> >> When the transaction is enabled Access dies at about 2500 records with a >> Windows generated message saying "MSAccess.exe has generated an >> error..." My error handler never gets invoked. If I comment out the >> transaction it runs fine. I'm confident that the code is OK. From bob at renaissancesiding.com Fri Mar 14 09:36:02 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 14 09:36:02 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically Message-ID: <01C2EA15.57C471E0.bob@renaissancesiding.com> I know that this thread was previously discussed, but I cannot find any of the older archives, so I am asking for assistance from the group. I have a bound form (frmJobs) that contains numerous controls on the main form, and four tabs (tabMain, tabJobDetails, tabJobArea and tabJobComments). Each tab (of course) has several controls. What I am trying to do is automatically advance from the last field (txtJobTelephoneCell) on the first tab (tabMain) to the first field (lngJobBaseColorID) on the second tab (tabDetails). I have tried the three code examples below; none do anything. As usual, I'm searching for some ideas or direction. TIA, Bob Gajewski ********************************* Private Sub txtJobTelephoneCell_LostFocus() tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub ********************************* Private Sub txtJobTelephoneCell_LostFocus() lngJobBaseColorID.SetFocus End Sub ********************************* Private Sub txtJobTelephoneCell_LostFocus() tabJobDetails.SetFocus End Sub ********************************* From cfoust at infostatsystems.com Fri Mar 14 10:24:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 10:24:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: If it's at all possible, get on the same side. Find out how he would have done it, Picture yourself as the innocent boob who got called in and had no idea that the "real expert" wasn't involved. It may not work, but at least it may defuse some of the anger. If you can form a coalition with him, he at least won't stand in your way and may be actively helpful. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, March 13, 2003 7:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT but Access related...I've just got to share this Hi John: I know how you feel. At this moment I have found myself in the uncomfortable situation of being the outside programmer coming in to build an application for which the current IT guy was not even asked for comment. I did not find this out until I started nosing around to get a status of the current hardware resources. Someone, mentioned that they had an IT fellow that did most of their inside work. I called the Tech, quite innocently and asked for some information, on the system setup, only to find that the guy was very hurt and angry. It sure isn't fair. :-( What would you do in my circumstance? Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, March 13, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 14 10:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 10:26:00 2003 Subject: [AccessD] Method for Local Tables with an ADP Message-ID: You can use the same technique with an mdb as well. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 14, 2003 1:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Method for Local Tables with an ADP I remember people asking for this awhile back and got this in the mail this evening from Superior Software newsletter.. This method for local tables with an ADP uses a local XML file instead of using Access database with local tables. A class clsXMLLocalTable is used to read and update an XML file then it just handles the data as a recordset. There is a sample 2002 database to demo it. http://www.ssw.com.au/SSW/kb/KB.asp?KBID=Q634862 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Fri Mar 14 10:27:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 10:27:01 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Message-ID: <006f01c2ea47$f93b0ed0$6401a8c0@default> Virginia, If no one else has helped already, you could try Pedro Gil's site that has an Access97 db for the purpose of moving files http://www.geocities.com/pmpg98_pt/ http://www.geocities.com/pmpg98_pt/CodeZip/SHFileOperation.zip Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Friday, March 14, 2003 7:01 AM Subject: RE: [AccessD] Adding Attachments > Then what do I do? I have tried every combination. I found out opening the > file & saving it to the directory & folder I want it in, does not work. When > I do a save, the document that was saved to the network directory is blank. > I can't figure out how to make the file 'Move' from where the user has it > stored to the folder & directory on the network. > > Virginia From chris at denverdb.com Fri Mar 14 11:13:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 11:13:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: Message-ID: I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC From Jdemarco at hshhp.org Fri Mar 14 11:28:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 14 11:28:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85424@TTNEXCHSRV1.hshhp.com> Chris, Have you seen Martin Reid's recent posts on adps? I was leaning the same way (adp over mdb) for our group in the future but he's been hinting that "other methods of connecting to SQL" should be considered. Now I believe his comments were concerning the next rev of SQL but I just thought I'd mention it to you. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 14, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADP vs. MDB for SQL 2000 I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Fri Mar 14 11:32:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 14 11:32:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85425@TTNEXCHSRV1.hshhp.com> I found the post I was referring to. I misquoted Martin so I want to correct it here. Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim DeMarco Sent: Friday, March 14, 2003 12:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris, Have you seen Martin Reid's recent posts on adps? I was leaning the same way (adp over mdb) for our group in the future but he's been hinting that "other methods of connecting to SQL" should be considered. Now I believe his comments were concerning the next rev of SQL but I just thought I'd mention it to you. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 14, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADP vs. MDB for SQL 2000 I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From subs at solution-providers.ie Fri Mar 14 11:38:01 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri Mar 14 11:38:01 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> Message-ID: <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Hello All, I was not aware that a previous debate (sounds a little heated) had been already carried out. Sorry for duplicating the discussion. In the last few emails, Marcus was the only one that explicitly stated that he likes the idea of using Globals for a db connection. So leaving aside passing around an order nunber or a customer id as a global (which I would never even consider), what do you guys do to hand around a database connection? Do you use Globals or do you make the connction each time or do you use some kind of class. Any sample code would be interesting to read. What I do is have the following code in a module ' This will be the global connection that we will share, we open it once only and share it throughout the applications life Global gccnn As New ADODB.Connection Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data Source=PC1" and then in the first form_load I have ' Give it a connect string gccnn.ConnectionString = gcstrConStr ' And make the connection gccnn.Open What do you guys think of this strategy, should I use a class to pass it around. And if I am not using a class, do you think that it is a little bit untidy or is downright bad practice. Again, I am just curious what the rest of the world is doing in their apps. Thanks Mark From harkins at iglou.com Fri Mar 14 11:38:17 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 11:38:17 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: Message-ID: <02a201c2ea50$6df34d20$2b4afccc@SusanOne> Chris, the back-end will be in SQL Server regardless? Let him talk to Martin -- he'll straighten this guy out. :) Seriously. If the above isn't the case and the mdb would be inclusive of Access tables, we probably don't have enough information to really discern which is the best solution. Although, I think people that already have SQL Server tend to go that route regardless, unless they're creating a smaller application and just don't want to put the development and administrative resources into the project. Susan H. > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) From andy at minstersystems.co.uk Fri Mar 14 11:47:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri Mar 14 11:47:00 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically In-Reply-To: <01C2EA15.57C471E0.bob@renaissancesiding.com> Message-ID: <002601c2ea51$411c00c0$b274d0d5@andypc> Bob I use your 3rd method (just tabxxx.setfocus) and it works fine. Have you tried putting up a Msgbox in that LostFocus to make sure it's even going through there? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: 14 March 2003 15:35 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] (A97) Advancing through a tabbed form automatically > > > I know that this thread was previously discussed, but I > cannot find any of > the older archives, so I am asking for assistance from the group. > > I have a bound form (frmJobs) that contains numerous controls > on the main > form, and four tabs (tabMain, tabJobDetails, tabJobArea and > tabJobComments). Each tab (of course) has several controls. > > What I am trying to do is automatically advance from the last field > (txtJobTelephoneCell) on the first tab (tabMain) to the first field > (lngJobBaseColorID) on the second tab (tabDetails). I have > tried the three > code examples below; none do anything. As usual, I'm > searching for some > ideas or direction. > > TIA, > > Bob Gajewski > > > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > lngJobBaseColorID.SetFocus End Sub > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > tabJobDetails.SetFocus End Sub > ********************************* > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From harkins at iglou.com Fri Mar 14 11:49:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 11:49:01 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Message-ID: <02ca01c2ea51$fb6b9ee0$2b4afccc@SusanOne> What problem are you avoiding by creating and destroying the Connection object as you use it? Susan H. > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. From DWUTKA at marlow.com Fri Mar 14 11:50:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 11:50:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AF@main2.marlow.com> My wierd purposes? The hWnd property is the key to Windows development, in fact it's the primary key! Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:08 AM To: John W. Colby Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? > Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition embedded in > another something. It may be in a tab control, or a form, but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 11:51:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 11:51:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <02a201c2ea50$6df34d20$2b4afccc@SusanOne> Message-ID: The other developer uses local tables in the .mdb's (I've discussed this issue with him at the local Access Users Group). Personally I see no reason for these tables as they only store info related to user preferences, so all of the real data for the system is going to be SQL 2000, custom menu options that the user selects are going to be in local tables (Why not just store them in SQL along with a column for the user name?). Basically if they go with .mdb I don't get the job, if they go with .adp I do so I'm trying to srgue the .adp side as strongly as possible. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, March 14, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 Chris, the back-end will be in SQL Server regardless? Let him talk to Martin -- he'll straighten this guy out. :) Seriously. If the above isn't the case and the mdb would be inclusive of Access tables, we probably don't have enough information to really discern which is the best solution. Although, I think people that already have SQL Server tend to go that route regardless, unless they're creating a smaller application and just don't want to put the development and administrative resources into the project. Susan H. > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 14 11:51:19 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 11:51:19 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: Message-ID: <003f01c2ea52$34e0a2b0$6101a8c0@amd2k512> http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Fri Mar 14 11:55:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 11:55:01 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> Can't follow that. What do you mean? If I open the form, it's opened as a main form. If I open a form with the MC as a subform, it is opened as a subform. My routine that checks for whether it is a subform or not is used is more places that just the onload event. The code you had posted would work on the onload event of all forms, with the exception of that one instance I mentioned, where you are 'assigning' the subform at a later point (after that form was used as a Main form). I don't have any projects that do that. However, I do check for whether or not my form is a subform for certain processes, at which point if the MC form was opened afterwards, it would fail that check. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:28 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I see. But don't you open a new instance of the calendar if it is open as a main form and you open another main form with the calender as a subform? /gustav > Actually, the code I posted was from my new MiniCalendar, which could be > used as a subform, or as a stand alone, or both at the same time. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, March 13, 2003 3:41 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? >> I know what you are saying about intentionally looking for an error. It >> gives me an uneasy feeling too, but there are some things that just >> absolutely require it. > Of course, and no problem with that. > However, I can't imagine why one would do as described in your > example - I've never designed a form to be used as both a main form > and a subform and indeed not at the same time - but, well, never say > never. > /gustav >> As far as your code, I'm pretty tired so I could be wrong on this, but I >> think I could trigger a false positive with your code. If you opened >> formA, >> then opened formB, then set the source object on a subform on FormA to >> FormB, you will now have FormB as a subform on FormA, but your function >> will >> say False, because FormB was the last form to be put into the form's >> collection AND it is also now a subform. (Actually, just tried it, and it >> did say false from the subform) >> I know, it wouldn't be a common occurrence, but the error method is >> guaranteed to be correct. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From budge at magicaldesk.com Fri Mar 14 12:00:01 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri Mar 14 12:00:01 2003 Subject: [AccessD] Friday OT Message-ID: Read to the end!!! Don't skip If you canstart the day without caffeine or pep pills, If you can be cheerful, ignoring aches and pains, If you can resist complaining and boring people with your troubles, If you can eat the same food everyday and be grateful for it, If you can understand when loved ones are too busy to give you time, If you can overlook when people take things out on you when, through no fault of yours, something goes wrong, If you can take criticism and blame without resentment, If you can face the world without lies and deceit, If you can conquer tension without medical help, If you can relax without liquor, If you can sleep without the aid of drugs, If you can do all these things, Then you are probably the family dog. **************** George Bush is visiting an elementary school and announces to the class, "You can all ask me questions." A boy named Bobby raises his hand and says, "I have 3 questions for you": 1) How did you win the election with less votes than Gore? 2) Isn't it true that you want to declare war on Iraq in order to get oil? 3) Why hasn't the U.S. caught Osama Bin Laden? Then the bell sounds and all the kids run out to the playground. 15 minutes later the kids come back in class and again Bush says, "You can all ask me questions." A boy named Charlie raises his hand and says, "I have 5 questions for you": 1) How did you win the election with less votes than Gore? 2) Isn't it true that you want to declare war on Iraq in order to get oil? 3) Why hasn't the U.S. caught Osama Bin Laden? 4) Why did the bell go off 20 minutes early? 5) Where is Bobby? **************** An actual letter from home from a marine with the multinational force in Bosnia: Dear Dad, A funny thing happened to me yesterday here at Camp Bondsteel (Bosnia): A French army officer walked up to me in the PX, and told me he thought we (Americans) were a bunch of cowboys and were going to provoke a war in Iraq. He said if such a thing happens, we wouldn't be able to count on the support of France. I told him that it didn't surprise me. Since we had come to France's rescue in World War I, World War II, Vietnam, and the Cold War, their ingratitude and jealousy was due to surface [again] at some point in the near future anyway. I also told him that is why France is a third-rate military power with a socialist economy and a bunch of pansies for soldiers. I additionally told him that America, being a nation of deeds and action, not words, would do whatever it had to do, and France's support, if it ever came, was only for show anyway. Just like in ALL NATO exercises, the US would shoulder 85% of the burden, and provide 85% of the support, as evidenced by the fact that this French officer was shopping in the American PX, and not the other way around. He began to get belligerent at that point, and I told him if he wanted to I would meet him outside in front of the Burger King and whip his butt in front of the entire Multi-National Brigade East, thus demonstrating that even the smallest American had more fight in him than the average Frenchman. He called me a barbarian cowboy and walked away in a huff. With friends like these, who needs enemies? Dad, tell Mom I love her, Your loving daughter, Mary Beth (LtCol., USMC) **************** Since cloning has been a subject of intense debate around the world, I thought I'd pose you the following ethical question: Suppose that through advanced science, a clone, an exact replica, had been made of me. One day, I chance upon my clone standing on a wall about 5 feet high, completely nude except for a raincoat, and he is flashing all the lady passers-by. Upset and disappointed at his behavior, I rush at him, and push him off of the wall. Since his hands were in the pockets of his raincoat, he is unable to catch himself,and he falls to the sidewalk below, fractures his skull and soon dies. I feel terrible. The ethical question about my act is this: Did I commit murder? Or did I commit suicide? Or... am I only guilty of making an obscene clone fall? _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com From budge at magicaldesk.com Fri Mar 14 12:01:07 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri Mar 14 12:01:07 2003 Subject: [AccessD] More Friday OT - because where the heck is ANDY???? Message-ID: -----Now this is my kind of exercise....yesssss...I can do this.... Exercise Program for 2003... Here's the exercise program I am using to stay in shape for the new year. You might want to take it easy at first, then do it faster as you become more proficient. It may be too strenuous for some.. ALWAYS CONSULT YOUR DOCTOR BEFORE STARTING ANY EXERCISE PROGRAM.** > > NOW SCROLL DOWN... > > > > > > > > > > > > > > > > > > > > > > > NOW SCROLL UP... Feel the burn _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com From chris at denverdb.com Fri Mar 14 12:03:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 12:03:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <003f01c2ea52$34e0a2b0$6101a8c0@amd2k512> Message-ID: William, Thank you, I will pass this along to the client, unfortunatley he of course has no idea what Jet is but this does provide a good argument that's not just my word. And yes, the other developer has tried an .adp and didn't like it and doesn't want to learn how to use them properly, but he does know someone in the company :(. Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 14, 2003 10:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 12:04:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 14 12:04:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Message-ID: <002001c2ea53$eaf97f80$de1811d8@DanWaters> Virginia, By tomorrow, I will send you (off-line) a small demo database in A97 that contains the functionality that I believe you are looking for. This does use File System Objects. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Friday, March 14, 2003 6:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Then what do I do? I have tried every combination. I found out opening the file & saving it to the directory & folder I want it in, does not work. When I do a save, the document that was saved to the network directory is blank. I can't figure out how to make the file 'Move' from where the user has it stored to the folder & directory on the network. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 14 12:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 12:05:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B1@main2.marlow.com> Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 14 12:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 12:08:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B2@main2.marlow.com> You are keeping the connection constant, which keeps the user in the database, limiting how many other users can be there at the same time. However, creating and destroying has the issue of slowing down your code when the database is on a network. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 14, 2003 11:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions What problem are you avoiding by creating and destroying the Connection object as you use it? Susan H. > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. _______________________________________________ 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 Mar 14 12:18:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 14 12:18:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> Message-ID: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 14 12:20:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 12:20:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? Message-ID: Hmmn ... That sounds NATURAL to me! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 9:50 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? My wierd purposes? The hWnd property is the key to Windows development, in fact it's the primary key! Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:08 AM To: John W. Colby Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition > embedded in another something. It may be in a tab control, or a form, > but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform > or not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to use > it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Mar 14 12:21:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 14 12:21:00 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically Message-ID: <01C2EA2C.72BEE950.bob@renaissancesiding.com> Andy I sort of found the problem. In the actual control properties, I already have "=cbfLostFocus()" because I use two public functions to change the control backcolor during the Got/Lost Focus events for user visibility. Therefore, the CBF code for txtJobTelephoneCell_GotFocus() event is ignored. I have to figure out another way to do this. Thanks! Bob On Friday, March 14, 2003 12:44 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Bob > I use your 3rd method (just tabxxx.setfocus) and it works fine. Have you > tried putting up a Msgbox in that LostFocus to make sure it's even going > through there? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bob Gajewski > > Sent: 14 March 2003 15:35 > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] (A97) Advancing through a tabbed form automatically > > > > > > I know that this thread was previously discussed, but I > > cannot find any of > > the older archives, so I am asking for assistance from the group > > > > I have a bound form (frmJobs) that contains numerous controls > > on the main > > form, and four tabs (tabMain, tabJobDetails, tabJobArea and > > tabJobComments). Each tab (of course) has several controls > > > > What I am trying to do is automatically advance from the last field > > (txtJobTelephoneCell) on the first tab (tabMain) to the first field > > (lngJobBaseColorID) on the second tab (tabDetails). I have > > tried the three > > code examples below; none do anything. As usual, I'm > > searching for some > > ideas or direction > > > > TIA, > > > > Bob Gajewski > > > > > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > lngJobBaseColorID.SetFocus End Sub > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > tabJobDetails.SetFocus End Sub > > ********************************* > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > 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 Mar 14 12:23:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 12:23:01 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: Wasn't me. I just pointed out that XML could be used for temp tables with an MDB as well. And even in an ADP, you still need the Jet engine for things like compacting the project. You just get to it through JRO instead. Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 9:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-6560 9CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301 AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system > with SQL Server 2000 and Access XP that the .adp format is superior to > the .mdb format for working with SQL Server back ends. Does anyone > have any articles > or any "objective" materials that I could show to them? (Another > developer has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 12:23:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 12:23:30 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> Message-ID: <5637840591.20030314192226@cactus.dk> Hi Drew > Can't follow that. What do you mean? If I open the form, it's opened as a > main form. If I open a form with the MC as a subform, it is opened as a > subform. My routine that checks for whether it is a subform or not is used > is more places that just the onload event. > The code you had posted would work on the onload event of all forms, .. yes > .. with the exception of that one instance I mentioned, where you > are 'assigning' the subform at a later point (after that form was > used as a Main form). I don't have any projects that do that. That is what I meant. I have neither done such projects and have never seen any - but it is, of course, possible though very unlikely. > However, I do check for whether or not my form is a subform for > certain processes, at which point if the MC form was opened afterwards, it > would fail that check. It doesn't fail here: Private Sub Form_Open(Cancel As Integer) MsgBox Str(IsSubform()) End Sub You have a main form with your MC as a subform. You then open form MC as a main form and then the check fails? Strange. /gustav > I see. But don't you open a new instance of the calendar if it is > open as a main form and you open another main form with the calender > as a subform? >> Actually, the code I posted was from my new MiniCalendar, which could be >> used as a subform, or as a stand alone, or both at the same time. From jcolby at colbyconsulting.com Fri Mar 14 12:36:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 12:36:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: Congratulations Shamil! Enjoy your trip, and your vacation. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, March 14, 2003 1:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5336 bytes Desc: not available URL: From wdhindman at bellsouth.net Fri Mar 14 12:40:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 12:40:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: <001401c2ea59$2703bae0$6101a8c0@amd2k512> ...where there is a will there is a way ...have a great vacation ...um ...business trip!!!!!! :)))))) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Friday, March 14, 2003 1:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Monday, March 10, 2003 11:23 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > THNX Marty, > > > > I will give it another try to solve the problem without complaints - if no > > result then maybe I will go compainingt o the Head Office. But the chances > > are very high that they will not accept any of my complaints and will play > > fool - or you've any success stories when complaints helped to solve the > > situations like that mine? > > > > TIA for any additional info, > > Shamil > > > > ----- Original Message ----- > > From: "MartyConnelly" > > To: > > Sent: Monday, March 10, 2003 10:44 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > I would complain (umm... make a request for clarification or advice) to > > > the Head Office rather than locally. "Better to complain to the organ > > > grinder than the monkey". This is an English aphorism > > > referring to street buskers who would play a portable windup organ and > > > have a little monkey running around with a cup to collect spare change. > > > > > > Here is the mailing address for Ministry in the Hague > > > The Netherlands Ministry of Foreign Affairs > > > > > > Visitors Address: > > > Bezuidenhoutseweg 67, The Hague > > > tel. +31 70 3486486; > > > fax. + 31 70 3484848; > > > > > > The Netherlands Ministry of Foreign Affairs > > > Postal Address: > > > PO Box 20061 > > > 2500 EB The Hague > > > > > > Or email complaint page > > > > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > > 2X55346X5 > > > or > > > > > > If you have any questions, please check the Frequently Asked Questions > > > first. If you have still not found an answer to your question, then you > > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > > see: in english Visa Applications > > > > > > http://www.immigratiedienst.nl/ > > > > > > Probably a phone call to their communication department in external > > > affairs for clarification would quickly resolve the matter. They aren't > > > clear on their forms about very short business trips or actually working > > > for a company on a 3 month contract or a business man who goes to > > > Holland to solicit business and takes along his wife so she can shop or > > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > > minute phone call to Europe from Canada only costs a little over a > dollar, > > > I don't know about your costs. > > > > > > Also when you applied, Holland was going through a National election > > > where one of the major topics was Illegal Immigration and assylum > > > seekers. So there may have been political direction to be hesitant or > > > over zealous in the checking of visas, to avoid political embarassment > > > to the powers that be, during the election period. > > > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > > few years and can find my way around . You do learn skills as a civil > > > servant. Things like reading upside down and backwards > > > so you can read a letter on a desk you are not supposed to see. I can > > > carry two passports EU and Canadian and still get into trouble over > > > there with the regulations. > > > > > > > > > Shamil Salakhetdinov wrote: > > > > > > >THNX for your info Marty! > > > >Very much appreciated! > > > > > > > > > > > > > > > >> it isn't worth the hassle to complain > > > >>about some minor functionary or bureaucrat > > > >> > > > >> > > > >OK, I decided to reapply for the Visum if they are asking to do so but > > I'd > > > >like to have some documents left on my hands(unfortunately I didn't > make > > the > > > >copy of the first Visa application) > > > > > > > >I'd like to write a letter to the head of the Consulate-General with > > request > > > >for their help of solving this small misapprehension ASAP - how should > I > > > >proceed with them to let me to pass this letter to him and to allow me > to > > > >meet with him/his representative and to officially register my letter > > with > > > >help request and explanation (my vision) of situation (of course > without > > any > > > >complaints)? > > > > > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > > >>residence in US (odds 1:100) > > > >> > > > >> > > > >You propose me to immigrate to the States? A plenty of work there and a > > room > > > >for five people? - I still prefer to stay here in Russia and find a way > > to > > > >freely travel around the World - should be doable but needs some time > to > > > >solve this without immigration to the States... > > > > > > > >Shamil > > > > > > <<< tail skipped for brevity >>> > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prosoft6 at hotmail.com Fri Mar 14 12:45:01 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri Mar 14 12:45:01 2003 Subject: [AccessD] Access/Oracle Message-ID: Mike, There is an article in the recent SQL Server Magazine. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 12:48:11 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 12:48:11 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Chris Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. Martin From mwhittinghill at symphonyinfo.com Fri Mar 14 12:58:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri Mar 14 12:58:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: <004801c2ea5c$1df547e0$0300000a@Pascal> What is Shengen States? Does that mean the European Union or is it something else? Just curious. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Friday, March 14, 2003 12:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 13:07:09 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 13:07:09 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047668707.3e7227e36b4bc@hosea.qub.ac.uk> Chris Susan and I did an article for someone on this subject. I cant rememebr who but am sure Susan has a link to it. Martin Quoting Chris Mackin : > William, > > Thank you, I will pass this along to the client, unfortunatley he of > course > has no idea what Jet is but this does provide a good argument that's > not > just my word. And yes, the other developer has tried an .adp and > didn't > like it and doesn't want to learn how to use them properly, but he does > know > someone in the company :(. > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 10:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 > > > http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC > 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 > -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp > > ...the fundamentals are that an mdb requires JET be loaded and that > JET > becomes the interface with SQL Server ...and you are thus stuck with > JET's > inherent weaknesses while gaining almost none of SQL Server's > strengths > ...an adp does not load JET and interfaces with SQL Server directly > ...unless there is a critical requirement for local tables, I can't > think of > a reason to use an mdb in a SQL Server environment ...other than the > developer doesn't understand adps and doesn't want to ...which > certainly > isn't a client reason for doing so. > > ...and even in the case of a critical requirement for local tables, > Charlotte (I think) just pointed out an XML solution for that using > adps. > HTH :) > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask > not > what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Chris Mackin" > To: > Sent: Friday, March 14, 2003 12:12 PM > Subject: [AccessD] ADP vs. MDB for SQL 2000 > > > > I am trying to convince a client that's rebuilding a DOS based system > with > > SQL Server 2000 and Access XP that the .adp format is superior to the > .mdb > > format for working with SQL Server back ends. Does anyone have any > articles > > or any "objective" materials that I could show to them? (Another > developer > > has them convinced that the .mdb format is the way to go) > > > > Thanks, > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From chris at denverdb.com Fri Mar 14 13:14:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 13:14:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Message-ID: Right now it's a FoxPro for DOS system and they currently don't run any Access applications. They only definites I'm aware of are the decisions to use AXP and SQL 2000 (They already have the server installed on their network with no databases on it). The number of user is pretty small right now, the amount of data is rather large and they do have some plans to connect to remote sites via internet in the not too distant future. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 14, 2003 11:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 13:14:29 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 13:14:29 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <1047668707.3e7227e36b4bc@hosea.qub.ac.uk> Message-ID: I will try to find it, thanks. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 14, 2003 12:05 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris Susan and I did an article for someone on this subject. I cant rememebr who but am sure Susan has a link to it. Martin Quoting Chris Mackin : > William, > > Thank you, I will pass this along to the client, unfortunatley he of > course > has no idea what Jet is but this does provide a good argument that's > not > just my word. And yes, the other developer has tried an .adp and > didn't > like it and doesn't want to learn how to use them properly, but he does > know > someone in the company :(. > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 10:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 > > > http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC > 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 > -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp > > ...the fundamentals are that an mdb requires JET be loaded and that > JET > becomes the interface with SQL Server ...and you are thus stuck with > JET's > inherent weaknesses while gaining almost none of SQL Server's > strengths > ...an adp does not load JET and interfaces with SQL Server directly > ...unless there is a critical requirement for local tables, I can't > think of > a reason to use an mdb in a SQL Server environment ...other than the > developer doesn't understand adps and doesn't want to ...which > certainly > isn't a client reason for doing so. > > ...and even in the case of a critical requirement for local tables, > Charlotte (I think) just pointed out an XML solution for that using > adps. > HTH :) > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask > not > what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Chris Mackin" > To: > Sent: Friday, March 14, 2003 12:12 PM > Subject: [AccessD] ADP vs. MDB for SQL 2000 > > > > I am trying to convince a client that's rebuilding a DOS based system > with > > SQL Server 2000 and Access XP that the .adp format is superior to the > .mdb > > format for working with SQL Server back ends. Does anyone have any > articles > > or any "objective" materials that I could show to them? (Another > developer > > has them convinced that the .mdb format is the way to go) > > > > Thanks, > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 13:18:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 14 13:18:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> Message-ID: <01e801c2ea5e$62934800$b501010a@DAISY.local> > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From scott.marcus at ae.ge.com Fri Mar 14 13:51:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 14 13:51:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> So you are saying that they are needed more than rarely? Any project I work on is a judgment call on how the project needs to progress. I'm saying using them more than rarely is bad judgment and hense sloppy programming. Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 1:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Fri Mar 14 14:03:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri Mar 14 14:03:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> Message-ID: <001201c2ea65$217557d0$0300000a@Pascal> Thanks, I learned something today. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, March 14, 2003 1:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From Wikipedia, the free encyclopedia. The name Schengen originates from a small town in Luxembourg. In March 1995, seven European Union countries signed a treaty to end internal border checkpoints and controls. More countries have joined the treaty over the past years. At present (February 2003), there are 15 Schengen countries, all in Europe. The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, Norway, Portugal, Spain and Sweden. The collected territories of these countries are known as the Schengen area. All countries except Norway and Iceland are European Union members. Conversely, the United Kingdom and Ireland are in the European Union but are not parties to the Schengen treaty. Source: http://www.eurovisa.info/SchengenCountries.htm ----- Original Message ----- From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Fri Mar 14 14:08:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 14:08:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B17@NEWMAN_EXC> In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 14 14:15:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 14:15:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> Message-ID: <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> ...the things you learn on AccessD :)))) ...so if I get a visa for Germany, I can visit most of Europe on that visa now? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, March 14, 2003 2:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From Wikipedia, the free encyclopedia. The name Schengen originates from a small town in Luxembourg. In March 1995, seven European Union countries signed a treaty to end internal border checkpoints and controls. More countries have joined the treaty over the past years. At present (February 2003), there are 15 Schengen countries, all in Europe. The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, Norway, Portugal, Spain and Sweden. The collected territories of these countries are known as the Schengen area. All countries except Norway and Iceland are European Union members. Conversely, the United Kingdom and Ireland are in the European Union but are not parties to the Schengen treaty. Source: http://www.eurovisa.info/SchengenCountries.htm ----- Original Message ----- From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. > > > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Friday, March 14, 2003 12:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > Hi All, > > > > We made it! - I've got Visum to Netherlands (Shengen States) for myself > and > > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > > home on 03 of April 2003. > > > > Without your great moral support and hints of Marty I would have not had > > Visum today... > > And of course Onno van Shelven who is not on the list these days but who I > > contact from time to time with was the main helping hand - he helped me to > > define a concept and then edit/augment a letter, which I wrote and sent to > > the Consul and which made this incredible bombing effect and holed > > bureaucracy wall... > > > > Well, I had to pay second time for their services and I didn't hear any > > words of excuses or something like that but all that doesn't matter when > > what was almost impossible on Monday becomes a reality on Friday... > > > > THNX a lot again to everybody, > > Have nice weekend, > > Shamil :) > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 14 14:17:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 14:17:00 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> Message-ID: <002501c2ea66$9e042230$6101a8c0@amd2k512> ...ok guys ...is it going to be swords or pistols ...and where the hell is JC when a definitive rant is needed? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Marcus, Scott (GEAE, RHI Consulting)" To: Sent: Friday, March 14, 2003 2:49 PM Subject: RE: [AccessD] Using Global Connctions > So you are saying that they are needed more than rarely? Any project I work on > is a judgment call on how the project needs to progress. I'm saying using them > more than rarely is bad judgment and hense sloppy programming. > > Scott Marcus > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Friday, March 14, 2003 1:04 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > call, based solely on your own experiences. > > Drew > > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) > [mailto:scott.marcus at ae.ge.com] > Sent: Friday, March 14, 2003 6:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > "Global variables should be used where they need to be used, no more, no > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > use a > hammer when a screwdriver is needed (and I have a screwdriver), I would be a > pretty stupid person. On the same token, those who abuse global variables > think > they are needed in their case, otherwise they would not be using them. Why > program something when it isn't needed? The fact is, global variables are > rarely > needed and should be rarely used. That's crystal clear. > > Scott > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 14, 2003 5:55 AM > To: Drew Wutka > Subject: Re: [AccessD] Using Global Connctions > > > Hi Drew > > > Globals are just the broadest scope that you can have on a variable. You > > have procedural, modular, and global variables. Global variables should > be > > used where they need to be used, no more, no less. > > This crystal clear statement should be assimilated by everyone. > Thanks Drew! > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From StaRKeY at Wanadoo.nl Fri Mar 14 14:17:25 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 14:17:25 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> Message-ID: Guys, why argue over a couple of globals? Isn't the availability meant for those in need of them to do the job?:-P Have a nice friday.. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: vrijdag 14 maart 2003 20:49 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions So you are saying that they are needed more than rarely? Any project I work on is a judgment call on how the project needs to progress. I'm saying using them more than rarely is bad judgment and hense sloppy programming. Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 1:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 14:29:01 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 14:29:01 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A709@PKDWB01C.ad.sprint.com> Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 14:30:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 14:30:07 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> Message-ID: <1047673798.3e723bc70690a@hosea.qub.ac.uk> How do you think terrorists move about so freely. Martin Quoting William Hindman : > ...the things you learn on AccessD :)))) > > ...so if I get a visa for Germany, I can visit most of Europe on that > visa now? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > ----- Original Message ----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: Friday, March 14, 2003 2:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > What is Shengen States? > http://www.wikipedia.org/wiki/Schengen_treaty > Schengen treaty > From Wikipedia, the free encyclopedia. > > The name Schengen originates from a small town in Luxembourg. In March > 1995, seven European Union countries signed a treaty to end internal > border checkpoints and controls. More countries have joined the treaty > over the past years. At present (February 2003), there are 15 Schengen > countries, all in Europe. > > The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, > France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, > Norway, Portugal, Spain and Sweden. The collected territories of these > countries are known as the Schengen area. > > All countries except Norway and Iceland are European Union members. > Conversely, the United Kingdom and Ireland are in the European Union but > are not parties to the Schengen treaty. > > Source: http://www.eurovisa.info/SchengenCountries.htm > > ----- Original Message ----- > > From: "Mark Whittinghill" > To: > Sent: Friday, March 14, 2003 10:01 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > What is Shengen States? Does that mean the European Union or is > it > > something else? Just curious. > > > > > > Mark Whittinghill > > Symphony Information Services > > Minneapolis, Minnesota > > Email: mark at symphonyinfo.com > > Phone: 612-333-1311 > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: > > Sent: Friday, March 14, 2003 12:17 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > Hi All, > > > > > > We made it! - I've got Visum to Netherlands (Shengen States) for > myself > > and > > > my two kids for twenty days today! I fly to Amsterdam on 20 March > 2003. I > > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I > go back > > > home on 03 of April 2003. > > > > > > Without your great moral support and hints of Marty I would have > not had > > > Visum today... > > > And of course Onno van Shelven who is not on the list these days > but who I > > > contact from time to time with was the main helping hand - he > helped me to > > > define a concept and then edit/augment a letter, which I wrote and > sent to > > > the Consul and which made this incredible bombing effect and > holed > > > bureaucracy wall... > > > > > > Well, I had to pay second time for their services and I didn't > hear any > > > words of excuses or something like that but all that doesn't > matter when > > > what was almost impossible on Monday becomes a reality on > Friday... > > > > > > THNX a lot again to everybody, > > > Have nice weekend, > > > Shamil :) > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Mar 14 14:32:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 14:32:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> Message-ID: <3E723C26.5010204@shaw.ca> It was an agreement set up in 1985 between France Germany and BeneLux countries to close down border posts and allow free travel, no customs checks and immigration, don't know about residency. It has been expanded to other EU countries like Spain. In the small border town Schengen in Luxembourg in 1985, France, Germany, Belgium, Netherlands and Luxembourg entered into a cooperation agreement to realize the free movement of persons. This was to be achieved by abolishing checks of persons at the borders of these countries. In addition, they decided to strengthen checks at the external borders and to initiate far-reaching police cooperation, on landing your name goes in the SIS (Police & Interpol) database. The Convention implementing the Schengen Agreement, which contains provisions on practical measures to implement the Schengen Agreement entered into force in 1995. When a Member State fully applies the Schengen Convention and has removed its border controls in relation to other Schengen states, that country is an operative member. Which countries participate in Schengen cooperation? Sweden, Norway, Denmark, Finland, Iceland, France, Germany, Belgium, Netherlands, Luxembourg, Spain, Portugal, Greece, Italy and Austria. Ireland and the United Kingdom participate in certain parts of Schengen with cooperation only and they will continue to carry out checks on persons at borders. Come to think of it last time I was Ireland they had customs at Northern Ireland border and roving police checkpoints 50 miles further south. Maybe it was just the "Troubles". Some other countries are due to sigon in near future like Czech republic and Slovakia. Under the Schengen rules you must verify your identity when staying at a hotel, boarding-house or camping ground in a Schengen state. The type of identity document you will be required to present varies and is decided by each country. This may mean you need to have your passport with you. US and Canada dont need visas for short stays under 90 days in Schengen countries, but if say you land in Paris and travel on to Switzerland (non-schengen) you need an air transit visa from France, if say the arrival and the departure takes place in 2 different airports (Paris-Roissy and Paris-Orly), so it is wise to check ahead with consulate or really trust your travel agent. I carry two passports EU and Canadian so I don't bother with this a lot. You can get an EU passport in certain EU states if your paternal grandfather was born there. I just went through the rigamarole of renewing my EU passport this week, 10 years ago I paid 20 pounds now it's $165 CDN. sheesh.... Mark Whittinghill wrote: >What is Shengen States? Does that mean the European Union or is it >something else? Just curious. > > >Mark Whittinghill >Symphony Information Services >Minneapolis, Minnesota >Email: mark at symphonyinfo.com >Phone: 612-333-1311 >----- Original Message ----- >From: "Shamil Salakhetdinov" >To: >Sent: Friday, March 14, 2003 12:17 PM >Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > >>Hi All, >> >>We made it! - I've got Visum to Netherlands (Shengen States) for myself >> >> >and > > >>my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I >>plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back >>home on 03 of April 2003. >> >>Without your great moral support and hints of Marty I would have not had >>Visum today... >>And of course Onno van Shelven who is not on the list these days but who I >>contact from time to time with was the main helping hand - he helped me to >>define a concept and then edit/augment a letter, which I wrote and sent to >>the Consul and which made this incredible bombing effect and holed >>bureaucracy wall... >> >>Well, I had to pay second time for their services and I didn't hear any >>words of excuses or something like that but all that doesn't matter when >>what was almost impossible on Monday becomes a reality on Friday... >> >>THNX a lot again to everybody, >>Have nice weekend, >>Shamil :) >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Fri Mar 14 14:33:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 14:33:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <002501c2ea66$9e042230$6101a8c0@amd2k512> Message-ID: I already spoke up on the issue. Not in the Ranting mood at the moment. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 14, 2003 3:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...ok guys ...is it going to be swords or pistols ...and where the hell is JC when a definitive rant is needed? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Marcus, Scott (GEAE, RHI Consulting)" To: Sent: Friday, March 14, 2003 2:49 PM Subject: RE: [AccessD] Using Global Connctions > So you are saying that they are needed more than rarely? Any project I work on > is a judgment call on how the project needs to progress. I'm saying using them > more than rarely is bad judgment and hense sloppy programming. > > Scott Marcus > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Friday, March 14, 2003 1:04 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > call, based solely on your own experiences. > > Drew > > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) > [mailto:scott.marcus at ae.ge.com] > Sent: Friday, March 14, 2003 6:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > "Global variables should be used where they need to be used, no more, no > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > use a > hammer when a screwdriver is needed (and I have a screwdriver), I would be a > pretty stupid person. On the same token, those who abuse global variables > think > they are needed in their case, otherwise they would not be using them. Why > program something when it isn't needed? The fact is, global variables are > rarely > needed and should be rarely used. That's crystal clear. > > Scott > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 14, 2003 5:55 AM > To: Drew Wutka > Subject: Re: [AccessD] Using Global Connctions > > > Hi Drew > > > Globals are just the broadest scope that you can have on a variable. You > > have procedural, modular, and global variables. Global variables should > be > > used where they need to be used, no more, no less. > > This crystal clear statement should be assimilated by everyone. > Thanks Drew! > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3232 bytes Desc: not available URL: From StaRKeY at Wanadoo.nl Fri Mar 14 14:36:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 14:36:01 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: OK, i say lets have a global arguement...LOL > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 14 maart 2003 21:33 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > I already spoke up on the issue. Not in the Ranting mood at the moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the hell is > JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask not > what America will do for you, but what together we can do for the freedom > of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project I > work on > > is a judgment call on how the project needs to progress. I'm saying > using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no more, no > > less"... well 'duh' but it doesn't make it "crystal clear". If I > knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I would > be > a > > pretty stupid person. On the same token, those who abuse global > variables > > think > > they are needed in their case, otherwise they would not be using them. > Why > > program something when it isn't needed? The fact is, global variables > are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a variable. > You > > > have procedural, modular, and global variables. Global variables > should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3476 bytes Desc: not available URL: From reische at mdh.org Fri Mar 14 14:37:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 14:37:01 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B18@NEWMAN_EXC> Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Fri Mar 14 14:54:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 14:54:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code References: <0FFC98AA5943D211A2E90000F87A5B48C86B18@NEWMAN_EXC> Message-ID: <011701c2ea6d$3b2f0fb0$6401a8c0@default> Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From reische at mdh.org Fri Mar 14 15:04:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 15:04:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B19@NEWMAN_EXC> Nope :-( Again - a blank results window where 10 lines should be.... I've got to skip out for the weekend, but I may take it home and mess with it there too. Thanks ! Brenda -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, March 14, 2003 3:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A97 - Apply filter to listbox via code Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 15:07:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 15:07:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A777@PKDWB01C.ad.sprint.com> hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:07:35 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:07:35 2003 Subject: [AccessD] A97 - Apply filter to listbox via code In-Reply-To: <011701c2ea6d$3b2f0fb0$6401a8c0@default> Message-ID: If that doesn't work either, I remember a similar situation where I used a function in the Like criteria in a query.. so the query didn't change (the actual sql) but the function returned a different string value which was placed within the *'s. Using the query this way as a source did work...as the query is run the stringvalue is entered by the function also giving you control over nulls or "" in your function. Eg. Query criteria would look something like this: Like * & MyStringFunction(any param) & * Hope this helps, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: vrijdag 14 maart 2003 22:04 To: accessd at databaseadvisors.com Subject: Re: [AccessD] A97 - Apply filter to listbox via code Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Mar 14 15:08:09 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 15:08:09 2003 Subject: [AccessD] OT directory folder as URL References: Message-ID: <3E724477.9000903@shaw.ca> Well in IE in place of http url You can use file://c:\MyDir\MySubdir Other odd forms of URL strings If you use the WebBrowser control there is a hidden XSL file applied by IE to an XML file that allows the expansion and contraction of the XML tree by pointing at the "+" and "-" images. So you may want to use your own XSL. The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL depending on the release version of XML you are using. If you want to see what it does, it can be retrieved in IE5 using the URL: Then view source res://msxml.dll/defaultss.xsl Jim Lawrence (AccessD) wrote: >Hi All: > >This is a little off topic. I have seen this done but have not been able to >duplicate it. How can an directory folder and drive letter be made from a >URL (web address)? > >TIA >Jim > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From wdhindman at bellsouth.net Fri Mar 14 15:15:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 15:15:00 2003 Subject: [AccessD] Using Global Connctions References: Message-ID: <002001c2ea6e$ce67b380$6101a8c0@amd2k512> ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the hell is > JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - ask > what you can do for your country. My fellow citizens of the world: ask not > what America will do for you, but what together we can do for the freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no more, no > > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using them. Why > > program something when it isn't needed? The fact is, global variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From reische at mdh.org Fri Mar 14 15:17:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 15:17:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B1A@NEWMAN_EXC> Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mar 14 15:27:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 15:27:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:34:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:34:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code In-Reply-To: <0FFC98AA5943D211A2E90000F87A5B48C86B1A@NEWMAN_EXC> Message-ID: Why don't you just refer to the form's input txtbox and forget about 'Like'? (There's no Like in your other sql) You do need to use the single qoutes and then it should work. where X = '" & form.txtbox & "'" Or could it be case sensitive since the T is capitalized? BN, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Reische, Brenda L. Sent: vrijdag 14 maart 2003 22:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:36:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:36:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Must be his period...;-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: vrijdag 14 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 15:45:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 15:45:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A7E4@PKDWB01C.ad.sprint.com> In this snip, I notice that a closing parenthesis is missing in the Where clause. Try removing the opening one or adding a closing one. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 1:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Fri Mar 14 15:45:34 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 15:45:34 2003 Subject: [AccessD] Using Global Connctions References: Message-ID: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> ...sheeesh! ...I'd forgotten that he has a new rugrat to occupy his time and energy these days ...no wonder he's rarely in a ranting mood anymore ...alas, AccessD without a JC rant ...it just won't be the same :((((( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, March 14, 2003 4:22 PM Subject: RE: [AccessD] Using Global Connctions > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 16:01:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 16:01:01 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: Message-ID: Tried searching the archives and couldn't find anything on this, was wondering if anyone knew of a good FE Updater that works with adp's? If there isn't one I'll probably try to update Ted Avery's but didn't want to re-invent the wheel. Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 16:01:39 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 16:01:39 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> References: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> Message-ID: <1047679253.3e72511546b06@hosea.qub.ac.uk> AccessD without a JC rant ...it just won't be the same :((((( But will sure be peaceful (<: Martin From jcolby at colbyconsulting.com Fri Mar 14 16:25:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 16:25:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Nope, just worried about the future. My two big clients wound down in December and January and I'm not making anywhere close to enough to pay the rent anymore. The economy isn't recovering, people are not only not hiring, they are still laying off. Not a good place to be. I need work if anyone has any! Top talent at reasonable prices ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Friday, March 14, 2003 4:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4096 bytes Desc: not available URL: From davesharpe2 at cox.net Fri Mar 14 17:04:01 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Fri Mar 14 17:04:01 2003 Subject: [AccessD] Check out what "Access 11" beta 2 gives you. References: Message-ID: <00ae01c2ea7d$ee34e250$1d270a44@bcs006137> I saw this at http://www.aadconsulting.com/news.html and thought that the group might have an interest Microsoft Office & Access Check out what "Access 11" beta 2 gives you. By Bill Ramos, Lead Program Manager, Microsoft Access and Excel http://www.advisor.com/doc/11854 -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Fri Mar 14 17:14:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri Mar 14 17:14:00 2003 Subject: [AccessD] Ted Avery Updater for ADP References: Message-ID: <002701c2ea7f$93370d40$b615010a@FHTAPIA> What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 14 17:33:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 17:33:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Message-ID: <034d01c2ea81$f76fdf60$2b4afccc@SusanOne> http://www.techrepublic.com/article.jhtml?id=r00620021204ssh01.htm&src=searc h ======This might be a tad unethical, but this article gives you an idea of when Access really is the best database -- might give you an edge on what the other guy's telling the decision makers. ;) I don't necessarily agree with Martin -- just because you have SQL Server isn't a good reason to go .adp, BUT if you have all the pieces and it's just a question of choice, why not? Susan H. > Chris > > Whats the application? How many users? etc all the usual stuff. Choice depends > on a lot of things. Does the customer need the power of SQL Server right now > or will they need it very soon? If they are already using SQL Server I would > go Access XP and ADPs. > > > Martin > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Mar 14 17:55:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 17:55:00 2003 Subject: [AccessD] For Chris -- article on SQL Server Desktop Message-ID: <038601c2ea85$1d676320$2b4afccc@SusanOne> Here are some more links with a little info that may help. Susan H. http://www.techrepublic.com/article.jhtml?id=r00620030121ssh01.htm&src=searc h http://www.techrepublic.com/article.jhtml?id=r00620030218ssh01.htm&src=searc h From chris at denverdb.com Fri Mar 14 18:34:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 18:34:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <034d01c2ea81$f76fdf60$2b4afccc@SusanOne> Message-ID: Thanks Susan, Chris -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, March 14, 2003 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.techrepublic.com/article.jhtml?id=r00620021204ssh01.htm&src=searc h ======This might be a tad unethical, but this article gives you an idea of when Access really is the best database -- might give you an edge on what the other guy's telling the decision makers. ;) I don't necessarily agree with Martin -- just because you have SQL Server isn't a good reason to go .adp, BUT if you have all the pieces and it's just a question of choice, why not? Susan H. > Chris > > Whats the application? How many users? etc all the usual stuff. Choice depends > on a lot of things. Does the customer need the power of SQL Server right now > or will they need it very soon? If they are already using SQL Server I would > go Access XP and ADPs. > > > Martin > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 18:43:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 18:43:00 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: <002701c2ea7f$93370d40$b615010a@FHTAPIA> Message-ID: Thanks Francisco, I'll download it and take a look. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, March 14, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Ted Avery Updater for ADP What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 19:37:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 19:37:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: Congratulations... Persistance wins everytime. If you should make it to this side of the pond, you and your family could travel for a couple of months and not have to stay in a hotel. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, March 14, 2003 10:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Mar 14 19:41:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 19:41:00 2003 Subject: [AccessD] VB.Net stuff Message-ID: I thought you folks might be interested in looking at some of the features that .net exposes. The following is a class directly from "Programming VB.net" by Francesco Balena. It is fascinating (to me anyway) as it clearly displays the usage of a whole slew of functionality built in to the .net environment. It was really an exercise in demonstrating the ability to add enumerators to any class (where appropriate) so that people using your class could use "for each" constructs with your classes. This class iterates a disk path and returns the file name of each file or directory in turn. Please let's not get in to a "it could have been so much simpler". I have no idea whether that is true, and really don't much care. In fact I don't even understand all that is happening here! I am simply showing the code so that anyone who is interested can see how the author uses built in classes such as IEnumerator, and the built in stack class of the Systems.Collection namespace. Seriously cool built in functionality ready to be built upon. I built a wrapper function: Module Module1 Function TestGetEnumerator(ByVal strRoot As String) As String Dim f As System.IO.FileInfo Dim str As String 'enumerate all files in strRoot directory tree For Each f In New FileTree(strRoot) str = str & f.FullName & vbCrLf Next TestGetEnumerator = str End Function End Module Which I then used in the OnOpen event of a form to return a string of all the files and directories in a given path (hard coded), which I then place into a text box on a form. What I want to do is have the function be the datasource for a combo or list but I couldn't figure that out and needed to move on. ;-) The result is an EXE which I could mail to you which opens the form and displays the file names. Of course I can just as easily use the file name to do some processing on that file, likewise the class could be modified to return any of the file attributes - size, created date etc. The EXE is ~10k but of course requires that you have the .net environment on your computer. Anyone that uses the Windows Update feature to keep their system up to date with all of the latest patches has probably been offered the ability to download and install the .net environment needed to run my 10k exe. Anyway, the class is as follows - all copyrights belong to their owners, not me. Public Class FileTree Implements IEnumerable 'The search Path Public ReadOnly DirPath As String 'The constructor Sub New(ByVal DirPath As String) Me.DirPath = DirPath End Sub 'Return an enumeraable object(an instance of the inner class) Function GetEnumerator() As IEnumerator _ Implements IEnumerable.GetEnumerator Return New FileTreeEnumerator(DirPath) End Function 'The IEnumerator private object Class FileTreeEnumerator Implements IEnumerator Dim DirPath As String 'This variable contains the Enumerator object for the file list 'in the dir being scanned Dim FileEnumerator As IEnumerator 'This variable contains the stack of the Enumerator objects 'for subdirs of all pending directories Dim DirEnumerators As New System.Collections.Stack() 'a simple constructor Sub New(ByVal DirPath As String) 'Save the dir path Me.DirPath = DirPath 'manually call the reset method Reset() End Sub Sub Reset() Implements IEnumerator.Reset 'The dir object that represents the root object Dim di As New System.IO.DirectoryInfo(DirPath) 'get the Enumerator object for the file list, and reset it FileEnumerator = di.GetFiles.GetEnumerator FileEnumerator.Reset() 'get the enumerator object for the subdirectory list Dim dirEnum As IEnumerator = di.GetDirectories.GetEnumerator dirEnum.Reset() 'push it onto the stack DirEnumerators.Push(dirEnum) End Sub Function MoveNext() As Boolean Implements IEnumerator.MoveNext 'simply delegate to the file enumerator object If FileEnumerator.MoveNext Then 'it returned true so we can exit Return True End If 'if there are no files in the current directory, check 'for another subdirectory in the cuurrent directory Dim dirEnum As IEnumerator = _ CType(DirEnumerators.Peek, IEnumerator) 'check whether current subdirectory enumerator has more items Do Until dirEnum.MoveNext 'There are no more subdirectories on this level 'so we must pop another element of the stack DirEnumerators.Pop() If DirEnumerators.Count = 0 Then 'return false if no more subdirectories to scan Return False End If 'get the current enumerator dirEnum = CType(DirEnumerators.Peek, IEnumerator) Loop 'We can create a DirectoryInfo. Dim di As System.IO.DirectoryInfo = _ CType(dirEnum.Current, System.IO.DirectoryInfo) 'Store the file enumerator and reset it FileEnumerator = di.GetFiles.GetEnumerator FileEnumerator.Reset() 'Get the enumerator for the subdir list 'and reset it dirEnum = di.GetDirectories.GetEnumerator dirEnum.Reset() 'push it onto the stack DirEnumerators.Push(dirEnum) 'recursive call to process the file enumerator Return Me.MoveNext End Function 'The current property simply delegates to FileEnumerator.Current ReadOnly Property Current() As Object Implements IEnumerator.Current Get Return FileEnumerator.Current End Get End Property End Class End Class John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From accessd at shaw.ca Fri Mar 14 20:29:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 20:29:01 2003 Subject: [AccessD] OT directory folder as URL In-Reply-To: <3E724477.9000903@shaw.ca> Message-ID: Hi Marty: Thanks for that information. :-) What I was actually thinking of when asking the question was how a drive letter can be translated into a html address. For example I installed a small program on a computer that added a drive letter, say 'X'. The new drive now showed in the file explorer and could be accessed from any program as any other drive. The interesting thing was when the drive was selected it actually opening an http-webdav connection to a remote server. Now the $100.00 question. It should be simple attach a remote site to a drive letter...but how? Unfortunately, I can not find the little program that could create the remote drives or an evening of hacking would sate the curiosity. > res://msxml.dll/defaultss.xsl Very fascinating...worthy of further research. Now where and when exactly does the web browser actually use this XSL code? Again Thank you... Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, March 14, 2003 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT directory folder as URL Well in IE in place of http url You can use file://c:\MyDir\MySubdir Other odd forms of URL strings If you use the WebBrowser control there is a hidden XSL file applied by IE to an XML file that allows the expansion and contraction of the XML tree by pointing at the "+" and "-" images. So you may want to use your own XSL. The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL depending on the release version of XML you are using. If you want to see what it does, it can be retrieved in IE5 using the URL: Then view source res://msxml.dll/defaultss.xsl Jim Lawrence (AccessD) wrote: >Hi All: > >This is a little off topic. I have seen this done but have not been able to >duplicate it. How can an directory folder and drive letter be made from a >URL (web address)? > >TIA >Jim > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 20:48:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 20:48:00 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: <002701c2ea7f$93370d40$b615010a@FHTAPIA> Message-ID: Francisco: Excellent work. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, March 14, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Ted Avery Updater for ADP What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Sat Mar 15 01:30:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sat Mar 15 01:30:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Mmzzz sorry to hear that. if it's any comfort to you, business is very slow here too, many of my colleagues (about 50) have been laid of already and the market is still fragile. I am lucky to be in a job right now but that doesn't make the situation any better since our company in the whole isn't doing very well so ... Hope you'll find some work soon! > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 14 maart 2003 23:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down in > December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they are > still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com --- Message is tested virus free Virus Database (VPS): 14-3-2003 Tested on: 15-3-2003 8:23:24 (c) 2000-2003 ALWIL Software. http://www.avast.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4648 bytes Desc: not available URL: From accessd at shaw.ca Sat Mar 15 01:31:27 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat Mar 15 01:31:27 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Hi John: A friend is trying to talk me in to going to Toronto, Arthur's country. he says there is lots of work there. He just got on full-time at a place after only two weeks. He says it is the hottest place in North America. If things ever dried up here might take him up on it. Have a couple hundred relatives back there. (wife is Portuguese.) Just a thought. Jim > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: Friday, March 14, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down in > December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they are > still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4484 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 02:22:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 02:22:01 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> I didnt say that I said Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. If I have to develop an interface to SQL Server Its an ADP. End of day it has to be the right tool for the job. Martin > I don't necessarily agree with Martin -- just because you have SQL > Server > isn't a good reason to go .adp, BUT if you have all the pieces and it's > just > a question of choice, why not? > > Susan H. > > > > Chris > > > > Whats the application? How many users? etc all the usual stuff. > Choice > depends > > on a lot of things. Does the customer need the power of SQL Server > right > now > > or will they need it very soon? If they are already using SQL Server > I > would > > go Access XP and ADPs. > > > > > > Martin > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sat Mar 15 02:32:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 15 02:32:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> Message-ID: <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> If they are already using SQL Server I would go Access XP and ADPs. Susan H. > I didnt say that I said > > > Whats the application? How many users? etc all the usual stuff. > Choice depends on a lot of things. Does the customer need the power of SQL > Server right now or will they need it very soon? If they are already using SQL > Server I would go Access XP and ADPs. > > If I have to develop an interface to SQL Server Its an ADP. > > End of day it has to be the right tool for the job. > > Martin > > > > > I don't necessarily agree with Martin -- just because you have SQL > > Server > > isn't a good reason to go .adp, BUT if you have all the pieces and it's > > just > > a question of choice, why not? > > > > Susan H. > > > > > > > Chris > > > > > > Whats the application? How many users? etc all the usual stuff. > > Choice > > depends > > > on a lot of things. Does the customer need the power of SQL Server > > right > > now > > > or will they need it very soon? If they are already using SQL Server > > I > > would > > > go Access XP and ADPs. > > > > > > > > > Martin > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Sat Mar 15 02:44:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 15 02:44:01 2003 Subject: [AccessD] OT directory folder as URL References: Message-ID: <3E72E7DC.4030408@shaw.ca> WebDav or as MS calls it DAV (Direct Author Versioning) allows you to do this. It is an an extension to HTTP protocols. WebDav sits on top of IIS 5 or PWS or Apache on Linux box.. SharePoint Portal uses it extensively, so does MS Exchange. To search a Public Web File Directory (for a local or remote file) setup by WebDav, you use XMLhttp, through a request like below: The xmlhttp request object uses methods like SEARCH or PROPFIND rather than GET and POST. Select "DAV:displayname" FROM SCOPE() For a better VB code example using xmlhttp see: http://support.microsoft.com/default.aspx?scid=kb;en-us;291171 HOWTO: List Public Folders by Using WebDAV Ok how it hooks to Windows explorer as a drive I am not sure but there is a program called WebDev that does something like this at http://www.dmcsoft.com/webdev/download/index.php3 There is a DAV mail list at www.webdav.org The second question is easy when you double click an XML file in Windows explorer It is displayed in IE after being transformed by the XSL or XSLT file defaultss.xsl into HTML script allowing you to click on "+" symbols to shrink or expand the tree. View the html source of xml file, displayed in IE and the original xml file in notepad to see difference. The code to do this your self Dim source As New Msxml2.DOMDocument40 Dim stylesheet As New Msxml2.DOMDocument40 ' Load data. from your xml file source.async = False source.Load "books.xml" ' Load style sheet. 'save the viewable html source into a notepad file after typing in url into IE ' res://msxml.dll/defaultss.xsl stylesheet.async = False stylesheet.Load "c:\xmlfiles\defaultss.xsl" ' Do the XSLT transform and save html into a string or display or save to an .html file MsgBox source.transformNode(stylesheet) Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for that information. :-) > >What I was actually thinking of when asking the question was how a drive >letter can be translated into a html address. For example I installed a >small program on a computer that added a drive letter, say 'X'. The new >drive now showed in the file explorer and could be accessed from any program >as any other drive. The interesting thing was when the drive was selected it >actually opening an http-webdav connection to a remote server. > >Now the $100.00 question. It should be simple attach a remote site to a >drive letter...but how? Unfortunately, I can not find the little program >that could create the remote drives or an evening of hacking would sate the >curiosity. > > > >>res://msxml.dll/defaultss.xsl >> >> > >Very fascinating...worthy of further research. Now where and when exactly >does the web browser actually use this XSL code? > >Again Thank you... > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, March 14, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT directory folder as URL > > >Well in IE in place of http url >You can use > >file://c:\MyDir\MySubdir > >Other odd forms of URL strings >If you use the WebBrowser control there is a hidden XSL file applied by IE >to an XML file that allows the expansion and contraction of the XML tree >by pointing at the "+" and "-" images. So you may want to use your own XSL. > The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL >depending on the release version of XML you are using. If you want to see >what it does, it can be retrieved in IE5 using the URL: Then view source > > res://msxml.dll/defaultss.xsl > > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>This is a little off topic. I have seen this done but have not been able to >>duplicate it. How can an directory folder and drive letter be made from a >>URL (web address)? >> >>TIA >>Jim >> >> >> From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 03:25:13 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 03:25:13 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> References: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> Message-ID: <1047720292.3e72f1650236a@hosea.qub.ac.uk> You should be asleep Martin Quoting Susan Harkins : > If they are already using SQL > Server I would go Access XP and ADPs. > > Susan H. > > > > I didnt say that I said > > > > > > Whats the application? How many users? etc all the usual stuff. > > Choice depends on a lot of things. Does the customer need the power of > SQL > > Server right now or will they need it very soon? If they are already > using > SQL > > Server I would go Access XP and ADPs. > > > > If I have to develop an interface to SQL Server Its an ADP. > > > > End of day it has to be the right tool for the job. > > > > Martin > > > > > > > > > I don't necessarily agree with Martin -- just because you have SQL > > > Server > > > isn't a good reason to go .adp, BUT if you have all the pieces and > it's > > > just > > > a question of choice, why not? > > > > > > Susan H. > > > > > > > > > > Chris > > > > > > > > Whats the application? How many users? etc all the usual stuff. > > > Choice > > > depends > > > > on a lot of things. Does the customer need the power of SQL > Server > > > right > > > now > > > > or will they need it very soon? If they are already using SQL > Server > > > I > > > would > > > > go Access XP and ADPs. > > > > > > > > > > > > Martin > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Sat Mar 15 06:49:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 06:49:01 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> I need to make a table that lists the name of the engineer and their qualifications. To do this should I make a table of qualifications and another table of engineers - then how would I brink them together? Or have a list of qualifications and link to an engineer table? tblQual (lists the qualifications and brings in the eng from the engineer table). Senior eng, Me Senior eng, You Reviewer, Me The final result they are wanting is if they select a qualification, it will list all the engineers with the selected qualification. Also, if they select an engineer, it will show what they are qualified to do. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:05:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:05:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> Message-ID: <1047733496.3e7324f8d14bf@hosea.qub.ac.uk> Create a Link Table QualificationHeld This is used to link the Employee to teh Qual Martin Quoting "Hollis,Virginia" : > I need to make a table that lists the name of the engineer and their > qualifications. To do this should I make a table of qualifications and > another table of engineers - then how would I brink them together? Or > have a > list of qualifications and link to an engineer table? > > tblQual (lists the qualifications and brings in the eng from the > engineer > table). > Senior eng, Me > Senior eng, You > Reviewer, Me > > The final result they are wanting is if they select a qualification, it > will > list all the engineers with the selected qualification. Also, if they > select > an engineer, it will show what they are qualified to do. > > Virginia > From HollisVJ at pgdp.usec.com Sat Mar 15 07:13:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:13:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> So even though I will have duplicate qualifications listed this is OK? Senior Eng, eng name 1 Senior Eng, eng name 2 Reviewer, eng name 1 Reviewer, eng name 3 -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Saturday, March 15, 2003 7:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Create a Link Table QualificationHeld This is used to link the Employee to teh Qual Martin Quoting "Hollis,Virginia" : > I need to make a table that lists the name of the engineer and their > qualifications. To do this should I make a table of qualifications and > another table of engineers - then how would I brink them together? Or > have a > list of qualifications and link to an engineer table? > > tblQual (lists the qualifications and brings in the eng from the > engineer > table). > Senior eng, Me > Senior eng, You > Reviewer, Me > > The final result they are wanting is if they select a qualification, it > will > list all the engineers with the selected qualification. Also, if they > select > an engineer, it will show what they are qualified to do. > > Virginia > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 15 07:13:23 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 15 07:13:23 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: <00de01c2eaf4$98375c80$8e01a8c0@Rock> Your lucky friend. I haven't found anything for myself except one web contract. I'm still beating the bushes. > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: March 15, 2003 2:32 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Hi John: > > A friend is trying to talk me in to going to Toronto, Arthur's country. he > says there is lots of work there. He just got on full-time at a place > after only two weeks. He says it is the hottest place in North America. > > If things ever dried up here might take him up on it. Have a couple > hundred relatives back there. (wife is Portuguese.) > > Just a thought. > Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: Friday, March 14, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down > in December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they > are still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too > exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for > you - > ask what you can do for your country. My fellow citizens of the > world: > ask not what America will do for you, but what together we can do > for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for > you > > > - > ask > > what you can do for your country. My fellow citizens of the world: > ask > > > not what America will do for you, but what together we can do for > the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any > project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm > saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal > clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), > I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global > variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5264 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:28:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:28:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> Message-ID: <1047734854.3e732a46b2954@hosea.qub.ac.uk> You will not have duplicates Table one stores employees Table Two stores Qualifications Table three brings then together as Qualification held. A simple query will tell you who holds which Qual. Why do you need another table? Martin Quoting "Hollis,Virginia" : > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications > and > > another table of engineers - then how would I brink them together? > Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, > it > > will > > list all the engineers with the selected qualification. Also, if > they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:30:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:30:01 2003 Subject: [AccessD] Web Service In-Reply-To: <00de01c2eaf4$98375c80$8e01a8c0@Rock> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> Message-ID: <1047734961.3e732ab12033e@hosea.qub.ac.uk> Anyone know the address of a demo web service I can link to in an application. Martin From Lembit.Soobik at t-online.de Sat Mar 15 07:35:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat Mar 15 07:35:01 2003 Subject: [AccessD] Matching Names & Qualifications References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> Message-ID: <0a5d01c2eaf7$e07aa170$0300a8c0@S856> Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Sat Mar 15 07:40:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:40:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFB@exchange.pgdp> Not another table, I guess the Qualifications Held table is what has me confused. I have Table one for Engineer (EngId, Eng) Table two for Quals (QualID, Qual) Table three (EngID & QualID)????? Or would it be Qual & EngID? -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Saturday, March 15, 2003 7:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Matching Names & Qualifications You will not have duplicates Table one stores employees Table Two stores Qualifications Table three brings then together as Qualification held. A simple query will tell you who holds which Qual. Why do you need another table? Martin Quoting "Hollis,Virginia" : > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications > and > > another table of engineers - then how would I brink them together? > Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, > it > > will > > list all the engineers with the selected qualification. Also, if > they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Sat Mar 15 07:52:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:52:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFC@exchange.pgdp> Ohhh, Got It! -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Saturday, March 15, 2003 7:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 15 07:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 15 07:58:00 2003 Subject: [AccessD] Web Service In-Reply-To: <1047734961.3e732ab12033e@hosea.qub.ac.uk> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> Message-ID: <17416728884.20030315145747@cactus.dk> Hi Martin At http://www.salcentral.com you can Browse among numerous. Some are free. You need to register but that is free. You can also join a mailing list where new services are published weekly. /gustav > Anyone know the address of a demo web service I can link to in an application. > Martin From HollisVJ at pgdp.usec.com Sat Mar 15 08:04:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 08:04:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFD@exchange.pgdp> Now I can bet you knew I was going to ask this question next :-) To make a form where they can select the Engineer so it will show all their qualifications. I make a combo box from tblEngineer (EngineerID & Engineer:FirstName&" "&LastName) A subform with: SELECT DISTINCTROW tbl_Qual.Qual, tbl_Qual.QualID, tbl_Engineer.EngineerID FROM tbl_Qual INNER JOIN (tbl_Engineer INNER JOIN tbl_EngQual ON tbl_Engineer.EngineerID = tbl_EngQual.EngineerID) ON tbl_Qual.QualID = tbl_EngQual.QualID; Hopefully when I select the Engineer from the combobox it will list all the Qualifications for that engineer in the subform. Virginia -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Saturday, March 15, 2003 7:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Sat Mar 15 09:01:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 09:01:01 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFF@exchange.pgdp> Never mind, I got the form working. Just one last question. I have an unbound combo box that lists the Engineers, then afterUpdate it shows the qualifications for the selected Engineer. Question: When the form opens the Engineer combobox is blank but the qualifications subform lists the qualifications. Should the form & subform open blank? How can I have the form open to a blank record? Or at least the first engineer & their qualifications. Virginia From DWUTKA at marlow.com Sat Mar 15 09:14:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 15 09:14:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> It's not strange. The method you had checks to see what the last object in the Forms collection is. As soon as the form is opened as it's own form, then all instances show up as being non-subforms. Drew You have a main form with your MC as a subform. You then open form MC as a main form and then the check fails? Strange. /gustav From andy at minstersystems.co.uk Sat Mar 15 10:38:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 15 10:38:01 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFF@exchange.pgdp> Message-ID: <003201c2eb10$cb313900$b274d0d5@andypc> Virginia How have you done the subform? Are you using Master and Child linking? If so is the main form bound to the Engineers table? Or is the subform bound to a query which has a criteria that looks at the combo on the main form? If you can describe how you've done it I/we can help more easily. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 15:01 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Never mind, I got the form working. > > Just one last question. > > I have an unbound combo box that lists the Engineers, then > afterUpdate it shows the qualifications for the selected Engineer. > > Question: When the form opens the Engineer combobox is blank > but the qualifications subform lists the qualifications. > Should the form & subform open blank? How can I have the form > open to a blank record? Or at least the first engineer & > their qualifications. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From HollisVJ at pgdp.usec.com Sat Mar 15 10:52:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 10:52:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF03@exchange.pgdp> Note: Changed Engineer to Evaluator. Master & Child of the subform linked on EvaluatorID Subform: SELECT tbl_EvalQual.EvalQualID, tbl_EvalQual.QualID, tbl_EvalQual.EvaluatorID, tbl_EvalQual.DateQual FROM tbl_Qual INNER JOIN tbl_EvalQual ON tbl_Qual.QualID = tbl_EvalQual.QualID ORDER BY tbl_Qual.Qual; Main Form: tbl_Evaluator Combo for the Evaluator on Main form: SELECT DISTINCTROW tbl_Evaluator.EvaluatorID, [FirstName] & " " & [Lastname] AS Evaluator FROM tbl_Evaluator ORDER BY [FirstName] & " " & [Lastname]; I also did the same thing as above on another form to select the Qualifications and list the Evaluators that match the selected qualification. -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Saturday, March 15, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Matching Names & Qualifications Virginia How have you done the subform? Are you using Master and Child linking? If so is the main form bound to the Engineers table? Or is the subform bound to a query which has a criteria that looks at the combo on the main form? If you can describe how you've done it I/we can help more easily. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 15:01 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Never mind, I got the form working. > > Just one last question. > > I have an unbound combo box that lists the Engineers, then > afterUpdate it shows the qualifications for the selected Engineer. > > Question: When the form opens the Engineer combobox is blank > but the qualifications subform lists the qualifications. > Should the form & subform open blank? How can I have the form > open to a blank record? Or at least the first engineer & > their qualifications. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Mar 15 11:04:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat Mar 15 11:04:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Message-ID: Mark, I also use globals for the db connection. This is a case where the connection is specific, a penalty is paid for creating / deleting it, and it is needed all over the app. The connection is not something that is going to be updated (written to) by pieces of the application, it is going to be created once and then used all over. That is a good candidate for a global. Globals tend to cause problems when they are *updated* from all over the place, and the reason is that is quite difficult to track down who is doing the updating when it is incorrectly updated. If for example a serial port is opened and closed by 10 different functions, one function tries to use the serial port and it is closed. Who closed it? It's supposed to be opened, but some process closed it unexpectedly. These kinds of problems can be a real bear to track down and fix. It becomes a bigger problem if the system is written and maintained by a team of programmers where nobody knows the whole story. Globals by definition are available to anyone at any time. Scope exists for a reason. If a variable is only used by a specific function, then it's variables have no business being global to the program (or even the module). If a variable is only used by code inside an instance of a class but needs to be accessed by several functions inside the class, then it should be defined inside the class (in the header) as a PRIVATE variable. Thus only code inside the class can modify the variable. If a variable needs to be shared by many functions inside of a module, but only these functions modify the variable, then the variable should be PRIVATE to that module. By making any of these variables truly Global to the project, you end up with things being (able to be) set by code that has no business setting the variable. On the other hand, if as in your example, a database connection is needed, and a function calls a function which calls a function, which needs that connection, why pass the connection through 3 functions that don't even need the connection simply so that the fourth function that does need it can have access to the connection? In a case like this, I tend to make the connection a private variable inside a module, with a function that initializes the variable when the db opens, and then define a function that READS the connection variable and returns the value. This in effect makes it read only. Anyone can call the function that gets the value, but since the variable is PRIVATE to the module, no one outside the module can write to it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 14, 2003 12:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions Hello All, I was not aware that a previous debate (sounds a little heated) had been already carried out. Sorry for duplicating the discussion. In the last few emails, Marcus was the only one that explicitly stated that he likes the idea of using Globals for a db connection. So leaving aside passing around an order nunber or a customer id as a global (which I would never even consider), what do you guys do to hand around a database connection? Do you use Globals or do you make the connction each time or do you use some kind of class. Any sample code would be interesting to read. What I do is have the following code in a module ' This will be the global connection that we will share, we open it once only and share it throughout the applications life Global gccnn As New ADODB.Connection Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data Source=PC1" and then in the first form_load I have ' Give it a connect string gccnn.ConnectionString = gcstrConStr ' And make the connection gccnn.Open What do you guys think of this strategy, should I use a class to pass it around. And if I am not using a class, do you think that it is a little bit untidy or is downright bad practice. Again, I am just curious what the rest of the world is doing in their apps. Thanks Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3908 bytes Desc: not available URL: From andy at minstersystems.co.uk Sat Mar 15 11:07:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 15 11:07:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF03@exchange.pgdp> Message-ID: <003301c2eb14$eedc8d60$b274d0d5@andypc> OK, I'm still not 100% clear but I'm guessing that the main form is bound to your tbl_Evaluator and your AfterUpdate on the unbound combo moves you to the right record. At that point Access sorts out the subform through the Master and Child link. If this is the case then when the form loads Access automatically goes to the first tbl_Evaluator record in whatever sequence the form is bound to, and the subform will display that evaluator's qualifications. What you could do to prevent this is put some code in the OnOpen of the main form which goes to a non-existent record and then requery the subform. If you're using Autonumbers for the EvaluatorID (of course you are) then go to record with an id of -1. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 16:51 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Note: Changed Engineer to Evaluator. > > > Master & Child of the subform linked on EvaluatorID > > Subform: > SELECT tbl_EvalQual.EvalQualID, tbl_EvalQual.QualID, > tbl_EvalQual.EvaluatorID, tbl_EvalQual.DateQual FROM tbl_Qual > INNER JOIN tbl_EvalQual ON tbl_Qual.QualID = > tbl_EvalQual.QualID ORDER BY tbl_Qual.Qual; > > Main Form: > tbl_Evaluator > > Combo for the Evaluator on Main form: > SELECT DISTINCTROW tbl_Evaluator.EvaluatorID, [FirstName] & " > " & [Lastname] AS Evaluator FROM tbl_Evaluator ORDER BY > [FirstName] & " " & [Lastname]; > > I also did the same thing as above on another form to select > the Qualifications and list the Evaluators that match the > selected qualification. > > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Saturday, March 15, 2003 10:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Matching Names & Qualifications > > > Virginia > How have you done the subform? Are you using Master and Child > linking? If so is the main form bound to the Engineers table? > Or is the subform bound to a query which has a criteria that > looks at the combo on the main form? If you can describe how > you've done it I/we can help more easily. > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: 15 March 2003 15:01 > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Matching Names & Qualifications > > > > > > Never mind, I got the form working. > > > > Just one last question. > > > > I have an unbound combo box that lists the Engineers, then > > afterUpdate it shows the qualifications for the selected Engineer. > > > > Question: When the form opens the Engineer combobox is blank > > but the qualifications subform lists the qualifications. > > Should the form & subform open blank? How can I have the form > > open to a blank record? Or at least the first engineer & > > their qualifications. > > > > Virginia > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From martyconnelly at shaw.ca Sat Mar 15 13:55:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 15 13:55:01 2003 Subject: [AccessD] Web Service References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> <17416728884.20030315145747@cactus.dk> Message-ID: <3E73850B.8030604@shaw.ca> You can try http://www.xmethods.com/ Some WebServices use either RPC or Document encoding on the SOAP server and so there are are Interop problems with older SOAP client toolkits and older Web Service Soap Servers which didn't implement them properly. So you may have to fiddle with some of them using different toolkits like MS or PocketSoap or IBM WebLogic. . For brief explanation see below : Document style is supposed to scale better. This one is good for Arguments, especially for those who didn't read Section 5 of W3C Soap Spec. http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html The BabelFish translation web service should work as described in XMethods site. Its been around as a standard for 2 years. Gustav Brock wrote: >Hi Martin > >At > > http://www.salcentral.com > >you can Browse among numerous. Some are free. >You need to register but that is free. > >You can also join a mailing list where new services are published >weekly. > >/gustav > > > > >>Anyone know the address of a demo web service I can link to in an application. >> >> > > > >>Martin >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From mmmtbig at bellsouth.net Sat Mar 15 14:09:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sat Mar 15 14:09:00 2003 Subject: [AccessD] Testing Please Ignore Message-ID: <002a01c2e717$7a88b980$6501a8c0@tbig3> Testing 3/10 10:12am -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Sat Mar 15 14:09:20 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Sat Mar 15 14:09:20 2003 Subject: [AccessD] Active Reports for Visual Basic 6 References: <20030314094212.EMGX5263.fep04-svc.ttys.com@localhost> Message-ID: <001001c2ea38$a208f780$c8c31344@tomvideo> You don't say what your backend is. If it's Access, test it directly in access. If it's Sql Server test it in an ADP or in Enterprise manager's Tools/Sql analizer. I've used version 1 and like it. I really like being able to build the recordset in the calling routine and pass it whole to the report. No, scratch that. I love it! Tom ----- Original Message ----- From: To: ; Sent: Friday, March 14, 2003 1:42 AM Subject: [AccessD] Active Reports for Visual Basic 6 > To all, > > Has anyone had any experience with Active Reports v2.0 for Visual Basic, if so I wondered if someone could help me with somthing (bearing in mind I only started using it yesterday). I have built a report using the ADO connector and I need it to buils the recordset on the fly. So I am trying to use the following method..... > > repPersonnelByOffice.dcRptData.Recordset = "SELECT * FROM [tblPersonnel] WHERE [FinishDate] Is Null ORDER BY [Office], [Surname]" > > But I get the error Type Mismatch and the whole line gets highlighted when I click debug. Now I can't see anything wrong with this, can anyone point out my mistakes please....... > > Thanks in advance. > > Paul Hartland > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Mar 15 14:14:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 15 14:14:00 2003 Subject: [AccessD] Testing Please Ignore References: <002a01c2e717$7a88b980$6501a8c0@tbig3> Message-ID: <001901c2eb2f$77547850$6101a8c0@amd2k512> Message...not a chance Myke :) ...are you posting directly through BellSouth or through Drew's SMPT? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Myke Myers To: accessd at databaseadvisors.com Sent: Monday, March 10, 2003 10:12 AM Subject: [AccessD] Testing Please Ignore Testing 3/10 10:12am -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 15 19:35:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat Mar 15 19:35:00 2003 Subject: [AccessD] OT directory folder as URL In-Reply-To: <3E72E7DC.4030408@shaw.ca> Message-ID: Hi Marty: Many thanks...this will get me on the correct path. :-) Much appreciated! Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Saturday, March 15, 2003 12:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT directory folder as URL WebDav or as MS calls it DAV (Direct Author Versioning) allows you to do this. It is an an extension to HTTP protocols. WebDav sits on top of IIS 5 or PWS or Apache on Linux box.. SharePoint Portal uses it extensively, so does MS Exchange. To search a Public Web File Directory (for a local or remote file) setup by WebDav, you use XMLhttp, through a request like below: The xmlhttp request object uses methods like SEARCH or PROPFIND rather than GET and POST. Select "DAV:displayname" FROM SCOPE() For a better VB code example using xmlhttp see: http://support.microsoft.com/default.aspx?scid=kb;en-us;291171 HOWTO: List Public Folders by Using WebDAV Ok how it hooks to Windows explorer as a drive I am not sure but there is a program called WebDev that does something like this at http://www.dmcsoft.com/webdev/download/index.php3 There is a DAV mail list at www.webdav.org The second question is easy when you double click an XML file in Windows explorer It is displayed in IE after being transformed by the XSL or XSLT file defaultss.xsl into HTML script allowing you to click on "+" symbols to shrink or expand the tree. View the html source of xml file, displayed in IE and the original xml file in notepad to see difference. The code to do this your self Dim source As New Msxml2.DOMDocument40 Dim stylesheet As New Msxml2.DOMDocument40 ' Load data. from your xml file source.async = False source.Load "books.xml" ' Load style sheet. 'save the viewable html source into a notepad file after typing in url into IE ' res://msxml.dll/defaultss.xsl stylesheet.async = False stylesheet.Load "c:\xmlfiles\defaultss.xsl" ' Do the XSLT transform and save html into a string or display or save to an .html file MsgBox source.transformNode(stylesheet) Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for that information. :-) > >What I was actually thinking of when asking the question was how a drive >letter can be translated into a html address. For example I installed a >small program on a computer that added a drive letter, say 'X'. The new >drive now showed in the file explorer and could be accessed from any program >as any other drive. The interesting thing was when the drive was selected it >actually opening an http-webdav connection to a remote server. > >Now the $100.00 question. It should be simple attach a remote site to a >drive letter...but how? Unfortunately, I can not find the little program >that could create the remote drives or an evening of hacking would sate the >curiosity. > > > >>res://msxml.dll/defaultss.xsl >> >> > >Very fascinating...worthy of further research. Now where and when exactly >does the web browser actually use this XSL code? > >Again Thank you... > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, March 14, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT directory folder as URL > > >Well in IE in place of http url >You can use > >file://c:\MyDir\MySubdir > >Other odd forms of URL strings >If you use the WebBrowser control there is a hidden XSL file applied by IE >to an XML file that allows the expansion and contraction of the XML tree >by pointing at the "+" and "-" images. So you may want to use your own XSL. > The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL >depending on the release version of XML you are using. If you want to see >what it does, it can be retrieved in IE5 using the URL: Then view source > > res://msxml.dll/defaultss.xsl > > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>This is a little off topic. I have seen this done but have not been able to >>duplicate it. How can an directory folder and drive letter be made from a >>URL (web address)? >> >>TIA >>Jim >> >> >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Mar 15 23:05:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 15 23:05:00 2003 Subject: [AccessD] Shared Access Calendar/ToDo Lists Message-ID: <000501c2eb79$abbb1550$6101a8c0@amd2k512> ...anyone out there know of a superior shared calendaring/To-Do list written in Access without using any third party controls? ...I need to implement such functionality across a 8-10 member workgroup within an existing AXP mdb ...preferably using only VBA/APIs ...and of course, don't want to reinvent the wheel if possible. William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 From DWUTKA at marlow.com Sun Mar 16 00:22:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 16 00:22:01 2003 Subject: [AccessD] Shared Access Calendar/ToDo Lists Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822CE@main2.marlow.com> Sorry, I'm a month or two away from having something like that available. Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/15/03 11:05 PM Subject: [AccessD] Shared Access Calendar/ToDo Lists ...anyone out there know of a superior shared calendaring/To-Do list written in Access without using any third party controls? ...I need to implement such functionality across a 8-10 member workgroup within an existing AXP mdb ...preferably using only VBA/APIs ...and of course, don't want to reinvent the wheel if possible. William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Mar 16 03:24:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 16 03:24:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> Message-ID: <157879654.20030316102314@cactus.dk> Hi Drew > It's not strange. The method you had checks to see what the last object in > the Forms collection is. As soon as the form is opened as it's own form, > then all instances show up as being non-subforms. No Drew, the first instance - where the form IS a subform - still reports itself as a subform here. The strange part is that this apparently does not happen to you ... /gustav > You have a main form with your MC as a subform. You then open form MC > as a main form and then the check fails? Strange. From mmmtbig at bellsouth.net Sun Mar 16 08:06:01 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 08:06:01 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <000901c2ebc5$1e6b5330$6501a8c0@tbig3> Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Sun Mar 16 09:48:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 16 09:48:01 2003 Subject: [AccessD] OpenSchema not working as expecting with query Message-ID: <007701c2ebd3$50328470$cde6ffcc@SusanOne> I'm using the following procedure to return the Description property from a table. I tried to run it using a query, but it doesn't work -- Description property returns Null, which is interesting -- not an error, but Null, even when there's a string. Anybody know more about this? I'm guessing OpenSchema doesn't return a query's Description property, but then, I would expect the rst!Description reference to return an error, but it doesn't. Even with On Error commented out, it still returns Null. Susan H. Public Function ReturnDescription(fldname As String) As String Dim rst As ADODB.Recordset Dim fld As ADODB.Field Set rst = CurrentProject.Connection. _ OpenSchema(adSchemaColumns, _ Array(Empty, Empty, "Customers")) Do Until rst.EOF For Each fld In rst.Fields On Error Resume Next If rst!COLUMN_NAME = fldname Then ReturnDescription = Nz( _ rst!Description, "") End If Next fld rst.MoveNext Loop Set rst = Nothing Set fld = Nothing End Function From martyconnelly at shaw.ca Sun Mar 16 13:24:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 16 13:24:01 2003 Subject: [AccessD] OpenSchema not working as expecting with query References: <007701c2ebd3$50328470$cde6ffcc@SusanOne> Message-ID: <3E74CF29.9040501@shaw.ca> I didn't know you could set a Queries field description property? Here is a different method using ADO 2.7 ADOX Catalog ?GetFieldDesc_ADO("Customers","ContactName") No description returns a null ?GetFieldDesc_ADO("Customers","Phone") returns a description Function GetFieldDesc_ADO(ByVal MyTableName As String, _ ByVal MyFieldName As String) Dim MyDB As New ADOX.Catalog Dim MyTable As ADOX.Table Dim MyField As ADOX.Column Dim oConnection As ADODB.Connection Dim sConnStr As String On Error GoTo Err_GetFieldDescription 'Access 2000 'MyDB.ActiveConnection = CurrentProject.Connection 'access 97 method 'Access XP Jet 4 version of northwind sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Program Files\Microsoft Office XP\Office10\Samples\Northwind.mdb;" & _ "User Id=admin;" & "Password=" ' Create and Open the Connection object. Set oConnection = New ADODB.Connection oConnection.CursorLocation = adUseClient oConnection.Open sConnStr MyDB.ActiveConnection = oConnection ' end access 97 Set MyTable = MyDB.Tables(MyTableName) GetFieldDesc_ADO = MyTable.Columns(MyFieldName).Properties("Description") Set MyDB = Nothing Bye_GetFieldDescription: Exit Function Err_GetFieldDescription: Beep MsgBox Err.Description, vbExclamation GetFieldDesc_ADO = Null Resume Bye_GetFieldDescription End Function Susan Harkins wrote: >I'm using the following procedure to return the Description property from a >table. I tried to run it using a query, but it doesn't work -- Description >property returns Null, which is interesting -- not an error, but Null, even >when there's a string. Anybody know more about this? I'm guessing OpenSchema >doesn't return a query's Description property, but then, I would expect the >rst!Description reference to return an error, but it doesn't. Even with On >Error commented out, it still returns Null. > >Susan H. > > > >Public Function ReturnDescription(fldname As String) As String >Dim rst As ADODB.Recordset >Dim fld As ADODB.Field >Set rst = CurrentProject.Connection. _ > OpenSchema(adSchemaColumns, _ > Array(Empty, Empty, "Customers")) > Do Until rst.EOF > For Each fld In rst.Fields > On Error Resume Next > If rst!COLUMN_NAME = fldname Then > ReturnDescription = Nz( _ > rst!Description, "") > End If > Next fld > rst.MoveNext > Loop >Set rst = Nothing >Set fld = Nothing >End Function > > > > > From harkins at iglou.com Sun Mar 16 13:47:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 16 13:47:00 2003 Subject: [AccessD] OpenSchema not working as expecting with query References: <007701c2ebd3$50328470$cde6ffcc@SusanOne> <3E74CF29.9040501@shaw.ca> Message-ID: <013f01c2ebf4$c0aaecd0$ece6ffcc@SusanOne> I didn't either until recently. :) If you set the property at the query-level, it'll override the table-level property in new objects. Thanks for the ADOX code! Susan H. ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 16, 2003 2:23 PM Subject: Re: [AccessD] OpenSchema not working as expecting with query > > I didn't know you could set a Queries field description property? > > Here is a different method using ADO 2.7 ADOX Catalog > ?GetFieldDesc_ADO("Customers","ContactName") > No description returns a null > > ?GetFieldDesc_ADO("Customers","Phone") > returns a description > > Function GetFieldDesc_ADO(ByVal MyTableName As String, _ > ByVal MyFieldName As String) > > Dim MyDB As New ADOX.Catalog > Dim MyTable As ADOX.Table > Dim MyField As ADOX.Column > Dim oConnection As ADODB.Connection > Dim sConnStr As String > On Error GoTo Err_GetFieldDescription > 'Access 2000 > 'MyDB.ActiveConnection = CurrentProject.Connection > 'access 97 method > 'Access XP Jet 4 version of northwind > sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=C:\Program Files\Microsoft Office > XP\Office10\Samples\Northwind.mdb;" & _ > "User Id=admin;" & "Password=" > > ' Create and Open the Connection object. > Set oConnection = New ADODB.Connection > oConnection.CursorLocation = adUseClient > oConnection.Open sConnStr > > MyDB.ActiveConnection = oConnection > ' end access 97 > Set MyTable = MyDB.Tables(MyTableName) > > GetFieldDesc_ADO = MyTable.Columns(MyFieldName).Properties("Description") > > Set MyDB = Nothing > > Bye_GetFieldDescription: > Exit Function > > Err_GetFieldDescription: > Beep > MsgBox Err.Description, vbExclamation > GetFieldDesc_ADO = Null > Resume Bye_GetFieldDescription > > End Function > > Susan Harkins wrote: > > >I'm using the following procedure to return the Description property from a > >table. I tried to run it using a query, but it doesn't work -- Description > >property returns Null, which is interesting -- not an error, but Null, even > >when there's a string. Anybody know more about this? I'm guessing OpenSchema > >doesn't return a query's Description property, but then, I would expect the > >rst!Description reference to return an error, but it doesn't. Even with On > >Error commented out, it still returns Null. > > > >Susan H. > > > > > > > >Public Function ReturnDescription(fldname As String) As String > >Dim rst As ADODB.Recordset > >Dim fld As ADODB.Field > >Set rst = CurrentProject.Connection. _ > > OpenSchema(adSchemaColumns, _ > > Array(Empty, Empty, "Customers")) > > Do Until rst.EOF > > For Each fld In rst.Fields > > On Error Resume Next > > If rst!COLUMN_NAME = fldname Then > > ReturnDescription = Nz( _ > > rst!Description, "") > > End If > > Next fld > > rst.MoveNext > > Loop > >Set rst = Nothing > >Set fld = Nothing > >End Function > > > > > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmmtbig at bellsouth.net Sun Mar 16 15:42:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 15:42:00 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <002301c2ec04$cd90abf0$6501a8c0@tbig3> Email Test from BellSouth.net at 3/16 4:42pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Sun Mar 16 16:56:00 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun Mar 16 16:56:00 2003 Subject: [AccessD] OT: Testing Please Ignore In-Reply-To: <002301c2ec04$cd90abf0$6501a8c0@tbig3> Message-ID: Well, you didn't say what time zone that 4:42pm is, but it showed up in Pacific time at 1:45 pm. So, if you are eastern zone, then it was just a variation of a couple minutes (and times our computers show). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Myke Myers > Sent: 16 Mar 2003 1:41:PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Testing Please Ignore > > > Email Test from BellSouth.net at 3/16 4:42pm From mmmtbig at bellsouth.net Sun Mar 16 18:17:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 18:17:00 2003 Subject: [AccessD] OT: Testing Please Ignore In-Reply-To: Message-ID: <002b01c2ec1a$7b94cf50$6501a8c0@tbig3> EST. It appears that Bellsouth.Net emails are posting now. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Sunday, March 16, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Testing Please Ignore Well, you didn't say what time zone that 4:42pm is, but it showed up in Pacific time at 1:45 pm. So, if you are eastern zone, then it was just a variation of a couple minutes (and times our computers show). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Myke Myers > Sent: 16 Mar 2003 1:41:PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Testing Please Ignore > > > Email Test from BellSouth.net at 3/16 4:42pm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Mar 16 18:29:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 16 18:29:01 2003 Subject: [AccessD] Web Service References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> Message-ID: <3E75169D.10509@shaw.ca> Mwp.Reid at Queens-Belfast.AC.UK wrote: >Anyone know the address of a demo web service I can link to in an application. > > >Martin > > > Here is some Access Code for a working web service Partial UK Postal Codes 'references to XML 4.0 Library & MS SoapType Library v3.0 ' http://www.webservicex.net/uklocation.asmx 'http://www.salcentral.com/asp/spec.asp?WSURL=http://www.webservicex.net/uklocation.asmx?WSDL ' http://www.webservicex.net/WS/default.aspx Function testMSSoap() 'this just returns an XML file string from web service 'for UK Postal Codes Dim soapClient Dim strWSDL As String Set soapClient = CreateObject("MSSOAP.SoapClient30") On Error Resume Next 'WSDL location and namespace info strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" Call soapClient.MSSoapInit(strWSDL, "", "", "") If Err <> 0 Then Debug.Print "initialization failed " + Err.Description End If On Error GoTo ErrSoap 'Get Postal code of town Debug.Print soapClient.GetUKLocationByTown("Largs") ' Get all UK towns,Postcode and County by Postcode(First Section of Post Code) Debug.Print soapClient.GetUKLocationByPostCode("KA30") Bye_testMSSoap: Exit Function ErrSoap: Beep MsgBox Err.Description, vbExclamation Debug.Print "faultcode=" & soapClient.FaultCode Debug.Print "faultstring=" & soapClient.FaultString Debug.Print "faultactor=" & soapClient.FaultActor Debug.Print "detail=" & soapClient.Detail testMSSoap = Null Resume Bye_testMSSoap End Function Function testMSSoapXML() 'this returns and parses an XML file string 'from webservice via xpath for UK Postal Codes Dim soapClient As Object Dim strWSDL As String Dim strXML As String Dim xslDoc As MSXML2.DOMDocument40 Dim xmlDoc As MSXML2.DOMDocument40 Set xmlDoc = New MSXML2.DOMDocument40 Set xslDoc = New MSXML2.DOMDocument40 Set soapClient = CreateObject("MSSOAP.SoapClient30") 'On Error Resume Next 'WSDL location strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" Call soapClient.MSSoapInit(strWSDL, "", "", "") If Err <> 0 Then Debug.Print "initialization failed " + Err.Description End If ' On Error GoTo ErrSoap 'Get Postal code of town 'Debug.Print soapClient.GetUKLocationByTown("Largs") ' Get all UK towns,Postcode and County by Postcode(First Section of Post Code) strXML = soapClient.GetUKLocationByPostCode("KA30") Debug.Print strXML xmlDoc.LoadXml strXML If xmlDoc.parseError <> 0 Then Debug.Print xmlDoc.parseError.reason & vbCrLf & _ xmlDoc.parseError.linepos & _ xmlDoc.parseError.Line & _ vbCrLf & xmlDoc.parseError.srcText End If Dim retXML As IXMLDOMNodeList Dim node As IXMLDOMNode 'XPath expression into select nodes 'tutorial at www.zvon.org Set retXML = xmlDoc.selectNodes("//NewDataSet") ' Table Names Dim i As Integer For Each node In retXML For i = 0 To node.childNodes.length - 1 MsgBox node.childNodes.Item(i).text Debug.Print node.childNodes.Item(i).text Next i Next node Bye_testMSSoap: Exit Function ErrSoap: Beep MsgBox Err.Description, vbExclamation Debug.Print "faultcode=" & soapClient.FaultCode Debug.Print "faultstring=" & soapClient.FaultString Debug.Print "faultactor=" & soapClient.FaultActor Debug.Print "detail=" & soapClient.Detail testMSSoap = Null Resume Bye_testMSSoap End Function From d.dick at uws.edu.au Sun Mar 16 19:33:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 19:33:00 2003 Subject: [AccessD] A2K: Send an SMS message via VBA Message-ID: Hello all Can this be done? Any links suggestions etc? Many thanks in advance Darren From d.dick at uws.edu.au Sun Mar 16 20:47:59 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 20:47:59 2003 Subject: [AccessD] A2K: This should be easy Message-ID: Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren From papparuff at attbi.com Sun Mar 16 21:04:01 2003 From: papparuff at attbi.com (John Ruff) Date: Sun Mar 16 21:04:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: Message-ID: <001f01c2ec31$ba869510$6401a8c0@papparuff> The DateAdd function should work DateAdd("n", -15, txtStartTime) John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: Sunday, March 16, 2003 6:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Sun Mar 16 21:15:01 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 21:15:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <001f01c2ec31$ba869510$6401a8c0@papparuff> Message-ID: Hi John Many many thanks. It was easy. . It's only 2:15pm Monday afternoon here - Time to go home me thinks Again many thanks Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, 17 March 2003 2:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy The DateAdd function should work DateAdd("n", -15, txtStartTime) John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: Sunday, March 16, 2003 6:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 16 21:17:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 16 21:17:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: Message-ID: <001401c2ec33$943df1d0$8e01a8c0@Rock> Sunday night and no one's answering so I'll risk a WAG. Subract the number of seconds for your Time1 to yield Time0. Deal with both times as Longs, do the subraction there, then format the result back to a time string. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: March 16, 2003 9:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sun Mar 16 22:06:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 16 22:06:01 2003 Subject: [AccessD] How bout them apples Message-ID: A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From accessd at shaw.ca Mon Mar 17 00:43:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 00:43:01 2003 Subject: [AccessD] How bout them apples In-Reply-To: Message-ID: John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From DWUTKA at marlow.com Mon Mar 17 00:53:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 00:53:01 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> Oh, wait a minute. It should work if it is called immediately on the form load event, because if I remember right, it was a static function, so it only 'checks' once. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, March 16, 2003 3:23 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or n ot? Hi Drew > It's not strange. The method you had checks to see what the last object in > the Forms collection is. As soon as the form is opened as it's own form, > then all instances show up as being non-subforms. No Drew, the first instance - where the form IS a subform - still reports itself as a subform here. The strange part is that this apparently does not happen to you ... /gustav > You have a main form with your MC as a subform. You then open form MC > as a main form and then the check fails? Strange. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 17 00:54:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 00:54:01 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 17 01:01:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 01:01:00 2003 Subject: [AccessD] A2K: This should be easy Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> I know people are going to post about the DateDiff function. But I'd like to get you thinking about what you are actually trying to do. Dates and Times are stored as numbers. The date is the whole number, which represents the number of days since 12-30-1899. Thus, since days are whole numbers, you can add or subtract days by simple math. (ie, to get tomorrow, it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 is midnight. Thus, you can also just simply add or subtract values to change the time. (ie, to get an hour from now, use Now()+(1/24)). Does that make sense? Also, another little known fact about the Date, Time and Now functions. They work both ways. If you use this line of code: Date=Date()+1 You've just set your systems date to tomorrow! Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Sunday, March 16, 2003 8:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Mar 17 01:22:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 01:22:00 2003 Subject: [AccessD] OT: Testing Please Ignore References: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> Message-ID: <001201c2ec55$e6e11080$6101a8c0@amd2k512> Message...testing from BellSouth :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 17, 2003 1:54 AM Subject: RE: [AccessD] OT: Testing Please Ignore Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 17 01:31:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 01:31:01 2003 Subject: [AccessD] OT: Testing ...BellSouth Now Working! References: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> <001201c2ec55$e6e11080$6101a8c0@amd2k512> Message-ID: <002901c2ec57$40049ff0$6101a8c0@amd2k512> Message...ok ...BellSouth is now working and no one did anything! ...pure fm :) ...only two weeks outage from a major ISP to dba! ...I'm impressed ...or depressed :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: William Hindman To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 2:22 AM Subject: Re: [AccessD] OT: Testing Please Ignore ...testing from BellSouth :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 17, 2003 1:54 AM Subject: RE: [AccessD] OT: Testing Please Ignore Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 01:39:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 01:39:00 2003 Subject: [AccessD] Web Service In-Reply-To: <3E75169D.10509@shaw.ca> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> <3E75169D.10509@shaw.ca> Message-ID: <1047886711.3e757b7740f96@hosea.qub.ac.uk> Great Thanks Marty Quoting MartyConnelly : > Mwp.Reid at Queens-Belfast.AC.UK wrote: > > >Anyone know the address of a demo web service I can link to in an > application. > > > > > >Martin > > > > > > > Here is some Access Code for a working web service Partial UK Postal > Codes > > > 'references to XML 4.0 Library & MS SoapType Library v3.0 > ' http://www.webservicex.net/uklocation.asmx > 'http://www.salcentral.com/asp/spec.asp? WSURL=http://www.webservicex.net/uklocation.asmx?WSDL > ' http://www.webservicex.net/WS/default.aspx > > Function testMSSoap() > 'this just returns an XML file string from web service > 'for UK Postal Codes > Dim soapClient > Dim strWSDL As String > > Set soapClient = CreateObject("MSSOAP.SoapClient30") > On Error Resume Next > 'WSDL location and namespace info > strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" > > Call soapClient.MSSoapInit(strWSDL, "", "", "") > If Err <> 0 Then > Debug.Print "initialization failed " + Err.Description > End If > > On Error GoTo ErrSoap > 'Get Postal code of town > Debug.Print soapClient.GetUKLocationByTown("Largs") > > ' Get all UK towns,Postcode and County by Postcode(First Section of Post > > Code) > Debug.Print soapClient.GetUKLocationByPostCode("KA30") > > Bye_testMSSoap: > Exit Function > > ErrSoap: > Beep > MsgBox Err.Description, vbExclamation > Debug.Print "faultcode=" & soapClient.FaultCode > Debug.Print "faultstring=" & soapClient.FaultString > Debug.Print "faultactor=" & soapClient.FaultActor > Debug.Print "detail=" & soapClient.Detail > testMSSoap = Null > Resume Bye_testMSSoap > > End Function > > > Function testMSSoapXML() > 'this returns and parses an XML file string > 'from webservice via xpath for UK Postal Codes > > Dim soapClient As Object > Dim strWSDL As String > Dim strXML As String > Dim xslDoc As MSXML2.DOMDocument40 > Dim xmlDoc As MSXML2.DOMDocument40 > > Set xmlDoc = New MSXML2.DOMDocument40 > Set xslDoc = New MSXML2.DOMDocument40 > Set soapClient = CreateObject("MSSOAP.SoapClient30") > 'On Error Resume Next > 'WSDL location > strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" > > Call soapClient.MSSoapInit(strWSDL, "", "", "") > If Err <> 0 Then > Debug.Print "initialization failed " + Err.Description > End If > > ' On Error GoTo ErrSoap > 'Get Postal code of town > 'Debug.Print soapClient.GetUKLocationByTown("Largs") > > ' Get all UK towns,Postcode and County by Postcode(First Section of Post > > Code) > strXML = soapClient.GetUKLocationByPostCode("KA30") > > Debug.Print strXML > > xmlDoc.LoadXml strXML > > If xmlDoc.parseError <> 0 Then > Debug.Print xmlDoc.parseError.reason & vbCrLf & _ > xmlDoc.parseError.linepos & _ > xmlDoc.parseError.Line & _ > vbCrLf & xmlDoc.parseError.srcText > End If > > Dim retXML As IXMLDOMNodeList > Dim node As IXMLDOMNode > 'XPath expression into select nodes 'tutorial at www.zvon.org > Set retXML = xmlDoc.selectNodes("//NewDataSet") ' Table Names > > Dim i As Integer > For Each node In retXML > For i = 0 To node.childNodes.length - 1 > MsgBox node.childNodes.Item(i).text > Debug.Print node.childNodes.Item(i).text > Next i > Next node > > Bye_testMSSoap: > Exit Function > > ErrSoap: > Beep > MsgBox Err.Description, vbExclamation > Debug.Print "faultcode=" & soapClient.FaultCode > Debug.Print "faultstring=" & soapClient.FaultString > Debug.Print "faultactor=" & soapClient.FaultActor > Debug.Print "detail=" & soapClient.Detail > testMSSoap = Null > Resume Bye_testMSSoap > > End Function > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mastercafe at ctv.es Mon Mar 17 03:16:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon Mar 17 03:16:00 2003 Subject: [AccessD] Intentional Errors In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897456@xlivmbx12.aig.com> Message-ID: We use the ON ERROR RESUME NEXT clausule to try and check intentional Errors. Where you put the intentional error use the next code: if err.number<>0 then 'clausule for take the error control 'remember be sure to put 0 on err.number for the next intentional error err.number=0 endif Juan Menendez Mastercafe -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Heenan, Lambert Enviado el: mi?rcoles, 12 de marzo de 2003 23:40 Para: Access-D Email (E-mail) Asunto: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 17 03:44:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 03:44:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> Message-ID: <1206276945.20030317104327@cactus.dk> Hi Drew That's right. /gustav > Oh, wait a minute. It should work if it is called immediately on the form > load event, because if I remember right, it was a static function, so it > only 'checks' once. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Sunday, March 16, 2003 3:23 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew >> It's not strange. The method you had checks to see what the last object >> in >> the Forms collection is. As soon as the form is opened as it's own form, >> then all instances show up as being non-subforms. > No Drew, the first instance - where the form IS a subform - still > reports itself as a subform here. The strange part is that this > apparently does not happen to you ... > /gustav >> You have a main form with your MC as a subform. You then open form MC >> as a main form and then the check fails? Strange. From roz.clarke at donnslaw.co.uk Mon Mar 17 03:46:01 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 03:46:01 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Hey all I have a bit of a funny database spec for a call centre application (callers ringing to register insurance claims). The details taken from the customer cover a lot of different entities; the caller, their insurance policy, their car, the accident, the third party, the third party's car, the third party's insurance policy etc. My instinct is to create a table for each distinct entity. However, they will all have 1:1 relationships as there is only one instance of each entity per claim (the caller I would hold separate as we may handle more than one claim for them). This is a fairly 'disposable' (i.e. expected to be used only in the short term and never to be expanded) app. Would it be shockingly bad behaviour just to stuff everything into one table?? Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Mar 17 03:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 03:58:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <001f01c2ec31$ba869510$6401a8c0@papparuff> References: <001f01c2ec31$ba869510$6401a8c0@papparuff> Message-ID: <147112877.20030317105723@cactus.dk> Hi Darren and John > The DateAdd function should work > DateAdd("n", -15, txtStartTime) Be careful. If the textbox is unbound, it can contain anything. To be safe, you can wrap it in a validate check: If IsDate(txtStartTime) Then txtStartTime = DateAdd("n", -15, txtStartTime) End If /gustav > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 Oh, if it was that easy many things would look different. > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > So take away 15 from 11:00 should give me 10:45 > How do I do this. From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 03:59:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 03:59:00 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: <1047895116.3e759c4c7c43b@hosea.qub.ac.uk> Roz People can make mulitple claims over a period of time. The claim is opf a specific type. Am I missing something? The claim then could have multiple calls etc associated with it (Unless your a better insurance ocmpany than mine) Claims could come in from multiple parties. i.e carsh carsh and everyone in the 20 seater MVPV makes a claim. Martin Quoting Roz Clarke : > Hey all > > I have a bit of a funny database spec for a call centre application > (callers > ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; > the > caller, their insurance policy, their car, the accident, the third > party, > the third party's car, the third party's insurance policy etc. My > instinct > is to create a table for each distinct entity. However, they will all > have > 1:1 relationships as there is only one instance of each entity per > claim > (the caller I would hold separate as we may handle more than one claim > for > them). This is a fairly 'disposable' (i.e. expected to be used only in > the > short term and never to be expanded) app. Would it be shockingly bad > behaviour just to stuff everything into one table?? > > Roz > From gustav at cactus.dk Mon Mar 17 04:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 04:14:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <248060630.20030317111400@cactus.dk> Hi Drew > Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > Date=Date()+1 > You've just set your systems date to tomorrow! That is scary! I didn't know that. Why do you know such weird things? But it is only Date() and Time() that works this way, not Now(). /gustav From paulo at esb.ucp.pt Mon Mar 17 04:30:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 04:30:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Alpha Five A prototyping tool to rival Access.url Type: application/octet-stream Size: 327 bytes Desc: not available URL: From roz.clarke at donnslaw.co.uk Mon Mar 17 04:34:01 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 04:34:01 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C8318803956537@dibble.observatory.donnslaw.co.uk> Martin Yes people can make multiple claims over time. The claim can be one of 2 types (different policy types). Each claim is likely to have multiple calls but these are already logged in a generic call log database (the databases are interconnected through the user interface). All I'm interested in at the moment is the info describing the claim. The call centre will not be taking calls directly from the client, but from the local branch of their insurance company (we handle claims registering for a number of different insurers). Therefore there should only be one set of details per accident, as any passengers claiming will be claiming against the policyholder's insurance - and the claim will generally have passed out of our hands before anything like that gets processed anyway. Because of the way they work, if there were to be more than one claim per accident, they'd want the accident details duplicating anyway. Clear as mud?! Roz PS did I mention I have to have this built by tomorrow? -----Original Message----- From: Mwp.Reid at queens-belfast.ac.uk [mailto:Mwp.Reid at queens-belfast.ac.uk] Sent: 17 March 2003 09:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Normalisation Roz People can make mulitple claims over a period of time. The claim is opf a specific type. Am I missing something? The claim then could have multiple calls etc associated with it (Unless your a better insurance ocmpany than mine) Claims could come in from multiple parties. i.e carsh carsh and everyone in the 20 seater MVPV makes a claim. Martin Quoting Roz Clarke : > Hey all > > I have a bit of a funny database spec for a call centre application > (callers ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; > the caller, their insurance policy, their car, the accident, the third > party, > the third party's car, the third party's insurance policy etc. My > instinct > is to create a table for each distinct entity. However, they will all > have > 1:1 relationships as there is only one instance of each entity per > claim > (the caller I would hold separate as we may handle more than one claim > for > them). This is a fairly 'disposable' (i.e. expected to be used only in > the > short term and never to be expanded) app. Would it be shockingly bad > behaviour just to stuff everything into one table?? > > Roz > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Mon Mar 17 05:53:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon Mar 17 05:53:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Message-ID: <006301c2ec7b$b347b9b0$2900a8c0@BITSNB02> Maybe this is unfair, but the reviewer's access knowledge leaves a little to be desired. Particularly the following comment about drop down lists. "I came away from my experiment impressed by Alpha Five?s built-in field functionality, which usually exceeds that of Access. For example, date fields automatically have the capability of popping up a calendar. Drop-down lists can be created without being tied to a database and can display one value on the screen while storing a correlated value in the database." Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Paulo Alexandre Ramos Sent: Monday, 17 March, 2003 6:30 PM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 From HollisVJ at pgdp.usec.com Mon Mar 17 06:45:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon Mar 17 06:45:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Form 1: A form that is used for requesting services - a data entry form. Form 2: Used by the engineer to edit, update data from the request. Form 3: Additional data form needed to open for the User & Engineer The table has a RequestID as the PK A second table is used to store additional data, with the RequestID as FK. I need Form 3 to open from either Form 1 or Form 2. How do I set the RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and set the default to =Forms!Form1.RequestID. Of course this will not work on Form 2 because the default value for RequestID references Form 1. I do not want to create multiple forms to do the same thing - but if that is the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 and set the RequestID? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Mar 17 06:49:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 06:49:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <248060630.20030317111400@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <3E7650F8.16563.23F127C@localhost> > Hi Drew > > > Also, another little known fact about the Date, Time > > and Now functions. They work both ways. If you use this line of code: > > > Date=Date()+1 > > > You've just set your systems date to tomorrow! > > That is scary! I didn't know that. > Why do you know such weird things? > Because we've been using various BASICs for many years (in my case over 20) and once upon a time in DOS , we regularly used DATE and TIME to adjust the system clock. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Mon Mar 17 06:58:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 06:58:01 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: <3E76532E.2145.247B4BB@localhost> > Hey all > > I have a bit of a funny database spec for a call centre application (callers > ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; the > caller, their insurance policy, their car, the accident, the third party, > the third party's car, the third party's insurance policy etc. My instinct > is to create a table for each distinct entity. However, they will all have > 1:1 relationships as there is only one instance of each entity per claim > (the caller I would hold separate as we may handle more than one claim for > them). >This is a fairly 'disposable' (i.e. expected to be used only in the > short term and never to be expanded) app. Now where have I heard that before? Would it be shockingly bad > behaviour just to stuff everything into one table?? You need to ask questions like: How do you identify the third party - will you be able to/do you need to identify multiple claims concerning the same third party? Ditto for the 3rd party policy and vehicle. Without knowing what reporting/ data analysis you are looking at, it's impossible to tell how far you need to break it down/constrain data entry on the various entities. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Mon Mar 17 07:06:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:06:01 2003 Subject: [AccessD] One form for all References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Message-ID: <000a01c2ec85$faff0e20$6101a8c0@amd2k512> Virginia ...there are 2 ways off the top of my head 1) use the openargs to pass the RequestID 2) or use an ifthen in the onopen of form 3 to determine whether form 1 or 2 is open and set your filter accordingly ...probably other ways as well but HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Hollis,Virginia To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 7:44 AM Subject: [AccessD] One form for all Form 1: A form that is used for requesting services - a data entry form. Form 2: Used by the engineer to edit, update data from the request. Form 3: Additional data form needed to open for the User & Engineer The table has a RequestID as the PK A second table is used to store additional data, with the RequestID as FK. I need Form 3 to open from either Form 1 or Form 2. How do I set the RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and set the default to =Forms!Form1.RequestID. Of course this will not work on Form 2 because the default value for RequestID references Form 1. I do not want to create multiple forms to do the same thing - but if that is the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 and set the RequestID? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Mon Mar 17 07:08:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 07:08:01 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: NormalisationHi Roz: <> Not if there is only one contact instance... The application I worked was designed like so: The call request was comprised of two tables... - The first table had only two fields, the call number and the call status. - The second table had all the other fields for the rest of the detail. In many cases there was only one record in each table related to a specific call. But another record was created if the call was not closed because it was not resolved at one time or was escalated. Then each follow-up record connected to the initial record. One to many. Does this help? HTH Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Mar 17 07:10:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 07:10:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Message-ID: <3E7655DD.29247.25230FC@localhost> > Form 1: A form that is used for requesting services - a data entry form. > Form 2: Used by the engineer to edit, update data from the request. > Form 3: Additional data form needed to open for the User & Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and > set the default to =Forms!Form1.RequestID. Of course this will not work on > Form 2 because the default value for RequestID references Form 1. > > I do not want to create multiple forms to do the same thing - but if that is > the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 > and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From accessd at shaw.ca Mon Mar 17 07:10:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 07:10:16 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Message-ID: Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u 00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 17 07:13:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:13:01 2003 Subject: [AccessD] Normalisation References: <61F915314798D311A2F800A0C9C8318803956537@dibble.observatory.donnslaw.co.uk> Message-ID: <001301c2ec86$e903ac20$6101a8c0@amd2k512> ...if it has to be "working" by tomorrow, build it flat and focus on the user interface and data validation ...you can always normalize later if necessary ...not the way anyone likes to do these things but we all have faced similar demands at one time or another ...HTH :) ...btw, you haven't told us lately just when the wedding date is :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Roz Clarke" To: Sent: Monday, March 17, 2003 5:36 AM Subject: RE: [AccessD] Normalisation > Martin > > Yes people can make multiple claims over time. The claim can be one of 2 > types (different policy types). Each claim is likely to have multiple calls > but these are already logged in a generic call log database (the databases > are interconnected through the user interface). All I'm interested in at the > moment is the info describing the claim. > > The call centre will not be taking calls directly from the client, but from > the local branch of their insurance company (we handle claims registering > for a number of different insurers). Therefore there should only be one set > of details per accident, as any passengers claiming will be claiming against > the policyholder's insurance - and the claim will generally have passed out > of our hands before anything like that gets processed anyway. > > Because of the way they work, if there were to be more than one claim per > accident, they'd want the accident details duplicating anyway. > > Clear as mud?! > > Roz > > PS did I mention I have to have this built by tomorrow? > > -----Original Message----- > From: Mwp.Reid at queens-belfast.ac.uk [mailto:Mwp.Reid at queens-belfast.ac.uk] > Sent: 17 March 2003 09:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Normalisation > > > Roz > > People can make mulitple claims over a period of time. The claim is opf a > specific type. Am I missing something? > > The claim then could have multiple calls etc associated with it (Unless your > a > better insurance ocmpany than mine) > > Claims could come in from multiple parties. i.e carsh carsh and everyone in > the 20 seater MVPV makes a claim. > > Martin > > > Quoting Roz Clarke : > > > Hey all > > > > I have a bit of a funny database spec for a call centre application > > (callers ringing to register insurance claims). > > > > The details taken from the customer cover a lot of different entities; > > the caller, their insurance policy, their car, the accident, the third > > party, > > the third party's car, the third party's insurance policy etc. My > > instinct > > is to create a table for each distinct entity. However, they will all > > have > > 1:1 relationships as there is only one instance of each entity per > > claim > > (the caller I would hold separate as we may handle more than one claim > > for > > them). This is a fairly 'disposable' (i.e. expected to be used only in > > the > > short term and never to be expanded) app. Would it be shockingly bad > > behaviour just to stuff everything into one table?? > > > > Roz > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Mar 17 07:15:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 07:15:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <22757104790528513283d0567@global.net.pg> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> <22757104790528513283d0567@global.net.pg> Message-ID: <18118943128.20030317141522@cactus.dk> Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. From wdhindman at bellsouth.net Mon Mar 17 07:24:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:24:01 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <002401c2ec88$81db1040$6101a8c0@amd2k512> ...the only Access "replacement" I'd even spend time evaluating would have to be free/low cost, OpenSource, and Linux based, have a heck of a lot more power than a "scripting" language, strong import/export data abilities, and good merge integration with the OpenOffice or StarOffice word processors ...otherwise Access is far too strongly embedded in the real world to make it cost effective to even consider moving clients to :( ...just my two cents :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 8:12 AM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Mar 17 07:45:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 07:45:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <002401c2ec88$81db1040$6101a8c0@amd2k512> References: <002401c2ec88$81db1040$6101a8c0@amd2k512> Message-ID: <6320718151.20030317144457@cactus.dk> Hi William > ...the only Access "replacement" I'd even spend time evaluating would have to be free/low cost, OpenSource, and Linux based, have a heck of a lot more power than a "scripting" language, strong > import/export data abilities, and good merge integration with the OpenOffice or StarOffice word processors ...otherwise Access is far too strongly embedded in the real world to make it cost > effective to even consider moving clients to :( You may wish to visit http://www.thekompany.com/products/ and have a look at BlackAdder and Rekall. They are not Access replacements but could fill some needs. /gustav From HollisVJ at pgdp.usec.com Mon Mar 17 07:46:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon Mar 17 07:46:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> What do I do if it is a new record they are adding to Form 3? When a new record is added using Form 3, the RequestID (FK) shows 0. I need it to enter the same RequestID as the opening form, whether it is Form 1 or Form 2. Form 3 needs to open and set the FK - (RequestID in Table 2) to the same RequestID (PK in Table 1) as in Form 1 or Form 2. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 7:10 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] One form for all > Form 1: A form that is used for requesting services - a data entry form. > Form 2: Used by the engineer to edit, update data from the request. > Form 3: Additional data form needed to open for the User & Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and > set the default to =Forms!Form1.RequestID. Of course this will not work on > Form 2 because the default value for RequestID references Form 1. > > I do not want to create multiple forms to do the same thing - but if that is > the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 > and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Mon Mar 17 07:56:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 07:56:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: Message-ID: <004601c2ec8c$d1ab3470$8e01a8c0@Rock> Let's face it. Access is so good that we all use it, and most of us are seasoned developers who have looked at lots of potential replacements and found them wanting. For my money, the only realistic Access replacement would have to offer significant benefits beyond everything Access can do; else why switch? Now, as JC is discovering, there are some _way_ kewl reasons to choose VB.Net. The dev-time is still longer but in exchange you get a lot of new functionality. What I would like to find is an Access replacement that runs on Linux! Does everything Access does, and maybe more (Linux-specific things). Otherwise for RAD I'm sticking to Access, and for SBSRAD (slower but still RAD) it's .net. My $.02, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: March 17, 2003 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u 00320030317RAL01.htm &fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 17 07:58:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 07:58:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <18118943128.20030317141522@cactus.dk> Message-ID: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Anyone in this list besides me old enough to remember CP/M? Those were the days! Once I did a big app on a computer system called Molecular, that had a multi-user version of CP/M and 10MB hard disks! Bitchin system. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 17, 2003 8:15 AM To: Stuart McLachlan Subject: Re: [AccessD] A2K: This should be easy Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of >> > code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Mar 17 07:59:00 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon Mar 17 07:59:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302098DEE@elmo.co.montgomery.ny.us> Now, if it would run on Linux... Neal Kling -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 5:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm &fromtm=e601-2&_requestid=190882 From artful at rogers.com Mon Mar 17 08:02:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 08:02:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> Message-ID: <004c01c2ec8d$aba29ce0$8e01a8c0@Rock> When opening form3, pass a string such as "form1" or "form2" in OpenArgs. In Form3's OnOpen, examine the OpenArgs and do something like this: With Me If Not IsNull(.OpenArgs) Then If .OpenArgs = "form1" Then .RequestID = Forms("form1").RequestID Else .RequestID = Forms("form2").RequestID End If End If End With (Caution: compiled with Outlook.) A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 17, 2003 8:46 AM To: 'stuart at lexacorp.com.pg'; 'accessd at databaseadvisors.com' Subject: RE: [AccessD] One form for all What do I do if it is a new record they are adding to Form 3? When a new record is added using Form 3, the RequestID (FK) shows 0. I need it to enter the same RequestID as the opening form, whether it is Form 1 or Form 2. Form 3 needs to open and set the FK - (RequestID in Table 2) to the same RequestID (PK in Table 1) as in Form 1 or Form 2. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 7:10 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] One form for all > Form 1: A form that is used for requesting services - a data entry > form. Form 2: Used by the engineer to edit, update data from the > request. Form 3: Additional data form needed to open for the User & > Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as > FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 > and set the default to =Forms!Form1.RequestID. Of course this will not > work on Form 2 because the default value for RequestID references Form > 1. > > I do not want to create multiple forms to do the same thing - but if > that is > the only choice I will. How can I have Form 3 open from Form 1 &/or > Form 2 and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 17 08:07:00 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 08:07:00 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C831880395653F@dibble.observatory.donnslaw.co.uk> Hurrah! I am doing just that. The wedding is on the 29th - a week on Saturday *ulp* -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: 17 March 2003 13:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Normalisation ...if it has to be "working" by tomorrow, build it flat and focus on the user interface and data validation ...you can always normalize later if necessary ...not the way anyone likes to do these things but we all have faced similar demands at one time or another ...HTH :) ...btw, you haven't told us lately just when the wedding date is :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Roz Clarke" To: Sent: Monday, March 17, 2003 5:36 AM Subject: RE: [AccessD] Normalisation > Martin > > Yes people can make multiple claims over time. The claim can be one of > 2 types (different policy types). Each claim is likely to have > multiple calls > but these are already logged in a generic call log database (the > databases are interconnected through the user interface). All I'm > interested in at the > moment is the info describing the claim. > > The call centre will not be taking calls directly from the client, but from > the local branch of their insurance company (we handle claims > registering for a number of different insurers). Therefore there > should only be one set > of details per accident, as any passengers claiming will be claiming against > the policyholder's insurance - and the claim will generally have > passed out > of our hands before anything like that gets processed anyway. > > Because of the way they work, if there were to be more than one claim > per accident, they'd want the accident details duplicating anyway. > > Clear as mud?! > > Roz > > PS did I mention I have to have this built by tomorrow? > > -----Original Message----- > From: Mwp.Reid at queens-belfast.ac.uk > [mailto:Mwp.Reid at queens-belfast.ac.uk] > Sent: 17 March 2003 09:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Normalisation > > > Roz > > People can make mulitple claims over a period of time. The claim is > opf a specific type. Am I missing something? > > The claim then could have multiple calls etc associated with it > (Unless your > a > better insurance ocmpany than mine) > > Claims could come in from multiple parties. i.e carsh carsh and > everyone in > the 20 seater MVPV makes a claim. > > Martin > > > Quoting Roz Clarke : > > > Hey all > > > > I have a bit of a funny database spec for a call centre application > > (callers ringing to register insurance claims). > > > > The details taken from the customer cover a lot of different > > entities; the caller, their insurance policy, their car, the > > accident, the third party, the third party's car, the third party's > > insurance policy etc. My instinct > > is to create a table for each distinct entity. However, they will all > > have > > 1:1 relationships as there is only one instance of each entity per > > claim > > (the caller I would hold separate as we may handle more than one claim > > for > > them). This is a fairly 'disposable' (i.e. expected to be used only in > > the > > short term and never to be expanded) app. Would it be shockingly bad > > behaviour just to stuff everything into one table?? > > > > Roz > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 17 08:19:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 08:19:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8545C@TTNEXCHSRV1.hshhp.com> Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). rsSource.Save "c:\myxml.xml", adPersistXML Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Sunday, March 16, 2003 11:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From accessd at shaw.ca Mon Mar 17 08:28:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 08:28:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Message-ID: Afraid so Arthur...The slashes still confuse me to this day...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, March 17, 2003 5:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy Anyone in this list besides me old enough to remember CP/M? Those were the days! Once I did a big app on a computer system called Molecular, that had a multi-user version of CP/M and 10MB hard disks! Bitchin system. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 17, 2003 8:15 AM To: Stuart McLachlan Subject: Re: [AccessD] A2K: This should be easy Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of >> > code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 17 08:43:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 17 08:43:01 2003 Subject: [AccessD] A2K: This should be easy References: Message-ID: <003901c2ec93$6fb29f40$6601a8c0@HAL9002> Jim: I had a Molecular, too! It had a 10MB fixed and a 10 MB removable hard drive and was networked to four dumb terminals. I paid around $10,000 for it, I believe. (Also had 8 in floppy for convenient backup). I created my manufacturing application on it. Boy was that a long time ago. I thought the disk storage at the time was way overkill. Who could fill up 10 MB with anything? Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Monday, March 17, 2003 6:29 AM Subject: RE: [AccessD] A2K: This should be easy > Afraid so Arthur...The slashes still confuse me to this day...Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Monday, March 17, 2003 5:57 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lyle.hannum at co.wake.nc.us Mon Mar 17 08:46:01 2003 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Mon Mar 17 08:46:01 2003 Subject: [AccessD] Acc2000 wont open after repair Message-ID: Hi all When I got to the office this morning and attempted to open a Access 2000 mdb that lives on our network, a msg poped up that the db was corrupted and would I like to repair. I selected yes, and it seemed to repair itself. However, now when I try to open it, nothing happens. No errors, no nothing. Almost as if it was not there, however Acc97 will try to open it (giving an error msg of unrecognizable format), it can be renamed, and copied successfully (but still not opened) to my local drive (showing file size of 8mb). I have the same symptoms if I try to import its objects into a new db. Access seems to open all other db's just fine. Shift-open has no effect. Any ideas? TIA Lyle Hannum From reische at mdh.org Mon Mar 17 09:56:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 09:56:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B3B@NEWMAN_EXC> Thank you for your assistance. I was able to get it to work finally!!! Surprisingly, the answer was this: It works fine as long as the "search" button is a button control. If the "search" button is a label control it will work the first time and not again. I prefer the label control with the code in the on-click event of it because I can format it and make it match the application. Command buttons are boring gray objects. Guess I learned that I can't beat the system every time!!! Thanks again for your help/comments. Brenda Reische McDonough District Hospital -----Original Message----- From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] Sent: Friday, March 14, 2003 4:02 PM To: reische at mdh.org Subject: it does work....no thnx:-) Hope you can have a nice & quiet weekend now... Eric From reische at mdh.org Mon Mar 17 10:06:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 10:06:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B3E@NEWMAN_EXC> Sorry! For those that followed this thread, I resent the solution under the correct subject... -----Original Message----- From: Reische, Brenda L. Sent: Monday, March 17, 2003 9:56 AM To: 'StaRKeY' Cc: 'accessd at databaseadvisors.com' Subject: RE: it does work....no thnx:-) Thank you for your assistance. I was able to get it to work finally!!! Surprisingly, the answer was this: It works fine as long as the "search" button is a button control. If the "search" button is a label control it will work the first time and not again. I prefer the label control with the code in the on-click event of it because I can format it and make it match the application. Command buttons are boring gray objects. Guess I learned that I can't beat the system every time!!! Thanks again for your help/comments. Brenda Reische McDonough District Hospital -----Original Message----- From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] Sent: Friday, March 14, 2003 4:02 PM To: reische at mdh.org Subject: it does work....no thnx:-) Hope you can have a nice & quiet weekend now... Eric From John.Clark at niagaracounty.com Mon Mar 17 10:13:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 17 10:13:00 2003 Subject: [AccessD] Error linking to network Message-ID: I am trying to roll out my latest A97 program to the user. I created a directory on the network, and I have copied the BE DB to this location. I wanted to have everything as setup as could be, before I actually went to the sight, so that I could basically copy the FE down to the hard drive, place an icon on their desktop, and leave. But, when I tried to do this from my desk, I got an error that I had no rights to this directory, and that I needed to contact my network administrator. I am an administrator on our network, whic is Novell 5.1. Are there any issues that I should know about w/this? I saw it before, but I don't remember what happened. From DWUTKA at marlow.com Mon Mar 17 10:22:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 10:22:06 2003 Subject: [AccessD] A2K: This should be easy Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D2@main2.marlow.com> Ooops, you're right, Now() doesn't do that. I found this out 2 years ago, when I wrote an Atomic Clock service in VB. I was just about to look for an API to set the date and time, when I thought 'Hmmm....I wonder if...', and sure enough it worked! Drew -----Original Message----- From: Gustav Brock To: Drew Wutka Sent: 3/17/03 4:14 AM Subject: Re: [AccessD] A2K: This should be easy Hi Drew > Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > Date=Date()+1 > You've just set your systems date to tomorrow! That is scary! I didn't know that. Why do you know such weird things? But it is only Date() and Time() that works this way, not Now(). /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Mar 17 10:38:11 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 10:38:11 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <20030317163200.22163.51950.Mailman@databaseadvisors.com> Message-ID: Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine From jscott at mchsi.com Mon Mar 17 10:39:06 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 10:39:06 2003 Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Message-ID: Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine From bob at renaissancesiding.com Mon Mar 17 10:44:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon Mar 17 10:44:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) Message-ID: <01C2EC7A.753A3770.bob@renaissancesiding.com> Brenda I believe that Candace Tripp has a solution for those "boring grey buttons" on her website (www.candace-tripp.com). See the 'Color Command Buttons' links ... Regards, Bob Gajewski On Monday, March 17, 2003 10:56 AM, Reische, Brenda L. [SMTP:reische at mdh.org] wrote: > Thank you for your assistance > > I was able to get it to work finally!!! > > Surprisingly, the answer was this: > It works fine as long as the "search" button is a button control. If the > "search" button is a label control it will work the first time and not > again > > I prefer the label control with the code in the on-click event of it because > I can format it and make it match the application. Command buttons are > boring gray objects > > Guess I learned that I can't beat the system every time!!! > > Thanks again for your help/comments > > Brenda Reische > McDonough District Hospital > > -----Original Message----- > From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] > Sent: Friday, March 14, 2003 4:02 PM > To: reische at mdh.org > Subject: it does work....no thnx:-) > > Hope you can have a nice & quiet weekend now.. > > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Mon Mar 17 10:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 10:51:00 2003 Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Message-ID: Concatenate a single quote to the value in the query you export. Excel will interpret that as text because that's the way it indicates a text field. Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, March 17, 2003 8:39 AM To: AccessD at databaseadvisors. com Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 17 10:59:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 10:59:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: Sorry, Paulo, but Alpha Five is nothing like a rival for Access. It's more like an Approach rival. Charlotte Foust -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Mar 17 11:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 11:01:00 2003 Subject: [AccessD] How bout them apples Message-ID: Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From jcolby at colbyconsulting.com Mon Mar 17 11:04:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 11:04:00 2003 Subject: [AccessD] test Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3850 bytes Desc: not available URL: From mikedorism at ntelos.net Mon Mar 17 11:13:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 17 11:13:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: Message-ID: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> In the query you use to generate the report, enter that column's information as Format(LoanNumber, "0000000") as the source. When you export it to Excel, Excel should interpret this as a label. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott Sent: Monday, March 17, 2003 11:38 AM To: AccessD at databaseadvisors. com Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 17 11:14:13 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 17 11:14:13 2003 Subject: [AccessD] Acc2000 wont open after repair References: Message-ID: <3E7601EC.1060405@shaw.ca> Try the JetComp.exe utility on a copy. ACC2000: Jet Compact Utility Available in Download Centerhttp://support.microsoft.com/default.aspx?scid=kb;en-us;273956 lyle.hannum at co.wake.nc.us wrote: >Hi all > >When I got to the office this morning and attempted to open a Access 2000 >mdb that lives on our network, a msg poped up that the db was corrupted and >would I like to repair. I selected yes, and it seemed to repair itself. >However, now when I try to open it, nothing happens. No errors, no nothing. >Almost as if it was not there, however Acc97 will try to open it (giving an >error msg of unrecognizable format), it can be renamed, and copied >successfully (but still not opened) to my local drive (showing file size of >8mb). I have the same symptoms if I try to import its objects into a new >db. Access seems to open all other db's just fine. Shift-open has no >effect. Any ideas? TIA > >Lyle Hannum > > > From martyconnelly at shaw.ca Mon Mar 17 11:34:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 17 11:34:00 2003 Subject: [AccessD] How bout them apples References: <22F1CCD5171D17419CB37FEEE09D5F99D8545C@TTNEXCHSRV1.hshhp.com> Message-ID: <3E7606EE.6050103@shaw.ca> Just add one more step using XSLT, you can transform the XML, which contains schema information for row and data definitions, into XML that contains nothing more than the data we're interested in. Here is a generic XSL stylesheet for converting any simple Recordset XML into plain vanilla XML: Courtesy :Phillip Perkins, Ajilon Consulting I think I picked up this hint from builder.com or xml-dev list awhile ago. <row> < > </ > </row> The stylesheet converts each z:row node into a more natural form. When the Recordset is saved as XML, each row is converted to a z:row node with a group of attributes for each field in a record. These field attribute values are set to the current value of the field. The way to convert these is to take each attribute and convert it into a fieldvalue format. In order to prevent getting namespace information appended to the new nodes, use the element to create the < and > symbols, instead of using to create new elements. The attribute name is returned using the name() XPath function, and the value of the attribute is returned with ".". All of these new nodes are wrapped in a element after conversion. Jim DeMarco wrote: >Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). > > > rsSource.Save "c:\myxml.xml", adPersistXML > > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Sunday, March 16, 2003 11:06 PM >To: AccessD >Subject: [AccessD] How bout them apples > > >A single line of code to write an xml code from a dataset? > >DataSet11.WriteXml("c:\TestXml.xml") > >>From the click event of a button dumps the data in a dataset bound to a >table in SQL Server to an XML file on the disk. > >This .Net is cool stuff! > > >- >- > 2 > Puebla > true > false > >- > 54 > Alberta > AB > true > false > >- > 66 > Aguascalientes > AGS > true > false > >- > 4 > Alaska > AK > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Mon Mar 17 11:54:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 11:54:01 2003 Subject: [AccessD] oops - forgot to change the subject: should be Acc ess Exporting to Excel Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D3@main2.marlow.com> Does the data end up in Excel like a 'table', or is it more like a report? If it is like a table, then you can just use ADO to dump the data to Excel. Make a blank excel file, and 'pre-format' the columns as you wish. Then you can dump the data out to Excel, and it will maintain it's formatting. If it is more like a report, I would suggest creating a 'data' sheet, that gets the data from Access (with ADO), and then create a 'report' sheet that get's it data from from the 'data' sheet. Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, March 17, 2003 10:39 AM To: AccessD at databaseadvisors. com Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 17 11:58:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 11:58:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85487@TTNEXCHSRV1.hshhp.com> Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From Jdemarco at hshhp.org Mon Mar 17 11:59:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 11:59:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85489@TTNEXCHSRV1.hshhp.com> Nice Marty. Thanks, Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 17, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How bout them apples Just add one more step using XSLT, you can transform the XML, which contains schema information for row and data definitions, into XML that contains nothing more than the data we're interested in. Here is a generic XSL stylesheet for converting any simple Recordset XML into plain vanilla XML: Courtesy :Phillip Perkins, Ajilon Consulting I think I picked up this hint from builder.com or xml-dev list awhile ago. <row> < > </ > </row> The stylesheet converts each z:row node into a more natural form. When the Recordset is saved as XML, each row is converted to a z:row node with a group of attributes for each field in a record. These field attribute values are set to the current value of the field. The way to convert these is to take each attribute and convert it into a fieldvalue format. In order to prevent getting namespace information appended to the new nodes, use the element to create the < and > symbols, instead of using to create new elements. The attribute name is returned using the name() XPath function, and the value of the attribute is returned with ".". All of these new nodes are wrapped in a element after conversion. Jim DeMarco wrote: >Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). > > > rsSource.Save "c:\myxml.xml", adPersistXML > > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Sunday, March 16, 2003 11:06 PM >To: AccessD >Subject: [AccessD] How bout them apples > > >A single line of code to write an xml code from a dataset? > >DataSet11.WriteXml("c:\TestXml.xml") > >>From the click event of a button dumps the data in a dataset bound to a >table in SQL Server to an XML file on the disk. > >This .Net is cool stuff! > > >- >- > 2 > Puebla > true > false > >- > 54 > Alberta > AB > true > false > >- > 66 > Aguascalientes > AGS > true > false > >- > 4 > Alaska > AK > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From andy at minstersystems.co.uk Mon Mar 17 12:00:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon Mar 17 12:00:01 2003 Subject: [AccessD] test In-Reply-To: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> Message-ID: <002001c2ecae$9773ab80$b274d0d5@andypc> Don't know what you did to your email John, but I can't open it. My "digital Id name cannot be found by the underlying security system" or somesuch. Andy Lacey http://www.minstersystems.co.uk From reische at mdh.org Mon Mar 17 12:03:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 12:03:01 2003 Subject: [AccessD] test Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B4F@NEWMAN_EXC> Me too - and it turned off my rule for accessd. I had to go turn it back on ! -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] test Don't know what you did to your email John, but I can't open it. My "digital Id name cannot be found by the underlying security system" or somesuch. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Mar 17 12:11:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:11:01 2003 Subject: [AccessD] test Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3850 bytes Desc: not available URL: From jcolby at colbyconsulting.com Mon Mar 17 12:21:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:21:01 2003 Subject: [AccessD] test again Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3928 bytes Desc: not available URL: From jcolby at colbyconsulting.com Mon Mar 17 12:25:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:25:00 2003 Subject: [AccessD] test4 Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3852 bytes Desc: not available URL: From jscott at mchsi.com Mon Mar 17 12:38:00 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 12:38:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> Message-ID: I've tried these option and both worked great in terms of Excel seeing my data as text - however ran into these problems: Format option: my loan number varies in length and I need to keep the original length. Character attached to field: The quote shows in Excel in front of my loan number. I don't want to spend the amount of time it would take to implement Drew's suggestion - although I'm sure it's a very good suggestion! I'm using the same query for export to Excel I use as the base for my report and my form data. Any other ideas? Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Monday, March 17, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list In the query you use to generate the report, enter that column's information as Format(LoanNumber, "0000000") as the source. When you export it to Excel, Excel should interpret this as a label. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott Sent: Monday, March 17, 2003 11:38 AM To: AccessD at databaseadvisors. com Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From PBudge at cbsol.com Mon Mar 17 12:43:00 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon Mar 17 12:43:00 2003 Subject: [AccessD] test again Message-ID: All's I get is a blank email - just like that on the first one too. Was it meant to be blank? Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John W. Colby" .com> cc: Sent by: Subject: [AccessD] test again accessd-admin at databasea dvisors.com 03/17/2003 12:20 PM Please respond to accessd From mikedorism at ntelos.net Mon Mar 17 12:57:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 17 12:57:01 2003 Subject: [AccessD] test again In-Reply-To: Message-ID: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Ignore John Colby's test messages. He is learning how to digitally encrypt messages and didn't realize members of the AccessD list wouldn't be able to open them. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of PBudge at cbsol.com Sent: Monday, March 17, 2003 01:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] test again All's I get is a blank email - just like that on the first one too. Was it meant to be blank? Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John W. Colby" .com> cc: Sent by: Subject: [AccessD] test again accessd-admin at databasea dvisors.com 03/17/2003 12:20 PM Please respond to accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 17 13:01:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 17 13:01:00 2003 Subject: JC Encrypted - was RE: [AccessD] test again Message-ID: If JC wants us to read them, he needs to send us the key. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday 2003 Mar 17 12:58 To: accessd at databaseadvisors.com Subject: RE: [AccessD] test again Ignore John Colby's test messages. He is learning how to digitally encrypt messages and didn't realize members of the AccessD list wouldn't be able to open them. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com From paulo at esb.ucp.pt Mon Mar 17 13:03:14 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:03:14 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <035f01c2ecb7$d6295b00$2202a8c0@esb.ucp.pt> Jim, I believe that access will stay for a few more years and I will continue using it. Never the less I'm looking for a replacent for Access, specially for free :-) BTW .NET as also a rival: mono (www.go-mono.com) and its free (still need some work) Paulo ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:12 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paulo at esb.ucp.pt Mon Mar 17 13:06:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:06:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: <0EAA9F4906BA554FA26E6F9F2C540302098DEE@elmo.co.montgomery.ny.us> Message-ID: <036b01c2ecb8$3c19da20$2202a8c0@esb.ucp.pt> Hi Neal, On linux world consider Zope (www.zope.org) or Siteseed (www.siteseed.org). I believe that Zope is better and faster. Paulo ----- Original Message ----- From: "Neal Kling" To: Sent: Monday, March 17, 2003 1:57 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access > Now, if it would run on Linux... > > Neal Kling > > > -----Original Message----- > From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] > Sent: Monday, March 17, 2003 5:30 AM > To: AccessD Mailing List > Subject: [AccessD] Alpha Five A prototyping tool to rival Access > > > Access as a new rival. > > > > http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? > id=u00320030317RAL01.htm > ?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882> > &fromtm=e601-2&_requestid=190882 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paulo at esb.ucp.pt Mon Mar 17 13:07:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:07:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <037501c2ecb8$52299670$2202a8c0@esb.ucp.pt> MessageI agree Charlotte :-) Paulo ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 4:54 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Sorry, Paulo, but Alpha Five is nothing like a rival for Access. It's more like an Approach rival. Charlotte Foust -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 17 13:07:23 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 17 13:07:23 2003 Subject: JC Encrypted - was RE: [AccessD] test again Message-ID: Assuming we use Lookout. Which not all of us do. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 17-Mar-03 2:00:08 PM >>> If JC wants us to read them, he needs to send us the key. Charles Wortz From MarkBoyd at McBeeAssociates.com Mon Mar 17 13:30:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon Mar 17 13:30:00 2003 Subject: [AccessD] Report Writer Message-ID: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 17 13:39:01 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon Mar 17 13:39:01 2003 Subject: [AccessD] Problem with Sql Server 2000 Stored Procs in ADP Forms after Upgrade Message-ID: <005c01c2ecbc$bbc3e6e0$6501a8c0@tbig3> Over the weekend migrated an Access ADP system from Sql Server 7 to Sql Server 2000. Testing went fine. Now the users are getting errors because a ';1' (semicolon one) is being added to the name of stored procedures the forms use as a recordsource. Any suggestions? TIA, Myke -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 17 13:49:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 13:49:00 2003 Subject: [AccessD] How bout them apples In-Reply-To: Message-ID: And of course I can get the schema info using .net. Just have to add a parameter to the call. The schema info is apparently quite useful if you want to import, then write back out again. Ensures you get the same thing in all cases or something like that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") >From the click event of a button dumps the data in a dataset bound to a table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2740 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:04:00 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:04:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <014701c2ecc0$46aaf480$4b4179a5@servone> Check out RFil (http://www.mile50.com/access/rfil/). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From tomadatn at bellsouth.net Mon Mar 17 14:04:59 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 17 14:04:59 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: <035f01c2ecb7$d6295b00$2202a8c0@esb.ucp.pt> Message-ID: <001e01c2ecc0$f4717f30$6400000a@dogbert2k> Note to people making money programming with Access. 1st rule of programming lauguages - the best language will fail in the marketplace. 2nd rule of programming for money - It ain't dogfood if the dogs won't eat it. Make sure you've got a market that will pay for __________ (fill in the blank). I've got 2 friends that got mad at M$ and decided to go open source. They standardized on Berkley Free BSD, PostGreSql and PHP. They've starved for about a year developing a really good framework and have been trying to make money with it since December. They just sold a really big job to a current customer who knows how good they are and trusts them to deliver. The real test will come in about 6 months when they've finished their first job and are trying to sell people who don't know how good they are. I wish them well but still have doubts about the local market for this combination of products. They're doing a lot of the right things to help develop a market here. They've gotten active in a local Open Source group, are publicizing the Open Source message, are doing demos at local trade shows, are installing opensource for free about one Saturday a month, etc. Tom ----- Original Message ----- From: Paulo Alexandre Ramos To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:03 PM Subject: Re: [AccessD] Alpha Five A prototyping tool to rival Access Jim, I believe that access will stay for a few more years and I will continue using it. Never the less I'm looking for a replacent for Access, specially for free :-) BTW .NET as also a rival: mono (www.go-mono.com) and its free (still need some work) Paulo ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:12 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 14:07:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 14:07:01 2003 Subject: [AccessD] How bout them apples In-Reply-To: References: Message-ID: <1047931609.3e762ad95bedc@hosea.qub.ac.uk> John Charlotte has a great demo database for disconencted stuff. You should download it and have a look. Or better yet its on the book CD. Martin Quoting "John W. Colby" : > And of course I can get the schema info using .net. Just have to add > a > parameter to the call. The schema info is apparently quite useful if > you > want to import, then write back out again. Ensures you get the same > thing > in all cases or something like that. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, March 17, 2003 11:57 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] How bout them apples > > > Didn't you guys ever try persisting a recordset as XML from Access 2k > or XP? An equal no-brainer. > > Charlotte Foust > > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Sunday, March 16, 2003 10:45 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] How bout them apples > > > John...Awesome...Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Sunday, March 16, 2003 8:06 PM > To: AccessD > Subject: [AccessD] How bout them apples > > > A single line of code to write an xml code from a dataset? > > DataSet11.WriteXml("c:\TestXml.xml") > > >From the click event of a button dumps the data in a dataset bound to > a > table in SQL Server to an XML file on the disk. > > This .Net is cool stuff! > > > - > - > 2 > Puebla > true > false > > - > 54 > Alberta > AB > true > false > > - > 66 > Aguascalientes > AGS > true > false > > - > 4 > Alaska > AK > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it > free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From tomadatn at bellsouth.net Mon Mar 17 14:15:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 17 14:15:00 2003 Subject: [AccessD] Report Writer References: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <002701c2ecc2$60dea610$6400000a@dogbert2k> I've spent hundreds of hours to develop a data driven approach that lets you give them predefined criteria selection and ties that into the final report. I use local tables with the main ID populated by code that evaluated the criteria they selected, let them choose various reports and then use an inner join of Temp Table Id to Main ID of the report to limit the records selected while letting the report specify any layout of data needed. I will typically have 50 reports with something like 20 criteria (some single value and some multi-value). I've never had a client in 12 years of programming who would benefit from a completely programmatic approach to doing their own reports. Too many ways to mess it up. My way seems simple to me, they select their data criteria and I do predefined reports. Yet I still get howls of pain and comments that this is too complicated. Don't even start talking about subreports and using multiple tables to build an underlying recordsets - they scream and run out of the room. Good luck. Tom ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Monday, March 17, 2003 1:28 PM Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Mon Mar 17 14:27:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon Mar 17 14:27:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Message-ID: Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From andy at minstersystems.co.uk Mon Mar 17 14:30:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon Mar 17 14:30:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <014701c2ecc0$46aaf480$4b4179a5@servone> Message-ID: <003901c2ecc3$787979c0$b274d0d5@andypc> So, Nancy, you still write the report but then give them the ability to put in their own select criteria? Is that right? Can they specify own sort sequence too? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: 17 March 2003 20:03 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer Check out RFil ( http://www.mile50.com/access/rfil/ ). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:58:01 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:58:01 2003 Subject: [AccessD] Report Writer In-Reply-To: <003901c2ecc3$787979c0$b274d0d5@andypc> Message-ID: <000b01c2ecc7$d5efe130$ae65f7a5@servone> The report is created and then it shows up in drop down list. The user then picks the report and is given several tabs where they can pick the criteria they want to filter on and what kind of filter, and, or, between, like, in/not in etc, etc. Or the really savvy user can write their own SQL statement to use as a filter (usually I hide this ability for fear of user overload). I have never addressed the issues of sorting so I don?t know if it is built in but I believe a little tweaking could add that ability. It is really an amazing little piece of work at a wonderful price ? FREE! Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu 301-249-0137 301-675-3661 (cell) _____ I've stopped 329 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer So, Nancy, you still write the report but then give them the ability to put in their own select criteria? Is that right? Can they specify own sort sequence too? Andy Lacey HYPERLINK "http://www.minstersystems.co.uk/"http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: 17 March 2003 20:03 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer Check out RFil ( HYPERLINK "http://www.mile50.com/access/rfil/"http://www.mile50.com/access/rfil/ ). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:59:00 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:59:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <003901c2ecc3$787979c0$b274d0d5@andypc> Message-ID: <001201c2ecc8$042652f0$ae65f7a5@servone> The report is created and then it shows up in drop down list. The user then picks the report and is given several tabs where they can pick the criteria they want to filter on and what kind of filter, and, or, between, like, in/not in etc, etc. Or the really savvy user can write their own SQL statement to use as a filter (usually I hide this ability for fear of user overload). I have never addressed the issues of sorting so I don't know if it is built in but I believe a little tweaking could add that ability. It is really an amazing little piece of work at a wonderful price - FREE! Nancy Lytle N_Lytle at terpalum.umd.edu 301-249-0137 301-675-3661 (cell) --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Mar 17 14:59:36 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 14:59:36 2003 Subject: [AccessD] How bout them apples Message-ID: But why would I want to do it from A97? Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 17, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From Jdemarco at hshhp.org Mon Mar 17 15:00:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 15:00:02 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54CFC@TTNEXCHSRV1.hshhp.com> Would this work for you? Format(LoanNumber, String(Len([LoanNumber]),"0") The String function takes two arguments, the number of times to repeat and the character to repeat. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Mon Mar 17 15:02:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 15:02:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D854A5@TTNEXCHSRV1.hshhp.com> Ouch!! Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 3:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples But why would I want to do it from A97? Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 17, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From john at winhaven.net Mon Mar 17 15:47:00 2003 From: john at winhaven.net (John Bartow) Date: Mon Mar 17 15:47:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code Message-ID: Anyone have advice on deleting an entire module procedure via code? JB From dwaters at usinternet.com Mon Mar 17 16:19:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 17 16:19:00 2003 Subject: [AccessD] Curved Lines in Access? Message-ID: <002f01c2ecd3$22f43700$de1811d8@DanWaters> Folks, I would like to create a Switchboard that contains a high-level flowchart, where each block on the flowchart represents a business process. The lines between the blocks will show the links from one process to another. Clicking on a block opens the form that contains that business process. However, flowcharts look much better if the 90 degree bend in a line has a radius instead of a sharp corner. I could create an embedded image, but if I can avoid the overhead I'd like to. Does anyone know how this can be done? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Mon Mar 17 16:19:31 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 17 16:19:31 2003 Subject: [AccessD] Report Writer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <003401c2ecd3$231a5ca0$de1811d8@DanWaters> Tom, I've done this several times where the user selects their criteria, but the report layout is pre-defined. No one has ever asked me to re-format a report. One thing that a user can always do is convert the report to a spreadsheet. That way they can pull data out of a table using their criteria, and then do whatever they want in a spreadsheet. I can send you a small demo db if you would like to see it. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 1:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Mon Mar 17 16:52:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon Mar 17 16:52:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: Message-ID: Hi JB, Declare a var as module and see all the methods you can use to get your work done... you can use the modvar.find method probably if you already know the procedure name and use the proccountoflines or something to loop through all lines and use the deleteline method from module... what it comes down to is looping through the proclines and delete them.... I have to say it's a bit too much work to have it laid out to you for now but it's almost midnight and I'm going to bed;-) Maybe another member as some ready-made code for you.. Good luck, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: maandag 17 maart 2003 22:46 To: AccessD Subject: [AccessD] Deleting an Entire Module Procedure via code Anyone have advice on deleting an entire module procedure via code? JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 17-3-2003 Tested on: 17-3-2003 23:45:08 (c) 2000-2003 ALWIL Software. http://www.avast.com From stuart at lexacorp.com.pg Mon Mar 17 17:57:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 17:57:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> References: <18118943128.20030317141522@cactus.dk> Message-ID: <3E76ECE3.16099.E439CC4@localhost> I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Mon Mar 17 18:04:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 18:04:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> Message-ID: <3E76EE5E.15445.E4966B2@localhost> On 17 Mar 2003 at 7:45, Hollis,Virginia wrote: > What do I do if it is a new record they are adding to Form 3? When a new > record is added using Form 3, the RequestID (FK) shows 0. I need it to enter > the same RequestID as the opening form, whether it is Form 1 or Form 2. > > Form 3 needs to open and set the FK - (RequestID in Table 2) to the same > RequestID (PK in Table 1) as in Form 1 or Form 2. > Use OpenArgs to pass the RequestID from Form1 or Form2 Then in the Before_update(): RequestID = OpenArgs -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From jcolby at ColbyConsulting.com Mon Mar 17 18:16:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 18:16:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E76ECE3.16099.E439CC4@localhost> Message-ID: And in ~1983 or thereabouts, I built a fully 16 bit 16mhz 80186 based single board computer. I was poor and into electronics so I just built my own. The board had the processor, 256kb of Ram, 2 serial ports, a floppy controller and a HDD controller. Of course things were more expensive back then - I bought a dual 8" floppy for $700. Couldn't afford a hard disk, but really didn't need one. It all just sat out on my workbench / table with cables everywhere. It ran CPM and Turbo Pascal for CPM. That was my first real language and first real programming experience. I worked for Megatek Corporation back then, a graphics company out of Sorrento Valley in San Diego. I managed to inherit an engineering prototype graphics system (terminal) that talked to my system via a blazing fast 19.2 kbit serial port. The graphics controller actually had more power than my SBC with a dedicated 8086 processor, 1/2 mb ROm and 1/2 MB display list RAM. It had an entire graphics language that could define lines in three dimensions, rotate / scale and translate images and even do rudimentary shading and light sources. My first programming was to build a Turbo Pascal interface to all of the instructions of the display controller. About a year after I started programming I had it drawing a three dimensional sphere using joined polygons for the surface rotating and scaling up and down as I told it how to display the sphere. Quite the machine. I gave it up for an IBM PCXT 12 MHz with this new thing called IBM DOS. A HUGE step down in performance, but a HUGE step up in usability since it was a standard that people used in offices. I then bought Turbo Pascal for that as well as Word Perfect, DbIII+ and Lotus123 and never looked back. Quit the electronics world and took up programming for a living. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, March 17, 2003 6:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4032 bytes Desc: not available URL: From jmoss111 at bellsouth.net Mon Mar 17 18:45:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Mon Mar 17 18:45:00 2003 Subject: [AccessD] test Message-ID: <005101c2ece7$897175b0$98b05041@jlmoss> An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Mon Mar 17 19:24:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Mon Mar 17 19:24:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: Hi Guys thanks for the replies. I'll explain what I am doing. We have a booking app. (Not mine) We can have many bookings entered for a day and even some at the same time. Amongst other things the Booking Start Time is captured by the other app. I display it in Me.txtStartTime I also have a combo Me.cmbWarningInterval that has list entries like 5,10,15,20,25,30,45,60 each representing minutes. If I select 15 from the combo I basically want a msgbox or some other event to fire 15 minutes before the StarTime Should be simple Many thanks for listening to me Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, 17 March 2003 6:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A2K: This should be easy I know people are going to post about the DateDiff function. But I'd like to get you thinking about what you are actually trying to do. Dates and Times are stored as numbers. The date is the whole number, which represents the number of days since 12-30-1899. Thus, since days are whole numbers, you can add or subtract days by simple math. (ie, to get tomorrow, it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 is midnight. Thus, you can also just simply add or subtract values to change the time. (ie, to get an hour from now, use Now()+(1/24)). Does that make sense? Also, another little known fact about the Date, Time and Now functions. They work both ways. If you use this line of code: Date=Date()+1 You've just set your systems date to tomorrow! Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Sunday, March 16, 2003 8:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. 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 cfoust at infostatsystems.com Mon Mar 17 19:44:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 19:44:00 2003 Subject: [AccessD] OT--A2K: This should be easy Message-ID: I started with CP/M and a PC someone else put together that booted from and loaded programs from a cassette tape recorder. I thought I'd died and gone to heaven when I got a new NorthStar PC with a single floppy drive and 64K of RAM back in 1976. I switched to MS-DOS when it was first released and worked with the first versions of dBase. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 3:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were > the days! Once I did a big app on a computer system called Molecular, > that had a multi-user version of CP/M and 10MB hard disks! Bitchin > system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers > for add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to > those of VBA; I've always regarded these as functions to only read the > settings of DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ 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 Mar 17 19:50:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 19:50:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <3E770736.5574.EAA7616@localhost> You need to have a flag to let you know whether you have already triggered your event. Either include a Boolean WarningDone in you table or if you can't change the table structure, create a temp table with all of today's bookings and include the boolean field in that temp table. Private Sub Form_Timer() Dim dblMinutes as Double dblMinutes = 1 / 24 / 60 .... 'Set up recordset 'rs' to include required fields from bookings info 'including the flag ....... While not rs.eof If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ and Not rs!WarningDone Then ........ 'Do whatever you want to with the info ......... rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub On 18 Mar 2003 at 12:22, Darren Dick wrote: > Hi Guys thanks for the replies. > I'll explain what I am doing. We have a booking app. (Not mine) > We can have many bookings entered for a day and even some at the same time. > > Amongst other things the Booking Start Time is captured by the other app. > I display it in Me.txtStartTime > I also have a combo Me.cmbWarningInterval that has list entries like > 5,10,15,20,25,30,45,60 each representing minutes. > > If I select 15 from the combo I basically want a msgbox or some other event > to fire 15 minutes before the StarTime > > Should be simple > > Many thanks for listening to me > > Darren > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, 17 March 2003 6:01 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] A2K: This should be easy > > > I know people are going to post about the DateDiff function. But I'd like > to get you thinking about what you are actually trying to do. > > Dates and Times are stored as numbers. The date is the whole number, which > represents the number of days since 12-30-1899. Thus, since days are whole > numbers, you can add or subtract days by simple math. (ie, to get tomorrow, > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 > is midnight. Thus, you can also just simply add or subtract values to > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > Does that make sense? Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > > Date=Date()+1 > > You've just set your systems date to tomorrow! > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Sunday, March 16, 2003 8:46 PM > To: Access Mail Group > Subject: [AccessD] A2K: This should be easy > > > Hello all > This should be simple. > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > > So take away 15 from 11:00 should give me 10:45 > > How do I do this. > > this should be easy. It probably is, I'm just brain fading. > > 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 -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From carbonnb at sympatico.ca Mon Mar 17 21:19:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon Mar 17 21:19:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: Message-ID: <3E7649AF.19297.30D5409@localhost> On 17 Mar 2003 at 15:46, John Bartow wrote: > Anyone have advice on deleting an entire module procedure via code? John, What version of Access? Do you want to delete a complete module or just a procedure? -- Bryan Carbonnell - carbonnb at sympatico.ca I'm not a complete idiot some parts are missing. From wdhindman at bellsouth.net Mon Mar 17 22:02:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:02:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) References: <01C2EC7A.753A3770.bob@renaissancesiding.com> Message-ID: <009f01c2ed03$34aa5c60$6101a8c0@amd2k512> www.lebans.com has a module using API calls to change the colors of regular Command Buttons ...HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Bob Gajewski" To: Sent: Monday, March 17, 2003 11:43 AM Subject: RE: [AccessD] RE: it does work....no thnx:-) > Brenda > > I believe that Candace Tripp has a solution for those "boring grey buttons" > on her website (www.candace-tripp.com). See the 'Color Command Buttons' > links ... > > Regards, > Bob Gajewski > > > On Monday, March 17, 2003 10:56 AM, Reische, Brenda L. > [SMTP:reische at mdh.org] wrote: > > Thank you for your assistance > > > > I was able to get it to work finally!!! > > > > Surprisingly, the answer was this: > > It works fine as long as the "search" button is a button control. If the > > "search" button is a label control it will work the first time and not > > again > > > > I prefer the label control with the code in the on-click event of it > because > > I can format it and make it match the application. Command buttons are > > boring gray objects > > > > Guess I learned that I can't beat the system every time!!! > > > > Thanks again for your help/comments > > > > Brenda Reische > > McDonough District Hospital > > > > -----Original Message----- > > From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] > > Sent: Friday, March 14, 2003 4:02 PM > > To: reische at mdh.org > > Subject: it does work....no thnx:-) > > > > Hope you can have a nice & quiet weekend now.. > > > > > > Eric > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 bellsouth.net Mon Mar 17 22:07:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:07:00 2003 Subject: [AccessD] test again References: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Message-ID: <00ba01c2ed03$d015a740$6101a8c0@amd2k512> ...ignore JC? ...been tryin' that for years ...ain't quite succeeded as yet but I'm gainin' :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Mike and Doris Manning" To: Sent: Monday, March 17, 2003 1:58 PM Subject: RE: [AccessD] test again > Ignore John Colby's test messages. He is learning how to digitally encrypt > messages and didn't realize members of the AccessD list wouldn't be able to > open them. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of PBudge at cbsol.com > Sent: Monday, March 17, 2003 01:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] test again > > > > All's I get is a blank email - just like that on the first one too. Was it > meant to be blank? > > > Pamela G. Budge > PBudge at cbsol.com > Creative Business Solutions > > > > > "John W. Colby" > > > .com> cc: > > Sent by: Subject: [AccessD] > test again > accessd-admin at databasea > > dvisors.com > > > > > > 03/17/2003 12:20 PM > > Please respond to > > accessd > > > > > > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Mon Mar 17 22:22:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:22:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Mon Mar 17 22:23:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:23:01 2003 Subject: [AccessD] test again In-Reply-To: <00ba01c2ed03$d015a740$6101a8c0@amd2k512> Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 10290 bytes Desc: not available URL: From wdhindman at bellsouth.net Mon Mar 17 22:27:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:27:00 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <011401c2ed06$ab906970$6101a8c0@amd2k512> ...loud and clear on this end :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: John W. Colby To: AccessD Sent: Monday, March 17, 2003 11:21 PM Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 17 22:29:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon Mar 17 22:29:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: <009401c2ed06$d418ffb0$6501a8c0@tbig3> I can read it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, March 17, 2003 11:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Mon Mar 17 22:31:01 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Mon Mar 17 22:31:01 2003 Subject: [AccessD] Digital signature / certificates Message-ID: An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 17 22:35:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:35:01 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: So it appears that the certificate survived the routing through the list server as well. The problem is that the process of storing the certificate is to right click the from, which in this case is the list server, which means that if it did save the certificate it would do so to the AccessD contact not to my contact in your address book. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, March 17, 2003 11:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From john at winhaven.net Mon Mar 17 22:56:01 2003 From: john at winhaven.net (John Bartow) Date: Mon Mar 17 22:56:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <3E7649AF.19297.30D5409@localhost> Message-ID: Hi Bryan, A97, I just wanted to delete one procedure. I was just checking to see if anyone had code that I could adapt and also if there were any methods that worked/didn't work well. (I have never manipulated module code with code before so I wanted to check first.) John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Monday, March 17, 2003 9:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 15:46, John Bartow wrote: > Anyone have advice on deleting an entire module procedure via code? John, What version of Access? Do you want to delete a complete module or just a procedure? -- Bryan Carbonnell - carbonnb at sympatico.ca I'm not a complete idiot some parts are missing. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Mar 18 03:04:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 03:04:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: Message-ID: <3E76E0F3.9080701@shaw.ca> StaRKeY wrote: >Hi JB, > >Declare a var as module and see all the methods you can use to get your work >done... you can use the modvar.find method probably if you already know the >procedure name and use the proccountoflines or something to loop through all >lines and use the deleteline method from module... what it comes down to is >looping through the proclines and delete them.... > >I have to say it's a bit too much work to have it laid out to you for now >but it's almost midnight and I'm going to bed;-) Maybe another member as >some ready-made code for you.. > >Good luck, >Eric > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow >Sent: maandag 17 maart 2003 22:46 >To: AccessD >Subject: [AccessD] Deleting an Entire Module Procedure via code > > >Anyone have advice on deleting an entire module procedure via code? > >JB > > > Here is a starting point . I just was trying to list subroutines maybe you can take from there. You can also do it for forms. Public Sub DocDatabase() '==================================================================== ' Name: DocDatabase ' '==================================================================== On Error GoTo Err_DocDatabase Dim dbs As Database Dim cnt As Container Dim doc As Document Dim intCount As Integer Set dbs = CurrentDb() ' use CurrentDb() to refresh Collections Set cnt = dbs.Containers("Modules") For Each doc In cnt.Documents Debug.Print doc.Name ListAllProcsOrig (doc.Name) Next doc Set doc = Nothing Set cnt = Nothing Set dbs = Nothing Err_DocDatabase: MsgBox Err.Number & "-" & Err.Description GoTo Exit_DocDatabase Exit_DocDatabase: End Sub Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Function ListAllProcsOrig(strModuleName As String) 'Purpose: lists all procs subroutine/functions for given module 'Example: ListAllProcs("MyModule") Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenModule strModuleName ' Return reference to Module object. Set mdl = Modules(strModuleName) ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function From gustav at cactus.dk Tue Mar 18 03:32:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:32:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> References: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Message-ID: <247680874.20030318103113@cactus.dk> Hi Arthur > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. Yes! The first computer I worked with was the AVL Eagle introduced at the Photokina world fair in 1978. Its main purpose was controlling multi-image (slide) shows and as the first machine for this equipped with a monitor it was a true sensation. Here's a picture (not me!) I found (top right): http://www.avextravaganzas.com/Rental_Price_List/Computers/computers.html It's the computer at the far left with the 8" monitor on top hardly visible. The text claims 256K of ram but actually it came with 64K and room for 64K expansion boards of a size like the front of the computer. Proprietary preformatted "data diskettes" were sold at a horrible price until our British partner found out how to format empty diskettes on a standard CP/M computer. Several other programs were available for the machine like Wordstar (if I recall correctly). I never did any general purpose programming on this machine though - my job was completely different in those days ... /gustav > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). >>> > Also, another little known fact about the Date, Time >>> > and Now functions. They work both ways. If you use this line of >>> > code: >>> >>> > Date=Date()+1 >>> >>> > You've just set your systems date to tomorrow! >>> >>> That is scary! I didn't know that. >>> Why do you know such weird things? >> Because we've been using various BASICs for many years (in my case >> over 20) and once upon a time in DOS , we regularly used DATE and >> TIME to adjust the system clock. From martyconnelly at shaw.ca Tue Mar 18 03:32:40 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 03:32:40 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: Message-ID: <3E76E787.8060505@shaw.ca> John Bartow wrote: >Hi Bryan, >A97, I just wanted to delete one procedure. > >I was just checking to see if anyone had code that I could adapt and also if >there were any methods that worked/didn't work well. (I have never >manipulated module code with code before so I wanted to check first.) > >John > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell >Sent: Monday, March 17, 2003 9:18 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Deleting an Entire Module Procedure via code > > >On 17 Mar 2003 at 15:46, John Bartow wrote: > > > >>Anyone have advice on deleting an entire module procedure via code? >> >> > >John, > >What version of Access? > >Do you want to delete a complete module or just a procedure? > >-- >Bryan Carbonnell - carbonnb at sympatico.ca >I'm not a complete idiot some parts are missing. > > > > > I suppose you could also use the brute force method below and parse the output text file cutting the procedure and reload it. To bad you can't use Memory Mapped Files as a virtual file. Public Sub DocDatabase() '==================================================================== ' Name: DocDatabase ' Purpose: Documents the database to a series of text files ' ' ' Comment: Uses the undocumented [Application.SaveAsText] syntax ' To reload use the syntax [Application.LoadFromText] '==================================================================== On Error GoTo Err_DocDatabase Dim dbs As Database Dim cnt As Container Dim doc As Document Dim i As Integer Set dbs = CurrentDb() ' use CurrentDb() to refresh Collections Set cnt = dbs.Containers("Forms") For Each doc In cnt.Documents Application.SaveAsText acForm, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Reports") For Each doc In cnt.Documents Application.SaveAsText acReport, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Scripts") For Each doc In cnt.Documents Application.SaveAsText acMacro, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Modules") For Each doc In cnt.Documents Application.SaveAsText acModule, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc For i = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs (i).Name, "D:\Document\" & dbs.QueryDefs(i).Name & ".txt" Next i Set doc = Nothing Set cnt = Nothing Set dbs = Nothing Exit_DocDatabase: Exit Sub Err_DocDatabase: Select Case Err Case Else MsgBox Err.Description Resume Exit_DocDatabase End Select End Sub 'in clean database load the new form Public Function LoadForm(frm As String) On Error Resume Next Application.LoadFromText acForm, frm, "D:\YourPath\" & frm & ".txt" End Function From gustav at cactus.dk Tue Mar 18 03:38:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:38:01 2003 Subject: [AccessD] test again In-Reply-To: References: Message-ID: <288052298.20030318103724@cactus.dk> Hi John The content of your S/MIME Encrypted Message: The harder you try... ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Monday, March 17, 2003 11:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] test again ...ignore JC? ...been tryin' that for years ...ain't quite succeeded as yet but I'm gainin' :) William Hindman From gustav at cactus.dk Tue Mar 18 03:40:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:40:01 2003 Subject: [AccessD] test again In-Reply-To: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> References: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Message-ID: <1748194262.20030318103946@cactus.dk> Hi Doris My "The Bat" mailer can read these: test again. Nothing coming back to me. John W. Colby Colby Consulting www.ColbyConsulting.com --- So John, why not change to a mailer that can read its own sendings? /gustav > Ignore John Colby's test messages. He is learning how to digitally encrypt > messages and didn't realize members of the AccessD list wouldn't be able to > open them. > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com From gustav at cactus.dk Tue Mar 18 03:41:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:41:01 2003 Subject: [AccessD] test In-Reply-To: References: Message-ID: <1768246928.20030318104039@cactus.dk> Hi John That was: test John W. Colby Colby Consulting www.ColbyConsulting.com /gustav From gustav at cactus.dk Tue Mar 18 04:06:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 04:06:02 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: References: Message-ID: <729742529.20030318110534@cactus.dk> Hi John Well, if you have a mailer that can read the certificate it will among other details tell you: Invalid S/MIME certificate The publisher of this certificate link was not found. Publisher: ZA Western Cape Cape Town Thawte Certificate Services Personal Freemail RSA 2000.8.30 /gustav > So it appears that the certificate survived the routing through the list > server as well. The problem is that the process of storing the > certificate is to right click the from, which in this case is the list > server, which means that if it did save the certificate it would do so to > the AccessD contact not to my contact in your address book. From carbonnb at sympatico.ca Tue Mar 18 04:31:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 18 04:31:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: References: <3E7649AF.19297.30D5409@localhost> Message-ID: <3E76AEED.30785.19725D@localhost> On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From andy at minstersystems.co.uk Tue Mar 18 06:15:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 06:15:01 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 06:20:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 06:20:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF42@exchange.pgdp> That works! Thank you. First time I ever tried anything like that. Never really knew how the openArgs worked - learned something. Va. -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 6:01 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] One form for all On 17 Mar 2003 at 7:45, Hollis,Virginia wrote: > What do I do if it is a new record they are adding to Form 3? When a new > record is added using Form 3, the RequestID (FK) shows 0. I need it to enter > the same RequestID as the opening form, whether it is Form 1 or Form 2. > > Form 3 needs to open and set the FK - (RequestID in Table 2) to the same > RequestID (PK in Table 1) as in Form 1 or Form 2. > Use OpenArgs to pass the RequestID from Form1 or Form2 Then in the Before_update(): RequestID = OpenArgs -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From andy at minstersystems.co.uk Tue Mar 18 06:20:31 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 06:20:31 2003 Subject: [AccessD] Predefining PDF filename Message-ID: <20030318121915.386A51E219E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 06:29:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 06:29:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> Message-ID: Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From jarus at amerinet-gpo.com Tue Mar 18 06:49:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 06:49:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: I was able to read your email and the certificate. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 07:09:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 07:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> Message-ID: <002301c2ed4f$9a7edd80$6101a8c0@amd2k512> ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ...WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at pacific.net.hk Tue Mar 18 07:12:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue Mar 18 07:12:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: <001801c2ed4f$dc035380$2900a8c0@BITSNB02> Just as a side note and depending on your needs, a commonly use digitial signing/ encryption system is pgp. It is pretty much platform independent, is well tested and trusted and has a few nice features. Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, 18 March, 2003 12:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From andy at minstersystems.co.uk Tue Mar 18 07:20:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 07:20:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318131907.DCDD21E2192@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Tue Mar 18 07:21:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 07:21:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318132049.CEFA71E24A9@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 07:37:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 07:37:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: <20030318132049.CEFA71E24A9@mrburns.nildram.co.uk> Message-ID: <005e01c2ed53$77325150$6101a8c0@amd2k512> System File Checker ...HTH :) http://support.microsoft.com/default.aspx?scid=kb;en-us;188186 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 8:20 AM Subject: Re: [AccessD] Slightly OT: Installation protocol Hi William What's the W98SE utility called? Sounds really useful in a situation like this. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "William Hindman" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 18:15 ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ....WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 18 07:37:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 18 07:37:26 2003 Subject: [AccessD] Digital signature / certificates Message-ID: John, I get your e-mails with you listed as the From: and AccessD as the To:. So all works fine. It's when I reply that AccessD gets set to the To: and you disappear. This is with Outlook 10 SP1. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 17 22:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates So it appears that the certificate survived the routing through the list server as well. The problem is that the process of storing the certificate is to right click the from, which in this case is the list server, which means that if it did save the certificate it would do so to the AccessD contact not to my contact in your address book. John W. Colby Colby Consulting www.ColbyConsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 07:41:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 07:41:01 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <20030318131907.DCDD21E2192@mrburns.nildram.co.uk> Message-ID: Unfortunately they did exactly what they were told to do. The system is broken, and there is no cure within the system. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Interesting John, but doesn't help when receiving other people's stuff. What should they have done different that would have saved me some grief? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "John W. Colby" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 17:37 Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- -- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From lyle.hannum at co.wake.nc.us Tue Mar 18 07:46:00 2003 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Tue Mar 18 07:46:00 2003 Subject: [AccessD] Acc2000 wont open after repair Message-ID: That did the trick, thanks bunches. MartyConnelly To: accessd at databaseadvisors.com Sent by: cc: accessd-admin at databasead Subject: Re: [AccessD] Acc2000 wont open after visors.com repair 03/17/03 12:12 PM Please respond to accessd Try the JetComp.exe utility on a copy. ACC2000: Jet Compact Utility Available in Download Centerhttp://support.microsoft.com/default.aspx?scid=kb;en-us;273956 lyle.hannum at co.wake.nc.us wrote: >Hi all > >When I got to the office this morning and attempted to open a Access 2000 >mdb that lives on our network, a msg poped up that the db was corrupted and >would I like to repair. I selected yes, and it seemed to repair itself. >However, now when I try to open it, nothing happens. No errors, no nothing. >Almost as if it was not there, however Acc97 will try to open it (giving an >error msg of unrecognizable format), it can be renamed, and copied >successfully (but still not opened) to my local drive (showing file size of >8mb). I have the same symptoms if I try to import its objects into a new >db. Access seems to open all other db's just fine. Shift-open has no >effect. Any ideas? TIA > >Lyle Hannum > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 08:01:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 08:01:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Here's what I do. When I build a setup for a VB App, I give the user the ability to NOT install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do have it set to install by default though. I only install the runtimes if an older version is on the system, but before I do that, I back them up. I don't give the user a choice, they get backed up. Period. When the app gets uninstalled, if there are files in the backup directory, then I ask if they want to restore the DLLs to the pre install state. If they do, great, they get restored, if not, the backups get deleted. There really isn't anything that can be done in your situation. As others have said, welcome to DLL Hell. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> I'd like to know from you who install your VB apps on other people'smachines whether it's normal practice to overwrite system dll's that areolder than the one you're sending out, without asking or telling? A userhere installed a demo which installed a version of oleaut32.dll. Theirversion was newer but it stll messed up my Access app, specifically where ittalked to Outlook. Do I have a grouse? From jcolby at ColbyConsulting.com Tue Mar 18 08:14:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:14:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 11652 bytes Desc: not available URL: From michael.mattys at adelphia.net Tue Mar 18 08:19:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 18 08:19:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: <3E7649AF.19297.30D5409@localhost> <3E76AEED.30785.19725D@localhost> Message-ID: <002601c2ed5a$c1f2f580$6401a8c0@default> John, This might help a little bit Mike Mattys www.mattysconsulting.com '----------------------------------------- Private Function FindDelete(strModuleName As String, strSearchText As String) As Boolean ' ' Mattys Consulting 2003 ' Returns True if successful in deleting the line ' This is ONLY useful for ONE-LINERS - the find method cannot find chr(13) or chr(10) ' Dim mdl As Module Dim lngSLine As Long, lngSCol As Long Dim lngELine As Long, lngECol As Long Dim strLine As String, strNewLine As String Dim intChr As Integer, intBefore As Integer, intAfter As Integer Dim strLeft As String, strRight As String DoCmd.OpenModule strModuleName Set mdl = Modules(strModuleName) If mdl.Find(strSearchText, lngSLine, lngSCol, lngELine, lngECol) Then ' Store text of line containing string. strLine = mdl.Lines(lngSLine, Abs(lngELine - lngSLine) + 1) mdl.DeleteLines lngSLine, 1 FindDelete = True Else FindDelete = False End If Exit_FindDelete: Exit Function Error_FindDelete: MsgBox Err & ": " & Err.Description FindDelete = False Resume Exit_FindDelete End Function From andy at minstersystems.co.uk Tue Mar 18 08:19:22 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 08:19:22 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318141820.E34F21E258E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Tue Mar 18 08:20:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 08:20:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318141854.E0BE91E2489@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:28:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:28:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 9058 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:35:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:35:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: test again John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol Here's what I do. When I build a setup for a VB App, I give the user the ability to NOT install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do have it set to install by default though. I only install the runtimes if an older version is on the system, but before I do that, I back them up. I don't give the user a choice, they get backed up. Period. When the app gets uninstalled, if there are files in the backup directory, then I ask if they want to restore the DLLs to the pre install state. If they do, great, they get restored, if not, the backups get deleted. There really isn't anything that can be done in your situation. As others have said, welcome to DLL Hell. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> I'd like to know from you who install your VB apps on other people'smachines whether it's normal practice to overwrite system dll's that areolder than the one you're sending out, without asking or telling? A userhere installed a demo which installed a version of oleaut32.dll. Theirversion was newer but it stll messed up my Access app, specifically where ittalked to Outlook. Do I have a grouse? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2600 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:42:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:42:01 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 11664 bytes Desc: not available URL: From JRojas at tnco-inc.com Tue Mar 18 08:59:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 08:59:00 2003 Subject: [AccessD] OT: MSDE on Window XP Message-ID: <806536912C472E4A9D6515DF2E57261E0C5924@mercury.tnco-inc.com> Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From wdhindman at bellsouth.net Tue Mar 18 09:07:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:07:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <001d01c2ed60$17afdd80$6101a8c0@amd2k512> JC ...I know! ...I know! ...you're testing our patience! :) ...what happens when we fail? :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 9:34 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > test again > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > Sent: Tuesday, March 18, 2003 9:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > Here's what I do. > > When I build a setup for a VB App, I give the user the ability to NOT > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do > have it set to install by default though. > > I only install the runtimes if an older version is on the system, but before > I do that, I back them up. I don't give the user a choice, they get backed > up. Period. > > When the app gets uninstalled, if there are files in the backup directory, > then I ask if they want to restore the DLLs to the pre install state. > > If they do, great, they get restored, if not, the backups get deleted. > > There really isn't anything that can be done in your situation. As others > have said, welcome to DLL Hell. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > I'd like to know from you who install your VB apps on other people'smachines > whether it's normal practice to overwrite system dll's that areolder than > the one you're sending out, without asking or telling? A userhere installed > a demo which installed a version of oleaut32.dll. Theirversion was newer but > it stll messed up my Access app, specifically where ittalked to Outlook. Do > I have a grouse? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From jarus at amerinet-gpo.com Tue Mar 18 09:10:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 09:10:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Tue Mar 18 09:14:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 09:14:00 2003 Subject: [AccessD] OT: MSDE on Window XP (more) Message-ID: <806536912C472E4A9D6515DF2E57261E0C5925@mercury.tnco-inc.com> It looks like the problem is because I have installed the SQL 7.0 tools. I did this because we have a SQL 7.0 server that I would like to administer from my desktop...but it looks like this is screwing up my installation of MSDE 1.0. -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 10:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jcolby at ColbyConsulting.com Tue Mar 18 09:17:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 09:17:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <001d01c2ed60$17afdd80$6101a8c0@amd2k512> Message-ID: Ranting and raving? in fact something strange is happening with this digital sig thing I'm trying to use. I reply to a message one time and it appears to be locked, can't be read. Another reply(this test you replied to) is not locked. the technology is not ready for prime time methinks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 18, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol JC ...I know! ...I know! ...you're testing our patience! :) ...what happens when we fail? :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 9:34 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > test again > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > Sent: Tuesday, March 18, 2003 9:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > Here's what I do. > > When I build a setup for a VB App, I give the user the ability to NOT > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do > have it set to install by default though. > > I only install the runtimes if an older version is on the system, but before > I do that, I back them up. I don't give the user a choice, they get backed > up. Period. > > When the app gets uninstalled, if there are files in the backup directory, > then I ask if they want to restore the DLLs to the pre install state. > > If they do, great, they get restored, if not, the backups get deleted. > > There really isn't anything that can be done in your situation. As others > have said, welcome to DLL Hell. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > I'd like to know from you who install your VB apps on other people'smachines > whether it's normal practice to overwrite system dll's that areolder than > the one you're sending out, without asking or telling? A userhere installed > a demo which installed a version of oleaut32.dll. Theirversion was newer but > it stll messed up my Access app, specifically where ittalked to Outlook. Do > I have a grouse? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3200 bytes Desc: not available URL: From paul.hartland at fsmail.net Tue Mar 18 09:17:34 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 18 09:17:34 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: <20030318151637.BJFZ20663.fep03-svc.ttys.com@localhost> Couldn't you use the LostFocus Event of the Comments in the sub form i.e : In the LostFocus Event type Forms!MainForm!NameCBO.SetFocus I'm sure I have used something like this in the past Paul From: "Terri Jarus" Date: Tue 18/Mar/2003 15:16 GMT To: Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From michael.mattys at adelphia.net Tue Mar 18 09:23:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 18 09:23:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form References: Message-ID: <007101c2ed63$9ede28e0$6401a8c0@default> Terri, See this KB Article http://support.microsoft.com/default.aspx?scid=KB;en-us;q154893 Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Terri Jarus" To: Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form > I am working in a subform and want to tab from one field back to a field > on the main form. How do I get focus to the field on the main form? > > MainForm - CashReceipts > SubFormControl - SubCashCtl > > Field on subform is Comments - once I tab off that field I want the > focus to set to the field nameCbo on the main form. > > I can't seem to get it right - couldn't find anything in the archives. > > Thanks for any help. > From jarus at amerinet-gpo.com Tue Mar 18 09:27:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 09:27:01 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: That is almost what I did - except I used Form!... instead of Forms!... which works. Thank you very much. >>> paul.hartland at fsmail.net 03/18/03 09:16AM >>> Couldn't you use the LostFocus Event of the Comments in the sub form i.e : In the LostFocus Event type Forms!MainForm!NameCBO.SetFocus I'm sure I have used something like this in the past Paul From: "Terri Jarus" Date: Tue 18/Mar/2003 15:16 GMT To: Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Mar 18 09:34:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue Mar 18 09:34:00 2003 Subject: [AccessD] OT: MSDE on Window XP In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5924@mercury.tnco-inc.com> Message-ID: <000701c2ed63$adb487b0$9111758f@aine> Whats the error message if any. I have it running on three XP Pro machines. Martin Martin WP Reid Analyst/Trainer Information Service 02890 273750 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe Rojas Sent: 18 March 2003 15:02 To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Mar 18 09:42:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:42:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form References: Message-ID: <004401c2ed64$df042ae0$6101a8c0@amd2k512> Terri ...if its a single record subform, try something like this. ...on your SubCashCtl subform, set the Comments control's OnExit property to an event, then place this in its CBF: Private Sub Comments_Exit(Cancel As Integer) Forms![CashReceipts]![nameCbo].SetFocus Exit Sub End Sub...if its a multiple record subform, you'd need to do a MoveLast first and enclose the SetFocus in an IfThen construct....HTH :)William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Terri Jarus To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 09:59:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:59:01 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <000e01c2ed67$51f46220$6101a8c0@amd2k512> "the technology is not ready for prime time methinks." JC ...methinks :))) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 10:16 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > Ranting and raving? > > in fact something strange is happening with this digital sig thing I'm > trying to use. I reply to a message one time and it appears to be locked, > can't be read. Another reply(this test you replied to) is not locked. > > the technology is not ready for prime time methinks. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Tuesday, March 18, 2003 10:07 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > JC > > ...I know! ...I know! ...you're testing our patience! :) > > ...what happens when we fail? :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Tuesday, March 18, 2003 9:34 AM > Subject: RE: [AccessD] Slightly OT: Installation protocol > > > > test again > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > > Sent: Tuesday, March 18, 2003 9:00 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > > > > Here's what I do. > > > > When I build a setup for a VB App, I give the user the ability to NOT > > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I > do > > have it set to install by default though. > > > > I only install the runtimes if an older version is on the system, but > before > > I do that, I back them up. I don't give the user a choice, they get backed > > up. Period. > > > > When the app gets uninstalled, if there are files in the backup directory, > > then I ask if they want to restore the DLLs to the pre install state. > > > > If they do, great, they get restored, if not, the backups get deleted. > > > > There really isn't anything that can be done in your situation. As others > > have said, welcome to DLL Hell. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > > I'd like to know from you who install your VB apps on other > people'smachines > > whether it's normal practice to overwrite system dll's that areolder than > > the one you're sending out, without asking or telling? A userhere > installed > > a demo which installed a version of oleaut32.dll. Theirversion was newer > but > > it stll messed up my Access app, specifically where ittalked to Outlook. > Do > > I have a grouse? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From cfoust at infostatsystems.com Tue Mar 18 10:02:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:02:00 2003 Subject: [AccessD] OT: MSDE on Window XP (more) Message-ID: MSDE 1.0 *is* SQL Server 7, so the tools shouldn't mess anything up. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:17 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: MSDE on Window XP (more) It looks like the problem is because I have installed the SQL 7.0 tools. I did this because we have a SQL 7.0 server that I would like to administer from my desktop...but it looks like this is screwing up my installation of MSDE 1.0. -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 10:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 18 10:03:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:03:00 2003 Subject: [AccessD] OT: MSDE on Window XP Message-ID: Do you have SQL Server installed on your machine? You won't be able to install MSDE if you already have SQL Server installed. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:09:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: So what were you trying to say? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at ColbyConsulting.com 18-Mar-03 10:16:40 AM >>> Ranting and raving? in fact something strange is happening with this digital sig thing I'm trying to use. I reply to a message one time and it appears to be locked, can't be read. Another reply(this test you replied to) is not locked. the technology is not ready for prime time methinks. From cfoust at infostatsystems.com Tue Mar 18 10:09:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:09:23 2003 Subject: [AccessD] Digital signature / certificates Message-ID: These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:10:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:10:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: I wouldn't call it efficient. Just courteous. Let's just say, I've been bitten like that before and I *TRY* not to inflict it upon others. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 9:18:24 AM >>> That sounds a damned sight better than what happended to me Bryan. Wisheveryone was as efficient. From jcolby at ColbyConsulting.com Tue Mar 18 10:20:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 10:20:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: MessageYea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Tue Mar 18 10:31:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Tue Mar 18 10:31:00 2003 Subject: [AccessD] Predefining PDF filename References: <20030318121915.386A51E219E@mrburns.nildram.co.uk> Message-ID: <004601c2ed6c$3b425910$6400000a@dogbert2k> Just a thought. Why don't you rename and move the file after it's generated? Tom ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 6:19 AM Subject: [AccessD] Predefining PDF filename Hi all I've been using Acrobat's PDFWriter for ages from my Access app. However I have a problem with it today, in that it messes up some colours, which some users object to. I could switch to Acrobat Distiller, which is much better at preserving colours, but.......the one thing that PDFWriter gives me is the ability, via PdfWritr.ini, to predefine the name and location of the output pdf so that I can control it and not have users doing so (believe me, it's important). Does anyone know if this can be done using Distiller, and if so how? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Tue Mar 18 10:31:27 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Tue Mar 18 10:31:27 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: <3E7649AF.19297.30D5409@localhost> <3E76AEED.30785.19725D@localhost> Message-ID: <004701c2ed6c$3b44a300$6400000a@dogbert2k> If you download my Documentor and stir around in it you'll find some code to read modules and procedures. I think it's the code that requires a seldom used reference. www.accessdevgroup.org - click Download in the left pane. Tom ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Tuesday, March 18, 2003 4:30 AM Subject: RE: [AccessD] Deleting an Entire Module Procedure via code > On 17 Mar 2003 at 22:54, John Bartow wrote: > > > Hi Bryan, > > A97, I just wanted to delete one procedure. > > > > I was just checking to see if anyone had code that I could adapt and > > also if there were any methods that worked/didn't work well. (I have > > never manipulated module code with code before so I wanted to check > > first.) > > Sorry. Can't help with 97. I never have figured out code > manipulation in 97 :-( > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Tue Mar 18 10:32:05 2003 From: john at winhaven.net (John Bartow) Date: Tue Mar 18 10:32:05 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <3E76AEED.30785.19725D@localhost> Message-ID: Bryan, Does that imply that module code handling is much better in A2k/XP? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 4:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:38:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:38:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code Message-ID: IMHO yes. Because A2K and XP (I presume) have a totally separate VBE for code, and with that comed an almost complete object model, it makes it easier to get at. Having said that, I have never really put that much time into looking at code manipulation in A97. So it could be easy, I just haven't stumbled on the "magic key" that opens it up. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> john at winhaven.net 18-Mar-03 11:32:00 AM >>> Bryan, Does that imply that module code handling is much better in A2k/XP? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 4:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( From JRojas at tnco-inc.com Tue Mar 18 10:39:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 10:39:00 2003 Subject: [AccessD] OT: MSDE on Window XP (solved) Message-ID: <806536912C472E4A9D6515DF2E57261E0C5926@mercury.tnco-inc.com> What I originally did was install the SQL Server 7.0 Client tools first, then installed SP4. When I tried to install MSDE, it came back telling me that the install failed. What I had to do was uninstall the tools, then install MSDE first followed by installing the Client tools then finally install SP4. Now everything is all set, seemingly. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: MSDE on Window XP Do you have SQL Server installed on your machine? You won't be able to install MSDE if you already have SQL Server installed. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mwp.reid at qub.ac.uk Tue Mar 18 10:41:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue Mar 18 10:41:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: Message-ID: <000001c2ed6d$15388900$9111758f@aine> We have a form containing three Radio button. We want to test a value in each field on a temp table. Where the value = YES we want to set the Radio button. The radio buttons are simply objects on the form with no connection to any table etc. Something basic is missing here and for the life of me I can't see it. Martin From my.lists at verizon.net Tue Mar 18 10:45:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue Mar 18 10:45:01 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <008d01c2ed6d$de0bf920$b615010a@FHTAPIA> OUCH! I would NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever (sounds like a monty python skit) consider placing MY SSN into a browser that did not at least display the security icon so at least I'd have that sense of security :O. I still will browse on line and then call the stores to place my orders ;o) -Francisco http://rcm.netfirms.com On Monday, March 17, 2003 8:21 PM [GMT-8], John W. Colby wrote: : I thought you guys might be interested in what I have figured out. : First of all there is a company that provides FREE personal email : certificates. Most such companies charge a small fee for them. : : http://www.thawte.com/html/COMMUNITY/personal/index.html : : In order to get this you have to fill out a form with your address, : phone and one personal ID number - SSN, Drivers License Number or : Passport Number. Basically after following the process you are sent : an email to the email address you provide them that contains a "ping" : hotlink that you have to click on which then tells them you received : the email and you are then issued the certificate. From andy at minstersystems.co.uk Tue Mar 18 10:46:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 10:46:00 2003 Subject: [AccessD] Predefining PDF filename Message-ID: <20030318164519.0285B1E244E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 10:48:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 10:48:00 2003 Subject: [AccessD] Unbound Radio Buttons References: <000001c2ed6d$15388900$9111758f@aine> Message-ID: <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> "Something basic is missing here and for the life of me I can't see it." Martin ...and for the life of me Martin, I can't see where you've said what the problem is :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Martin Reid" To: "accessd" Sent: Tuesday, March 18, 2003 11:40 AM Subject: [AccessD] Unbound Radio Buttons > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bob at renaissancesiding.com Tue Mar 18 10:49:01 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue Mar 18 10:49:01 2003 Subject: [AccessD] Unbound Radio Buttons Message-ID: <01C2ED44.59433150.bob@renaissancesiding.com> Martin Can you be a little more specific, and perhaps show the code that you are currently using? Are these three radio buttons part of a select group (frame)? When you say "test a value in each field", are you testing the value of a single [Boolean] field in each record from the temp table? Without more information, the best that I can suggest is that you want to set the value of the FRAME; not the individual radio buttons. Regards, Bob Gajewski On Tuesday, March 18, 2003 11:40 AM, Martin Reid [SMTP:mwp.reid at qub.ac.uk] wrote: > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jarus at amerinet-gpo.com Tue Mar 18 11:00:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 11:00:01 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: It was a multiple-record subform, however, the OnLostFocus event from the field works fine (Forms![CashReceipts]![nameCbo].SetFocus ). >>> wdhindman at bellsouth.net 03/18/03 09:41AM >>> Terri ...if its a single record subform, try something like this. ...on your SubCashCtl subform, set the Comments control's OnExit property to an event, then place this in its CBF: Private Sub Comments_Exit(Cancel As Integer) Forms![CashReceipts]![nameCbo].SetFocus Exit Sub End Sub ...if its a multiple record subform, you'd need to do a MoveLast first and enclose the SetFocus in an IfThen construct. ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Terri Jarus To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 18 11:04:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 18 11:04:01 2003 Subject: [AccessD] Unbound Radio Buttons References: <000001c2ed6d$15388900$9111758f@aine> Message-ID: <005401c2ed70$61de64c0$abe6ffcc@SusanOne> Maybe you should try checkboxes instead -- the radio buttons return a value as a group, not as individual buttons. Susan H. > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Tue Mar 18 11:06:01 2003 From: john at winhaven.net (John Bartow) Date: Tue Mar 18 11:06:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <004701c2ed6c$3b44a300$6400000a@dogbert2k> Message-ID: Thanks I'll check it out. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Tom Adams Sent: Tuesday, March 18, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting an Entire Module Procedure via code If you download my Documentor and stir around in it you'll find some code to read modules and procedures. I think it's the code that requires a seldom used reference. www.accessdevgroup.org - click Download in the left pane. Tom ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Tuesday, March 18, 2003 4:30 AM Subject: RE: [AccessD] Deleting an Entire Module Procedure via code > On 17 Mar 2003 at 22:54, John Bartow wrote: > > > Hi Bryan, > > A97, I just wanted to delete one procedure. > > > > I was just checking to see if anyone had code that I could adapt and > > also if there were any methods that worked/didn't work well. (I have > > never manipulated module code with code before so I wanted to check > > first.) > > Sorry. Can't help with 97. I never have figured out code > manipulation in 97 :-( > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Tue Mar 18 11:11:01 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue Mar 18 11:11:01 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99E54CFC@TTNEXCHSRV1.hshhp.com> Message-ID: This worked perfectly!! I totally forgot about that function. Thanks! Jeanine -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 17, 2003 2:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Would this work for you? Format(LoanNumber, String(Len([LoanNumber]),"0") The String function takes two arguments, the number of times to repeat and the character to repeat. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Tue Mar 18 11:23:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:23:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <005401c2ed70$61de64c0$abe6ffcc@SusanOne> Message-ID: >the radio buttons return a value as a group, not as individual buttons. Not quite true. Radio buttons can be individual controls in which case they return a true or false (or null). If a part of a group, then the GROUP returns one value, the radio button currently selected, and also enforces the "only one selected at a time" rule. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Unbound Radio Buttons Maybe you should try checkboxes instead -- the radio buttons return a value as a group, not as individual buttons. Susan H. > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2304 bytes Desc: not available URL: From ttom at accessyourdata.com Tue Mar 18 11:33:19 2003 From: ttom at accessyourdata.com (t tom) Date: Tue Mar 18 11:33:19 2003 Subject: [AccessD] Re: How to add a table description via code Message-ID: <003301c2ed73$d5a24a40$132b9244@cg.shawcable.net> Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 11:35:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:35:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: <008d01c2ed6d$de0bf920$b615010a@FHTAPIA> Message-ID: Did you get to the point where you were being asked to enter your SSN? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Tuesday, March 18, 2003 11:46 AM To: AccessD Subject: Re: [AccessD] Digital signature / certificates OUCH! I would NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever (sounds like a monty python skit) consider placing MY SSN into a browser that did not at least display the security icon so at least I'd have that sense of security :O. I still will browse on line and then call the stores to place my orders ;o) -Francisco http://rcm.netfirms.com On Monday, March 17, 2003 8:21 PM [GMT-8], John W. Colby wrote: : I thought you guys might be interested in what I have figured out. : First of all there is a company that provides FREE personal email : certificates. Most such companies charge a small fee for them. : : http://www.thawte.com/html/COMMUNITY/personal/index.html : : In order to get this you have to fill out a form with your address, : phone and one personal ID number - SSN, Drivers License Number or : Passport Number. Basically after following the process you are sent : an email to the email address you provide them that contains a "ping" : hotlink that you have to click on which then tells them you received : the email and you are then issued the certificate. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2588 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 18 11:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 11:41:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822E8@main2.marlow.com> Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 11:48:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 11:48:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822E9@main2.marlow.com> system file checker. (Start, Run, sfc) When I got Windows ME Beta (3), the first thing I did was try to open system file checker, and I got a message saying that ME 'protected' system files, so there was no need to put SFC on Windows ME. (It took me a while to stop laughing.) SFC not only checks your system files, but it will extract files from your cab files, and replace them 'live'. A good example for that is replacing your winsock files. In 95, you have to boot to DOS, to replace the winsock .dll's. In 98, SFC just asks what files you want replacing. It 'unhooks' them, and copies the originals from the cab files. Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, March 18, 2003 7:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol Hi William What's the W98SE utility called? Sounds really useful in a situation like this. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "William Hindman" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 18:15 ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ....WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 11:48:49 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:48:49 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822E8@main2.marlow.com> Message-ID: Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Tue Mar 18 11:57:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 18 11:57:00 2003 Subject: [AccessD] Unbound Radio Buttons Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AA3@NT04> Martin, I would use the DLookup function in the control source for the radio buttons. Requery each button when the form changes. Jim -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, March 18, 2003 10:40 AM To: accessd Subject: [AccessD] Unbound Radio Buttons We have a form containing three Radio button. We want to test a value in each field on a temp table. Where the value = YES we want to set the Radio button. The radio buttons are simply objects on the form with no connection to any table etc. Something basic is missing here and for the life of me I can't see it. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Mar 18 12:02:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 18 12:02:00 2003 Subject: [AccessD] A2K: This should be easy References: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> <247680874.20030318103113@cactus.dk> Message-ID: <008701c2ed78$5f471e70$6601a8c0@HAL9002> Eagle computer. Very sad story that. The day they went public one of the guys who started it and had just become a multi-millionaire left the celebration in his new Jag lost control killed himself. The company never recovered. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Arthur Fuller" Sent: Tuesday, March 18, 2003 1:31 AM Subject: Re: [AccessD] A2K: This should be easy > Hi Arthur > > > Anyone in this list besides me old enough to remember CP/M? Those were the > > days! Once I did a big app on a computer system called Molecular, that had a > > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > Yes! The first computer I worked with was the AVL Eagle introduced at > the Photokina world fair in 1978. Its main purpose was controlling > multi-image (slide) shows and as the first machine for this equipped > with a monitor it was a true sensation. > > Here's a picture (not me!) I found (top right): > > http://www.avextravaganzas.com/Rental_Price_List/Computers/computers.html > > It's the computer at the far left with the 8" monitor on top hardly > visible. > The text claims 256K of ram but actually it came with 64K and room for > 64K expansion boards of a size like the front of the computer. > Proprietary preformatted "data diskettes" were sold at a horrible > price until our British partner found out how to format empty > diskettes on a standard CP/M computer. > Several other programs were available for the machine like Wordstar (if > I recall correctly). > > I never did any general purpose programming on this machine though - > my job was completely different in those days ... > > /gustav > > > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > > add-on battery clocks for XT machines. > > > What I didn't know was that these (Date and Time) were equivalent to those > > of VBA; I've always regarded these as functions to only read the settings of > > DOS (or WinNT+). > > > >>> > Also, another little known fact about the Date, Time > >>> > and Now functions. They work both ways. If you use this line of > >>> > code: > >>> > >>> > Date=Date()+1 > >>> > >>> > You've just set your systems date to tomorrow! > >>> > >>> That is scary! I didn't know that. > >>> Why do you know such weird things? > > >> Because we've been using various BASICs for many years (in my case > >> over 20) and once upon a time in DOS , we regularly used DATE and > >> TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 18 12:05:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 18 12:05:01 2003 Subject: [AccessD] Fw: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Message-ID: <00ce01c2ed78$ca01f6e0$6601a8c0@HAL9002> From cfoust at infostatsystems.com Tue Mar 18 12:09:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:10:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:10:00 2003 Subject: [AccessD] Re: How to add a table description via code Message-ID: DAO or ADO? Either way, you may have to create a description property for the table and then set its value. Charlotte Foust -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Tuesday, March 18, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: How to add a table description via code Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:15:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:15:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: My outlook won't even let me reply to the ones with the blue symbol. It wants nothing to do with them. Pretty good security at that! NOBODY can get in, even the author. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates Yea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 12:19:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 12:19:00 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <004b01c2ed7a$d14b4800$6101a8c0@amd2k512> Message...there's a menu dropdown that lets you remove the digital signature and reply. William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:10 PM Subject: RE: [AccessD] Digital signature / certificates My outlook won't even let me reply to the ones with the blue symbol. It wants nothing to do with them. Pretty good security at that! NOBODY can get in, even the author. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates Yea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 12:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 12:22:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822EB@main2.marlow.com> I know. Actually, I still like VB 6.0...cause the runtimes aren't much there either...though MDAC tacks on several megs. (Better drop this thread, I can already see another blurb about PowerBuilder coming.....) Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 11:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 12:32:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 12:32:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 12:35:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 12:35:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF4F@exchange.pgdp> I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:49:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:49:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 13:12:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 13:12:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <001901c2ed82$32090ae0$6101a8c0@amd2k512> Message...now, now ...no need to whack him Charlotte ...you can get arrested for child abuse that way ...have patience ...being a toddler among all us old farts, he can hardly avoid being overcome with our emanations and thus compelled to quickly flee back to the pampered safety of his toy box :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:44 PM Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------------------------------------------------------------------------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rich_Lavsa at pghcorning.com Tue Mar 18 13:14:00 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue Mar 18 13:14:00 2003 Subject: [AccessD] OT: DOS COMMAND Message-ID: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich From pnl1 at psu.edu Tue Mar 18 13:19:01 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Tue Mar 18 13:19:01 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: Message-ID: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 18 13:20:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 18 13:20:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> References: <000001c2ed6d$15388900$9111758f@aine> <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> Message-ID: <1048015163.3e77713b76b04@hosea.qub.ac.uk> PMSL The problem of course Graham. oneof our developers ahs a test DB containing a table fo three values. One of the fields is a yes/No Data Type. He has a form onto which he has placed three radio buttons. Said buttons are not tied to a table. Names are A1,A2,A3 He has a small DAO loop which opens the recordset from the temp table and if it finds a value for a disibility type one he wants to set the radio button A1 to on. If he finds a disibility type of 2 then set radio button A2 on and the same for three. Problem is it dont work. If fieldName = 1 then A1 = -1 and so on This is one of those where I know the answer but it just will not come out. Its sitting at the front of my head but thats as far as it goes. The loop is working as I get a count of three in the message box but the radio button remain unset. Martin Quoting William Hindman : > "Something basic is missing here and for the life of me I can't see > it." > Martin > > ...and for the life of me Martin, I can't see where you've said what > the > problem is :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > ----- Original Message ----- > From: "Martin Reid" > To: "accessd" > Sent: Tuesday, March 18, 2003 11:40 AM > Subject: [AccessD] Unbound Radio Buttons > > > > > > We have a form containing three Radio button. > > > > We want to test a value in each field on a temp table. Where the value > = > > YES we want to set the Radio button. > > > > The radio buttons are simply objects on the form with no connection > to > > any table etc. > > > > Something basic is missing here and for the life of me I can't see > it. > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Tue Mar 18 13:25:09 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue Mar 18 13:25:09 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <869379ABF177D4118D3100508B5EF873057C2A78@corp-es00> You haven't lived till you've dropped a box of punchcards with the budget you need to load that day. I still break into a cold sweat and that was 25 years ago.. Jim Hale -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 12:32 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kenneth.Stoker at pnl.gov Tue Mar 18 13:29:01 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Tue Mar 18 13:29:01 2003 Subject: [AccessD] Total in Footer of Report Message-ID: <249C1CB246997C48BB74963CCD361C1B29C8A8@pnlmse28.pnl.gov> You should be able to accomplish this by using the "Running Sum" property of the text box, setting it to "Over Group". The available options on this property are "No", "Over Group", and "Over All". -----Original Message----- From: Paul Liadis [mailto:pnl1 at psu.edu] Sent: Tuesday, March 18, 2003 11:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Total in Footer of Report Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 18 13:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 13:30:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> Message-ID: <17443552955.20030318202905@cactus.dk> Hi Drew Punch cards for lunch cards? That was new! Brings back memories of my first programming experience with punch cards and Fortran at the technical university. As one of the few capable of blind typing I could stress those IBM machines to their limit. The sound was wonderful and you'll never forget it - like a machine gun - those of you who have tried know what I mean. The keyboard was magnificent - quality of keyboards has described a constantly diminishing route ever since (so has the cost). /gustav > An infant among old farts maybe! > I'll admit that my only experience with punch cards was when I was in > Elementary school, we used them for lunch cards! > Drew > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, March 18, 2003 12:04 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Slightly OT: Installation protocol > Drew is an infant. I remember when it cost thousands for a *10Mb* hard > drive! From sgsax at ksu.edu Tue Mar 18 13:31:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 18 13:31:00 2003 Subject: [AccessD] OT: DOS COMMAND In-Reply-To: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <1048015848.2988.75.camel@sgsax-th4022c> Rich, I don't think you can do this with a single command. However, a quick google search came up with this forum posting: http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20483017.html You should be able to put together a .bat file from listings here to do what you want. Seth On Tue, 2003-03-18 at 13:13, Lavsa, Rich wrote: > Hello all, > > I know this has nothing to do with Access however I am trying to spark my > brain back to the early 90's. I am trying to write a DEL statement that > will go and delete files in a certain directory that are older then 5 days. > > I can't remember if there were switches and/or [attributes] that you could > use in a single command line or if you had to write a Batch file to do this. > > > Again I apologize for this OT, but I'm positive some of you know this > stuff!! > > Rich -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From j.frederick at att.net Tue Mar 18 13:38:00 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 13:38:00 2003 Subject: [AccessD] Can't Delete on Network Drive In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF4F@exchange.pgdp> Message-ID: Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Tue Mar 18 13:38:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 13:38:26 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <1048015163.3e77713b76b04@hosea.qub.ac.uk> References: <000001c2ed6d$15388900$9111758f@aine> <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> <1048015163.3e77713b76b04@hosea.qub.ac.uk> Message-ID: <10544051723.20030318203724@cactus.dk> Hi Martin As Susan told you, as these three settings don't exclude each other, use checkboxes to comply with the design rules for the Windows GUI. If you still prefer to use radios check that these are individuals not grouped in a group. /gustav > Graham. oneof our developers ahs a test DB containing a table fo three values. > One of the fields is a yes/No Data Type. > He has a form onto which he has placed three radio buttons. Said buttons are > not tied to a table. Names are A1,A2,A3 > He has a small DAO loop which opens the recordset from the temp table and if > it finds a value for a disibility type one he wants to set the radio button A1 > to on. If he finds a disibility type of 2 then set radio button A2 on and the > same for three. > Problem is it dont work. > If fieldName = 1 then > A1 = -1 > and so on > This is one of those where I know the answer but it just will not come out. > Its sitting at the front of my head but thats as far as it goes. The loop is > working as I get a count of three in the message box but the radio button > remain unset. From joconnell at indy.rr.com Tue Mar 18 13:41:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Tue Mar 18 13:41:00 2003 Subject: [AccessD] Total in Footer of Report Message-ID: <047d01c2ed86$42f2bc80$6601a8c0@joe.indy.rr.com> Paul, Which "footer" contains the total? It should be in a group footer, not a page footer. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Paul Liadis To: accessd at databaseadvisors.com Date: Tuesday, March 18, 2003 2:27 PM Subject: [AccessD] Total in Footer of Report |Hi all, |I have an Access report in which I want to display a total in a |footer. The total is fine on the first page, for the first location. Once |the report hits the second location, however, the total does not get |initialized and adds to the previous location's total. I would like to |initialize the textbox that displays the total after every |location. However, Access won't let me change the textbox's text property |to be equal to zero. I am using the following code: | |me.txtFoo.setfocus |me.txtFoo.text = 0. | |Please give me some advice on how to accomplish what I am trying to |accomplish. Am I EVER able to set the text property of a textbox in a Report? | |Thanks in advance, | |=============================================== |Paul Liadis |Senior Applications Programmer/Analyst |University Budget Office |Pennsylvania State University | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Mar 18 13:46:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 13:46:00 2003 Subject: [AccessD] Re: How to add a table description via code In-Reply-To: Message-ID: <00ba01c2ed86$88a7e3e0$b274d0d5@andypc> Tom Essentially you get a field def, dim a Property then do something like Set prp = fld.CreateProperty("Description") prp.Type = dbText prp.Value = "XYZ" fld.Properties.Append prp Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 18 March 2003 18:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Re: How to add a table description via code DAO or ADO? Either way, you may have to create a description property for the table and then set its value. Charlotte Foust -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Tuesday, March 18, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: How to add a table description via code Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.frederick at att.net Tue Mar 18 13:48:01 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 13:48:01 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Message-ID: I sounds like you want a group total for the location group. To do that: 1. Put our location total textbox in a location footer and set the ControlSource to =Sum([detailquantity]) where the detailquantity is the name of the field in the underlying query. Best to make sure the name of the textbox that is bound to the detailquantity in the underlying query or table is different from detailquantity. 2. On the textbox, set the Running Sum property to No. (this might be the only problem with what you have now) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paul Liadis Sent: Tuesday, March 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Total in Footer of Report Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pnl1 at psu.edu Tue Mar 18 13:50:07 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Tue Mar 18 13:50:07 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <047d01c2ed86$42f2bc80$6601a8c0@joe.indy.rr.com> Message-ID: <5.1.0.14.2.20030318144614.04790dd0@mail.psu.edu> It is in a group footer. Paul At 02:40 PM 3/18/2003 -0500, you wrote: >Paul, > >Which "footer" contains the total? It should be in a group footer, not a >page footer. > >Joe O'Connell >joconnell at indy.rr.com > >-----Original Message----- >From: Paul Liadis >To: accessd at databaseadvisors.com >Date: Tuesday, March 18, 2003 2:27 PM >Subject: [AccessD] Total in Footer of Report > > >|Hi all, >|I have an Access report in which I want to display a total in a >|footer. The total is fine on the first page, for the first location. Once >|the report hits the second location, however, the total does not get >|initialized and adds to the previous location's total. I would like to >|initialize the textbox that displays the total after every >|location. However, Access won't let me change the textbox's text property >|to be equal to zero. I am using the following code: >| >|me.txtFoo.setfocus >|me.txtFoo.text = 0. >| >|Please give me some advice on how to accomplish what I am trying to >|accomplish. Am I EVER able to set the text property of a textbox in a >Report? >| >|Thanks in advance, >| >|=============================================== >|Paul Liadis >|Senior Applications Programmer/Analyst >|University Budget Office >|Pennsylvania State University >| >|_______________________________________________ >|AccessD mailing list >|AccessD at databaseadvisors.com >|http://databaseadvisors.com/mailman/listinfo/accessd >|Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Mar 18 13:52:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 13:52:00 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Message-ID: <00ca01c2ed87$76dc1d60$b274d0d5@andypc> Paul If the total control is bound to a Control source (eg =Sum(something)) then you can't set it to zero, because by definition it will give you whatever's in its controlsource. There are two ways to achieve this. The first is to have an unbound control and use code to do your accumulating, setting and clearing. the second is to use inbuilt Access functionality to sum a field. In this case where you put it is crucial. If you create a GroupFooter on location using the Sorting and Grouping dialog and put =Sum(xxx) in there then Access will automatically print it and clear it on change of that group. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Paul Liadis > Sent: 18 March 2003 19:19 > To: accessd at databaseadvisors.com > Subject: [AccessD] Total in Footer of Report > > > Hi all, > I have an Access report in which I want to display a total in a > footer. The total is fine on the first page, for the first > location. Once > the report hits the second location, however, the total does not get > initialized and adds to the previous location's total. I > would like to > initialize the textbox that displays the total after every > location. However, Access won't let me change the textbox's > text property > to be equal to zero. I am using the following code: > > me.txtFoo.setfocus > me.txtFoo.text = 0. > > Please give me some advice on how to accomplish what I am trying to > accomplish. Am I EVER able to set the text property of a > textbox in a Report? > > Thanks in advance, > > =============================================== > Paul Liadis > Senior Applications Programmer/Analyst > University Budget Office > Pennsylvania State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Tue Mar 18 13:58:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue Mar 18 13:58:01 2003 Subject: [AccessD] OT: DOS COMMAND References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <046c01c2ed88$e6931810$0300a8c0@S856> Rich, go to the DOS window and type DEL /? and it will show you all options HTH Lembit Lembit Soobik ----- Original Message ----- From: "Lavsa, Rich" To: Sent: Tuesday, March 18, 2003 8:13 PM Subject: [AccessD] OT: DOS COMMAND > Hello all, > > I know this has nothing to do with Access however I am trying to spark my > brain back to the early 90's. I am trying to write a DEL statement that > will go and delete files in a certain directory that are older then 5 days. > > I can't remember if there were switches and/or [attributes] that you could > use in a single command line or if you had to write a Batch file to do this. > > > Again I apologize for this OT, but I'm positive some of you know this > stuff!! > > Rich > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Tue Mar 18 14:01:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 18 14:01:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Gustav, You could really hit keys on those old 026 keyboards without causing any damage except to yourself. Try hitting any key on these plastic keyboards and you have to buy a new keyboard. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday 2003 Mar 18 13:29 To: Drew Wutka Subject: Re: [AccessD] Slightly OT: Installation protocol Hi Drew Punch cards for lunch cards? That was new! Brings back memories of my first programming experience with punch cards and Fortran at the technical university. As one of the few capable of blind typing I could stress those IBM machines to their limit. The sound was wonderful and you'll never forget it - like a machine gun - those of you who have tried know what I mean. The keyboard was magnificent - quality of keyboards has described a constantly diminishing route ever since (so has the cost). /gustav From mmmtbig at bellsouth.net Tue Mar 18 14:16:13 2003 From: mmmtbig at bellsouth.net (mmmtbig at bellsouth.net) Date: Tue Mar 18 14:16:13 2003 Subject: [AccessD] FYI -- ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 (Microsoft Fix) Message-ID: ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 The information in this article applies to: * Microsoft Access 2000 This article was previously published under Q269824 Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access project (.adp). SYMPTOMS If you have an Access project (*.adp) that was created with Microsoft Access 2000 with no service releases applied, and the project is based on a Microsoft SQL Server 2000 database, you may notice several incompatibility issues, the most obvious being the following: * All existing stored procedure names are displayed with ";1" at the end. For example "CustOrderHist" is displayed as "CustOrderHist;1". * You cannot run existing stored procedures. Instead, you receive the following error: Could not find stored procedure ;1. * You cannot manage security against a Microsoft SQL Server 2000 server. If you try to open the SQL Server Security dialog box, you receive the following error: The Database administrative components failed to load or initialize. Verify that the components are installed and registered locally. * You cannot create or design tables, database diagrams, or stored procedures. Attempting to create any of these objects, such as clicking New in the Database window or clicking a command on the Insert menu, results in one of the following behaviors: New Table The Access 2000 Table designer does not load. Briefly, a dimmed window appears and then closes with no error message as to why the designer failed to load. New Database Diagram You receive the following error: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. New Stored Procedure You receive the following error: Microsoft Access can't find the object 'Microsoft Access can't find the object 'StoredProcedure1.'.' *You misspelled the object name. Check for missing underscores(_) or other punctuation, and make sure you didn't enter leading spaces. *You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the Linked Table Manager to update the link and oint to the correct path. CAUSE SQL Server 2000 was released over a year after Access 2000; consequently, Access 2000 does not support all of the new features of SQL Server 2000, and incompatibilities exist. RESOLUTION Update the designer tools. The following two updates are available. Microsoft Office 2000 Service Release 1/1a Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) includes updated Visual Database Tools for Access projects. Office 2000 SR-1/SR-1a addresses most of the issues described in the "Symptoms" section. IMPORTANT NOTE: Office 2000 SR-1/SR-1a also sets the table, view, and database diagram designers to read-only. These designers are read-only to prevent the possibility of losing data and meta-data in tables and views. You can, however, create stored procedures. In Access 2000 SR-1/SR-1a, if you try to create a table, view, or database diagram, you see the following alert: You do not have exclusive access to the database at this time. Your design changes will not be saved. NOTE: If you want to install Office 2000 SR-1/SR-1a, you should do so before installing the Client Tools. If you install Office 2000 SR-1/SR-1a after installing the Client Tools, you should reinstall the Client Tools. Security Management Microsoft Office SR-1/SR-1a does not address the inability to manage SQL Server 2000 Security from within an Access project. If you try to open the Security dialog box, you receive the second error message described in the "Symptoms" section of this article, and in addition, the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server]You must upgrade your SQL Enterprise Manager and SQL-DMO (SQLOLE) to SQL Server 2000(SQLDMO) to connect to this server. In order to manage SQL Server 2000 security from an Access project, you must install the SQL Server Client Tools (See the "SQL Server 2000 Client Tools" section later in this article). For additional information about obtaining Office 2000 SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) SQL Server 2000 Client Tools/Files A more comprehensive update is the SQL Server 2000 Client Tools. The SQL Server 2000 Client Tools update addresses all of the issues in the "Symptoms" section and the "Microsoft Access 2000 SR-1/SR-1a" topic of the "Resolution" section of this article. Installing the tools updates a number of files essential to Access project design. These updated files give you the ability to design SQL Server 2000 databases in an Access project at a SQL Server 7.0 level of functionality. NOTE: The client tools must be installed on each development computer; in other words, on any computer on which someone may make design changes in an Access project to a SQL Server 2000 database. If you want to use all of the new features in SQL Server 2000, it is best, if possible, to design them in SQL Server Enterprise Manager, which is included in the SQL Server 2000 Client Tools. Goals of the Updated Files Included with the Client Tools * Assures that users of SQL Server 2000 databases that have not implemented any of the new features of SQL Server 2000 do not experience any degradation of functionality when designing SQL Server 2000 databases in an Access 2000 project. * Assures that designing a database object that takes advantage of SQL Server 2000-specific functionality will not cause data loss to occur. * Assures, in most cases, that designing a database object that takes advantage of SQL Server 2000-specific functionality does not result in the loss of meta-data. In the few cases that might result in meta-data loss, you are warned by means of a dialog box. Updating Client Tools Files Without Installing the Client Tools If you do not want to install the SQL Server 2000 Client Tools on your development computer, you can follow these steps to just update the files that address incompatibility issues: 1. Install the SQL Server 2000 Client Tools on a computer other than the development computer. 2. On that second computer, browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 3. Select all the files in the folder, and then on the Edit menu, click Copy. 4. While still at the second computer, browse to the development computer, and then browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 5. Paste the contents that you copied in step 3 into the folder by clicking Paste on the Edit menu. STATUS Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected by Microsoft Office 2000 SR-1/SR-1a and the SQL Server 2000 Client Tools. MORE INFORMATION Steps to Reproduce the Behavior 1. Install Microsoft SQL Server 2000 on a Microsoft Windows NT 4.0 Server or a Microsoft Windows 2000 Server. 2. Install Access 2000 on another computer that has a clean installation of Microsoft Windows 98. 3. In Access 2000, click New on the File menu. 4. On the General Tab of the New dialog box, click Project (Existing Database). 5. Name the file Test, and then click Create. 6. In the Data Link Properties dialog box, for step 1, type the name of the SQL 2000 server. In the Database field, type Northwind. (This is the sample Northwind database included with SQL Server 2000.) Click OK. 7. In the new Access project, click Stored Procedures. Note that names are displayed with a ";1" at the end. 8. On the Tools menu, point to Security, and then click Database Security. Note that you receive an error stating that components failed to load or initialize (see the full error in the "Symptoms" section of this article). 9. Try to run an existing stored procedure. Note that you receive the following error: Could not find stored procedure ;1. 10. Try to create a new stored procedure. Note that you receive the error message with the repeated phrase "Microsoft Access can't find the object 'Microsoft Access can't find the object" as described in the "Symptoms" section of this article. 11. Try to create a new table. Note that there is a brief flash on the screen, but that the table designer does not appear. 12. Try to create a new database diagram. Note that you receive the following error message: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. REFERENCES For additional information on how the new features of SQL Server 2000 affect Access Projects, click the article number below to view the article in the Microsoft Knowledge Base: 266277 PRB: Using the Visual Studio 6.0 and Access 2000 Visual Database Tools with SQL Server 2000 For additional information on an error occurring during upsizing to SQL Server 2000, click the article number below to view the article in the Microsoft Knowledge Base: 272384 ACC2000: "Overflow" Error Message When You Try to Upsize to SQL Server 2000 -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 12976 bytes Desc: not available URL: From HollisVJ at pgdp.usec.com Tue Mar 18 14:16:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 14:16:35 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF50@exchange.pgdp> I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Tue Mar 18 14:26:01 2003 From: mmmtbig at bellsouth.net (mmmtbig at bellsouth.net) Date: Tue Mar 18 14:26:01 2003 Subject: [AccessD] [dba-SQLServer]FYI -- ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 (Microsoft Fix) Message-ID: ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 The information in this article applies to: * Microsoft Access 2000 This article was previously published under Q269824 Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access project (.adp). SYMPTOMS If you have an Access project (*.adp) that was created with Microsoft Access 2000 with no service releases applied, and the project is based on a Microsoft SQL Server 2000 database, you may notice several incompatibility issues, the most obvious being the following: * All existing stored procedure names are displayed with ";1" at the end. For example "CustOrderHist" is displayed as "CustOrderHist;1". * You cannot run existing stored procedures. Instead, you receive the following error: Could not find stored procedure ;1. * You cannot manage security against a Microsoft SQL Server 2000 server. If you try to open the SQL Server Security dialog box, you receive the following error: The Database administrative components failed to load or initialize. Verify that the components are installed and registered locally. * You cannot create or design tables, database diagrams, or stored procedures. Attempting to create any of these objects, such as clicking New in the Database window or clicking a command on the Insert menu, results in one of the following behaviors: New Table The Access 2000 Table designer does not load. Briefly, a dimmed window appears and then closes with no error message as to why the designer failed to load. New Database Diagram You receive the following error: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. New Stored Procedure You receive the following error: Microsoft Access can't find the object 'Microsoft Access can't find the object 'StoredProcedure1.'.' *You misspelled the object name. Check for missing underscores(_) or other punctuation, and make sure you didn't enter leading spaces. *You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the Linked Table Manager to update the link and oint to the correct path. CAUSE SQL Server 2000 was released over a year after Access 2000; consequently, Access 2000 does not support all of the new features of SQL Server 2000, and incompatibilities exist. RESOLUTION Update the designer tools. The following two updates are available. Microsoft Office 2000 Service Release 1/1a Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) includes updated Visual Database Tools for Access projects. Office 2000 SR-1/SR-1a addresses most of the issues described in the "Symptoms" section. IMPORTANT NOTE: Office 2000 SR-1/SR-1a also sets the table, view, and database diagram designers to read-only. These designers are read-only to prevent the possibility of losing data and meta-data in tables and views. You can, however, create stored procedures. In Access 2000 SR-1/SR-1a, if you try to create a table, view, or database diagram, you see the following alert: You do not have exclusive access to the database at this time. Your design changes will not be saved. NOTE: If you want to install Office 2000 SR-1/SR-1a, you should do so before installing the Client Tools. If you install Office 2000 SR-1/SR-1a after installing the Client Tools, you should reinstall the Client Tools. Security Management Microsoft Office SR-1/SR-1a does not address the inability to manage SQL Server 2000 Security from within an Access project. If you try to open the Security dialog box, you receive the second error message described in the "Symptoms" section of this article, and in addition, the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server]You must upgrade your SQL Enterprise Manager and SQL-DMO (SQLOLE) to SQL Server 2000(SQLDMO) to connect to this server. In order to manage SQL Server 2000 security from an Access project, you must install the SQL Server Client Tools (See the "SQL Server 2000 Client Tools" section later in this article). For additional information about obtaining Office 2000 SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) SQL Server 2000 Client Tools/Files A more comprehensive update is the SQL Server 2000 Client Tools. The SQL Server 2000 Client Tools update addresses all of the issues in the "Symptoms" section and the "Microsoft Access 2000 SR-1/SR-1a" topic of the "Resolution" section of this article. Installing the tools updates a number of files essential to Access project design. These updated files give you the ability to design SQL Server 2000 databases in an Access project at a SQL Server 7.0 level of functionality. NOTE: The client tools must be installed on each development computer; in other words, on any computer on which someone may make design changes in an Access project to a SQL Server 2000 database. If you want to use all of the new features in SQL Server 2000, it is best, if possible, to design them in SQL Server Enterprise Manager, which is included in the SQL Server 2000 Client Tools. Goals of the Updated Files Included with the Client Tools * Assures that users of SQL Server 2000 databases that have not implemented any of the new features of SQL Server 2000 do not experience any degradation of functionality when designing SQL Server 2000 databases in an Access 2000 project. * Assures that designing a database object that takes advantage of SQL Server 2000-specific functionality will not cause data loss to occur. * Assures, in most cases, that designing a database object that takes advantage of SQL Server 2000-specific functionality does not result in the loss of meta-data. In the few cases that might result in meta-data loss, you are warned by means of a dialog box. Updating Client Tools Files Without Installing the Client Tools If you do not want to install the SQL Server 2000 Client Tools on your development computer, you can follow these steps to just update the files that address incompatibility issues: 1. Install the SQL Server 2000 Client Tools on a computer other than the development computer. 2. On that second computer, browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 3. Select all the files in the folder, and then on the Edit menu, click Copy. 4. While still at the second computer, browse to the development computer, and then browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 5. Paste the contents that you copied in step 3 into the folder by clicking Paste on the Edit menu. STATUS Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected by Microsoft Office 2000 SR-1/SR-1a and the SQL Server 2000 Client Tools. MORE INFORMATION Steps to Reproduce the Behavior 1. Install Microsoft SQL Server 2000 on a Microsoft Windows NT 4.0 Server or a Microsoft Windows 2000 Server. 2. Install Access 2000 on another computer that has a clean installation of Microsoft Windows 98. 3. In Access 2000, click New on the File menu. 4. On the General Tab of the New dialog box, click Project (Existing Database). 5. Name the file Test, and then click Create. 6. In the Data Link Properties dialog box, for step 1, type the name of the SQL 2000 server. In the Database field, type Northwind. (This is the sample Northwind database included with SQL Server 2000.) Click OK. 7. In the new Access project, click Stored Procedures. Note that names are displayed with a ";1" at the end. 8. On the Tools menu, point to Security, and then click Database Security. Note that you receive an error stating that components failed to load or initialize (see the full error in the "Symptoms" section of this article). 9. Try to run an existing stored procedure. Note that you receive the following error: Could not find stored procedure ;1. 10. Try to create a new stored procedure. Note that you receive the error message with the repeated phrase "Microsoft Access can't find the object 'Microsoft Access can't find the object" as described in the "Symptoms" section of this article. 11. Try to create a new table. Note that there is a brief flash on the screen, but that the table designer does not appear. 12. Try to create a new database diagram. Note that you receive the following error message: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. REFERENCES For additional information on how the new features of SQL Server 2000 affect Access Projects, click the article number below to view the article in the Microsoft Knowledge Base: 266277 PRB: Using the Visual Studio 6.0 and Access 2000 Visual Database Tools with SQL Server 2000 For additional information on an error occurring during upsizing to SQL Server 2000, click the article number below to view the article in the Microsoft Knowledge Base: 272384 ACC2000: "Overflow" Error Message When You Try to Upsize to SQL Server 2000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 14:47:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 14:47:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF51@exchange.pgdp> Ok, narrowing it down. It seems to have something to do with the StartupProperties. ChangeProperty "AllowBuiltinToolbars", dbBoolean, False ChangeProperty "AllowFullMenus", dbBoolean, False These startup properties have to be set to True. Which I don't understand because I have the set to False in the database that does allow me to delete the record. I change them to True & I was able to delete. I really like the properties set to False. Any ideas whe the same properties work differently between the databases? -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 18, 2003 2:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From tswisher at GFNET.com Tue Mar 18 14:50:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Tue Mar 18 14:50:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F2E@SEESAR3.corporate.gannettfleming.com> Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Tue Mar 18 15:13:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue Mar 18 15:13:00 2003 Subject: [AccessD] Windows in Taskbar References: <076FC7A51D07D411BC02009027A1B45101ED2F2E@SEESAR3.corporate.gannettfleming.com> Message-ID: <001201c2ed93$4fcaee70$0300000a@PASCAL> Windows in TaskbarApplication.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.frederick at att.net Tue Mar 18 15:20:00 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 15:20:00 2003 Subject: [AccessD] Can't Delete on Network Drive In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF50@exchange.pgdp> Message-ID: If you have two mdbs on the same machine that behave differently, look at their security settings. Point to the folder, right click, select the security tab. Something must be different at the folder level. Even if you can't change it, you might be able to tell IT what is needed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 3:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 15:38:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:38:19 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F7@main2.marlow.com> Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 15:39:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:39:13 2003 Subject: [AccessD] OT: DOS COMMAND Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F8@main2.marlow.com> Why not use Kill? Drew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, March 18, 2003 1:14 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: DOS COMMAND Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 18 15:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:41:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F9@main2.marlow.com> Okay, this is starting to get ugly! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 18, 2003 1:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol ...now, now ...no need to whack him Charlotte ...you can get arrested for child abuse that way ...have patience ...being a toddler among all us old farts, he can hardly avoid being overcome with our emanations and thus compelled to quickly flee back to the pampered safety of his toy box :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:44 PM Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 15:52:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 15:52:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: I'm unbalanced anyhow, Drew. Didn't you realize that? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 1:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 16:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 16:05:01 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822FB@main2.marlow.com> Yes, I was just being polite and not saying anything. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 3:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol I'm unbalanced anyhow, Drew. Didn't you realize that? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 1:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Tue Mar 18 16:06:00 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue Mar 18 16:06:00 2003 Subject: [AccessD] OT - Please Ignore Message-ID: test 20030318 -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From andy at minstersystems.co.uk Tue Mar 18 16:38:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 16:38:00 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822F8@main2.marlow.com> Message-ID: <00e701c2ed9e$8024b460$b274d0d5@andypc> A question that we on the BEU project would like an answer to. We all find that if we add a numeric value to a table the Default Value is automatically set to 0. And yet....a couple of us have a sneaking feeling we've seen Access leave the Default as null. Was this an earlier version, or are we hallucinating? Andy Lacey http://www.minstersystems.co.uk From MPorter at acsalaska.com Tue Mar 18 16:40:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 18 16:40:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Tue Mar 18 17:03:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 17:03:01 2003 Subject: [AccessD] Default Value On Numerics Message-ID: I think you may be thinking of what happens in a make table query. In 97, 2000 and XP, all numeric fields added to a table automatically default to 0. If you don't want a zero default, you can remove the value. But if you create a table using a make table query, the default doesn't get set. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, March 18, 2003 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Default Value On Numerics A question that we on the BEU project would like an answer to. We all find that if we add a numeric value to a table the Default Value is automatically set to 0. And yet....a couple of us have a sneaking feeling we've seen Access leave the Default as null. Was this an earlier version, or are we hallucinating? Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Tue Mar 18 17:03:59 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Tue Mar 18 17:03:59 2003 Subject: [AccessD] OT: DOS COMMAND References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <00af01c2eda2$bd95a120$1d270a44@bcs006137> Rich I don't think that DOS alone will do what you need. The following should work within an Access Module to do what you're looking for. Dave ================================== Option Compare Database Function DelByDate() Dim TheFileDate As Date Dim theFile As String Dim HowOld As Integer ChDrive ("C:") 'set to meet your needs ChDir "C:\Temp" 'set to meet your needs theFile = Dir("*.*") Do While theFile <> "" TheFileDate = FileDateTime(theFile) HowOld = DateDiff("d", TheFileDate, Date) If HowOld > 5 Then Debug.Print theFile, HowOld, TheFileDate 'Kill (theFile) End If theFile = Dir() Loop End Function ----- Original Message ----- From: Lavsa, Rich To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 18, 2003 2:13 PM Subject: [AccessD] OT: DOS COMMAND Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 18 17:39:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 17:39:00 2003 Subject: [AccessD] OT: MSDE on Window XP (solved) References: <806536912C472E4A9D6515DF2E57261E0C5926@mercury.tnco-inc.com> Message-ID: <3E77ADEC.1000409@shaw.ca> I have MSDE SQL 2000 on Win XP With versions of SQL Server prior to 2000 (including MSDE) you can only have a single instance installed. You could however, upgrade from MSDE to Server or Enterprise or some other edition. MSDE is in all repsects SQL Server. You could down load MSDE 2000 and install that to different directory and say no to upgrade. I don't know what this will do to your old SQL Tools though. MSDE 2000 70Meg download http://www.asp.net/msde/default.aspx?tabindex=0&tabid=1 Joe Rojas wrote: >What I originally did was install the SQL Server 7.0 Client tools first, >then installed SP4. >When I tried to install MSDE, it came back telling me that the install >failed. > >What I had to do was uninstall the tools, then install MSDE first followed >by installing the Client tools then finally install SP4. >Now everything is all set, seemingly. > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Tuesday, March 18, 2003 10:59 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: MSDE on Window XP > >Do you have SQL Server installed on your machine? You won't be able to >install MSDE if you already have SQL Server installed. > >Charlotte Foust > >-----Original Message----- >From: Joe Rojas [mailto:JRojas at tnco-inc.com] >Sent: Tuesday, March 18, 2003 7:02 AM >To: 'accessd at databaseadvisors.com' >Subject: [AccessD] OT: MSDE on Window XP > > >Hello, > >I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone >else tried this and have been successful at it? When I try to install >it, it tells me that it could not install MSDE. > >Checked MSKB with no luck... > >Thanks, >Joe Rojas >jrojas at tnco-inc.com > > > > > > From glen.mcwilliams at nissan-usa.com Tue Mar 18 17:52:00 2003 From: glen.mcwilliams at nissan-usa.com (McWilliams, Glen) Date: Tue Mar 18 17:52:00 2003 Subject: [AccessD] Tab Control with a Tab Control on one of the Pages Message-ID: <72C55B1CC536D511806B0040AA4977A6088D5071@NMCHQT20> List Is there a way to design a Form which has a Tab Control with 4 tabs or pages, each of which will have a multi page Tab Control on it (for a total of 5 Tab Controls), and still have each page only display the Tab Control which is on it. Basically, what I want to know is, is there any to do sub Tab Controls without going all kinds of sleight of hand setting visible properties when the various primary tab pages comes into focus? I am working with Access XP Developers Edition, sp2. Which is running on Windows 2000 Professional, ver.5.0.2195 Sp3 build 2195 Glen H. McWilliams glen.mcwilliams at nissan-usa.com (310) 771-6010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 18:50:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 18:50:00 2003 Subject: [AccessD] Tab Control with a Tab Control on one of the Pages Message-ID: Tab controls can only contain other tab controls if they subordinate tab controls are on subforms. That means you would need a subform on each page of the parent tab control and each of those subforms would contain its own tab control. Charlotte Foust -----Original Message----- From: McWilliams, Glen [mailto:glen.mcwilliams at nissan-usa.com] Sent: Tuesday, March 18, 2003 3:59 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Tab Control with a Tab Control on one of the Pages List Is there a way to design a Form which has a Tab Control with 4 tabs or pages, each of which will have a multi page Tab Control on it (for a total of 5 Tab Controls), and still have each page only display the Tab Control which is on it. Basically, what I want to know is, is there any to do sub Tab Controls without going all kinds of sleight of hand setting visible properties when the various primary tab pages comes into focus? I am working with Access XP Developers Edition, sp2. Which is running on Windows 2000 Professional, ver.5.0.2195 Sp3 build 2195 Glen H. McWilliams glen.mcwilliams at nissan-usa.com (310) 771-6010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Tue Mar 18 22:45:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Tue Mar 18 22:45:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E770736.5574.EAA7616@localhost> Message-ID: Hi Stuart et al This didn't work either When I debug.print the line... (rs!StartTime - cmbWarningInterval /dblMinutes) I get a non related time (From memory it debug.printed as Some date in the 1800's and 1:00pm) My plan is to have this sitting as an open app and using the On_Timer event to just check every 2-3 minutes or so for any Bookings that match the criteria rs!StartTime = rs!StartTime - cmbWarningInterval Then do something to alert me. Then flag it as done. I Just dunno how to do it. Many thanks Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, 18 March 2003 12:47 PM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy You need to have a flag to let you know whether you have already triggered your event. Either include a Boolean WarningDone in you table or if you can't change the table structure, create a temp table with all of today's bookings and include the boolean field in that temp table. Private Sub Form_Timer() Dim dblMinutes as Double dblMinutes = 1 / 24 / 60 .... 'Set up recordset 'rs' to include required fields from bookings info 'including the flag ....... While not rs.eof If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ and Not rs!WarningDone Then ........ 'Do whatever you want to with the info ......... rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub On 18 Mar 2003 at 12:22, Darren Dick wrote: > Hi Guys thanks for the replies. > I'll explain what I am doing. We have a booking app. (Not mine) > We can have many bookings entered for a day and even some at the same time. > > Amongst other things the Booking Start Time is captured by the other app. > I display it in Me.txtStartTime > I also have a combo Me.cmbWarningInterval that has list entries like > 5,10,15,20,25,30,45,60 each representing minutes. > > If I select 15 from the combo I basically want a msgbox or some other event > to fire 15 minutes before the StarTime > > Should be simple > > Many thanks for listening to me > > Darren > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, 17 March 2003 6:01 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] A2K: This should be easy > > > I know people are going to post about the DateDiff function. But I'd like > to get you thinking about what you are actually trying to do. > > Dates and Times are stored as numbers. The date is the whole number, which > represents the number of days since 12-30-1899. Thus, since days are whole > numbers, you can add or subtract days by simple math. (ie, to get tomorrow, > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 > is midnight. Thus, you can also just simply add or subtract values to > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > Does that make sense? Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > > Date=Date()+1 > > You've just set your systems date to tomorrow! > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Sunday, March 16, 2003 8:46 PM > To: Access Mail Group > Subject: [AccessD] A2K: This should be easy > > > Hello all > This should be simple. > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > > So take away 15 from 11:00 should give me 10:45 > > How do I do this. > > this should be easy. It probably is, I'm just brain fading. > > 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 -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Tue Mar 18 23:25:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 18 23:25:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <3E770736.5574.EAA7616@localhost> Message-ID: <3E788B29.8666.1301A9A@localhost> If you are storing just a time in StartTime and print it as a normal DateTime, you will see a date of 30 December 1899 because that's Day 0. The trouble is that Now() returns the date and time. My mistake. You should use Time() not Now() - or alternatively "Now() - Int(Now())" which will just return the time part of Now() On 19 Mar 2003 at 10:56, Darren Dick wrote: > Hi Stuart et al > This didn't work either > When I debug.print the line... > (rs!StartTime - cmbWarningInterval /dblMinutes) > I get a non related time (From memory it debug.printed as Some date in the > 1800's and 1:00pm) > > My plan is to have this sitting as an open app and using the On_Timer event > to just check every 2-3 minutes or so for any Bookings that match the > criteria rs!StartTime = rs!StartTime - cmbWarningInterval > Then do something to alert me. > Then flag it as done. > > I Just dunno how to do it. > Many thanks > > Darren > > > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Tuesday, 18 March 2003 12:47 PM > To: Darren Dick; accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > You need to have a flag to let you know whether you have already triggered > your event. > Either include a Boolean WarningDone in you table or if you can't change the > table structure, create a temp table with all > of today's bookings and include the boolean field in that temp table. > > > Private Sub Form_Timer() > Dim dblMinutes as Double > dblMinutes = 1 / 24 / 60 > > .... > 'Set up recordset 'rs' to include required fields from bookings info > 'including the flag > ....... > > While not rs.eof > If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ > and Not rs!WarningDone Then > ........ > 'Do whatever you want to with the info > ......... > rs.Edit > rs!WarningDone = True > rs.Update > End If > rs.MoveNext > Wend > End Sub > > On 18 Mar 2003 at 12:22, Darren Dick wrote: > > > Hi Guys thanks for the replies. > > I'll explain what I am doing. We have a booking app. (Not mine) > > We can have many bookings entered for a day and even some at the same > time. > > > > Amongst other things the Booking Start Time is captured by the other app. > > I display it in Me.txtStartTime > > I also have a combo Me.cmbWarningInterval that has list entries like > > 5,10,15,20,25,30,45,60 each representing minutes. > > > > If I select 15 from the combo I basically want a msgbox or some other > event > > to fire 15 minutes before the StarTime > > > > Should be simple > > > > Many thanks for listening to me > > > > Darren > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Monday, 17 March 2003 6:01 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] A2K: This should be easy > > > > > > I know people are going to post about the DateDiff function. But I'd like > > to get you thinking about what you are actually trying to do. > > > > Dates and Times are stored as numbers. The date is the whole number, > which > > represents the number of days since 12-30-1899. Thus, since days are > whole > > numbers, you can add or subtract days by simple math. (ie, to get > tomorrow, > > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and > .0 > > is midnight. Thus, you can also just simply add or subtract values to > > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > > > Does that make sense? Also, another little known fact about the Date, > Time > > and Now functions. They work both ways. If you use this line of code: > > > > Date=Date()+1 > > > > You've just set your systems date to tomorrow! > > > > Drew > > > > -----Original Message----- > > From: Darren Dick [mailto:d.dick at uws.edu.au] > > Sent: Sunday, March 16, 2003 8:46 PM > > To: Access Mail Group > > Subject: [AccessD] A2K: This should be easy > > > > > > Hello all > > This should be simple. > > > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > > hh:mm) > > I want to take say...5, 10 or 15 minutes from whatever time is in > > txtStartTime > > > > So take away 15 from 11:00 should give me 10:45 > > > > How do I do this. > > > > this should be easy. It probably is, I'm just brain fading. > > > > 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 > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From d.dick at uws.edu.au Wed Mar 19 00:10:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Wed Mar 19 00:10:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E788B29.8666.1301A9A@localhost> Message-ID: Hi Stuart The following code just won't work, even with your 'time' suggestion I must be missing something really obvious. This should work. I have a Recordset that has BookingID as its PrimKey BookingTime is a DateTime Field formatted as short time in the table. My Combo cmbInterval has the following as its row source 5;"5 mins";10;"10 mins";15;"15 mins";20;"20 mins" And its row Source type is a value list. It has 2 columns. First Column width = 1 Second is 2 cm. Any other suggestions. Many thanks so far. Darren '''''''''''''''''''''''''''' Dim dblMinutes As Double Dim rs As DAO.Recordset Dim x, y, z dblMinutes = 1 / 24 / 60 Set rs = Me.Recordset 'Debug.Print (rs!BookingTime - cmbInterval / dblMinutes) 'Debug.Print Now() - Int(Now()) While Not rs.EOF If (rs!BookingTime - cmbInterval / dblMinutes) >= Time() And Not rs!WarningDone Then rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, 19 March 2003 4:22 PM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy If you are storing just a time in StartTime and print it as a normal DateTime, you will see a date of 30 December 1899 because that's Day 0. The trouble is that Now() returns the date and time. My mistake. You should use Time() not Now() - or alternatively "Now() - Int(Now())" which will just return the time part of Now() On 19 Mar 2003 at 10:56, Darren Dick wrote: > Hi Stuart et al > This didn't work either > When I debug.print the line... > (rs!StartTime - cmbWarningInterval /dblMinutes) > I get a non related time (From memory it debug.printed as Some date in the > 1800's and 1:00pm) > > My plan is to have this sitting as an open app and using the On_Timer event > to just check every 2-3 minutes or so for any Bookings that match the > criteria rs!StartTime = rs!StartTime - cmbWarningInterval > Then do something to alert me. > Then flag it as done. > > I Just dunno how to do it. > Many thanks > > Darren > > > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Tuesday, 18 March 2003 12:47 PM > To: Darren Dick; accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > You need to have a flag to let you know whether you have already triggered > your event. > Either include a Boolean WarningDone in you table or if you can't change the > table structure, create a temp table with all > of today's bookings and include the boolean field in that temp table. > > > Private Sub Form_Timer() > Dim dblMinutes as Double > dblMinutes = 1 / 24 / 60 > > .... > 'Set up recordset 'rs' to include required fields from bookings info > 'including the flag > ....... > > While not rs.eof > If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ > and Not rs!WarningDone Then > ........ > 'Do whatever you want to with the info > ......... > rs.Edit > rs!WarningDone = True > rs.Update > End If > rs.MoveNext > Wend > End Sub > > On 18 Mar 2003 at 12:22, Darren Dick wrote: > > > Hi Guys thanks for the replies. > > I'll explain what I am doing. We have a booking app. (Not mine) > > We can have many bookings entered for a day and even some at the same > time. > > > > Amongst other things the Booking Start Time is captured by the other app. > > I display it in Me.txtStartTime > > I also have a combo Me.cmbWarningInterval that has list entries like > > 5,10,15,20,25,30,45,60 each representing minutes. > > > > If I select 15 from the combo I basically want a msgbox or some other > event > > to fire 15 minutes before the StarTime > > > > Should be simple > > > > Many thanks for listening to me > > > > Darren > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Monday, 17 March 2003 6:01 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] A2K: This should be easy > > > > > > I know people are going to post about the DateDiff function. But I'd like > > to get you thinking about what you are actually trying to do. > > > > Dates and Times are stored as numbers. The date is the whole number, > which > > represents the number of days since 12-30-1899. Thus, since days are > whole > > numbers, you can add or subtract days by simple math. (ie, to get > tomorrow, > > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and > .0 > > is midnight. Thus, you can also just simply add or subtract values to > > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > > > Does that make sense? Also, another little known fact about the Date, > Time > > and Now functions. They work both ways. If you use this line of code: > > > > Date=Date()+1 > > > > You've just set your systems date to tomorrow! > > > > Drew > > > > -----Original Message----- > > From: Darren Dick [mailto:d.dick at uws.edu.au] > > Sent: Sunday, March 16, 2003 8:46 PM > > To: Access Mail Group > > Subject: [AccessD] A2K: This should be easy > > > > > > Hello all > > This should be simple. > > > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > > hh:mm) > > I want to take say...5, 10 or 15 minutes from whatever time is in > > txtStartTime > > > > So take away 15 from 11:00 should give me 10:45 > > > > How do I do this. > > > > this should be easy. It probably is, I'm just brain fading. > > > > 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 > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From andy at minstersystems.co.uk Wed Mar 19 01:29:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 01:29:01 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: Message-ID: <00f401c2ede8$d3c9ab80$b274d0d5@andypc> Well I wasn't, cos I've never used MAKE TABLE. Nevertheless thanks for the definitive answer Charlotte. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 18 March 2003 22:59 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Default Value On Numerics > > > I think you may be thinking of what happens in a make table > query. In 97, 2000 and XP, all numeric fields added to a > table automatically default to 0. If you don't want a zero > default, you can remove the value. But if you create a table > using a make table query, the default doesn't get set. > > Charlotte Foust > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Tuesday, March 18, 2003 2:34 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Default Value On Numerics > > > A question that we on the BEU project would like an answer to. > > We all find that if we add a numeric value to a table the > Default Value is automatically set to 0. And yet....a couple > of us have a sneaking feeling we've seen Access leave the > Default as null. Was this an earlier version, or are we > hallucinating? > > Andy Lacey > http://www.minstersystems.co.uk > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From accessd at shaw.ca Wed Mar 19 01:37:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 01:37:01 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: Message-ID: Hi All: I have heard nothing of this Virus attack from McAfees or Symantec but this message was sent to a friend from who has a subscription to www.NTBugTraq.com, see the message... http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 The message followed up with a pointer to the following Microsoft site: http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 This message seems legitimate enough for further investigation. If this is no more than a very elaborate hoax, my apologies. Jim Lawrence From andy at minstersystems.co.uk Wed Mar 19 02:03:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 02:03:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: Message-ID: <00f701c2eded$9562afe0$b274d0d5@andypc> I believe there's a patch for this at http://www.microsoft.com/technet/treeview/default.asp?url=/technet/secur ity/bulletin/MS03-007.asp Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim > Lawrence (AccessD) > Sent: 19 March 2003 07:39 > To: accessd at databaseadvisors.com > Subject: [AccessD] RE:Virus attack > > > Hi All: > > I have heard nothing of this Virus attack from McAfees or > Symantec but this message was sent to a friend from who has a > subscription to www.NTBugTraq.com, see the message... http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 The message followed up with a pointer to the following Microsoft site: http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 This message seems legitimate enough for further investigation. If this is no more than a very elaborate hoax, my apologies. Jim Lawrence _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Mar 19 02:09:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 02:09:01 2003 Subject: [AccessD] RE:Virus attack References: Message-ID: <000a01c2edee$c524ae30$6101a8c0@amd2k512> ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with IIS as a web server ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Wednesday, March 19, 2003 2:39 AM Subject: [AccessD] RE:Virus attack > Hi All: > > I have heard nothing of this Virus attack from McAfees or Symantec but this > message was sent to a friend from who has a subscription to > www.NTBugTraq.com, see the message... > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > The message followed up with a pointer to the following Microsoft site: > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > This message seems legitimate enough for further investigation. > > If this is no more than a very elaborate hoax, my apologies. > Jim Lawrence > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmoss111 at bellsouth.net Wed Mar 19 04:28:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Wed Mar 19 04:28:00 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> Message-ID: <000001c2ee02$25d4bf00$da681442@jlmoss> This is just a revisitation of an old problem from 1991. Earlier this week, some IIS got hammered because they hadn't used the IIS lockdown tool or URLScan. ----- Original Message ----- From: "William Hindman" To: Sent: Wednesday, March 19, 2003 2:08 AM Subject: Re: [AccessD] RE:Virus attack > ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with > IIS as a web server ...HTH :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "Jim Lawrence (AccessD)" > To: > Sent: Wednesday, March 19, 2003 2:39 AM > Subject: [AccessD] RE:Virus attack > > > > Hi All: > > > > I have heard nothing of this Virus attack from McAfees or Symantec but > this > > message was sent to a friend from who has a subscription to > > www.NTBugTraq.com, see the message... > > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > > > The message followed up with a pointer to the following Microsoft site: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > > > This message seems legitimate enough for further investigation. > > > > If this is no more than a very elaborate hoax, my apologies. > > Jim Lawrence > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Mar 19 04:31:02 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed Mar 19 04:31:02 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <00f401c2ede8$d3c9ab80$b274d0d5@andypc> References: Message-ID: <3E780091.19715.122CBE@localhost> On 19 Mar 2003 at 7:26, Andy Lacey wrote: > Well I wasn't, cos I've never used MAKE TABLE. Nevertheless thanks for > the definitive answer Charlotte. Neither was I. For exactly the same reason. Oh well, it must be a Commonwealth thing Andy. :-) Thanks Charlotte. -- Bryan Carbonnell - carbonnb at sympatico.ca Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe producing bigger and better idiots. So far, the Universe is winning. - Mark Mischler. From michael.broesdorf at web.de Wed Mar 19 04:55:00 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Wed Mar 19 04:55:00 2003 Subject: [AccessD] Problem with online help In-Reply-To: <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael From wdhindman at bellsouth.net Wed Mar 19 05:55:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 05:55:01 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> ...Warning! ...the Small Business Server list is reporting some instances of failed server/client reboots and trashed drives after applying the MS WinDav patch :(((( ...if you're not running IIS, you might want to hold off on applying the patch until MS gets it right :((( William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "JMoss" To: Sent: Wednesday, March 19, 2003 5:04 AM Subject: Re: [AccessD] RE:Virus attack > This is just a revisitation of an old problem from 1991. Earlier this week, > some IIS got hammered because they hadn't used the IIS lockdown tool or > URLScan. > ----- Original Message ----- > From: "William Hindman" > To: > Sent: Wednesday, March 19, 2003 2:08 AM > Subject: Re: [AccessD] RE:Virus attack > > > > ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with > > IIS as a web server ...HTH :) > > > > William Hindman > > "The tree of liberty only grows when watered by the blood of tyrants. > > "Bertrand Bar?re de Vieuzac--a Frenchman > > > > > > ----- Original Message ----- > > From: "Jim Lawrence (AccessD)" > > To: > > Sent: Wednesday, March 19, 2003 2:39 AM > > Subject: [AccessD] RE:Virus attack > > > > > > > Hi All: > > > > > > I have heard nothing of this Virus attack from McAfees or Symantec but > > this > > > message was sent to a friend from who has a subscription to > > > www.NTBugTraq.com, see the message... > > > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > > > > > The message followed up with a pointer to the following Microsoft site: > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > > > > > This message seems legitimate enough for further investigation. > > > > > > If this is no more than a very elaborate hoax, my apologies. > > > Jim Lawrence > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Wed Mar 19 06:11:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed Mar 19 06:11:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF54@exchange.pgdp> The databases are in the same folder on the same drive, they have the same startup properties. When I bypass the startup properties, I can delete the record. I have the AllowBuiltinToolbars = False & AllowFullMenus = False. I thought this was the problem so I changed them to True, no luck there. What else should I be looking for? I can't understand why the same code, etc would be so different in 2 separate databases that are basically the same. Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 3:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive If you have two mdbs on the same machine that behave differently, look at their security settings. Point to the folder, right click, select the security tab. Something must be different at the folder level. Even if you can't change it, you might be able to tell IT what is needed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 3:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 19 07:18:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 07:18:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter From szeller at cce.umn.edu Wed Mar 19 08:23:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 08:23:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Wed Mar 19 09:10:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 09:10:00 2003 Subject: [AccessD] Connecting to a URL through code Message-ID: In my application logic, there is one instance where I want the user to be directed to a web page. How do I do that through code? In other words, how do I write code that would do the same thing as if a person clicked on a hyperlink on the face of the form? AXP. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From wdhindman at bellsouth.net Wed Mar 19 09:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 09:16:00 2003 Subject: [AccessD] Connecting to a URL through code References: Message-ID: <000c01c2ee2a$84d25850$6101a8c0@amd2k512> Susan ...see the FollowHyperlink method in your VBA Help ...sample code there ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 19, 2003 10:09 AM Subject: [AccessD] Connecting to a URL through code > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > > AXP. > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tswisher at GFNET.com Wed Mar 19 09:20:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 09:20:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F2F@SEESAR3.corporate.gannettfleming.com> You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Mar 19 09:26:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 19 09:26:01 2003 Subject: [AccessD] Connecting to a URL through code Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85529@TTNEXCHSRV1.hshhp.com> Or you could look into the ShellExecute API. Jurgen Welz posted something on this quite a while back. You might find it in the archives. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, March 19, 2003 10:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Connecting to a URL through code Susan ...see the FollowHyperlink method in your VBA Help ...sample code there ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 19, 2003 10:09 AM Subject: [AccessD] Connecting to a URL through code > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > > AXP. > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From tswisher at GFNET.com Wed Mar 19 10:09:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 10:09:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Maybe I am missing something, but I get a compile error with the "Application.ShowWindowsInTaskbar = False" statement. What am I doing wrong? Tim -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 4:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 19 10:18:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 19 10:18:00 2003 Subject: [AccessD] Windows in Taskbar In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Message-ID: This will work: Application.SetOption "ShowWindowsInTaskBar", False Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Swisher, Timothy B. Sent: Wednesday, March 19, 2003 9:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar Maybe I am missing something, but I get a compile error with the "Application.ShowWindowsInTaskbar = False" statement. What am I doing wrong? Tim -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 4:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 From hsimpson88 at hotmail.com Wed Mar 19 10:22:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 19 10:22:01 2003 Subject: [AccessD] OT - Missing Word Menu Bar Message-ID: I recently followed a thread with a similar topic a few weeks ago and made a comment about stability of Word docs and keeping templates simple. Curiously, in the past week or so, after I had deleted all the postings on the thread, one of my clients had a user report the problem. I tried to find the thread in Drew's archive but it was inaccessible and yesterday I managed to get account information and log in as the user by dial up to Terminal Server session. No menu bar was present in Word yet Alt-F dropped the file menu. The user had the taskbar at the top of the screen and I thought this might have covered something. After I went in to edit the toolbars and when I dragged Word by its title bar, the menu bar appeared as a toolbox that I dragged into the correct position. I don't know how or why, the the file menu was in or under Word's title bar. Sometimes you just have to get on a machine and horse around to find a solution. Hen _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From gustav at cactus.dk Wed Mar 19 10:25:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 10:25:01 2003 Subject: [AccessD] Windows in Taskbar In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> References: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Message-ID: <13829904290.20030319172226@cactus.dk> Hi Timothy Try this: Application.SetOption "ShowWindowsInTaskbar", False /gustav > Maybe I am missing something, but I get a compile error with the > "Application.ShowWindowsInTaskbar = False" statement. What am I doing > wrong? From cfoust at infostatsystems.com Wed Mar 19 10:57:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 10:57:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 19 11:07:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 11:07:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Wed Mar 19 11:31:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 11:31:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale From chizotz at charter.net Wed Mar 19 11:34:01 2003 From: chizotz at charter.net (Ron Allen) Date: Wed Mar 19 11:34:01 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> Message-ID: <54916937.20030320113150@charter.net> WH> ...Warning! ...the Small Business Server list is reporting some instances of WH> failed server/client reboots and trashed drives after applying the MS WinDav WH> patch :(((( WH> ...if you're not running IIS, you might want to hold off on applying the WH> patch until MS gets it right :((( Hello William, I would like more information on this. I have lost two machines, totally unbootable, in the past week or so. One was my development machine running WindowsXP and the desktop edition of IIS was, I'm almost certain, running too. The other machine was a Windows ME backup box, though, and I don't think it had even the desktop version of IIS running but I'm not certain of that. Would this problem affect machines under those circumstances do you know? I can't find anything about this on the MS site (yet). Please contact me off-list if you feel this is too far off-topic. chizotz at charter.net Thanks for any further information, Ron From cfoust at infostatsystems.com Wed Mar 19 11:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 11:36:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Wed Mar 19 11:41:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed Mar 19 11:41:00 2003 Subject: [AccessD] Windows in Taskbar References: Message-ID: <009201c2ee3e$f5882ac0$0300000a@PASCAL> Yeah, that's what I meant. I pulled that code from memory. ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 19, 2003 10:17 AM Subject: RE: [AccessD] Windows in Taskbar > This will work: > > Application.SetOption "ShowWindowsInTaskBar", False > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Swisher, Timothy B. > Sent: Wednesday, March 19, 2003 9:08 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Windows in Taskbar > > > Maybe I am missing something, but I get a compile error with the > "Application.ShowWindowsInTaskbar = False" statement. What am I doing > wrong? > > Tim > -----Original Message----- > From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] > Sent: Tuesday, March 18, 2003 4:14 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Windows in Taskbar > > > Application.ShowWindowsInTaskbar = False > > You may want to save the user's setting at startup to a global variable or > table, and set it back when they exit. > > > For example, on startup > > MyVariable = Application.ShowWindowsInTaskbar > Application.ShowWindowsInTaskbar = False > > > Then on your exiting code > Application.ShowWindowsInTaskbar = MyVariable > ----- Original Message ----- > From: Swisher, Timothy B. > To: accessd at databaseadvisors.com > Sent: Tuesday, March 18, 2003 2:49 PM > Subject: [AccessD] Windows in Taskbar > > > Hello Group, > Anyone know how to programmatically unselect the "Windows in Taskbar" > option. I am trying to work around the bug that shows the database window > even if it is hidden when the user click one of the windows in taskbar. The > fix is to uncheck this option on the database, but I can not go to each > client machine and do that. My development machine is A2K and I have some > users with AXP that can now get to the database window. TIA. > Tim Swisher > Application & Software Engineer > Gannett Fleming > Email: tswisher at gfnet.com > Website: www.GANCOM.com > Voice: (717) 763-7226 Ext 2057 > Toll Free: (800) 446-9236 Ext 2057 > Fax: (717) 763-8150 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Wed Mar 19 11:44:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 11:44:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From normkara at wans.net Wed Mar 19 11:46:05 2003 From: normkara at wans.net (Norm) Date: Wed Mar 19 11:46:05 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> Message-ID: <004d01c2ee3e$fb761c80$52d2d23f@norm> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM This may or not be of any use to you - but worth looking into - about machines failing to boot after installing the latest patch from Microsoft. HTH Norm > > I would like more information on this. I have lost two machines, > totally unbootable, in the past week or so. One was my development > machine running WindowsXP and the desktop edition of IIS was, I'm > almost certain, running too. The other machine was a Windows ME backup > box, though, and I don't think it had even the desktop version of IIS > running but I'm not certain of that. Would this problem affect > machines under those circumstances do you know? I can't find anything > about this on the MS site (yet). > > Please contact me off-list if you feel this is too far off-topic. > chizotz at charter.net > > Thanks for any further information, > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 19 11:48:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 11:48:00 2003 Subject: [AccessD] OT - Missing Word Menu Bar In-Reply-To: References: Message-ID: <7934860346.20030319184503@cactus.dk> Hi Henry Several suggestions were brought forward. One - with a proven record here - is to run this command: winword.exe /a /gustav > No menu bar was present in Word yet Alt-F dropped the file menu. The user > had the taskbar at the top of the screen and I thought this might have > covered something. > After I went in to edit the toolbars and when I dragged Word by its title > bar, the menu bar appeared as a toolbox that I dragged into the correct > position. I don't know how or why, the the file menu was in or under Word's > title bar. Sometimes you just have to get on a machine and horse around to > find a solution. From MarkBoyd at McBeeAssociates.com Wed Mar 19 11:50:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 11:50:00 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Wed Mar 19 11:53:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 19 11:53:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AB0@NT04> Jim, The web/database, to me, is the best solution. I have a client that started with 50 locations and now has over 70, using multiple pages to send data to the main office. Some have dial-up others broadband. Doesn't matter. Except we did have trouble with any site that was using AOL. Use ASP connecting to an Access mdb. Use NT security. Implementation: Create the ASP pages and the Access database. Move both to an active server. Let your sites know it's location. Use it! HTH Jim -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tswisher at GFNET.com Wed Mar 19 12:02:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 12:02:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F36@SEESAR3.corporate.gannettfleming.com> Apparently in AXP, if you have the taskbar in windows checked, then click on one of the windows in the taskbar from the app, the database window will show even if you have it checked not to show. According to MS, it is a known problem (kb # 313915), but the solution was to change the the setting from the options window, which is not feasible for me. I can only make this happen on some of my databases and only some of my clients have problems, so who knows. Tim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 19, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 19 12:07:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 12:07:07 2003 Subject: [AccessD] Using Access to reconcile store cash In-Reply-To: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> Message-ID: <4236157581.20030319190640@cactus.dk> Hi Jim With only few forms and a login function, that could be a job for CodeCharge: http://www.codecharge.com /gustav > Currently we have 150 stores which fill out a daily cash reconciliation > form. Although the form is in Excel the stores currently fax the report to a > central location where the cash reconciliation clerk uses the data to > reconcile. Clearly the entire process could benefit from some automation. > While I can visualize some solutions using a combination of Excel and Access > it seems to me that a web form that feeds a database would be ideal. While > the data per form is minimal (15-20 data elements/day) I will probably have > situations where 20-40 stores need to fill out the form at the same time. > Unfortunately I've never done any web work. My questions for the group are: > A. Is the web/database the best solution? > B. If it is what is the simplest way to implement it? > C. Is an Access .mdb the appropriate database i.e. can it handle many > simultaneous users? > TIA for your ideas > Jim Hale From jim.hale at fleetpride.com Wed Mar 19 12:20:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 12:20:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2C14@corp-es00> Very nice. Thanks Gustav. Jim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 19, 2003 12:07 PM To: Hale, Jim Subject: Re: [AccessD] Using Access to reconcile store cash Hi Jim With only few forms and a login function, that could be a job for CodeCharge: http://www.codecharge.com /gustav > Currently we have 150 stores which fill out a daily cash reconciliation > form. Although the form is in Excel the stores currently fax the report to a > central location where the cash reconciliation clerk uses the data to > reconcile. Clearly the entire process could benefit from some automation. > While I can visualize some solutions using a combination of Excel and Access > it seems to me that a web form that feeds a database would be ideal. While > the data per form is minimal (15-20 data elements/day) I will probably have > situations where 20-40 stores need to fill out the form at the same time. > Unfortunately I've never done any web work. My questions for the group are: > A. Is the web/database the best solution? > B. If it is what is the simplest way to implement it? > C. Is an Access .mdb the appropriate database i.e. can it handle many > simultaneous users? > TIA for your ideas > Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Wed Mar 19 12:27:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed Mar 19 12:27:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Thanks for the response Charles. I guess I worded my question incorrectly. I do realize that Access security does not integrate directly with NT security, and I do assign my permissions by group. Doing this purely with Access security would just be too easy, and is sparking some ideas :) I'm looking to accomplish 1) centralized Access application security by the network admins and 2) remove the need for a logon by the users for Access. The vision I have is for the Network Admin to simply have to add users to the NT group. When the Access app is opened by a user, the user is authenticated through code (their NT groups are evaluated), and are given access based on these NT group associations. The Administrator would not have to individually add personnel to each Access app, and the users would not have to have a separate logons for each app. For this app and environment it's a no-brainer, I'll do straight Access security. They have 25 static users, 3 user groups and only one Access app. However I've been in environments with dozens of secured Access apps across the enterprise (and each user may use 5 or more) where this type of security schema would be very handy. Doable? Feasible? Any ideas on how to implement? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 4:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security integration with NT security groups Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From CWortz at tea.state.tx.us Wed Mar 19 12:42:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 12:42:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Network security basically works at the folder level, so whatever permissions one has applies to all objects in the Access app and any other apps in the folder. If you want to use NT security at a finer granularity, then you need SQL Server. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Mar 19 12:27 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access security integration with NT security groups Thanks for the response Charles. I guess I worded my question incorrectly. I do realize that Access security does not integrate directly with NT security, and I do assign my permissions by group. Doing this purely with Access security would just be too easy, and is sparking some ideas :) I'm looking to accomplish 1) centralized Access application security by the network admins and 2) remove the need for a logon by the users for Access. The vision I have is for the Network Admin to simply have to add users to the NT group. When the Access app is opened by a user, the user is authenticated through code (their NT groups are evaluated), and are given access based on these NT group associations. The Administrator would not have to individually add personnel to each Access app, and the users would not have to have a separate logons for each app. For this app and environment it's a no-brainer, I'll do straight Access security. They have 25 static users, 3 user groups and only one Access app. However I've been in environments with dozens of secured Access apps across the enterprise (and each user may use 5 or more) where this type of security schema would be very handy. Doable? Feasible? Any ideas on how to implement? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 4:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security integration with NT security groups Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter From CWortz at tea.state.tx.us Wed Mar 19 12:53:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 12:53:01 2003 Subject: [AccessD] Does table exist? Message-ID: Check the TableDef collection for a member by the name of the wanted table. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Wednesday 2003 Mar 19 11:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Importance: Low Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Wed Mar 19 12:57:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed Mar 19 12:57:00 2003 Subject: [AccessD] Problem with online help Message-ID: <806536912C472E4A9D6515DF2E57261E0C592C@mercury.tnco-inc.com> Not sure of the specs of your computer, but if your running XP, 2000, or ME then this is probably your problem. http://support.microsoft.com/default.aspx?scid=kb;en-us;249065 -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Wednesday, March 19, 2003 5:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with online help Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From szeller at cce.umn.edu Wed Mar 19 13:03:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 13:03:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: I have not been able to reproduce this behavior in AXP on my own applications. But, I distribute my application as .ade files to avoid all of this. --Susan -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at GFNET.com] Sent: Wednesday, March 19, 2003 12:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar Apparently in AXP, if you have the taskbar in windows checked, then click on one of the windows in the taskbar from the app, the database window will show even if you have it checked not to show. According to MS, it is a known problem (kb # 313915), but the solution was to change the the setting from the options window, which is not feasible for me. I can only make this happen on some of my databases and only some of my clients have problems, so who knows. Tim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 19, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Mar 19 13:10:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 13:10:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: We use Access security, Charles. It isn't quite so easy to bypass *those* tricks. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 19 13:13:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 13:13:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> References: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: <14239975151.20030319201017@cactus.dk> Hi Mark > Is there code to find out if an Access table exists in the database? Well, several options. This is one we use: Function IsTable( _ ByVal strDatabase As String, _ ByVal strTable As String) As Boolean Dim dbs As Database Dim lngCount As Long Dim booFound As Boolean On Error GoTo Err_IsTable If Len(strDatabase) = 0 Then Set dbs = CurrentDb() Else Set dbs = DBEngine(0).OpenDatabase(strDatabase) End If lngCount = dbs.TableDefs.Count While lngCount > 0 And Not booFound booFound = (StrComp(dbs.TableDefs(lngCount - 1).Name, strTable, vbTextCompare) = 0) lngCount = lngCount - 1 Wend Set dbs = Nothing IsTable = booFound Exit_IsTable: Exit Function Err_IsTable: Resume Exit_IsTable End Function Watch for a line break. /gustav From StaRKeY at Wanadoo.nl Wed Mar 19 13:15:47 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed Mar 19 13:15:47 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: Yupz.... using dao it looks like this: dim db as dao.database, tbl as dao.tabledef set db=currentdb for each tbl in db.tabledefs if tbl.name="yourtable" then "found" next tbl set db=nothing set tbl=nothing Have fun! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 18:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Wed Mar 19 13:20:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 13:20:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From CWortz at tea.state.tx.us Wed Mar 19 13:23:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 13:23:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Yes, you need to implement security if you want to suppress many of these tricks. Also converting the app to an .mde or .ade helps. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 13:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Importance: Low We use Access security, Charles. It isn't quite so easy to bypass *those* tricks. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Wed Mar 19 13:39:00 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Wed Mar 19 13:39:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Wed Mar 19 13:43:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Wed Mar 19 13:43:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFE82EA1@PKDWB01C.ad.sprint.com> John, I've run into that when the "number" in Excel is actually a "text" value. Try converting the offending Excel value to a number using Excel's "Value" function. In my case that always took care of the problem. HTH Don McGillivray -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, March 19, 2003 11:20 AM To: AccessD Subject: [AccessD] Access to Excel - #Num! does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.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 Wed Mar 19 13:47:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed Mar 19 13:47:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: Message-ID: <008601c2ee50$43b11bb0$b501010a@DAISY.local> THNX John! I'm leaving tomorrow 20-Mar-03 afternoon at around 2:00 p.m. (GMT+3) I will be back from my trip in two weeks. THNX everybody for your great help and support! Shamil ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 9:35 PM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Congratulations Shamil! Enjoy your trip, and your vacation. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, March 14, 2003 1:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Monday, March 10, 2003 11:23 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > THNX Marty, > > > > I will give it another try to solve the problem without complaints - if no > > result then maybe I will go compainingt o the Head Office. But the chances > > are very high that they will not accept any of my complaints and will play > > fool - or you've any success stories when complaints helped to solve the > > situations like that mine? > > > > TIA for any additional info, > > Shamil > > > > ----- Original Message ----- > > From: "MartyConnelly" > > To: > > Sent: Monday, March 10, 2003 10:44 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > I would complain (umm... make a request for clarification or advice) to > > > the Head Office rather than locally. "Better to complain to the organ > > > grinder than the monkey". This is an English aphorism > > > referring to street buskers who would play a portable windup organ and > > > have a little monkey running around with a cup to collect spare change. > > > > > > Here is the mailing address for Ministry in the Hague > > > The Netherlands Ministry of Foreign Affairs > > > > > > Visitors Address: > > > Bezuidenhoutseweg 67, The Hague > > > tel. +31 70 3486486; > > > fax. + 31 70 3484848; > > > > > > The Netherlands Ministry of Foreign Affairs > > > Postal Address: > > > PO Box 20061 > > > 2500 EB The Hague > > > > > > Or email complaint page > > > > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > > 2X55346X5 > > > or > > > > > > If you have any questions, please check the Frequently Asked Questions > > > first. If you have still not found an answer to your question, then you > > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > > see: in english Visa Applications > > > > > > http://www.immigratiedienst.nl/ > > > > > > Probably a phone call to their communication department in external > > > affairs for clarification would quickly resolve the matter. They aren't > > > clear on their forms about very short business trips or actually working > > > for a company on a 3 month contract or a business man who goes to > > > Holland to solicit business and takes along his wife so she can shop or > > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > > minute phone call to Europe from Canada only costs a little over a > dollar, > > > I don't know about your costs. > > > > > > Also when you applied, Holland was going through a National election > > > where one of the major topics was Illegal Immigration and assylum > > > seekers. So there may have been political direction to be hesitant or > > > over zealous in the checking of visas, to avoid political embarassment > > > to the powers that be, during the election period. > > > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > > few years and can find my way around . You do learn skills as a civil > > > servant. Things like reading upside down and backwards > > > so you can read a letter on a desk you are not supposed to see. I can > > > carry two passports EU and Canadian and still get into trouble over > > > there with the regulations. > > > > > > > > > Shamil Salakhetdinov wrote: > > > > > > >THNX for your info Marty! > > > >Very much appreciated! > > > > > > > > > > > > > > > >> it isn't worth the hassle to complain > > > >>about some minor functionary or bureaucrat > > > >> > > > >> > > > >OK, I decided to reapply for the Visum if they are asking to do so but > > I'd > > > >like to have some documents left on my hands(unfortunately I didn't > make > > the > > > >copy of the first Visa application) > > > > > > > >I'd like to write a letter to the head of the Consulate-General with > > request > > > >for their help of solving this small misapprehension ASAP - how should > I > > > >proceed with them to let me to pass this letter to him and to allow me > to > > > >meet with him/his representative and to officially register my letter > > with > > > >help request and explanation (my vision) of situation (of course > without > > any > > > >complaints)? > > > > > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > > >>residence in US (odds 1:100) > > > >> > > > >> > > > >You propose me to immigrate to the States? A plenty of work there and a > > room > > > >for five people? - I still prefer to stay here in Russia and find a way > > to > > > >freely travel around the World - should be doable but needs some time > to > > > >solve this without immigration to the States... > > > > > > > >Shamil > > > > > > <<< tail skipped for brevity >>> > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From John.Clark at niagaracounty.com Wed Mar 19 13:53:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 19 13:53:01 2003 Subject: [AccessD] OT - Missing Word Menu Bar Message-ID: In my case it tuned out to be a corrupt registry key, which was part 4 (I think) in the following link that was passed on to me by Bryan Carbonnell (http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=wrd&Number=197827). I used the "/a" parameter, and it opened fine, then I ruled out the normal.doc problem. We reset the registry key and, voila! It worked fine! John W Clark >>> hsimpson88 at hotmail.com 03/19/03 11:21AM >>> I recently followed a thread with a similar topic a few weeks ago and made a comment about stability of Word docs and keeping templates simple. Curiously, in the past week or so, after I had deleted all the postings on the thread, one of my clients had a user report the problem. I tried to find the thread in Drew's archive but it was inaccessible and yesterday I managed to get account information and log in as the user by dial up to Terminal Server session. No menu bar was present in Word yet Alt-F dropped the file menu. The user had the taskbar at the top of the screen and I thought this might have covered something. After I went in to edit the toolbars and when I dragged Word by its title bar, the menu bar appeared as a toolbox that I dragged into the correct position. I don't know how or why, the the file menu was in or under Word's title bar. Sometimes you just have to get on a machine and horse around to find a solution. Hen _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 19 14:00:00 2003 From: ttom at accessyourdata.com (t tom) Date: Wed Mar 19 14:00:00 2003 Subject: [AccessD] Does table exist? References: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: <003801c2ee51$474d38c0$132b9244@cg.shawcable.net> Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Wed Mar 19 14:12:20 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 14:12:20 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA88@mail2k.mcbassoc.com> Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Wed Mar 19 14:31:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 14:31:00 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <3E780091.19715.122CBE@localhost> Message-ID: <000001c2ee56$19dff120$b274d0d5@andypc> Yea, probably an internationalization issue :-)))) (ducks) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 19 March 2003 10:31 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Default Value On Numerics > > > On 19 Mar 2003 at 7:26, Andy Lacey wrote: > > > Well I wasn't, cos I've never used MAKE TABLE. Nevertheless > thanks for > > the definitive answer Charlotte. > > Neither was I. For exactly the same reason. > > Oh well, it must be a Commonwealth thing Andy. :-) > > Thanks Charlotte. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Programming today is a race between software engineers striving > to build bigger and better idiot-proof programs, and the Universe > producing bigger and better idiots. So far, the Universe is > winning. - > Mark Mischler. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From StaRKeY at Wanadoo.nl Wed Mar 19 14:34:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed Mar 19 14:34:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA88@mail2k.mcbassoc.com> Message-ID: Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Wed Mar 19 14:37:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 14:37:00 2003 Subject: [AccessD] Access to Excel - #Num! In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BFE82EA1@PKDWB01C.ad.sprint.com> Message-ID: I tried formatting the column as a number, no help John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [LTD] Sent: Wednesday, March 19, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access to Excel - #Num! John, I've run into that when the "number" in Excel is actually a "text" value. Try converting the offending Excel value to a number using Excel's "Value" function. In my case that always took care of the problem. HTH Don McGillivray -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, March 19, 2003 11:20 AM To: AccessD Subject: [AccessD] Access to Excel - #Num! does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2224 bytes Desc: not available URL: From EdTesiny at oasas.state.ny.us Wed Mar 19 14:53:01 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed Mar 19 14:53:01 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: John, #Num! The #Num! error value means that the value in the field is too large (either positively or negatively) to be stored in the field, based on the field's DataType or FieldSize property setting Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Wednesday, March 19, 2003 3:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" > value. > Try converting the offending Excel value to a number using Excel's > "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked > in the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Wed Mar 19 14:57:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 19 14:57:01 2003 Subject: [AccessD] Access to Excel - #Num! References: Message-ID: <03d601c2ee59$b5d0b850$f8ecffcc@SusanOne> John, I've really no clue, but these are the things I'd check first. 1.) Make sure the column in the linked table is wide enough to display the values. 2.) Check the data types -- it may be something Access simply can't interpret. Sorry, I know that's probably not any help. Susan H. > I tried formatting the column as a number, no help From davesharpe2 at cox.net Wed Mar 19 15:02:08 2003 From: davesharpe2 at cox.net (davesharpe2 at cox.net) Date: Wed Mar 19 15:02:08 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <20030319210004.EHOG1354.lakemtao03.cox.net@smtp.east.cox.net> John Formatting just addresses presentation, not the actual content of the cell. Look in the FORMULA bar; do you see just 1234 ( a number ) or '1234 ( 1234 as text ). Dave > > From: "John W. Colby" > Date: 2003/03/19 Wed PM 03:35:20 EST > To: > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2224 bytes Desc: not available URL: From accessd at shaw.ca Wed Mar 19 15:34:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 15:34:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: Just a note: Quote from MS: "Machines running the Windows NT and XP operating systems are not vulnerable, according to Microsoft." Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Norm Sent: Wednesday, March 19, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: Re: Re[2]: [AccessD] RE:Virus attack http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM This may or not be of any use to you - but worth looking into - about machines failing to boot after installing the latest patch from Microsoft. HTH Norm > > I would like more information on this. I have lost two machines, > totally unbootable, in the past week or so. One was my development > machine running WindowsXP and the desktop edition of IIS was, I'm > almost certain, running too. The other machine was a Windows ME backup > box, though, and I don't think it had even the desktop version of IIS > running but I'm not certain of that. Would this problem affect > machines under those circumstances do you know? I can't find anything > about this on the MS site (yet). > > Please contact me off-list if you feel this is too far off-topic. > chizotz at charter.net > > Thanks for any further information, > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Wed Mar 19 15:37:01 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Wed Mar 19 15:37:01 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFE830C2@PKDWB01C.ad.sprint.com> John, Maybe I'm barking up the wrong tree with this, but here's a bit more detail about my similar experience: I've encountered this with an Excel sheet used as a linked table, where the Excel sheet was being populated by another person each month. Turns out they were cutting the data from a query of some sort (not really sure how the query was generated, but the data came from a PeopleSoft accounting database) and pasting it into the spreadsheet. No matter how I looked at the resulting data, it looked like a numeric in Excel, but when viewed via Access I'd get the #Num! thing. I tried reformatting the Excel column as a number, but no glory. The only solution I found was to convert the offending cell values to numbers in a separate column of the sheet (using the Value function in Excel). Then, copy the resulting values and paste them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta crap to go thru each month - so I got them to do it on the other end ;-). Hope this helps Don McGillivray > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Wednesday, March 19, 2003 12:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com From jcolby at ColbyConsulting.com Wed Mar 19 15:51:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 15:51:00 2003 Subject: [AccessD] Access to Excel - #Num! In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BFE830C2@PKDWB01C.ad.sprint.com> Message-ID: That appears to be what is happening here. Thanks for the suggestion. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [LTD] Sent: Wednesday, March 19, 2003 4:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access to Excel - #Num! John, Maybe I'm barking up the wrong tree with this, but here's a bit more detail about my similar experience: I've encountered this with an Excel sheet used as a linked table, where the Excel sheet was being populated by another person each month. Turns out they were cutting the data from a query of some sort (not really sure how the query was generated, but the data came from a PeopleSoft accounting database) and pasting it into the spreadsheet. No matter how I looked at the resulting data, it looked like a numeric in Excel, but when viewed via Access I'd get the #Num! thing. I tried reformatting the Excel column as a number, but no glory. The only solution I found was to convert the offending cell values to numbers in a separate column of the sheet (using the Value function in Excel). Then, copy the resulting values and paste them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta crap to go thru each month - so I got them to do it on the other end ;-). Hope this helps Don McGillivray > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Wednesday, March 19, 2003 12:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3124 bytes Desc: not available URL: From accessd at shaw.ca Wed Mar 19 16:06:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 16:06:02 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: Hi Mark: For older Access97 applications the following code could be used... Dim db1 As Database Dim ltabdefTables As TableDef Set db1 = CurrentDb() With db1 For Each ltabdefTables In .TableDefs If strDoesthisTableExis = ltabdefTables.Name Then TableExists = True Exit For End if Next End With ... and for current Access applications... if currentdb.TableDefs(strDoesthisTableExist).Name <> "" Then TableExists = True HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Wednesday, March 19, 2003 9:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Wed Mar 19 16:26:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 16:26:00 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA90@mail2k.mcbassoc.com> Thanks Jim. Mark -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, March 19, 2003 5:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Hi Mark: For older Access97 applications the following code could be used... Dim db1 As Database Dim ltabdefTables As TableDef Set db1 = CurrentDb() With db1 For Each ltabdefTables In .TableDefs If strDoesthisTableExis = ltabdefTables.Name Then TableExists = True Exit For End if Next End With ... and for current Access applications... if currentdb.TableDefs(strDoesthisTableExist).Name <> "" Then TableExists = True HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Wednesday, March 19, 2003 9:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hadyn at dataconcepts.co.nz Wed Mar 19 16:37:00 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Wed Mar 19 16:37:00 2003 Subject: [AccessD] Access to Excel - #Num! References: Message-ID: <00c301c2ee68$6715da10$0700000a@xpdev> Hi John http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 Had the same problem. This fixed it. Kind regards Hadyn ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 20, 2003 9:50 AM Subject: RE: [AccessD] Access to Excel - #Num! > That appears to be what is happening here. Thanks for the suggestion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 4:36 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > Maybe I'm barking up the wrong tree with this, but here's a bit more detail > about my similar experience: > > I've encountered this with an Excel sheet used as a linked table, where the > Excel sheet was being populated by another person each month. Turns out > they were cutting the data from a query of some sort (not really sure how > the query was generated, but the data came from a PeopleSoft accounting > database) and pasting it into the spreadsheet. No matter how I looked at > the resulting data, it looked like a numeric in Excel, but when viewed via > Access I'd get the #Num! thing. I tried reformatting the Excel column as a > number, but no glory. The only solution I found was to convert the > offending cell values to numbers in a separate column of the sheet (using > the Value function in Excel). Then, copy the resulting values and paste > them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta > crap to go thru each month - so I got them to do it on the other end ;-). > > Hope this helps > > Don McGillivray > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > > Sent: Wednesday, March 19, 2003 12:35 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access to Excel - #Num! > > > > I tried formatting the column as a number, no help > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > > Donald [LTD] > > Sent: Wednesday, March 19, 2003 2:43 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access to Excel - #Num! > > > > > > John, > > > > I've run into that when the "number" in Excel is actually a "text" value. > > Try converting the offending Excel value to a number using Excel's "Value" > > function. In my case that always took care of the problem. > > > > HTH > > > > Don McGillivray > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Wednesday, March 19, 2003 11:20 AM > > To: AccessD > > Subject: [AccessD] Access to Excel - #Num! > > > > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > > the > > spreadsheet is a number, but when viewed in a linked table is #Num! > > > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From stuart at lexacorp.com.pg Wed Mar 19 17:28:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:28:01 2003 Subject: [AccessD] Access security integration with NT security groups In-Reply-To: Message-ID: <3E798918.26696.38EDB0@localhost> I have "futzed" it in the past by using folders :-) Set up a series of sub-folders below your application directory, each one containing a simple text file. Apply group rights to each folder. In Access, try to read the file in each folder. If you can, you are a member of the group. You can then use that information to control access to various parts of your access application. > Network security basically works at the folder level, so whatever > permissions one has applies to all objects in the Access app and any > other apps in the folder. If you want to use NT security at a finer > granularity, then you need SQL Server. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Wednesday 2003 Mar 19 12:27 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Thanks for the response Charles. I guess I worded my question > incorrectly. > > > I do realize that Access security does not integrate directly with NT > security, and I do assign my permissions by group. Doing this purely > with Access security would just be too easy, and is sparking some ideas > :) > > I'm looking to accomplish 1) centralized Access application security by > the network admins and 2) remove the need for a logon by the users for > Access. > > The vision I have is for the Network Admin to simply have to add users > to the NT group. When the Access app is opened by a user, the user is > authenticated through code (their NT groups are evaluated), and are > given access based on these NT group associations. > > The Administrator would not have to individually add personnel to each > Access app, and the users would not have to have a separate logons for > each app. > > For this app and environment it's a no-brainer, I'll do straight Access > security. They have 25 static users, 3 user groups and only one Access > app. However I've been in environments with dozens of secured Access > apps across the enterprise (and each user may use 5 or more) where this > type of security schema would be very handy. > > Doable? Feasible? Any ideas on how to implement? > > Mark > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 19, 2003 4:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Mark, > > Access does not use NT Security, it has its own security. Access > security came into being long before M$ developed WinNT and WinNT > Security. It would be nice if a future version of Access did allow > integration with NT Security, or whatever version of Windows Security is > in place then. > > If you read the Access Security FAQ > http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon > tent%2Fsecfaq%2Easp (watch for line wrap) > you will see it is recommended that you set up security for groups and > then assign individuals to groups. Thus you, or whoever you appoint as > security administrator of the application, only has to add and delete > individuals from groups. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Tuesday 2003 Mar 18 16:40 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Access security integration with NT security groups > > > An old client would like to secure their mdb and I'm wondering how easy > it would be to integrate Access security with NT security (ala SQL > Server). I'd like to focus on security groups, not individuals. > > Does anyone have experience with this and can point me in the right > direction? Or is it more trouble than it's worth? > > (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) > > Thanks, > > Mark Porter > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 19 17:31:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:31:00 2003 Subject: [AccessD] Connecting to a URL through code In-Reply-To: Message-ID: <3E798919.5092.38EF87@localhost> > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > I posted this in response to another question on 10 Oct 2002, but it applies equally well here - The document can be a URL: (Watch for word wrap) You can do it using ShellExecute(). The Sub below will open any registered document type maximized in the foreground, leaving Access maximized behind it. (Other ShowWindow constants are: SW_HIDE = 0 SW_NORMAL = 1 SW_SHOWMINIMIZED = 2 SW_SHOWMAXIMIZED = 3 SW_SHOWNOACTIVATE = 4 SW_SHOWMINNOACTIVE = 7 SW_SHOWDEFAULT = 10 ) Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Sub ShowDocMaximized(DocName As String) Dim ErrorStatus As Long Dim ErrorMessage As String Const SW_MAXIMIZED = 3 If IsNull(docname) Then MsgBox "No Document Name": Exit Sub ErrorStatus = ShellExecute(0, "Open", DocName, "", CurDir$, SW_MAXIMIZED) If ErrorStatus < 33 Then Select Case ErrorStatus Case 0: ErrorMessage = "The operating system is out of memory or resources." Case 2: ErrorMessage = " The specified file was not found." Case 3: ErrorMessage = "The specified path was not found." Case 5: ErrorMessage = "The operating system denied access to the specified file." Case 8: ErrorMessage = "There was not enough memory to complete the operation." Case11: ErrorMessage = "The .EXE file is invalid (non-Win32 .EXE or error in .EXE image)." Case 26: ErrorMessage = "A sharing violation occurred." Case 27: ErrorMessage = "The filename association is incomplete or invalid." Case 29: ErrorMessage = "The DDE transaction failed." Case 28: ErrorMessage = "The DDE transaction could not be completed because the request timed out." Case 30: ErrorMessage = "The DDE transaction could not be completed because other DDE transactions were being processed." Case 31: ErrorMessage = "There is no application associated with the given filename extension." Case 32: ErrorMessage = "The specified dynamic-link library was not found." Case Else: ErrorMessage = "Unidentified Error when opening document" End Select MsgBox ErrorMessage End If End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 19 17:33:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:33:12 2003 Subject: [AccessD] Access security integration with NT security groups In-Reply-To: Message-ID: <3E798918.31853.38EE8D@localhost> I've looked into doing this with API calls a few times and have decided it wasn't worth the effort every time. The security APIs are VERY tricky. I have "futzed" it in the past by using folders :-) Set up a series of sub-folders below your application directory, each one containing a simple text file. Apply group rights to each folder. In Access, try to read the file in each folder. If you can, you are a member of the group. You can then use that information to control access to various parts of your access application. > Thanks for the response Charles. I guess I worded my question incorrectly. > > > I do realize that Access security does not integrate directly with NT > security, and I do assign my permissions by group. Doing this purely with > Access security would just be too easy, and is sparking some ideas :) > > I'm looking to accomplish 1) centralized Access application security by the > network admins and 2) remove the need for a logon by the users for Access. > > The vision I have is for the Network Admin to simply have to add users to > the NT group. When the Access app is opened by a user, the user is > authenticated through code (their NT groups are evaluated), and are given > access based on these NT group associations. > > The Administrator would not have to individually add personnel to each > Access app, and the users would not have to have a separate logons for each > app. > > For this app and environment it's a no-brainer, I'll do straight Access > security. They have 25 static users, 3 user groups and only one Access app. > However I've been in environments with dozens of secured Access apps across > the enterprise (and each user may use 5 or more) where this type of security > schema would be very handy. > > Doable? Feasible? Any ideas on how to implement? > > Mark > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 19, 2003 4:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Mark, > > Access does not use NT Security, it has its own security. Access > security came into being long before M$ developed WinNT and WinNT > Security. It would be nice if a future version of Access did allow > integration with NT Security, or whatever version of Windows Security is > in place then. > > If you read the Access Security FAQ > http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon > tent%2Fsecfaq%2Easp (watch for line wrap) > you will see it is recommended that you set up security for groups and > then assign individuals to groups. Thus you, or whoever you appoint as > security administrator of the application, only has to add and delete > individuals from groups. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Tuesday 2003 Mar 18 16:40 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Access security integration with NT security groups > > > An old client would like to secure their mdb and I'm wondering how easy > it would be to integrate Access security with NT security (ala SQL > Server). I'd like to focus on security groups, not individuals. > > Does anyone have experience with this and can point me in the right > direction? Or is it more trouble than it's worth? > > (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) > > Thanks, > > Mark Porter > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Wed Mar 19 17:46:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 17:46:01 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: <00a001c2ee71$aaee3c10$6101a8c0@amd2k512> ...that's exactly it :))) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Norm" To: Sent: Wednesday, March 19, 2003 12:42 PM Subject: Re: Re[2]: [AccessD] RE:Virus attack > http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM > > This may or not be of any use to you - but worth looking into - about > machines failing to boot after installing the latest patch from Microsoft. > HTH > Norm > > > > > I would like more information on this. I have lost two machines, > > totally unbootable, in the past week or so. One was my development > > machine running WindowsXP and the desktop edition of IIS was, I'm > > almost certain, running too. The other machine was a Windows ME backup > > box, though, and I don't think it had even the desktop version of IIS > > running but I'm not certain of that. Would this problem affect > > machines under those circumstances do you know? I can't find anything > > about this on the MS site (yet). > > > > Please contact me off-list if you feel this is too far off-topic. > > chizotz at charter.net > > > > Thanks for any further information, > > > > Ron > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Mar 19 17:58:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 19 17:58:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82335@main2.marlow.com> ASP is probably the best approach for this. If you are practicing 'hit and release', the number of concurrent users is relatively ignorable, since the chances of having even two people 'submit' their data at the same time is pretty high....even then it wouldn't be a problem unless you had more then a hundred or so trying to submit at one time (physically 255 is the limit, but it might hiccup if a large number submit simultaneously.). Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Mar 19 18:01:02 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 18:01:02 2003 Subject: [AccessD] Using Access to reconcile store cash References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> <4236157581.20030319190640@cactus.dk> Message-ID: <00b501c2ee73$976518b0$6101a8c0@amd2k512> gustav ...have you actually used CodeCharge to produce a working web application? ...I'm seriously interested in something like this but so far have not found anything to beat DreamweaverMX ...interested in how this actually performs compared to its marleting claims. William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Gustav Brock" To: "Hale, Jim" Sent: Wednesday, March 19, 2003 1:06 PM Subject: Re: [AccessD] Using Access to reconcile store cash > Hi Jim > > With only few forms and a login function, that could be a job for > CodeCharge: > > http://www.codecharge.com > > /gustav > > > > Currently we have 150 stores which fill out a daily cash reconciliation > > form. Although the form is in Excel the stores currently fax the report to a > > central location where the cash reconciliation clerk uses the data to > > reconcile. Clearly the entire process could benefit from some automation. > > While I can visualize some solutions using a combination of Excel and Access > > it seems to me that a web form that feeds a database would be ideal. While > > the data per form is minimal (15-20 data elements/day) I will probably have > > situations where 20-40 stores need to fill out the form at the same time. > > Unfortunately I've never done any web work. My questions for the group are: > > A. Is the web/database the best solution? > > B. If it is what is the simplest way to implement it? > > C. Is an Access .mdb the appropriate database i.e. can it handle many > > simultaneous users? > > > TIA for your ideas > > Jim Hale > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Wed Mar 19 18:04:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 18:04:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2CDB@corp-es00> Thanks. This looks like the way to go. Jim H -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 19, 2003 11:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Access to reconcile store cash Jim, The web/database, to me, is the best solution. I have a client that started with 50 locations and now has over 70, using multiple pages to send data to the main office. Some have dial-up others broadband. Doesn't matter. Except we did have trouble with any site that was using AOL. Use ASP connecting to an Access mdb. Use NT security. Implementation: Create the ASP pages and the Access database. Move both to an active server. Let your sites know it's location. Use it! HTH Jim -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 19 18:47:00 2003 From: ttom at accessyourdata.com (t tom) Date: Wed Mar 19 18:47:00 2003 Subject: [AccessD] Does table exist? References: Message-ID: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> OK , Lets try again ( making code a little less squeaky , now only checks for tables ) Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and type=1" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function Tomt ----- Original Message ----- From: StaRKeY To: accessd at databaseadvisors.com Sent: Wednesday, March 19, 2003 1:27 PM Subject: RE: [AccessD] Does table exist? Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. ---------------------------------------------------------------------------- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-3-2003 Tested on: 19-3-2003 21:27:40 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chizotz at charter.net Wed Mar 19 20:53:00 2003 From: chizotz at charter.net (Ron Allen) Date: Wed Mar 19 20:53:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <004d01c2ee3e$fb761c80$52d2d23f@norm> References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: <4210561765.20030319205255@charter.net> N> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM N> This may or not be of any use to you - but worth looking into - about N> machines failing to boot after installing the latest patch from Microsoft. Thanks Norm, I'll go take a peek. Ron From SDSSoftware at Optusnet.com.au Wed Mar 19 21:14:01 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed Mar 19 21:14:01 2003 Subject: [AccessD] Combo - force dropdown Message-ID: <000001c2ee8e$8181cf50$54dd31d2@OfficePC> Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastercafe at ctv.es Wed Mar 19 21:30:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Wed Mar 19 21:30:00 2003 Subject: [AccessD] Combo - force dropdown In-Reply-To: <000001c2ee8e$8181cf50$54dd31d2@OfficePC> Message-ID: That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Wed Mar 19 21:34:01 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed Mar 19 21:34:01 2003 Subject: [AccessD] Combo - force dropdown References: Message-ID: <001501c2ee91$50bdcd80$54dd31d2@OfficePC> Hi Juan - I want it to go away after a choice is made with the mouse - just as it would if I had pressed F4 and made a selection using the mouse. Kath ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 2:24 PM Subject: RE: [AccessD] Combo - force dropdown That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Thu Mar 20 03:16:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu Mar 20 03:16:00 2003 Subject: [AccessD] OT Please Sort References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: <00bd01c2eec1$3254c3f0$9111758f@aine> Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin From DWUTKA at marlow.com Thu Mar 20 03:30:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 03:30:01 2003 Subject: [AccessD] OT Please Sort Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82364@main2.marlow.com> No problem. I've 'approved' it, however, I'm not on the OT list (get too much mail with just AccessD ), so if you could, email me offline (dwutka at marlow.com) if the message goes through or not. (First time 'approving' a message). Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, March 20, 2003 3:15 AM To: accessd Subject: [AccessD] OT Please Sort Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Thu Mar 20 04:31:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Thu Mar 20 04:31:00 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> <4210561765.20030319205255@charter.net> Message-ID: <000901c2eecb$c27207e0$60b95041@jlmoss> Those machines that wouldn't boot after installing the patch may be due to itchy trigger fingers. Mine took a very long time to boot the first time. After that it's been OK. ----- Original Message ----- From: "Ron Allen" To: "Norm" Sent: Wednesday, March 19, 2003 8:52 PM Subject: Re[4]: [AccessD] RE:Virus attack > N> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM > > N> This may or not be of any use to you - but worth looking into - about > N> machines failing to boot after installing the latest patch from Microsoft. > > Thanks Norm, I'll go take a peek. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Mar 20 05:31:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 05:31:01 2003 Subject: [AccessD] Using Access to reconcile store cash In-Reply-To: <00b501c2ee73$976518b0$6101a8c0@amd2k512> References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> <4236157581.20030319190640@cactus.dk> <00b501c2ee73$976518b0$6101a8c0@amd2k512> Message-ID: <213067019.20030320123027@cactus.dk> Hi William No, time has not allowed me to do so yet. But I've studied the site with live sample applications and they work nicely and, I noticed, very fast. CodeCharge is not meant to beat Dreamweaver MX which is very much more flexible. I guess it is more comparable to the data pages of Access which I cannot use as they are Internet Explorer dependant. I would like to, too, to hear how others with an Access background would judge CodeCharge ... /gustav > ...have you actually used CodeCharge to produce a working web application? > ...I'm seriously interested in something like this but so far have not found > anything to beat DreamweaverMX ...interested in how this actually performs > compared to its marleting claims. > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > ----- Original Message ----- > From: "Gustav Brock" > To: "Hale, Jim" > Sent: Wednesday, March 19, 2003 1:06 PM > Subject: Re: [AccessD] Using Access to reconcile store cash >> Hi Jim >> >> With only few forms and a login function, that could be a job for >> CodeCharge: >> >> http://www.codecharge.com >> >> /gustav >> >> >> > Currently we have 150 stores which fill out a daily cash reconciliation >> > form. Although the form is in Excel the stores currently fax the report >> > to a >> > central location where the cash reconciliation clerk uses the data to >> > reconcile. Clearly the entire process could benefit from some >> > automation. >> > While I can visualize some solutions using a combination of Excel and >> > Access >> > it seems to me that a web form that feeds a database would be ideal. >> > While >> > the data per form is minimal (15-20 data elements/day) I will probably >> > have >> > situations where 20-40 stores need to fill out the form at the same >> > time. >> > Unfortunately I've never done any web work. My questions for the group >> > are: >> > A. Is the web/database the best solution? >> > B. If it is what is the simplest way to implement it? >> > C. Is an Access .mdb the appropriate database i.e. can it handle many >> > simultaneous users? >> >> > TIA for your ideas >> > Jim Hale From paul.hartland at fsmail.net Thu Mar 20 05:32:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 05:32:00 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320113152.GJNK3144.fep08-svc.ttys.com@localhost> To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Thu Mar 20 05:43:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 05:43:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> References: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> Message-ID: <5513803738.20030320124244@cactus.dk> Hi Tom Nice try, Tom, but Type = 1 only reveals internal tables, not attached. Also, minor point, I believe DCount always return a value, zero if no records were found; thus the Nz() is not needed - you call it "moot" I think ... /gustav > OK , Lets try again ( making code a little less squeaky , now only checks for tables ) > Public Function CheckTableExist(strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and type=1" > If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then > CheckTableExist = True > Else > CheckTableExist = False > End If > End Function > Tomt > ----- Original Message ----- > From: StaRKeY > To: accessd at databaseadvisors.com > Sent: Wednesday, March 19, 2003 1:27 PM > Subject: RE: [AccessD] Does table exist? > Lets not(!)...Marc > Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not > work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) > The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to > just use code mentioned earlier. From michael.broesdorf at web.de Thu Mar 20 05:59:01 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Thu Mar 20 05:59:01 2003 Subject: AW: [AccessD] Problem with online help In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C592C@mercury.tnco-inc.com> Message-ID: Thanks so much - that was it! Michael -----Urspr?ngliche Nachricht----- Von: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]Im Auftrag von Joe Rojas Gesendet: Mittwoch, 19. M?rz 2003 20:00 An: 'accessd at databaseadvisors.com' Betreff: RE: [AccessD] Problem with online help Not sure of the specs of your computer, but if your running XP, 2000, or ME then this is probably your problem. http://support.microsoft.com/default.aspx?scid=kb;en-us;249065 -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Wednesday, March 19, 2003 5:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with online help Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Thu Mar 20 06:08:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu Mar 20 06:08:01 2003 Subject: [AccessD] Combo - force dropdown In-Reply-To: <001501c2ee91$50bdcd80$54dd31d2@OfficePC> Message-ID: We check another time your question, and our PC make the same : dropdown , select with keyboard o mouse then dropup. Check is you have all patches for A2K or Office 2000, we are using an Spanish version and this run correct... but have another problems that english version have correct. Check this link to microsoft and look for this http://office.microsoft.com/productupdates/ Juan -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:32 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] Combo - force dropdown Hi Juan - I want it to go away after a choice is made with the mouse - just as it would if I had pressed F4 and made a selection using the mouse. Kath ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 2:24 PM Subject: RE: [AccessD] Combo - force dropdown That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Thu Mar 20 06:52:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 06:52:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> Message-ID: Just out of curiousity Tom, why are you so persistent in using the msysobjects while we are being offered a pretty easy down to earth Access objectmodel? (I'm sorry if I came on too strong about the sample) Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 01:46 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? OK , Lets try again ( making code a little less squeaky , now only checks for tables ) Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and type=1" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function Tomt ----- Original Message ----- From: StaRKeY To: accessd at databaseadvisors.com Sent: Wednesday, March 19, 2003 1:27 PM Subject: RE: [AccessD] Does table exist? Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I?ll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------------------------------------------------------------------- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-3-2003 Tested on: 19-3-2003 21:27:40 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 20 07:20:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 07:20:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <20030320113152.GJNK3144.fep08-svc.ttys.com@localhost> Message-ID: <011001c2eee3$5f2348d0$8e01a8c0@Rock> This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 20 07:25:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 20 07:25:01 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: Paul, It's the latest security feature that M$ thought up. It supposedly prevents "call-home" spyware from calling home without your permission. It is a pain in the *** (you know where) when it is your own application that is trying to send e-mails. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday 2003 Mar 20 05:32 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland From michael.mattys at adelphia.net Thu Mar 20 07:28:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 07:28:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: <002001c2eee5$f345e200$6401a8c0@default> Will an A2K MDE work with 2002? I see that A2K cannot open A97 MDE's, which is why I ask. Mike Mattys From paul.hartland at fsmail.net Thu Mar 20 07:32:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 07:32:00 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320133059.GDUY17777.fep02-svc.ttys.com@localhost> Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From snegus at doulosenterprises.com Thu Mar 20 07:56:01 2003 From: snegus at doulosenterprises.com (Stephen Negus) Date: Thu Mar 20 07:56:01 2003 Subject: [AccessD] Mouse Pointer Message-ID: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> Hi List, Does anyone know if there is a number to use for the "pointing finger" mouse pointer in the following line of code... screen.mousepointer = ?? (For example, screen.mousepointer = 11 displays the hourglass) Thanks, Stephen Negus ---------------------------------------------------------------- Stephen Negus Doulos Enterprises snegus at doulosenterprises.com www.doulosenterprises.com From michael.mattys at adelphia.net Thu Mar 20 08:14:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 08:14:00 2003 Subject: [AccessD] Mouse Pointer References: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> Message-ID: <000d01c2eeec$731ae470$6401a8c0@default> Stephen 1 Normal Select (Arrow) 3 Text Select (I-Beam) 7 Vertical Resize (Size N, S) 9 Horizontal Resize (Size E, W) 11 Busy (Hourglass) Mike Mattys ----- Original Message ----- From: "Stephen Negus" To: "AccessD" Sent: Thursday, March 20, 2003 8:55 AM Subject: [AccessD] Mouse Pointer > Hi List, > > Does anyone know if there is a number to use for the "pointing finger" mouse > pointer in the following line of code... > > screen.mousepointer = ?? > > (For example, screen.mousepointer = 11 displays the hourglass) > > Thanks, > > Stephen Negus > > ---------------------------------------------------------------- > Stephen Negus > Doulos Enterprises > snegus at doulosenterprises.com > www.doulosenterprises.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Mar 20 08:19:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 20 08:19:01 2003 Subject: [AccessD] Mouse Pointer References: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> <000d01c2eeec$731ae470$6401a8c0@default> Message-ID: <000601c2eeeb$b8e55e00$6101a8c0@amd2k512> ...the pointing finger code is here ...HTH :) http://www.mvps.org/access/api/api0044.htm William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Thursday, March 20, 2003 9:24 AM Subject: Re: [AccessD] Mouse Pointer > Stephen > > 1 Normal Select (Arrow) > 3 Text Select (I-Beam) > 7 Vertical Resize (Size N, S) > 9 Horizontal Resize (Size E, W) > 11 Busy (Hourglass) > > Mike Mattys > > ----- Original Message ----- > From: "Stephen Negus" > To: "AccessD" > Sent: Thursday, March 20, 2003 8:55 AM > Subject: [AccessD] Mouse Pointer > > > > Hi List, > > > > Does anyone know if there is a number to use for the "pointing finger" > mouse > > pointer in the following line of code... > > > > screen.mousepointer = ?? > > > > (For example, screen.mousepointer = 11 displays the hourglass) > > > > Thanks, > > > > Stephen Negus > > > > ---------------------------------------------------------------- > > Stephen Negus > > Doulos Enterprises > > snegus at doulosenterprises.com > > www.doulosenterprises.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Thu Mar 20 08:35:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu Mar 20 08:35:01 2003 Subject: [AccessD] OT Please Sort In-Reply-To: <00bd01c2eec1$3254c3f0$9111758f@aine> Message-ID: This is as it's supposed to be. Why doesn't the poster subscribe? I saw a bunch of these from William using a hotmail address. Since it appears that his regular address is sorted I just denied them assuming that he would repost from his normal address is which does belong to the list. Understand that with the old software there was no "will be approved". It either went, or it didn't. With this software, if the post doesn't go, a message is sent saying it is being held and the reason why. This is generating a LOT of extra work for moderators since they now have to go in and look at each message and make a decision. I am going to be one of those making this decision and I plan to simply disapprove under 99% of the cases. Unless there is a very good reason to approve. One I did approve was an over length message that was a single long response to a message to the OT list posted by Rocky. Most of the rest were messages that were too long because they weren't clipped, i.e. the whole damned thread was included in the message and it was too long. The message returned to the sender says it's too long. The sender can clip it and resend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Martin Reid Sent: Thursday, March 20, 2003 4:15 AM To: accessd Subject: [AccessD] OT Please Sort Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2680 bytes Desc: not available URL: From artful at rogers.com Thu Mar 20 09:59:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 09:59:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <20030320133059.GDUY17777.fep02-svc.ttys.com@localhost> Message-ID: <012201c2eef9$86dd4270$8e01a8c0@Rock> IIRC = if I recall correctly. Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ Hth = hope this helps. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Move from Windows NT to XP Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Thu Mar 20 10:22:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 10:22:01 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320162117.GIPG20663.fep03-svc.ttys.com@localhost> Thanks once again Arthur......Very helpful indeed...... From: "Arthur Fuller" Date: Thu 20/Mar/2003 15:58 GMT To: Subject: RE: RE: [AccessD] Move from Windows NT to XP IIRC = if I recall correctly. Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ Hth = hope this helps. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Move from Windows NT to XP Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Thu Mar 20 10:32:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 10:32:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <012201c2eef9$86dd4270$8e01a8c0@Rock> References: <012201c2eef9$86dd4270$8e01a8c0@Rock> Message-ID: <9931107740.20030320173108@cactus.dk> Hi Arthur > IIRC = if I recall correctly. > Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ > Hth = hope this helps. Arthur = Another reply that helps us romanticize (or recuberate or ..) /gustav From gustav at cactus.dk Thu Mar 20 10:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 10:56:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <532571585.20030320175531@cactus.dk> Hi Eric That day a man stops looking for alternatives, he's old. The same goes for women. /gustav > Just out of curiousity Tom, why are you so persistent in using the > msysobjects while we are being offered a pretty easy down to earth Access > objectmodel? (I'm sorry if I came on too strong about the sample) From cfoust at infostatsystems.com Thu Mar 20 11:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 11:26:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: A2k can't create A97 MDEs but it should be able to open one. 2002 should handle 2000 MDEs just find, with the same proviso. The only version that can create an MDE is the same version as the MDE. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, March 20, 2003 5:38 AM To: AccessD Subject: [AccessD] Acsess 2000 MDE with Access 2002 Will an A2K MDE work with 2002? I see that A2K cannot open A97 MDE's, which is why I ask. Mike Mattys _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 20 11:33:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 11:33:01 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <9931107740.20030320173108@cactus.dk> Message-ID: <012a01c2ef06$acef4780$8e01a8c0@Rock> Wow! In the latest William Gibson novel, Pattern Recognition, there's a similar acronym: LOMBARD = lots of money but a real dickhead. I got away mercifully. I'm most grateful, Gustav. (Now I'm sidetracked into thinking of a phrase for GUSTAV. I'll be back at ya soon. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 20, 2003 11:31 AM To: Arthur Fuller Subject: Re: [AccessD] Move from Windows NT to XP Hi Arthur > IIRC = if I recall correctly. > Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ > Hth = hope this helps. Arthur = Another reply that helps us romanticize (or recuberate or ..) /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 20 11:34:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 11:34:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <532571585.20030320175531@cactus.dk> Message-ID: <012b01c2ef06$c3b49830$8e01a8c0@Rock> Then may all your women be young, Gustav. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 20, 2003 11:56 AM To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi Eric That day a man stops looking for alternatives, he's old. The same goes for women. /gustav > Just out of curiousity Tom, why are you so persistent in using the > msysobjects while we are being offered a pretty easy down to earth > Access objectmodel? (I'm sorry if I came on too strong about the > sample) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Thu Mar 20 11:56:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 20 11:56:00 2003 Subject: [AccessD] Listers in print Message-ID: <1048182967.5166.14.camel@sgsax-th4022c> Now three listers published in Element K Journals' Inside Microsoft Access this month. Congratulations to Susan Harkins, Doris Manning, and Martin Reid. Nice writing, folks! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Thu Mar 20 12:23:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 20 12:23:00 2003 Subject: [AccessD] Listers in print In-Reply-To: <1048182967.5166.14.camel@sgsax-th4022c> Message-ID: <000e01c2ef0d$fcf80080$68360cd8@hargrove.internal> Please direct all the writing compliments to Susan... I just handle the technical end. :) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Thursday, March 20, 2003 12:56 PM To: accessd Subject: [AccessD] Listers in print Now three listers published in Element K Journals' Inside Microsoft Access this month. Congratulations to Susan Harkins, Doris Manning, and Martin Reid. Nice writing, folks! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Thu Mar 20 12:42:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 20 12:42:00 2003 Subject: [AccessD] Listers in print References: <000e01c2ef0d$fcf80080$68360cd8@hargrove.internal> Message-ID: <081801c2ef10$68bf7c10$f8ecffcc@SusanOne> Hey, I can't write it if I can't think of it. :) Susan H. > Please direct all the writing compliments to Susan... I just handle the > technical end. :) From jeffrey.demulling at usbank.com Thu Mar 20 12:42:59 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 20 12:42:59 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Message-ID: Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Thu Mar 20 12:46:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 12:46:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 References: Message-ID: <002801c2ef12$74a07dc0$6401a8c0@default> Charlotte, Thanks for responding. Maybe I have some setting that is wrong: A2K first asks if I want to convert the A97 mde, so I select "Open Database." It then brings up a messagebox that says, "You can't convert or enable an mde" You don't get this same thing, then? Mike Mattys ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, March 20, 2003 12:21 PM Subject: RE: [AccessD] Acsess 2000 MDE with Access 2002 > A2k can't create A97 MDEs but it should be able to open one. 2002 > should handle 2000 MDEs just find, with the same proviso. The only > version that can create an MDE is the same version as the MDE. > > Charlotte Foust > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday, March 20, 2003 5:38 AM > To: AccessD > Subject: [AccessD] Acsess 2000 MDE with Access 2002 > > > Will an A2K MDE work with 2002? > I see that A2K cannot open A97 MDE's, > which is why I ask. > > Mike Mattys > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Mar 20 12:58:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 20 12:58:00 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools In-Reply-To: Message-ID: <001c01c2ef12$cd8488a0$68360cd8@hargrove.internal> If you don't want to go the eBay route, try www.dealtime.com. They have it advertised on their site for $30. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, March 20, 2003 01:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Thu Mar 20 13:03:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu Mar 20 13:03:00 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools References: Message-ID: <004501c2ef13$99301f00$0300000a@PASCAL> If you have a legit copy of Office XP, M$ has a program that you can buy the earlier version for $20 or so. At least they used to. I got a copy of 97 back when 2000 was the latest through this program. They should have info on their site. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 12:42 PM Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From ttom at accessyourdata.com Thu Mar 20 13:30:00 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 20 13:30:00 2003 Subject: [AccessD] Does table exist? References: <012b01c2ef06$c3b49830$8e01a8c0@Rock> Message-ID: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Mar 20 13:54:00 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu Mar 20 13:54:00 2003 Subject: [AccessD] Does table exist? Message-ID: <916187228923D311A6FE00A0CC3FAA30332F03@ADGSERVER> Another way that I have not seen here yet is something similar to: 'this is OTOH on error resume next if db.tabledefs("tablename").name="" then End If if err.number=(can't remember the # right now) then TableExists=FALSE Else TableExists=TRUE End if I don't know if this would be any faster, but it only has to look in a collection, not run a query. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: Thursday, March 20, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt From StaRKeY at Wanadoo.nl Thu Mar 20 14:47:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 14:47:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Message-ID: Ah, okay:-) > That day a man stops looking for alternatives, he's old. As in..old & wise?:-) How many female alternatives do you need to figure them out? How about this one: Function TableExists(str As String) As Boolean On Error Resume Next Dim tbl As DAO.TableDef Set tbl = CurrentDb.TableDefs(str) TableExists = Not CBool(Err) Err = 0 Set tbl = Nothing End Function And there are actually more table types to worry about Tim, since you can have oracle/sql server etc. linked tables they all have their own characteristic type, go figure;-) Have fun, Eric S. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 20:31 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:40:44 (c) 2000-2003 ALWIL Software. http://www.avast.com From cfoust at infostatsystems.com Thu Mar 20 14:53:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 14:53:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: You're absolutely right. When I tested it, I mistakenly clicked on an mda file, not the mde. AXP gives the same message. What is really interesting is that I couldn't set a reference to the 97 mde either, apparently for the same reasons. Nor can I set a reference to an A97 mdb file. Must be the difference between VBA versions. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, March 20, 2003 10:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Acsess 2000 MDE with Access 2002 Charlotte, Thanks for responding. Maybe I have some setting that is wrong: A2K first asks if I want to convert the A97 mde, so I select "Open Database." It then brings up a messagebox that says, "You can't convert or enable an mde" You don't get this same thing, then? Mike Mattys ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, March 20, 2003 12:21 PM Subject: RE: [AccessD] Acsess 2000 MDE with Access 2002 > A2k can't create A97 MDEs but it should be able to open one. 2002 > should handle 2000 MDEs just find, with the same proviso. The only > version that can create an MDE is the same version as the MDE. > > Charlotte Foust > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday, March 20, 2003 5:38 AM > To: AccessD > Subject: [AccessD] Acsess 2000 MDE with Access 2002 > > > Will an A2K MDE work with 2002? > I see that A2K cannot open A97 MDE's, > which is why I ask. > > Mike Mattys > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Thu Mar 20 14:54:01 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 14:54:01 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <004501c2ef13$99301f00$0300000a@PASCAL> Message-ID: <000401c2ef22$d50694a0$0100a8c0@CX615377A> Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Thu Mar 20 14:55:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 14:55:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Message-ID: How about: Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 and other types)" CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) End Function I must be getting old since I am running out of alternatives:-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 20:31 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:48:25 (c) 2000-2003 ALWIL Software. http://www.avast.com From StaRKeY at Wanadoo.nl Thu Mar 20 15:00:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 15:00:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30332F03@ADGSERVER> Message-ID: Okay, ONE more and then I'll stop... I find this one the shortest and nicest:-) Function Exists(str As String) As Boolean On Error Resume Next Exists = (CurrentDb.Containers("Tables").Documents(str).Name = str) End Function Good night. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bobby Heid Sent: donderdag 20 maart 2003 20:57 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Does table exist? Another way that I have not seen here yet is something similar to: 'this is OTOH on error resume next if db.tabledefs("tablename").name="" then End If if err.number=(can't remember the # right now) then TableExists=FALSE Else TableExists=TRUE End if I don't know if this would be any faster, but it only has to look in a collection, not run a query. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: Thursday, March 20, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:53:34 (c) 2000-2003 ALWIL Software. http://www.avast.com From cfoust at infostatsystems.com Thu Mar 20 15:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 15:01:00 2003 Subject: [AccessD] Access XP Developer and replication manager Message-ID: Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From subs at solution-providers.ie Thu Mar 20 15:09:01 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu Mar 20 15:09:01 2003 Subject: [AccessD] Using Global Connections References: Message-ID: <01d501c2ef26$b61c7830$1fff869f@IEW001> Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From klk at ksu.edu Thu Mar 20 15:18:01 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Thu Mar 20 15:18:01 2003 Subject: [AccessD] Screen painting and lockup issues with autolinker resolved. Message-ID: <001201c2ef26$18cd7930$c35b8281@current> There was recently a thread about the lockup with the autolinker from Carl Tribble. Seth and I had been noticing this issue for some time and set out to solve it (got tired of not being able to do anything while a network database linked). Well, the solution to both the lack of a redraw after switching to different window or app which at the same time makes Access inoperable afterwards is to place a 'DoEvents' in the .pmIncrement routine of the ts_frmProgressMeter module right where the .repaint line currently is. Seems so simple it's silly, but it works. Keith L. Kovala klk at ksu.edu From cfoust at infostatsystems.com Thu Mar 20 15:21:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 15:21:00 2003 Subject: [AccessD] Access XP and references in libraries Message-ID: In 97, we had used a library database that had a reference set to the CDO.DLL library so we could handle email features using Redemption. If that DLL was missing on the target machine, the library had a broken reference but it didn't affect the main project except that the email capabilities were disabled. In XP, when you load the app, you get a message that the CDO.DLL is missing. I assume the difference in behavior is because of the change in the VBE IDE in 2000 and later, but does anyone know what the further implications might be? We haven't deployed this app yet, so I'm looking for input. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at murphyscreativity.com Thu Mar 20 15:36:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 15:36:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: Message-ID: <000d01c2ef28$a2f37630$0100a8c0@CX615377A> Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the user's system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From StaRKeY at Wanadoo.nl Thu Mar 20 15:37:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 15:37:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: <01d501c2ef26$b61c7830$1fff869f@IEW001> Message-ID: First of all, I am not against globals but I think there are a couple of things to bare in mind: 1) - kept open connections could slow down traffic in general, usually only if your app is used by a lot of people/connections 2) - what is the max. amount of open connections allowed? 3) - globals can loose their value in case an unhandled error occurs 4) - no Mark, in a LOT of cases you are NOT the only programmer over time... Last but not least, I've seen many different Access applications and to be honest, whenever I was asked to come fix or upgrade an app. I've never really cared about how the job was done unless it actually was creating/being a problem. My two cents.. Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: donderdag 20 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connections Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 22:29:50 (c) 2000-2003 ALWIL Software. http://www.avast.com From Rich_Lavsa at pghcorning.com Thu Mar 20 15:43:00 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu Mar 20 15:43:00 2003 Subject: [AccessD] Excel Automation - Pivot Table and Chart Message-ID: <833956F5C117124A89417638FDB112904FB3F5@goexchange.pghcorning.com> Hello all, Cross posted to AccessD and Access-L.. I am beginning to get very aggravated with Access Charts!! I found an article on automation on how to create a chart from a table or query in Microsoft Knowledgebase Article #184273. Very COOL stuff. I have practically no knowledge of the Excel object model nor do I have any books or references to it other then the Excel help files. Does anyone have any code examples or know a good reference on the web to find other examples of generating a pivot table in excel through VBA in access, as well as generating graphs through VBA, or even the ultimate which is what I am trying to do is to generate a pivot table, then generate the graph from the generated pivot table in excel. I learn from examples quicker then reading a book.. Thanks in advance, Rich From cfoust at infostatsystems.com Thu Mar 20 16:08:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 16:08:01 2003 Subject: [AccessD] Access XP Developer and replication manager Message-ID: No, I haven't. When I've used replication, I didn't try to do it on a schedule because I had no control over the users' schedules. Procedurally, our users were instructed to sync their replica at the beginning of each session to get the latest updates and at the end of a session to upload their own changes. You could set up code to sync the database when they opened it, but there is at least a slight delay involved with that. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the user's system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From the ADH it looks like I could do everything through use of the Jet Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Thu Mar 20 16:26:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu Mar 20 16:26:00 2003 Subject: [AccessD] Excel Automation - Pivot Table and Chart Message-ID: <869379ABF177D4118D3100508B5EF873057C2E0A@corp-es00> I will send you an example off line. Jim Hale -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, March 20, 2003 3:42 PM To: Access Listserv (E-mail); AccessD at databaseadvisors. com (E-mail) Subject: [AccessD] Excel Automation - Pivot Table and Chart Hello all, Cross posted to AccessD and Access-L.. I am beginning to get very aggravated with Access Charts!! I found an article on automation on how to create a chart from a table or query in Microsoft Knowledgebase Article #184273. Very COOL stuff. I have practically no knowledge of the Excel object model nor do I have any books or references to it other then the Excel help files. Does anyone have any code examples or know a good reference on the web to find other examples of generating a pivot table in excel through VBA in access, as well as generating graphs through VBA, or even the ultimate which is what I am trying to do is to generate a pivot table, then generate the graph from the generated pivot table in excel. I learn from examples quicker then reading a book.. Thanks in advance, Rich _______________________________________________ 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 Mar 20 17:55:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 20 17:55:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <3E788B29.8666.1301A9A@localhost> Message-ID: <3E7AE0B5.21936.2FE1D@localhost> On 19 Mar 2003 at 10:53, Darren Dick wrote: > Hi Stuart > The following code just won't work, even with your 'time' suggestion > I must be missing something really obvious. This should work. > A couple of things I messed up in my original example. That's what happens when you write code directly in an email client and don't debug :-( (rs!BookingTime - cmbInterval / dblMinutes) >= Time() Should be: Time => (rs!BookingTime - cmbInterval * dblMinutes) In my first example, we need to mulitpy by the fractional dblMinutes, not divide by it (that's why you would have been getting dates in then 1860s or whatever. We need it to trigger after the notice time, not before it! This one has been tired in A2K and worked as expected: Private Sub Form_Timer() Dim rs As DAO.Recordset Dim dblMinutes As Double dblMinutes = 1 / 24 / 60 If IsNull(cmbInterval) Then Exit Sub Set rs = Me.Recordset While Not rs.EOF If Time() >= (rs!BookingTime - cmbInterval * dblMinutes) And Not rs!WarningDone Then MsgBox rs!Message rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From davide at dalyn.co.nz Thu Mar 20 18:08:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 20 18:08:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: Message-ID: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> I have been involved with A97 replication for a number of years. While definitely not an expert, I have tried a number of methods. In all cases I distributed a runtime version of Access. I found that internet synchronization was a disaster because of lack of security on the server (it needed anonymous user access which meant that anyone could get in - and did!). Now I use dial up connections and indirect synchronization. I distribute replication manager as part of the installation and once it is configured on the users machines they are (mostly) able to follow the simple synchronization process using it. I am not sure about XP but would be pretty certain that it would be distributable as well. David Emerson Dalyn Software Ltd New Zealand At 20/03/2003, you wrote: >No, I haven't. When I've used replication, I didn't try to do it on a >schedule because I had no control over the users' >schedules. Procedurally, our users were instructed to sync their replica >at the beginning of each session to get the latest updates and at the end >of a session to upload their own changes. You could set up code to sync >the database when they opened it, but there is at least a slight delay >involved with that. > >Charlotte Foust >-----Original Message----- >From: Doug Murphy [mailto:doug at murphyscreativity.com] >Sent: Thursday, March 20, 2003 1:36 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access XP Developer and replication manager > >Charlotte, > > > >Thank you. I guess my ignorance is going to show here but that is how I >learn, sometimes. My objective, I think, is to have the replication >manager on the users system so I can set up the replicas on the various >computers and set up the synchronization schedule. From what I understand >if I use the Access menu I can make the replicas and put them on the >various computers but I can not get automatic synchronization, or indirect >synchronization. It seems like a real waste to put the full developer >edition on a computer just to get the replication manager tool, but this >is a MS product. > > > > From the ADH it looks like I could do everything through use of the Jet > Replication Object and some code, but I was looking for a user friendly > way of doing this. Have you had any experience with managing > synchronization this way? > > > >Doug > > > > > > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Thursday, March 20, 2003 12:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access XP Developer and replication manager > > > >Replication manager is an administrative tool, not an end user tool. The >users of your app will be able to synchronize without any kind of >replication manager because replicas have the capability of synchronizing >built in. > > > >Charlotte Foust > >-----Original Message----- >From: Doug Murphy [mailto:doug at murphyscreativity.com] >Sent: Thursday, March 20, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access XP Developer and replication manager > >Hi List, > >I have what seem like a simple question but I don't seem to be able to >find the answer. I have Office XP Developer. I am looking at the use of >replication to keep several users synchronized on a really slow network >plus be able to synchronize lap tops when they dial in. I got interested >in this method after reading Arthur Fuller's article in "Inside Microsoft >Access", March edition. I also read the chapter in the ADH on replication >to get additional information. What I have been trying to determine is >can I distribute the Replication Manager tool that comes with the >Developer Edition with my database. It seems like this is the easiest way >to set up the replication and synchronization schedule on the users >system. I found an article on the web for access 97 that seems to >indicate that Replication Manager is distributable but nothing on XP and >have found nothing in any of my XP literature of help files. > >Has anyone had experience with this tool and been able to distribute it or >does the user need to have the MOD on their machine? > >Thanks in advance for your assistance. > >Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at murphyscreativity.com Thu Mar 20 19:23:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 19:23:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> Message-ID: <000401c2ef48$6f9143b0$0100a8c0@CX615377A> David, Thank you. Now I use dial up connections and indirect synchronization. I distribute replication manager as part of the installation and once it is configured on the users machines they are (mostly) able to follow the simple synchronization process using it. That is the answer I was searching for; you can distribute the replication manager as part of the runtime. How do you do the indirect synchronization over a modem? That is another task I need to do. Doug I am not sure about XP but would be pretty certain that it would be distributable as well. David Emerson Dalyn Software Ltd New Zealand At 20/03/2003, you wrote: No, I haven't. When I've used replication, I didn't try to do it on a schedule because I had no control over the users' schedules. Procedurally, our users were instructed to sync their replica at the beginning of each session to get the latest updates and at the end of a session to upload their own changes. You could set up code to sync the database when they opened it, but there is at least a slight delay involved with that. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the users system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From martyconnelly at shaw.ca Thu Mar 20 19:26:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 20 19:26:00 2003 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7A6993.2050708@shaw.ca> CDO is a wrapper around MAPI, the license is not redistributable but the version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have installed from a selection of Exchange, Outlook and WinXP or win2000. By default, Outlook 2000 and Outlook 2002 installations do not include the CDO 1.2x component. When you view the options for Office or Outlook setup, CDO is listed under the options for Outlook. For a full table of versions and what installs see INFO: Where to Acquire the CDO Libraries (all versions) http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 For more info see: http://www.cdolive.com/start.htm Charlotte Foust wrote: > In 97, we had used a library database that had a reference set to the > CDO.DLL library so we could handle email features using Redemption. > If that DLL was missing on the target machine, the library had a > broken reference but it didn't affect the main project except that the > email capabilities were disabled. In XP, when you load the app, you > get a message that the CDO.DLL is missing. I assume the difference in > behavior is because of the change in the VBE IDE in 2000 and later, > but does anyone know what the further implications might be? We > haven't deployed this app yet, so I'm looking for input. > > Charlotte Foust > From jcolby at ColbyConsulting.com Thu Mar 20 19:36:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu Mar 20 19:36:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: Message-ID: Eric, If you have unhandled errors causing globals to lose their value you have big problems. Unhandled errors pretty much reset the whole damned world, not just "global" variables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY Sent: Thursday, March 20, 2003 4:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connections First of all, I am not against globals but I think there are a couple of things to bare in mind: 1) - kept open connections could slow down traffic in general, usually only if your app is used by a lot of people/connections 2) - what is the max. amount of open connections allowed? 3) - globals can loose their value in case an unhandled error occurs 4) - no Mark, in a LOT of cases you are NOT the only programmer over time... Last but not least, I've seen many different Access applications and to be honest, whenever I was asked to come fix or upgrade an app. I've never really cared about how the job was done unless it actually was creating/being a problem. My two cents.. Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: donderdag 20 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connections Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 22:29:50 (c) 2000-2003 ALWIL Software. http://www.avast.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5668 bytes Desc: not available URL: From davide at dalyn.co.nz Thu Mar 20 21:20:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 20 21:20:01 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <000401c2ef48$6f9143b0$0100a8c0@CX615377A> References: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030321151637.00b45338@mail.dalyn.co.nz> At 20/03/2003, you wrote: >How do you do the indirect synchronization over a modem? That is another >task I need to do. > > >Doug Best advise is to get the M$ White papers. Here is my resource list for A97. Similar papers should be available for AXP Here is a list of some resources for A97 - Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Microsoft Jet Database Replication (Peter Bateman, Bruce Schatzman) Microsoft Access 97 Replication Site http://support.microsoft.com/default.aspx?scid=/support/access/content/repl/replication.asp Internet Synchronization with Microsoft Jet 3.5 (Michael Wachal) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q181371 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Mar 20 21:47:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu Mar 20 21:47:00 2003 Subject: [AccessD] Using Global Connections Message-ID: Well... unhandled errors do not close forms opened from the database window or by docmd, nor queries or reports nor cause controls on open forms to lose their properties including rowsources or text. There are some anomalies. Assume a form that can be opened from the database window named frmTest, try the following code in a module: Global a As Form_frmTest Public b As Form_frmTest Dim c As Form_frmTest Sub VariableTest() Static d As Form_frmTest Dim e As Form_frmTest Set a = New Form_frmTest a.Visible = True Set b = New Form_frmTest b.Visible = True Set c = New Form_frmTest c.Visible = True Set d = New Form_frmTest d.Visible = True DoCmd.OpenForm "frmTest" End Sub Sub VariableTest2() Dim f As Form_frmTest Set f = New Form_frmTest f.Visible = True DoCmd.OpenForm "frmTest" End Sub Close all open forms. Place a breakpoint (F9) on both End Sub lines. Place the cursor in the first procedure and hit the F5 key to run the code. Then in the immediate pane of the debug window, run the following: ?forms.count ?forms(0).name ?forms(1).name ?forms(2).name ?forms(3).name ?forms(4).name Then hit F8 or F5 in the code window to finish running the module code and switch to the debug window and rerun the line ?forms.count Then run the following line in the immediate pane end and then rerun the ?forms.count line Aha. Only one form left open, but there is still one that survived. Close the open form and then run the code in the second procedure and while it is stopped at the break point, rerun the ?forms.count line. Then let the code run to completion and again rerun the ?forms.count line. What have we learned about the persistence of Global, Public, module level and procedure level and static procedure level variables? What's strange is that the local variable in the first procedure survived execution of the sub while the local variable in the second went out of scope. This is also why you don't refer to forms in the forms collection by name. If ever you use multiple instances, you must use an object variable to identify an instance. If you close these forms in the debug window by running the line docmd.Close acform,"frmTest" several times, you will see that the last form closed won't be the 'persistent' form. Hen >From: "John W. Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Using Global Connections >Date: Thu, 20 Mar 2003 20:36:04 -0500 > >Eric, > >If you have unhandled errors causing globals to lose their value you have >big problems. Unhandled errors pretty much reset the whole damned world, >not just "global" variables. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY >Sent: Thursday, March 20, 2003 4:30 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Using Global Connections > > >First of all, I am not against globals but I think there are a couple of >things to bare in mind: > >1) - kept open connections could slow down traffic in general, usually only >if your app is used by a lot of > people/connections >2) - what is the max. amount of open connections allowed? >3) - globals can loose their value in case an unhandled error occurs >4) - no Mark, in a LOT of cases you are NOT the only programmer over >time... > >Last but not least, I've seen many different Access applications and to be >honest, whenever I was asked to come fix or upgrade an app. I've never >really cared about how the job was done unless it actually was >creating/being a problem. > >My two cents.. >Eric > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen >Sent: donderdag 20 maart 2003 22:22 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Using Global Connections > > >Hello John, > >I am glad to hear that I am on the right track anyway. The reason that I >asked the question was that I noticed a few people referring to globals >recently. Also, I have been reading a bit about them and the author was >complaining about globals. But, as we are both agreed, for a global >constant connection, there is a lot of upside and very little downside to >using one. I had considered using a class and setting properties, bit >again, that is only really complictating it further. However, I could make >it a read only class, and that would have some benefit, or I could do as >you >do and use a function. > >Based on the fact that I am the programmer, nobody else is going to mess >with my global variable, I can probably continue to use a normal global and >pass it around. > >I am reading with interest your migration to .net, I am about to start the >same thing myself in the next few weeks. > >If I have anything to post, I will. > >I think that everybody on the list should let each other know if we come >across any good reading material, especially online / free stuff. > >Thanks to all for the feedback on the globals. > >Best Regards > > >Mark L. Breen >Solution Providers >Ireland > > > > >----- Original Message ----- >From: "John W. Colby" >To: >Sent: Saturday, March 15, 2003 5:03 PM >Subject: RE: [AccessD] Using Global Connections > > > > Mark, > > > > I also use globals for the db connection. This is a case where the > > connection is specific, a penalty is paid for creating / deleting it, >and >it > > is needed all over the app. The connection is not something that is >going > > to be updated (written to) by pieces of the application, it is going to >be > > created once and then used all over. That is a good candidate for a >global. > > > > > > Globals tend to cause problems when they are *updated* from all over the > > place, and the reason is that is quite difficult to track down who is >doing > > the updating when it is incorrectly updated. If for example a serial >port > > is opened and closed by 10 different functions, one function tries to >use > > the serial port and it is closed. Who closed it? It's supposed to be > > opened, but some process closed it unexpectedly. These kinds of >problems > > can be a real bear to track down and fix. > > > > It becomes a bigger problem if the system is written and maintained by a > > team of programmers where nobody knows the whole story. Globals by > > definition are available to anyone at any time. > > > > Scope exists for a reason. If a variable is only used by a specific > > function, then it's variables have no business being global to the >program > > (or even the module). If a variable is only used by code inside an >instance > > of a class but needs to be accessed by several functions inside the >class, > > then it should be defined inside the class (in the header) as a PRIVATE > > variable. Thus only code inside the class can modify the variable. If >a > > variable needs to be shared by many functions inside of a module, but >only > > these functions modify the variable, then the variable should be PRIVATE >to > > that module. By making any of these variables truly Global to the >project, > > you end up with things being (able to be) set by code that has no >business > > setting the variable. > > > > On the other hand, if as in your example, a database connection is >needed, > > and a function calls a function which calls a function, which needs that > > connection, why pass the connection through 3 functions that don't even >need > > the connection simply so that the fourth function that does need it can >have > > access to the connection? > > > > In a case like this, I tend to make the connection a private variable >inside > > a module, with a function that initializes the variable when the db >opens, > > and then define a function that READS the connection variable and >returns > > the value. This in effect makes it read only. Anyone can call the >function > > that gets the value, but since the variable is PRIVATE to the module, no >one > > outside the module can write to it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > > Sent: Friday, March 14, 2003 12:37 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hello All, > > > > I was not aware that a previous debate (sounds a little heated) had been > > already carried out. Sorry for duplicating the discussion. > > > > In the last few emails, Marcus was the only one that explicitly stated >that > > he likes the idea of using Globals for a db connection. > > > > So leaving aside passing around an order nunber or a customer id as a >global > > (which I would never even consider), what do you guys do to hand around >a > > database connection? Do you use Globals or do you make the connction >each > > time or do you use some kind of class. Any sample code would be >interesting > > to read. > > > > What I do is have the following code in a module > > > > ' This will be the global connection that we will share, we open it once > > only and share it throughout the applications life > > Global gccnn As New ADODB.Connection > > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > > Source=PC1" > > > > > > and then in the first form_load I have > > > > ' Give it a connect string > > gccnn.ConnectionString = gcstrConStr > > > > ' And make the connection > > gccnn.Open > > > > > > > > What do you guys think of this strategy, should I use a class to pass it > > around. And if I am not using a class, do you think that it is a little >bit > > untidy or is downright bad practice. > > > > Again, I am just curious what the rest of the world is doing in their >apps. > > > > Thanks > > > > Mark > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >--- >Message is tested virus free >Virus Database (VPS): 19-3-2003 >Tested on: 20-3-2003 22:29:50 > >(c) 2000-2003 ALWIL Software. >http://www.avast.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com ><< winmail.dat >> _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From doug at murphyscreativity.com Thu Mar 20 21:48:08 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 21:48:08 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <5.2.0.9.0.20030321151637.00b45338@mail.dalyn.co.nz> Message-ID: <000f01c2ef5c$a1ef4f00$0100a8c0@CX615377A> David, Thank you for the information. It is much appreciated. Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, March 20, 2003 7:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager At 20/03/2003, you wrote: How do you do the indirect synchronization over a modem? That is another task I need to do. Doug Best advise is to get the M$ White papers. Here is my resource list for A97. Similar papers should be available for AXP Here is a list of some resources for A97 - Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Microsoft Jet Database Replication (Peter Bateman, Bruce Schatzman) Microsoft Access 97 Replication Site http://support.microsoft.com/default.aspx?scid=/support/access/content/r epl/replication.asp Internet Synchronization with Microsoft Jet 3.5 (Michael Wachal) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q181371 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Thu Mar 20 22:29:00 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu Mar 20 22:29:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E7AE0B5.21936.2FE1D@localhost> Message-ID: Hi Stuart You are da man!!!!!!!!!!!!!!!!!!!!!! We have lift off. Many many thanks Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Friday, 21 March 2003 10:52 AM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy On 19 Mar 2003 at 10:53, Darren Dick wrote: > Hi Stuart > The following code just won't work, even with your 'time' suggestion > I must be missing something really obvious. This should work. > A couple of things I messed up in my original example. That's what happens when you write code directly in an email client and don't debug :-( (rs!BookingTime - cmbInterval / dblMinutes) >= Time() Should be: Time => (rs!BookingTime - cmbInterval * dblMinutes) In my first example, we need to mulitpy by the fractional dblMinutes, not divide by it (that's why you would have been getting dates in then 1860s or whatever. We need it to trigger after the notice time, not before it! This one has been tired in A2K and worked as expected: Private Sub Form_Timer() Dim rs As DAO.Recordset Dim dblMinutes As Double dblMinutes = 1 / 24 / 60 If IsNull(cmbInterval) Then Exit Sub Set rs = Me.Recordset While Not rs.EOF If Time() >= (rs!BookingTime - cmbInterval * dblMinutes) And Not rs!WarningDone Then MsgBox rs!Message rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 20 22:42:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 22:42:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Just take a look at the 'title' for Microsoft's KB Article 276283. Just tickled my funny bone, and had to share! Drew From wdhindman at bellsouth.net Thu Mar 20 23:11:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 20 23:11:00 2003 Subject: [AccessD] OT-Thought this was funny.... References: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Message-ID: <005001c2ef68$50f647f0$6101a8c0@amd2k512> ...lol ...tickled mine as well ...thanks :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 20, 2003 11:41 PM Subject: [AccessD] OT-Thought this was funny.... > Just take a look at the 'title' for Microsoft's KB Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Thu Mar 20 23:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 23:22:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82377@main2.marlow.com> I knew there would be at least one person on this list that found that funny......personally, when I saw it (cause I saw it printed off in our computer room), I wanted to print a few hundred copies to pin on all of the 'user's' heads! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 20, 2003 11:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... ...lol ...tickled mine as well ...thanks :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 20, 2003 11:41 PM Subject: [AccessD] OT-Thought this was funny.... > Just take a look at the 'title' for Microsoft's KB Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 21 00:36:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 00:36:01 2003 Subject: [AccessD] Using Global Connections In-Reply-To: Message-ID: well yeah:-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 21 maart 2003 02:36 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connections > > Eric, > > If you have unhandled errors causing globals to lose their value you have > big problems. Unhandled errors pretty much reset the whole damned world, > not just "global" variables. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY > Sent: Thursday, March 20, 2003 4:30 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connections > > > First of all, I am not against globals but I think there are a couple of > things to bare in mind: > > 1) - kept open connections could slow down traffic in general, usually > only > if your app is used by a lot of > people/connections > 2) - what is the max. amount of open connections allowed? > 3) - globals can loose their value in case an unhandled error occurs > 4) - no Mark, in a LOT of cases you are NOT the only programmer over > time... > > Last but not least, I've seen many different Access applications and to be > honest, whenever I was asked to come fix or upgrade an app. I've never > really cared about how the job was done unless it actually was > creating/being a problem. > > My two cents.. > Eric > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: donderdag 20 maart 2003 22:22 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connections > > > Hello John, > > I am glad to hear that I am on the right track anyway. The reason that I > asked the question was that I noticed a few people referring to globals > recently. Also, I have been reading a bit about them and the author was > complaining about globals. But, as we are both agreed, for a global > constant connection, there is a lot of upside and very little downside to > using one. I had considered using a class and setting properties, bit > again, that is only really complictating it further. However, I could > make > it a read only class, and that would have some benefit, or I could do as > you > do and use a function. > > Based on the fact that I am the programmer, nobody else is going to mess > with my global variable, I can probably continue to use a normal global > and > pass it around. > > I am reading with interest your migration to .net, I am about to start the > same thing myself in the next few weeks. > > If I have anything to post, I will. > > I think that everybody on the list should let each other know if we come > across any good reading material, especially online / free stuff. > > Thanks to all for the feedback on the globals. > > Best Regards > > > Mark L. Breen > Solution Providers > Ireland > > > > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Saturday, March 15, 2003 5:03 PM > Subject: RE: [AccessD] Using Global Connections > > > > Mark, > > > > I also use globals for the db connection. This is a case where the > > connection is specific, a penalty is paid for creating / deleting it, > and > it > > is needed all over the app. The connection is not something that is > going > > to be updated (written to) by pieces of the application, it is going to > be > > created once and then used all over. That is a good candidate for a > global. > > > > > > Globals tend to cause problems when they are *updated* from all over the > > place, and the reason is that is quite difficult to track down who is > doing > > the updating when it is incorrectly updated. If for example a serial > port > > is opened and closed by 10 different functions, one function tries to > use > > the serial port and it is closed. Who closed it? It's supposed to be > > opened, but some process closed it unexpectedly. These kinds of > problems > > can be a real bear to track down and fix. > > > > It becomes a bigger problem if the system is written and maintained by a > > team of programmers where nobody knows the whole story. Globals by > > definition are available to anyone at any time. > > > > Scope exists for a reason. If a variable is only used by a specific > > function, then it's variables have no business being global to the > program > > (or even the module). If a variable is only used by code inside an > instance > > of a class but needs to be accessed by several functions inside the > class, > > then it should be defined inside the class (in the header) as a PRIVATE > > variable. Thus only code inside the class can modify the variable. If > a > > variable needs to be shared by many functions inside of a module, but > only > > these functions modify the variable, then the variable should be PRIVATE > to > > that module. By making any of these variables truly Global to the > project, > > you end up with things being (able to be) set by code that has no > business > > setting the variable. > > > > On the other hand, if as in your example, a database connection is > needed, > > and a function calls a function which calls a function, which needs that > > connection, why pass the connection through 3 functions that don't even > need > > the connection simply so that the fourth function that does need it can > have > > access to the connection? > > > > In a case like this, I tend to make the connection a private variable > inside > > a module, with a function that initializes the variable when the db > opens, > > and then define a function that READS the connection variable and > returns > > the value. This in effect makes it read only. Anyone can call the > function > > that gets the value, but since the variable is PRIVATE to the module, no > one > > outside the module can write to it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > > Sent: Friday, March 14, 2003 12:37 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hello All, > > > > I was not aware that a previous debate (sounds a little heated) had been > > already carried out. Sorry for duplicating the discussion. > > > > In the last few emails, Marcus was the only one that explicitly stated > that > > he likes the idea of using Globals for a db connection. > > > > So leaving aside passing around an order nunber or a customer id as a > global > > (which I would never even consider), what do you guys do to hand around > a > > database connection? Do you use Globals or do you make the connction > each > > time or do you use some kind of class. Any sample code would be > interesting > > to read. > > > > What I do is have the following code in a module > > > > ' This will be the global connection that we will share, we open it once > > only and share it throughout the applications life > > Global gccnn As New ADODB.Connection > > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > > Source=PC1" > > > > > > and then in the first form_load I have > > > > ' Give it a connect string > > gccnn.ConnectionString = gcstrConStr > > > > ' And make the connection > > gccnn.Open > > > > > > > > What do you guys think of this strategy, should I use a class to pass it > > around. And if I am not using a class, do you think that it is a little > bit > > untidy or is downright bad practice. > > > > Again, I am just curious what the rest of the world is doing in their > apps. > > > > Thanks > > > > Mark > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > Message is tested virus free > Virus Database (VPS): 19-3-2003 > Tested on: 20-3-2003 22:29:50 > > (c) 2000-2003 ALWIL Software. > http://www.avast.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 7:29:41 (c) 2000-2003 ALWIL Software. http://www.avast.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5948 bytes Desc: not available URL: From roz.clarke at donnslaw.co.uk Fri Mar 21 03:05:00 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri Mar 21 03:05:00 2003 Subject: [AccessD] Listers in print Message-ID: <61F915314798D311A2F800A0C9C83188039565D8@dibble.observatory.donnslaw.co.uk> Well done to all of you! -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 20 March 2003 18:42 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Listers in print Hey, I can't write it if I can't think of it. :) Susan H. > Please direct all the writing compliments to Susan... I just handle > the technical end. :) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 04:38:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 04:38:01 2003 Subject: [AccessD] OT - XP Taskbar Help Required Message-ID: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> To all, We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... Thanks in advance. Yours going absolutely raving mental...... Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Fri Mar 21 05:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 05:09:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <8711307889.20030321120803@cactus.dk> Hi StaRKeY This won't catch attached ODBC tables. /gustav > How about: > Public Function CheckTableExist (strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 > and other types)" > CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) > End Function > I must be getting old since I am running out of alternatives:-) Well, you try. From gustav at cactus.dk Fri Mar 21 05:21:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 05:21:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: References: Message-ID: <12612050307.20030321122026@cactus.dk> Hi Henry First, in a runtime environment - which should be used for all apps - this won't happen. Second, to quote John C.: "If you have unhandled errors .. you have big problems." /gustav > Well... unhandled errors do not close forms opened from the database window > or by docmd, nor queries or reports nor cause controls on open forms to lose > their properties including rowsources or text. There are some anomalies. From pctech at mybellybutton.com Fri Mar 21 06:20:01 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Fri Mar 21 06:20:01 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Message-ID: <20030321121921.40734.qmail@web13408.mail.yahoo.com> Not Available at This Time. --- Drew Wutka wrote: > Just take a look at the 'title' for Microsoft's KB > Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 21 07:52:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 07:52:00 2003 Subject: [AccessD] OT - XP Taskbar Help Required References: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> Message-ID: <003301c2efb1$0677ce80$6101a8c0@amd2k512> Paul ...Tools/Options/View ...turn off the "Windows In Toolbar" option ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: To: ; Sent: Friday, March 21, 2003 5:37 AM Subject: [AccessD] OT - XP Taskbar Help Required > To all, > > We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... > > Thanks in advance. > > Yours going absolutely raving mental...... > > Paul > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Fri Mar 21 07:55:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 07:55:00 2003 Subject: [AccessD] OT-Thought this was funny.... References: <20030321121921.40734.qmail@web13408.mail.yahoo.com> Message-ID: <003e01c2efb1$88efc520$6101a8c0@amd2k512> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Frank Tanner III" To: Sent: Friday, March 21, 2003 7:19 AM Subject: Re: [AccessD] OT-Thought this was funny.... > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! > > > > Drew > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomadatn at bellsouth.net Fri Mar 21 08:07:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 08:07:00 2003 Subject: [AccessD] OT - Friday Humor ... References: <2F8793082E00D4119A1700B0D0216BF801D82377@main2.marlow.com> Message-ID: <001b01c2efb3$a98252b0$6400000a@dogbert2k> To quote the mighty Dilbert - "Mr. User, you know you're going to have to eventually do some work!" This is especially funny for me because I've got a job where the user could be in the comic strip because of this. http://www.unitedmedia.com/comics/dilbert/ From paul.hartland at fsmail.net Fri Mar 21 08:14:08 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 08:14:08 2003 Subject: [AccessD] OT - XP Taskbar Help Required Message-ID: <20030321141341.AZF7262.fep12-svc.ttys.com@localhost> Thanks for that........Might even regain my sanity still From: "William Hindman" Date: Fri 21/Mar/2003 13:51 GMT To: Subject: Re: [AccessD] OT - XP Taskbar Help Required Paul ...Tools/Options/View ...turn off the "Windows In Toolbar" option ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: To: ; Sent: Friday, March 21, 2003 5:37 AM Subject: [AccessD] OT - XP Taskbar Help Required > To all, > > We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... > > Thanks in advance. > > Yours going absolutely raving mental...... > > Paul > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From tomadatn at bellsouth.net Fri Mar 21 08:21:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 08:21:00 2003 Subject: [AccessD] Tech books ... References: <833956F5C117124A89417638FDB112904FB3F5@goexchange.pghcorning.com> Message-ID: <002501c2efb5$9e054620$6400000a@dogbert2k> To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. From artful at rogers.com Fri Mar 21 08:41:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 08:41:00 2003 Subject: [AccessD] OT - XP Taskbar Help Required In-Reply-To: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> Message-ID: <006d01c2efb7$c21ba340$8e01a8c0@Rock> /Tools/Options/Show Windows in Taskbar. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 21, 2003 5:38 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] OT - XP Taskbar Help Required To all, We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... Thanks in advance. Yours going absolutely raving mental...... Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 08:45:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 08:45:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <002501c2efb5$9e054620$6400000a@dogbert2k> Message-ID: <006e01c2efb8$6da11790$8e01a8c0@Rock> As one of said writers, I hearily agree. 1500-page tomes such as ADH contain lots of good stuff, but 1000 pages of fluff as well (from the p.o.v. of an experienced developer). I would much prefer a series of books, each focused on a particular subject. For example, using classes, doing replication, upsizing, using parameterized sprocs in forms, and so on. Then you could spend $20 instead of $80 and get all and only what you need. Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: March 21, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Mar 21 08:54:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Fri Mar 21 08:54:01 2003 Subject: [AccessD] Tech books ... Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 21 09:05:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 09:05:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, The economics of book publishing do not allow for such specialized books as you envision. You have noticed that several computer-oriented book publishers such as Wrox have ceased publishing lately, haven't you? Such specialized topics usually have to be done as white papers for which the authors receive no compensation. You may also have noticed that most white papers are sponsored by organizations that employ the authors. There are few authors that can afford to give away the fruit of their labors. I doubt that Susan is willing to live in poverty so you can freely benefit from her knowledge. Thus the advantage of lists such as AccessD, there are many on this list willing to freely share some of their knowledge. However, the price you pay for this free knowledge is that it is not organized, you have to work to put all the pieces together. Have a nice day and a nice weekend! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 08:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... As one of said writers, I hearily agree. 1500-page tomes such as ADH contain lots of good stuff, but 1000 pages of fluff as well (from the p.o.v. of an experienced developer). I would much prefer a series of books, each focused on a particular subject. For example, using classes, doing replication, upsizing, using parameterized sprocs in forms, and so on. Then you could spend $20 instead of $80 and get all and only what you need. Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: March 21, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From artful at rogers.com Fri Mar 21 09:25:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 09:25:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> Message-ID: <007101c2efbd$fd100c60$8e01a8c0@Rock> >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... From bob at renaissancesiding.com Fri Mar 21 09:26:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 21 09:26:00 2003 Subject: [AccessD] Tech books .. Message-ID: <01C2EF94.39028560.bob@renaissancesiding.com> Tom No disagreement about your authoring comments. Just a side suggestion - go to Helen Feddema's phenomenal site: http://www.helenfeddema.com/ She has very useful and informative cross-application code. Regards, Bob Gajewski On Friday, March 21, 2003 09:25 AM, Tom Adams [SMTP:tomadatn at bellsouth.net] wrote: > To the whizzes that write books in this list > > A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers > > There are two points I'd like to point out (neither of which has a chance of making it) > 1. Have a few overly documented examples if you will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no comments. The documented > examples in books are usually too simple to be very useful. Real code will teach most > developers without the comments > > 2. As there are millions of Excel and Access power users through developers - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg > From Access to VB, From Jet to Sql Server, etc > > I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out > Makes me want to find one of the Access guys at Microsoft and give them my first born child (I > know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the differences are often difficult to figure > out > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From RGeldart at detma.org Fri Mar 21 09:30:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Fri Mar 21 09:30:00 2003 Subject: [AccessD] Tech books ... Message-ID: I generally agree with Tom. There are enough complications in Access to make the idea of a "comprehensive" guide ridiculous. Smaller but meatier tomes on different themes might be better, but would the cost to us be any better? A few thoughts of my own... 1. "ADH97" is a great book, a great reference, but I've only used about 20% of it. Looked through a lot of the coding examples, but unable to use it as a tutorial from cover to cover. Use it as a reference when I'm stumped or need a fresh look. 2. "VBA For Dummies" by Paul Litwin - the only "for dummies" book I have. It's a great quick and concise reference. Term description, syntax, example. 3. Books, while good resources--often because of their authors--are static, "old technology". Newer tech resources are dynamic resources like magazines and e-lists. Responses and solutions are almost immediate, and interactive. I am the only database programmer in a small department. This list gives me a needed ability to talk with others and bounce ideas around looking for solutions. Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > To the whizzes that write books in this list. .... From tomadatn at bellsouth.net Fri Mar 21 09:35:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 09:35:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <000801c2efc0$0225dbb0$6400000a@dogbert2k> As IBM says - there are no unsolveable problems - just challenges. The vanity press business has really come a long way. You can get a run of 5,000 books at 200 pages for about $1-2 per book(might be more now). Look at the smaller newer groups in music for direction and inspiration. They're seeing these kind of efforts pay for themselves and soon there will be a big breakthrough and somebody will go from self published to superstar and the game will have changed forever. Look at the Blair Witch project. $60,000 to millions by amateurs. A little farther along the curve is the Spy Kids series. Done in Texas by an independent for a fraction of the usual cost. Combine that with the Inet and these NewsGroups and there's now a chance to do it small and profitably. As an important side benefit - an author can use it in their marketing to promote their programming. Looks great on a resume and dropping a potential client your book (even though they won't read it and wouldn't understand it if they did) should be a big plus. Tom ----- Original Message ----- From: "Wortz, Charles" To: Sent: Friday, March 21, 2003 9:04 AM Subject: RE: [AccessD] Tech books ... > Arthur, > > > The economics of book publishing do not allow for such specialized books > as you envision. You have noticed that several computer-oriented book > publishers such as Wrox have ceased publishing lately, haven't you? > Such specialized topics usually have to be done as white papers for > which the authors receive no compensation. You may also have noticed > that most white papers are sponsored by organizations that employ the > authors. > > There are few authors that can afford to give away the fruit of their > labors. I doubt that Susan is willing to live in poverty so you can > freely benefit from her knowledge. > > Thus the advantage of lists such as AccessD, there are many on this list > willing to freely share some of their knowledge. However, the price you > pay for this free knowledge is that it is not organized, you have to > work to put all the pieces together. > > > Have a nice day and a nice weekend! > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday 2003 Mar 21 08:45 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > contain lots of good stuff, but 1000 pages of fluff as well (from the > p.o.v. of an experienced developer). I would much prefer a series of > books, each focused on a particular subject. For example, using classes, > doing replication, upsizing, using parameterized sprocs in forms, and so > on. Then you could spend $20 instead of $80 and get all and only what > you need. > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading books brought up a point I've been meaning to make. I know the > publishers push you to include all Access user levels in your books so > more will sell. However that means that 80% of the book is useless for > moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of making it). 1. Have a few overly documented examples if you > will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real > code will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 21 09:42:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 09:42:00 2003 Subject: [AccessD] Tech books ... References: <006e01c2efb8$6da11790$8e01a8c0@Rock> Message-ID: <008401c2efc0$66ea36e0$364afccc@SusanOne> > There are two points I'd like to point out (neither of which has a chance of > making it). 1. Have a few overly documented examples if you will - but > include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. ============I include just the code that does the task -- no error handling, no comments, just the code. I get fussed at a lot by other readers and some editors -- but I resist. Occasionally, if a particular error is inherent to the task, I will include handling for that, but only when it's specific to the task. There's a difference between the two. > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. ============You'll probably not find any publishers or authors willing to take on these projects. You need to be an expert in more than one thing, and that cuts a lot of authors out. Then, frankly... these titles have limited appeal. Generally, a book needs to attrack a large audience. That's why you don't see many "specialized" books -- they don't make any money. Neither publishers or authors can afford to work for free, and that's what would happen. The book Martin and I wrote is aimed at the Jet to T-SQL audience, and trust me... I'd be on the streets if that were the only work I had right now. It's a shame, cause it's a great book. Susan H. From tomadatn at bellsouth.net Fri Mar 21 09:43:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 09:43:00 2003 Subject: [AccessD] Daily Tasks Program ... References: Message-ID: <001901c2efc1$10a683f0$6400000a@dogbert2k> I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom From harkins at iglou.com Fri Mar 21 09:48:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 09:48:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <00b301c2efc1$419e1180$364afccc@SusanOne> Charles is right on the money folks. If people would buy them, I'd write them. :) The book that caters to the largest market makes money. The rest of them don't. Susan H. > Arthur, > > > The economics of book publishing do not allow for such specialized books > as you envision. You have noticed that several computer-oriented book > publishers such as Wrox have ceased publishing lately, haven't you? > Such specialized topics usually have to be done as white papers for > which the authors receive no compensation. You may also have noticed > that most white papers are sponsored by organizations that employ the > authors. > > There are few authors that can afford to give away the fruit of their > labors. I doubt that Susan is willing to live in poverty so you can > freely benefit from her knowledge. > > Thus the advantage of lists such as AccessD, there are many on this list > willing to freely share some of their knowledge. However, the price you > pay for this free knowledge is that it is not organized, you have to > work to put all the pieces together. > > > Have a nice day and a nice weekend! > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday 2003 Mar 21 08:45 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > contain lots of good stuff, but 1000 pages of fluff as well (from the > p.o.v. of an experienced developer). I would much prefer a series of > books, each focused on a particular subject. For example, using classes, > doing replication, upsizing, using parameterized sprocs in forms, and so > on. Then you could spend $20 instead of $80 and get all and only what > you need. > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading books brought up a point I've been meaning to make. I know the > publishers push you to include all Access user levels in your books so > more will sell. However that means that 80% of the book is useless for > moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of making it). 1. Have a few overly documented examples if you > will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real > code will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > >From X to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Mar 21 10:03:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 10:03:01 2003 Subject: [AccessD] Tech books ... References: <000801c2efc0$0225dbb0$6400000a@dogbert2k> Message-ID: <00d601c2efc3$4671f5d0$364afccc@SusanOne> How many Blair Witch Projects didn't make it? That's what you're dealing with -- not the ones that do, but the ones that don't. Publishers and authors aren't going to produce books that probably won't sell on the chance that their one will be that one in a million. Seriously, it is that unlikely. Publishing is still, very much a business of volume. Only a scant few make a lot of money. The rest make some, and you have to have several out at all times to actually make a living at it. Often a book produces no royalties -- you write it strictly for the advance. Then there's the deals where you don't even get an advance, and then the book doesn't sell well either... It's difficult to have several out at any one time because they take 6 to 8 months to produce, and have a shelf-life of a few years at best. Traditionally, publishers publish as many books as possible, knowing that some won't sell, but knowing most would sell "enough" and a few would sell really well. There's no way to really predict which books will fall into what categories. However, specialty books have been one area that publishers routinely don't touch... I've discussed plenty of them with a number of publishers -- and after having finally produced one of my own -- I can promise you, I'll probably never touch another one. It may be unfortunate for those that need the specialized information. All I can tell you is, if those books sold, we'd be writing them. Susan H. ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 10:39 AM Subject: Re: [AccessD] Tech books ... > As IBM says - there are no unsolveable problems - just challenges. > > The vanity press business has really come a long way. You can get a run > of 5,000 books at 200 pages for about $1-2 per book(might be more now). > > Look at the smaller newer groups in music for direction and inspiration. They're > seeing these kind of efforts pay for themselves and soon there will be a big > breakthrough and somebody will go from self published to superstar and > the game will have changed forever. > > Look at the Blair Witch project. $60,000 to millions by amateurs. A little > farther along the curve is the Spy Kids series. Done in Texas by an independent > for a fraction of the usual cost. > > Combine that with the Inet and these NewsGroups and there's now a chance > to do it small and profitably. As an important side benefit - an author can > use it in their marketing to promote their programming. Looks great on a > resume and dropping a potential client your book (even though they won't > read it and wouldn't understand it if they did) should be a big plus. > > Tom > > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Friday, March 21, 2003 9:04 AM > Subject: RE: [AccessD] Tech books ... > > > > Arthur, > > > > > > The economics of book publishing do not allow for such specialized books > > as you envision. You have noticed that several computer-oriented book > > publishers such as Wrox have ceased publishing lately, haven't you? > > Such specialized topics usually have to be done as white papers for > > which the authors receive no compensation. You may also have noticed > > that most white papers are sponsored by organizations that employ the > > authors. > > > > There are few authors that can afford to give away the fruit of their > > labors. I doubt that Susan is willing to live in poverty so you can > > freely benefit from her knowledge. > > > > Thus the advantage of lists such as AccessD, there are many on this list > > willing to freely share some of their knowledge. However, the price you > > pay for this free knowledge is that it is not organized, you have to > > work to put all the pieces together. > > > > > > Have a nice day and a nice weekend! > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Friday 2003 Mar 21 08:45 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Tech books ... > > > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > > contain lots of good stuff, but 1000 pages of fluff as well (from the > > p.o.v. of an experienced developer). I would much prefer a series of > > books, each focused on a particular subject. For example, using classes, > > doing replication, upsizing, using parameterized sprocs in forms, and so > > on. Then you could spend $20 instead of $80 and get all and only what > > you need. > > > > Arthur > > > > "Those who would sacrifice liberty for security deserve neither." > > -- Benjamin Franklin > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > > Sent: March 21, 2003 9:25 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Tech books ... > > > > > > To the whizzes that write books in this list. > > > > A recent post that said they learned better from examples than from > > reading books brought up a point I've been meaning to make. I know the > > publishers push you to include all Access user levels in your books so > > more will sell. However that means that 80% of the book is useless for > > moderate to advanced readers. > > > > There are two points I'd like to point out (neither of which has a > > chance of making it). 1. Have a few overly documented examples if you > > will - but include a bunch of heavy duty > > code for examples for the advanced programmers - with little or no > > comments. The documented > > examples in books are usually too simple to be very useful. Real > > code will teach most > > developers without the comments. > > > > 2. As there are millions of Excel and Access power users through > > developers > > - and sometimes they > > will be doing other apps - eg. Excel to Access, Excel to VB, Access > > to VB and/or VB to Access, > > Access to Sql Server and Sql Server to Jet - consider writing a > > From X to Y Dictionary. Eg. > > From Access to VB, From Jet to Sql Server, etc. > > > > I've moved into VB for the last 6 months and would have paid almost > > anything for an Access to Vb > > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > > this took me to figure out. > > Makes me want to find one of the Access guys at Microsoft and give > > them my first born child (I > > know, I know - she's a teenager and that's a punishment worse than > > death to inflict on anyone but > > the thought is grateful.) > > > > I find that I know exactly what I want to do in Access but the > > differences are often difficult to figure > > out. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jarus at amerinet-gpo.com Fri Mar 21 10:04:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 21 10:04:01 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Fri Mar 21 10:05:00 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri Mar 21 10:05:00 2003 Subject: [AccessD] Daily Tasks Program ... Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBDE@cpixchng-1.cpiqpc.net> Tom, Sounds like we work for the same people ;) I would be very interested in taking a look at this program. Rusty -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 9:47 AM To: accessd at databaseadvisors.com Subject: [AccessD] Daily Tasks Program ... I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 10:10:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 10:10:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: <20030321161000.PRB3294.fep02-svc.ttys.com@localhost> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From artful at rogers.com Fri Mar 21 10:11:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 10:11:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: <008401c2efc0$66ea36e0$364afccc@SusanOne> Message-ID: <007601c2efc4$61f945f0$8e01a8c0@Rock> The lightbulb goes on! Eureka! "Microsoft Developer's WankBook". A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 21, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Tech books ... > There are two points I'd like to point out (neither of which has a > chance of > making it). 1. Have a few overly documented examples if you will - > but include a bunch of heavy duty > code for examples for the advanced programmers - with little or > no comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. ============I include just the code that does the task -- no error handling, no comments, just the code. I get fussed at a lot by other readers and some editors -- but I resist. Occasionally, if a particular error is inherent to the task, I will include handling for that, but only when it's specific to the task. There's a difference between the two. > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, > Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. ============You'll probably not find any publishers or authors willing to take on these projects. You need to be an expert in more than one thing, and that cuts a lot of authors out. Then, frankly... these titles have limited appeal. Generally, a book needs to attrack a large audience. That's why you don't see many "specialized" books -- they don't make any money. Neither publishers or authors can afford to work for free, and that's what would happen. The book Martin and I wrote is aimed at the Jet to T-SQL audience, and trust me... I'd be on the streets if that were the only work I had right now. It's a shame, cause it's a great book. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Fri Mar 21 10:27:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 21 10:27:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: I want the user to define the range - this will vary. The only thing that doesn't vary is the column range. Thanks for your input. >>> paul.hartland at fsmail.net 03/21/03 10:10AM >>> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Mar 21 10:47:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 21 10:47:00 2003 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82386@main2.marlow.com> I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew -----Original Message----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: 3/21/03 9:24 AM Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 10:50:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 10:50:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: <20030321164933.HSW23959.fep08-svc.ttys.com@localhost> Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland From: "Terri Jarus" Date: Fri 21/Mar/2003 16:33 GMT To: Subject: Re: [AccessD] OT: Excel 97 Macro I want the user to define the range - this will vary. The only thing that doesn't vary is the column range. Thanks for your input. >>> paul.hartland at fsmail.net 03/21/03 10:10AM >>> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From weeden1949 at hotmail.com Fri Mar 21 10:50:12 2003 From: weeden1949 at hotmail.com (Greg S) Date: Fri Mar 21 10:50:12 2003 Subject: [AccessD] Daily Tasks Program ... References: <001901c2efc1$10a683f0$6400000a@dogbert2k> Message-ID: Tom: Been there. Had to do that. But I didn't create a program to track my progress. I'd be interested in seeing it as well. Greg Smith Programmer/Trainer ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 9:46 AM Subject: [AccessD] Daily Tasks Program ... I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Fri Mar 21 11:01:03 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 21 11:01:03 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! From accessd at shaw.ca Fri Mar 21 11:12:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 11:12:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> Message-ID: Jim: Some solace...they do get better. At eighteen (it actually extended from about twelve on) I was as dumb as a stump and at twenty-three she is now working with me. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, March 21, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 11:22:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 11:22:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82386@main2.marlow.com> Message-ID: <008401c2efce$4d3beeb0$8e01a8c0@Rock> Thanks for that and I'll gladly give it a try. I seem to recall something about a bug in planting the image control on an Access form at design time; and that the alleged solution is to add it in code instead. But I could just be having a senior moment. On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? One step removed from cosmetic is the use of the image to indicate something even before the user clicks on the node, for example, in a list of customers->orders->>order items, customers whose expenditures in the past year > $5K get a special image in the list ($$$ :-), while the common rabble get nothing but a file folder. But you've given me the nudge I needed to do some woodshedding :-) Thank God for unemployment (at least until the end of the month). Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 21, 2003 11:46 AM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Tech books ... I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew From tomadatn at bellsouth.net Fri Mar 21 11:23:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 11:23:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <001901c2efc1$10a683f0$6400000a@dogbert2k> Message-ID: <001501c2efcf$05a1e540$6400000a@dogbert2k> It's on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org Tom ----- Original Message ----- From: "Greg S" To: Sent: Friday, March 21, 2003 10:49 AM Subject: Re: [AccessD] Daily Tasks Program ... > Tom: > > Been there. Had to do that. But I didn't create a program to track my > progress. I'd be interested in seeing it as well. > > Greg Smith > Programmer/Trainer > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Friday, March 21, 2003 9:46 AM > Subject: [AccessD] Daily Tasks Program ... > > > I'm in a situation where the Accounting manager doesn't really think I'm > worth a damn and she's trying to micro-manage my > programming. She asked for a daily list of what I do, time taken and all > the code I've changed to try to see if she's getting her > money's worth. > > She's also asked for a list of tasks she's assigned, in priority order with > notes on what's been finished. > > I really think the daily tasks report is useless to her but have found it > helps me a lot. I stick my head in my computer every > day - work hard - and leave brain dead every night and really didn't have a > clear idea of what I had done. Now I do. After using > it for a week I really like it. She likes the paper and might one day > actually read some of it. > > Anyway I've developed a simple program to do both. If anyone is interested > let me know and I'll post it on my website. > > Tom > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 21 11:23:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 11:23:13 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: Message-ID: OT The truth is that any Window box decreases in speed as long as it is being used. Eventually, you will have backup/re-format/re-install and carry on. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, March 21, 2003 8:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 11:23:25 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 11:23:25 2003 Subject: [AccessD] Tech books ... References: Message-ID: <001601c2efcf$05a6a030$6400000a@dogbert2k> To semi-quote Mark Twain ... "When I was 18 my dad was the dumbest person on the face of the earth. When I was 22 he had made considerable progress." ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Friday, March 21, 2003 11:10 AM Subject: RE: [AccessD] Tech books ... > Jim: > > Some solace...they do get better. At eighteen (it actually extended from > about twelve on) I was as dumb as a stump and at twenty-three she is now > working with me. > > HTH > Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Friday, March 21, 2003 6:54 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Tech books ... > > > > I concur with Tom on several points, I'd like to add a few. > > 1. Good coding examples would be very helpful. Simple examples are useful > only to give a rudimentary idea of what is being explained, but it doesn't > help when trying to implement a solution. > > 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote > an article about it awhile back and it is the best I have seen. The last > book I bought didn't even discuss treeviews even though it's touted as a > "comprehensive reference" for Access with 1600 pages and 2 CDs! > > 3. If a CD is included make sure it works! The book I bought was supposed > to have samples of the code and example databases to put into practice what > was discussed by each chapter. Some of the examples didn't work or were not > included on the CD. I contacted the author, the publisher, and visited the > web site and still didn't get the correct files. > > Tom also mentioned his first born child and that "she's a teenager and > that's a punishment worse than death to inflict on anyone." My teenage > daughter just turned 18 - she seems to be getting worse! What makes her > think that a date on the calendar gives her wisdom? She seems to think I > get dumber every day! > > Oh well, this too shall pass. > > Jim > > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a chance of > making it). > 1. Have a few overly documented examples if you will - but include a bunch > of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give them > my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 21 11:24:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 11:24:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <20030321164933.HSW23959.fep08-svc.ttys.com@localhost> Message-ID: I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3544 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Fri Mar 21 11:26:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 11:26:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: Jim, >At eighteen (it actually extended from about twelve on) I was as dumb as a stump I would bet that from 12 to 18 you were indeed "dumb as a stump"! I know I was. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Friday, March 21, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Jim: Some solace...they do get better. At eighteen (it actually extended from about twelve on) I was as dumb as a stump and at twenty-three she is now working with me. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, March 21, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3976 bytes Desc: not available URL: From StaRKeY at Wanadoo.nl Fri Mar 21 11:35:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 11:35:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <8711307889.20030321120803@cactus.dk> Message-ID: it will...check out my extended information in the code...'and other types'... :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 21 maart 2003 12:08 To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi StaRKeY This won't catch attached ODBC tables. /gustav > How about: > Public Function CheckTableExist (strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 > and other types)" > CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) > End Function > I must be getting old since I am running out of alternatives:-) Well, you try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 18:28:00 (c) 2000-2003 ALWIL Software. http://www.avast.com From gustav at cactus.dk Fri Mar 21 11:59:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 11:59:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <8035923505.20030321185819@cactus.dk> Hi StaRKeY Ahh, didn't notice that, sorry. It's 4 by the way. /gustav > it will...check out my extended information in the code...'and other > types'... > :-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: vrijdag 21 maart 2003 12:08 > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > Hi StaRKeY > This won't catch attached ODBC tables. > /gustav >> How about: >> Public Function CheckTableExist (strTableName As String) As Boolean >> Dim strCriteria As String >> strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 >> and other types)" >> CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) >> End Function From rfv at entelix.com Fri Mar 21 12:06:00 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri Mar 21 12:06:00 2003 Subject: [AccessD] Daily Tasks Program ... In-Reply-To: <001501c2efcf$05a1e540$6400000a@dogbert2k> Message-ID: <000601c2efd4$6e07def0$0800a8c0@LapRFV> Tom, There is a broken refernce for:TA_stdCode3.mda Rudolf F. Vanek -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. To: accessd at databaseadvisors.com Subject: Re: [AccessD] Daily Tasks Program ... It's on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org Tom ----- Original Message ----- From: "Greg S" To: Sent: Friday, March 21, 2003 10:49 AM Subject: Re: [AccessD] Daily Tasks Program ... > Tom: > > Been there. Had to do that. But I didn't create a program to track my > progress. I'd be interested in seeing it as well. > > Greg Smith > Programmer/Trainer > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Friday, March 21, 2003 9:46 AM > Subject: [AccessD] Daily Tasks Program ... > > > I'm in a situation where the Accounting manager doesn't really think I'm > worth a damn and she's trying to micro-manage my > programming. She asked for a daily list of what I do, time taken and all > the code I've changed to try to see if she's getting her > money's worth. > > She's also asked for a list of tasks she's assigned, in priority order with > notes on what's been finished. > > I really think the daily tasks report is useless to her but have found it > helps me a lot. I stick my head in my computer every > day - work hard - and leave brain dead every night and really didn't have a > clear idea of what I had done. Now I do. After using > it for a week I really like it. She likes the paper and might one day > actually read some of it. > > Anyway I've developed a simple program to do both. If anyone is interested > let me know and I'll post it on my website. > > Tom > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 12:20:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 12:20:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <000601c2efd4$6e07def0$0800a8c0@LapRFV> Message-ID: <000901c2efd6$f6969a20$6400000a@dogbert2k> Just heard about it. Sorry - I use my reference library for everything and I forget. I'll scrub them out and post a new version in about an hour. Tom ----- Original Message ----- From: "Rudolf F. Vanek" To: Sent: Friday, March 21, 2003 12:05 PM Subject: RE: [AccessD] Daily Tasks Program ... > Tom, > There is a broken refernce for:TA_stdCode3.mda > > > > > Rudolf F. Vanek > > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Daily Tasks Program ... > > It's on my web site. Click Download on the left menu and goto Daily > Tasks. > > www.accessdevgroup.org > > Tom > > > ----- Original Message ----- > From: "Greg S" > To: > Sent: Friday, March 21, 2003 10:49 AM > Subject: Re: [AccessD] Daily Tasks Program ... > > > > Tom: > > > > Been there. Had to do that. But I didn't create a program to track > my > > progress. I'd be interested in seeing it as well. > > > > Greg Smith > > Programmer/Trainer > > > > ----- Original Message ----- > > From: "Tom Adams" > > To: > > Sent: Friday, March 21, 2003 9:46 AM > > Subject: [AccessD] Daily Tasks Program ... > > > > > > I'm in a situation where the Accounting manager doesn't really think > I'm > > worth a damn and she's trying to micro-manage my > > programming. She asked for a daily list of what I do, time taken and > all > > the code I've changed to try to see if she's getting her > > money's worth. > > > > She's also asked for a list of tasks she's assigned, in priority order > with > > notes on what's been finished. > > > > I really think the daily tasks report is useless to her but have found > it > > helps me a lot. I stick my head in my computer every > > day - work hard - and leave brain dead every night and really didn't > have a > > clear idea of what I had done. Now I do. After using > > it for a week I really like it. She likes the paper and might one day > > actually read some of it. > > > > Anyway I've developed a simple program to do both. If anyone is > interested > > let me know and I'll post it on my website. > > > > Tom > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 21 12:27:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 12:27:01 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: References: Message-ID: <18137634014.20030321192650@cactus.dk> Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. From cfoust at infostatsystems.com Fri Mar 21 12:29:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:29:01 2003 Subject: [AccessD] Access XP and references in libraries Message-ID: Thanks, but I found all thatwhen we were first researching putting this in to a library in the first place. Right now I'm trying late binding in the library database to see if we can at least get it to bomb gracefully instead of breaking the application that references it. The problem is that in A97, the breakage was limited to the library database and the application database just realized that it couldn't use email. In AXP, the breakage affects the application database, not just the library. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 20, 2003 5:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries CDO is a wrapper around MAPI, the license is not redistributable but the version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have installed from a selection of Exchange, Outlook and WinXP or win2000. By default, Outlook 2000 and Outlook 2002 installations do not include the CDO 1.2x component. When you view the options for Office or Outlook setup, CDO is listed under the options for Outlook. For a full table of versions and what installs see INFO: Where to Acquire the CDO Libraries (all versions) http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 For more info see: http://www.cdolive.com/start.htm Charlotte Foust wrote: > In 97, we had used a library database that had a reference set to the > CDO.DLL library so we could handle email features using Redemption. > If that DLL was missing on the target machine, the library had a > broken reference but it didn't affect the main project except that the > email capabilities were disabled. In XP, when you load the app, you > get a message that the CDO.DLL is missing. I assume the difference in > behavior is because of the change in the VBE IDE in 2000 and later, > but does anyone know what the further implications might be? We > haven't deployed this app yet, so I'm looking for input. > > Charlotte Foust > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 21 12:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:36:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 21 12:42:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:42:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: It's ambiguous. Does the computer's performance decrease because of all the trask they downloaded or the does the user's performance on the computer decrease because they're playing the games they just downloaded? Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 21, 2003 8:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Mar 21 12:55:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri Mar 21 12:55:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, In VB it depends on the size of the font for the text in the Treeview. I typically use 16x16 with 10-12 pt font. If you use 32x32 you end up with a big icon that looks out of place with the smaller fonts. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> artful at rogers.com 21-Mar-03 12:21:25 PM >>> On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? From StaRKeY at Wanadoo.nl Fri Mar 21 13:11:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 13:11:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <8035923505.20030321185819@cactus.dk> Message-ID: Hi Gustav, I used the msystable once for developers-use (access add-in), some sort of documenting type of thing combined with the use of a treeview... so all objects like the regular access tabulars were showing and then tables were more specific than those being shown in access including the Oracle, SQL server, system, hidden etc.. ones also showing more specific connect information etc... same for queries (pass-through, unions etc...) etc... maybe I still have it somewhere but I am not sure... Anyway, I had a lot of type numbers figured out:-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 21 maart 2003 18:58 To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi StaRKeY Ahh, didn't notice that, sorry. It's 4 by the way. /gustav > it will...check out my extended information in the code...'and other > types'... > :-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: vrijdag 21 maart 2003 12:08 > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > Hi StaRKeY > This won't catch attached ODBC tables. > /gustav >> How about: >> Public Function CheckTableExist (strTableName As String) As Boolean >> Dim strCriteria As String >> strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 >> and other types)" >> CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) >> End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 20:04:13 (c) 2000-2003 ALWIL Software. http://www.avast.com From accessd at shaw.ca Fri Mar 21 13:33:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 13:33:00 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: <18137634014.20030321192650@cactus.dk> Message-ID: The truth is; that all those great suede applications, that are spawned from the web, used rarely, continue to suck up any systems resources, regardless of hard-dive and memory size and have to be eventually purged. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 21, 2003 10:27 AM To: Jim Lawrence (AccessD) Subject: Re: [AccessD] OT-Thought this was funny.... Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 13:51:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 13:51:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <000601c2efd4$6e07def0$0800a8c0@LapRFV> <000901c2efd6$f6969a20$6400000a@dogbert2k> Message-ID: <003e01c2efe3$c9c2d9c0$6400000a@dogbert2k> I've copied the needed code from my library to the project. The new version is on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org If you have any problems let me know. Tom ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 12:23 PM Subject: Re: [AccessD] Daily Tasks Program ... > Just heard about it. > > Sorry - I use my reference library for everything and I forget. > > I'll scrub them out and post a new version in about an hour. > > Tom > > ----- Original Message ----- > From: "Rudolf F. Vanek" > To: > Sent: Friday, March 21, 2003 12:05 PM > Subject: RE: [AccessD] Daily Tasks Program ... > > > > Tom, > > There is a broken refernce for:TA_stdCode3.mda > > > > > > > > > > Rudolf F. Vanek > > > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > > Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Daily Tasks Program ... > > > > It's on my web site. Click Download on the left menu and goto Daily > > Tasks. > > > > www.accessdevgroup.org > > > > Tom From gustav at cactus.dk Fri Mar 21 14:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 14:00:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <18843197865.20030321205933@cactus.dk> Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav > I have a similar requirement, but I want to do something specific to > selected ranges, from inside of Access using automation, to any excel > spreadsheet I choose. Some background. > As I posted earlier this week, I am seeing problems where the data in the > first cells of a given column are numeric, but lower down the cells switch > to text. The data is still numeric, i.e. the data is still simply a number > - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked > to Access and displayed, Access decides that the column is numeric because > of the first few cells at the top of the column, then can't figure out what > to do with the cells that are actually text down below. This is all > discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 > as Hayden pointed out. > The "Fix" is to go into the spreadsheet, select the column of data, and > prepend a space to the beginning of each cell, which apparently causes any > numeric data to turn into text. Now, in the linked data inside of Access, > because the entire column is a single type of data (text) it can be > displayed all the way down. I can then use a cLng (or whatever is > necessary) to convert the data back to the data type needed. > PITA, but this is MS after all ;-) > So, the code shown for doing this is: > Sub Addspace() > Dim cell As Object > For Each cell In Selection > cell.Value = " " & cell.Value > cell.Value = Right(cell.Value, Len(cell.Value) - 1) > Next > End Sub > run as a macro inside of Excel. Of course if this is to be generic, any > given spreadsheet will not have this macro inside of it so I will have to > insert the macro. Further I have to add code to select a given range, then > run this code. > Several years ago, when I lived in Mexico, I did a bunch of formatting of > Excel. What I did in that case was to build a workbook in which I created > my macros. I then copied the workbook to a new name, imported the > worksheet(s) that needed formatting, and then ran the formatting macros. I > could do the same thing here but I would prefer to have code stored inside > of Access, open the spreadsheet that needs this process performed on it, > insert a module with the code, select the area, and run the macro. > If this sounds like a major PITA to fix a bug in Excel / Access interaction, > I couldn't agree more. But we do what we have to do. BTW, I have also seen > dates with similar problems A data column looks prefect inside of Excel, > but when linked and viewed inside of Access, some dates are hosed. The > problem is exactly the same, they are text. > Before I go off re-inventing the wheel, does anyone have code for doing > anything similar? Pieces for doing parts of what I am trying to do? > Interest in working with me to jointly solve this problem? From michael.mattys at adelphia.net Fri Mar 21 14:05:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 21 14:05:00 2003 Subject: [AccessD] OT: Excel 97 Macro References: <18843197865.20030321205933@cactus.dk> Message-ID: <015f01c2efe5$ce4edfa0$6401a8c0@default> ... a strange silence came over the room ... like the calm before a storm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: "John W. Colby" Sent: Friday, March 21, 2003 2:59 PM Subject: Re: [AccessD] OT: Excel 97 Macro > Hi John > > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? From snegus at doulosenterprises.com Fri Mar 21 14:12:00 2003 From: snegus at doulosenterprises.com (Stephen Negus) Date: Fri Mar 21 14:12:00 2003 Subject: [AccessD] Mouse Pointer References: <20030320180001.15957.78722.Mailman@databaseadvisors.com> Message-ID: <002801c2efe6$15503610$0c21fea9@OneVoiceLaptop> Thanks William, that did the trick... Stephen ---------------------------------------------------------------- Stephen Negus Doulos Enterprises snegus at doulosenterprises.com www.doulosenterprises.com > From: "William Hindman" > To: > Subject: Re: [AccessD] Mouse Pointer > Date: Thu, 20 Mar 2003 09:19:30 -0500 > Reply-To: accessd at databaseadvisors.com > > ...the pointing finger code is here ...HTH :) > > http://www.mvps.org/access/api/api0044.htm > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > ----- Original Message ----- > From: "Michael R Mattys" > To: > Sent: Thursday, March 20, 2003 9:24 AM > Subject: Re: [AccessD] Mouse Pointer > > > > Stephen > > > > 1 Normal Select (Arrow) > > 3 Text Select (I-Beam) > > 7 Vertical Resize (Size N, S) > > 9 Horizontal Resize (Size E, W) > > 11 Busy (Hourglass) > > > > Mike Mattys > > > > ----- Original Message ----- > > From: "Stephen Negus" > > To: "AccessD" > > Sent: Thursday, March 20, 2003 8:55 AM > > Subject: [AccessD] Mouse Pointer > > > > > > > Hi List, > > > > > > Does anyone know if there is a number to use for the "pointing finger" > > mouse > > > pointer in the following line of code... > > > > > > screen.mousepointer = ?? > > > > > > (For example, screen.mousepointer = 11 displays the hourglass) > > > > > > Thanks, > > > > > > Stephen Negus > > > > > > ---------------------------------------------------------------- > > > Stephen Negus > > > Doulos Enterprises > > > snegus at doulosenterprises.com > > > www.doulosenterprises.com From wdhindman at bellsouth.net Fri Mar 21 14:15:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 14:15:01 2003 Subject: [AccessD] OT-Thought this was funny.... References: Message-ID: <004101c2efe6$976dd7b0$6101a8c0@amd2k512> "And, yes, I am a blonde!" John Clark ...'nuff said ...'splains it all! :)))))) William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "John Clark" To: Sent: Friday, March 21, 2003 11:58 AM Subject: Re: [AccessD] OT-Thought this was funny.... > Computer Performance May Decrease After You Download Programs from the > Internet ? > > Y'all must be especially ticklish, because I just don't get it! And, > yes, I am a blonde! > > >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> > ...still there when I look :) > http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > Not Available at This Time. > > > > --- Drew Wutka wrote: > > > Just take a look at the 'title' for Microsoft's KB > > > Article 276283. Just > > > tickled my funny bone, and had to share! > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Mar 21 14:43:00 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 14:43:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB From artful at rogers.com Fri Mar 21 14:44:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 14:44:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: <009c01c2efea$936d3a30$8e01a8c0@Rock> It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 14:45:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 14:45:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: <009d01c2efea$af7cc290$8e01a8c0@Rock> Thanks! That's a good start. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: March 21, 2003 1:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, In VB it depends on the size of the font for the text in the Treeview. I typically use 16x16 with 10-12 pt font. If you use 32x32 you end up with a big icon that looks out of place with the smaller fonts. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> artful at rogers.com 21-Mar-03 12:21:25 PM >>> On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 21 14:54:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 14:54:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust From klk at ksu.edu Fri Mar 21 14:56:00 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Fri Mar 21 14:56:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <008401c2efce$4d3beeb0$8e01a8c0@Rock> Message-ID: <001501c2efec$34ccea00$c35b8281@current> Arthur, You are correct in this. Add the ImageList Control at design time, but do not assign the .ImageList property on the treeview at design time, instead use a line similar to: Set tvNavigate.ImageList = imlImages.Object in code to assign that value early on. This is due to a memory leak in the control. Keith L. Kovala > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, March 21, 2003 11:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > > Thanks for that and I'll gladly give it a try. I seem to > recall something about a bug in planting the image control on > an Access form at design time; and that the alleged solution > is to add it in code instead. But I could just be having a > senior moment. > > On the purely cosmetic side, what's the ideal size for the > images in said list? I have a program called IconSucker and I > have used it to suck some icons, but they seem to be in > different sizes and shapes. What would you suggest in that regard? > > One step removed from cosmetic is the use of the image to > indicate something even before the user clicks on the node, > for example, in a list of > customers->orders->>order items, customers whose expenditures in the > customers->orders->>past > year > $5K get a special image in the list ($$$ :-), while > the common rabble get nothing but a file folder. > > But you've given me the nudge I needed to do some > woodshedding :-) Thank God for unemployment (at least until > the end of the month). > > > Arthur > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: March 21, 2003 11:46 AM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Tech books ... > > > I have never used a Treeview in Access, but in VB, you just > put the image control onto the form. Then add the images. > Then to change the image on a node, just set it's image > property to the images 'index' in the image list. > > Drew > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Fri Mar 21 14:57:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 14:57:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: John, Are you are behind in installing SPs? IIRC this problem was solved with one of the SPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday 2003 Mar 21 14:48 To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB From john at winhaven.net Fri Mar 21 14:59:00 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 14:59:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Never mind, I found it - (I couldn't find it with MSDN's own search until I googled it) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Friday, March 21, 2003 2:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Mar 21 15:06:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri Mar 21 15:06:00 2003 Subject: [AccessD] Tech books ... Message-ID: Volume 1 #2, Sept 2001 http://www.databaseadvisors.com/newsletters/news0109.htm Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 21-Mar-03 3:53:47 PM >>> Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Mar 21 15:06:18 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 15:06:18 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Hmm.....I've spent the last year developing an Access/Excel Planning/financial reporting system currently being used by a 150 store, 400 million sales company. This includes creating Excel planning templates (with store history)from within Access. After the templates are completed the finished plan data is uploaded back into Access. The system also includes downloading historical/plan/forecast data from linked AS400 tables into Excel spreadsheets for board reports, downloading into pivot tables, consolidations, etc. It seems to me the Access books don't discuss in depth techniques for interacting with Excel. The Excel books are no better. They all have the obligatory "Access/Excel can be used with other office products" chapter and a little obligatory code. My idea is to write a book discussing techniques for using Excel with Access. I would use my system as the example and include the whole thing on the book's disk. The problem, as Tom points out, is that you can't very well teach all of Access and Excel and cover the system's code techniques in a single book. Do any of you think there would be any interest in a book like this or is it overkill? Would anyone be interested in a Access based planning and financial reporting system? Susan, any thoughts? Jim Hale -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 21 15:06:29 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 15:06:29 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <015f01c2efe5$ce4edfa0$6401a8c0@default> Message-ID: lol. Charlotte is the one that should be sputtering. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Friday, March 21, 2003 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Excel 97 Macro ... a strange silence came over the room ... like the calm before a storm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: "John W. Colby" Sent: Friday, March 21, 2003 2:59 PM Subject: Re: [AccessD] OT: Excel 97 Macro > Hi John > > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2068 bytes Desc: not available URL: From CWortz at tea.state.tx.us Fri Mar 21 15:09:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 15:09:00 2003 Subject: [AccessD] Tech books ... Message-ID: Thanks. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday 2003 Mar 21 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Volume 1 #2, Sept 2001 http://www.databaseadvisors.com/newsletters/news0109.htm Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 21-Mar-03 3:53:47 PM >>> Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust From martyconnelly at shaw.ca Fri Mar 21 15:10:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 21 15:10:00 2003 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7B7FA8.1050501@shaw.ca> I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library database >and the application database just realized that it couldn't use email. >In AXP, the breakage affects the application database, not just the >library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Fri Mar 21 15:11:01 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 15:11:01 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Nope. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 21, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] cpu usagage 100% John, Are you are behind in installing SPs? IIRC this problem was solved with one of the SPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday 2003 Mar 21 14:48 To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 21 15:16:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 21 15:16:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Message-ID: <1048281313.3e7b80e18764f@hosea.qub.ac.uk> Yeah but are there 20000 people out there who want to spend $50 to read it. You write what the publishers will apy for and they will pay for what sells. If they felt there was a market for the book then they would go with it. Writing a book even a beginners books is no easy task. Martin Quoting "Hale, Jim" : > developers - > and sometimes they > will be doing other apps - eg. Excel to Access > > > Hmm.....I've spent the last year developing an Access/Excel > Planning/financial reporting system currently being used by a 150 store, > 400 > million sales company. This includes creating Excel planning > templates > (with store history)from within Access. After the templates are > completed > the finished plan data is uploaded back into Access. The system also > includes downloading historical/plan/forecast data from linked AS400 > tables > into Excel spreadsheets for board reports, downloading into pivot > tables, > consolidations, etc. > > It seems to me the Access books don't discuss in depth techniques for > interacting with Excel. The Excel books are no better. They all have > the > obligatory "Access/Excel can be used with other office products" chapter > and > a little obligatory code. My idea is to write a book discussing > techniques > for using Excel with Access. I would use my system as the example and > include the whole thing on the book's disk. The problem, as Tom points > out, > is that you can't very well teach all of Access and Excel and cover > the > system's code techniques in a single book. Do any of you think there > would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? > Susan, > any thoughts? > Jim Hale > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your > books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of > making it). > 1. Have a few overly documented examples if you will - but include a > bunch > of heavy duty > code for examples for the advanced programmers - with little or > no > comments. The documented > examples in books are usually too simple to be very useful. Real > code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid > almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them > my first born child (I > know, I know - she's a teenager and that's a punishment worse > than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Fri Mar 21 15:50:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri Mar 21 15:50:00 2003 Subject: [AccessD] Tech books ... Message-ID: It never made M:M. Instead, check Downloads: http://www.databaseadvisors.com/downloads/index.htm Hen >From: "Arthur Fuller" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Tech books ... >Date: Fri, 21 Mar 2003 15:43:49 -0500 > >It's in M:M. > >"Those who would sacrifice liberty for security deserve neither." >-- Benjamin Franklin > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: March 21, 2003 1:31 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Tech books ... > > >Arthur, > >I missed your treeview article. Do you have a link to it? > >Charlotte Foust > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Friday, March 21, 2003 7:25 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Tech books ... > > > >> 2. I have yet to find a book that explains treeviews. Arthur Fuller >wrote an article about it awhile back and it is the best I have seen. > >Thanks for the praise, Jim. I wish I could say that I understood treeviews! >I'm still stumped by several aspects of them, in particular, how to get the >image list working right. In case anyone knows how, I'd happily roll your >instructions into an update of my previous article. > >Arthur > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson >Sent: March 21, 2003 9:54 AM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Tech books ... > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From harkins at iglou.com Fri Mar 21 16:14:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 16:14:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <024a01c2eff7$21241a90$364afccc@SusanOne> http://www.databaseadvisors.com/newsletters/0109UsingTreeViews.htm yes it did :) Susan H. > It never made M:M. Instead, check Downloads: > > http://www.databaseadvisors.com/downloads/index.htm From harkins at iglou.com Fri Mar 21 16:14:21 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 16:14:21 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Message-ID: <024b01c2eff7$21fcee60$364afccc@SusanOne> Do any of you think there would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? Susan, > any thoughts? > Jim Hale =============Jim, I don't know. If you're serious about it, I'll help you work it through the synopsis and toc process and help you put before some publishers. Can't hurt. Susan H. From jim.hale at fleetpride.com Fri Mar 21 16:56:01 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 16:56:01 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3013@corp-es00> Thanks. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 21, 2003 4:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Tech books ... Do any of you think there would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? Susan, > any thoughts? > Jim Hale =============Jim, I don't know. If you're serious about it, I'll help you work it through the synopsis and toc process and help you put before some publishers. Can't hurt. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Mar 21 16:56:44 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 16:56:44 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> That, of course, is the real question. Many things never get done because they've never been done, an infinite loop until some writer/publisher has the courage (or temporary insanity spell)to give it a go. If it works, presto, a dozen "me toos" appear. Seriously, in this case I've seen few Access/Excel how-toos for financial power user types. Most Access books are either written for the rank begineer ("here is a table, it is your friend") or computer professionals ("here is the code for generating a faster than light engine with modules that take advantage of the undocumented 5th and 6th dimensions of the windows API"). There are a LOT of financial types who are using Excel to produce financial reports who are constantly yearning for more power. Maybe I could help lead them to the promised land (for a fee of course) :-)) Jim H -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday, March 21, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Yeah but are there 20000 people out there who want to spend $50 to read it. You write what the publishers will apy for and they will pay for what sells. If they felt there was a market for the book then they would go with it. Writing a book even a beginners books is no easy task. Martin Quoting "Hale, Jim" : > developers - > and sometimes they > will be doing other apps - eg. Excel to Access > > > Hmm.....I've spent the last year developing an Access/Excel > Planning/financial reporting system currently being used by a 150 store, > 400 > million sales company. This includes creating Excel planning > templates > (with store history)from within Access. After the templates are > completed > the finished plan data is uploaded back into Access. The system also > includes downloading historical/plan/forecast data from linked AS400 > tables > into Excel spreadsheets for board reports, downloading into pivot > tables, > consolidations, etc. > > It seems to me the Access books don't discuss in depth techniques for > interacting with Excel. The Excel books are no better. They all have > the > obligatory "Access/Excel can be used with other office products" chapter > and > a little obligatory code. My idea is to write a book discussing > techniques > for using Excel with Access. I would use my system as the example and > include the whole thing on the book's disk. The problem, as Tom points > out, > is that you can't very well teach all of Access and Excel and cover > the > system's code techniques in a single book. Do any of you think there > would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? > Susan, > any thoughts? > Jim Hale > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your > books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of > making it). > 1. Have a few overly documented examples if you will - but include a > bunch > of heavy duty > code for examples for the advanced programmers - with little or > no > comments. The documented > examples in books are usually too simple to be very useful. Real > code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid > almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them > my first born child (I > know, I know - she's a teenager and that's a punishment worse > than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Fri Mar 21 17:20:00 2003 From: chizotz at charter.net (Ron Allen) Date: Fri Mar 21 17:20:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> Message-ID: <17811450968.20030321171949@charter.net> HJ> There are a LOT of financial types who are using Excel to produce financial HJ> reports who are constantly yearning for more power. Jim, I just wanted to tell you, I have made a career out of that very fact. I got my start in this field when a manager wanted to do database work using Excel because she didn't know anything else, and I was in the right place at the right time to say, "excuse me, have you considered...?" Changed my life, it did. Yes, there are _lots_ of financial types out there who would like more powerful and/or more appropriate solutions to their daily problems. Many are not even aware of what Access is and how they can benefit from it. Good luck. Ron From harkins at iglou.com Fri Mar 21 17:34:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 17:34:00 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> Message-ID: <027801c2f002$4ace7380$364afccc@SusanOne> > Yes, there are _lots_ of financial types out there who would like more > powerful and/or more appropriate solutions to their daily problems. > Many are not even aware of what Access is and how they can benefit > from it. > =========Sounds like a market for templates and drop-in modules. Susan H. From jim.hale at fleetpride.com Fri Mar 21 17:59:01 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 17:59:01 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3023@corp-es00> Definately. Something along the lines of "MBA's Guide to MS Excel 2002" or Walkenbach's "Excel 2000 formulas" only more powerful. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 21, 2003 5:34 PM To: accessd at databaseadvisors.com Subject: Re: Re[2]: [AccessD] Tech books ... > Yes, there are _lots_ of financial types out there who would like more > powerful and/or more appropriate solutions to their daily problems. > Many are not even aware of what Access is and how they can benefit > from it. > =========Sounds like a market for templates and drop-in modules. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Mar 21 18:35:00 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri Mar 21 18:35:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: John, I had the same problem after installing an HP multi-function printer (k series). The CPU and printer were constantly communicating back and forth, taking up all of the RAM. Have you recently installed a new printer? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From martyconnelly at shaw.ca Fri Mar 21 20:26:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 21 20:26:00 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> <027801c2f002$4ace7380$364afccc@SusanOne> Message-ID: <3E7BC9A1.5090405@shaw.ca> An HTML attachment was scrubbed... URL: From accessd at shaw.ca Fri Mar 21 22:16:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 22:16:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Hi John: No, its a feature and it works on all Windows O/S regardless of the amount of memory or Mhz. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Friday, March 21, 2003 12:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 22 01:26:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 22 01:26:00 2003 Subject: [AccessD] OT Wrox Press In-Reply-To: <001601c2efcf$05a6a030$6400000a@dogbert2k> References: <001601c2efcf$05a6a030$6400000a@dogbert2k> Message-ID: <1048317940.3e7c0ff469416@hosea.qub.ac.uk> Apologies for this OT. This information is intended for any list member who worked for Wrox Press as either an Editor or Author. I didnt contact people directly as some list members may do Technical Edit work for the company in addition to those of us under contract to them. This who worked for Wrox will find the following useful. It is a support list for Wrox Authors etc and contains useful information on whats happening. http://www.flash-mx.com/foedsupport If you know of anyone else who will benefit from this, please feel free to pass along the URL. An archive of the messages can be found at: http://www.flash-mx.com/foedsupport/archive.cfm Martin From tomadatn at bellsouth.net Sat Mar 22 02:31:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Sat Mar 22 02:31:00 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> Message-ID: <003201c2f05e$6fe66f40$0000fea9@tomvideo> Anybody have any code on automating duplex printing? Do you even know what duplex printing is? I don't. Doing this for a friend who's trying to make a living with an inexpensive vertical app. Thanks - Tom ----- Original Message ----- From: "D Cook" To: Sent: Saturday, June 28, 2003 11:33 AM Subject: [AccessD] more on printing > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > default printer if none is specified in the report properties ...but you can > use OpenReport to preview the report, PrtDevNames to select an available > printer, and PrintOut to select its properties such as copies to print, > print range, print quality, etc. ...in other words it is possible to use the > full range of available printers and their capabilities from code ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sat Mar 22 03:09:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 22 03:09:01 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> <003201c2f05e$6fe66f40$0000fea9@tomvideo> Message-ID: <000801c2f052$b5c498e0$6101a8c0@amd2k512> Tom ...kb 284286 has working code for setting the AXP printer object to duplex and resetting it to the defaults ...works fine for me on Minolta and HP printers with built-in duplexing capabilities ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Tom Adams" To: Sent: Saturday, March 22, 2003 5:32 AM Subject: Re: [AccessD] more on printing > Anybody have any code on automating duplex printing? > > Do you even know what duplex printing is? I don't. > > Doing this for a friend who's trying to make a living with an > inexpensive vertical app. > > Thanks - Tom > > > > ----- Original Message ----- > From: "D Cook" > To: > Sent: Saturday, June 28, 2003 11:33 AM > Subject: [AccessD] more on printing > > > > > > On behalf of William Hindman, who's posts don't seem to be getting through. > > > > Donna > > > > Susan > > > > ...if you do this from code then you may need to look into using three > > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > > default printer if none is specified in the report properties ...but you can > > use OpenReport to preview the report, PrtDevNames to select an available > > printer, and PrintOut to select its properties such as copies to print, > > print range, print quality, etc. ...in other words it is possible to use the > > full range of available printers and their capabilities from code ...HTH :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Susan Harkins" > > > To: > > > Sent: Thursday, February 27, 2003 11:34 PM > > Subject: [AccessD] more on printing > > > > > > > After setting all the appropriate Printer properties and choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default printer? > > > > > > Susan H. > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From andy at minstersystems.co.uk Sat Mar 22 03:23:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 22 03:23:01 2003 Subject: [AccessD] more on printing In-Reply-To: <003201c2f05e$6fe66f40$0000fea9@tomvideo> Message-ID: <005501c2f054$1e0eca00$b274d0d5@andypc> Duplex = printing on both sides Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: 22 March 2003 10:32 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] more on printing > > > Anybody have any code on automating duplex printing? > > Do you even know what duplex printing is? I don't. > > Doing this for a friend who's trying to make a living with an > inexpensive vertical app. > > Thanks - Tom > > > > ----- Original Message ----- > From: "D Cook" > To: > Sent: Saturday, June 28, 2003 11:33 AM > Subject: [AccessD] more on printing > > > > > > On behalf of William Hindman, who's posts don't seem to be getting > > through. > > > > Donna > > > > Susan > > > > ...if you do this from code then you may need to look into > using three > > methods to accomplish all you want ...in XP, > DoCmd.OpenReport will use > > the default printer if none is specified in the report properties > > ...but you can use OpenReport to preview the report, PrtDevNames to > > select an available printer, and PrintOut to select its properties > > such as copies to print, print range, print quality, etc. > ...in other > > words it is possible to use the full range of available > printers and > > their capabilities from code ...HTH :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Susan Harkins" > > > To: > > > > Sent: Thursday, February 27, 2003 11:34 PM > > Subject: [AccessD] more on printing > > > > > > > After setting all the appropriate Printer properties and > choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default > > > printer? > > > > > > Susan H. > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From Erwin.Craps at ithelps.be Sat Mar 22 04:11:00 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat Mar 22 04:11:00 2003 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <104AB6116A2DD511A7580008C7097A982195B0@AARDBEI> Hi I already have a archive system for archiving outgooing emails and word doucments from an access database. But I need some archiving for Incoming correspondence to. I believe the only way to achief this is to have a sort of drag and drop function. The user should be able to drag a document from the explorer or from inside an email but also an e-mail itself to a form in access where a specific customer is already selected. This when dropping the object o this customer, access will save the object (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer related record with the filename into the archive table. What I'm basicly asking for is some easy or advanced code to see how the drag and drop works between Outlook/Explorer and Access and how I need to save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). The document archiving system I already have, but I never used a drag and drop functionality... Thx Erwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sat Mar 22 04:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 04:37:00 2003 Subject: [AccessD] Access and Excel for financial reporting (was: Tech books ...) In-Reply-To: <17811450968.20030321171949@charter.net> References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> Message-ID: <1365865303.20030322113622@cactus.dk> Hi Ron So you might have some tips, methods and smart solutions to share ...? /gustav HJ>> There are a LOT of financial types who are using Excel to produce financial HJ>> reports who are constantly yearning for more power. > I just wanted to tell you, I have made a career out of that > very fact. I got my start in this field when a manager wanted to do > database work using Excel because she didn't know anything else, and I > was in the right place at the right time to say, "excuse me, have you > considered...?" Changed my life, it did. From HollisVJ at pgdp.usec.com Sat Mar 22 08:13:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 08:13:00 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Sat Mar 22 08:27:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat Mar 22 08:27:00 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> Message-ID: <3E7CFF3E.9437.3863E3B@localhost> et > I have a search form that I would like to show the actual record opened in a > separate form when the number is clicked. > > The only problem, the search results list different types of documents so > clicking the number would require a different form to be opened based on the > number selected. The same type of documents begin with the same numbering > scheme. For example, service orders all being with Z, Reviews begin with > CPP, etc. Each type of document is different and has it's own screen because > they contain different data (so I can't use one screen for all results when > the number is clicked). > > The only thing I can think to base the results on is the numbering scheme? > If the number is like Z open service orders, if the number is Like CPP, open > the review form. > > Really not sure how I can do this or if it can be done? > > Virginia Set up a key table Z ; "frmServiceOrder" CPP ; "frmReview" etc Assuming you are using a continuous form and the document number is in txtDocument: Private Sub txtDocument_OnClick() Docmd.Openform DLookup("FormName","tblDocumentTypes",DocType like '" & txtDocument & "*'" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Sat Mar 22 08:50:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 08:50:01 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF4@exchange.pgdp> Get the error: The action or argument requires a FormName. I made a table: tblDocumentTypes TypeID: Autonumber DocType: Z FormName: frmServiceOrder DocType: CPP Formname: frmReview Etc. DoCmd.OpenForm DLookup("FormName", "tblDocumentTypes", DocType Like "'" & [txtESO] & "*'") It is not a continuos form, it is a form & subform (subform set to form). -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Saturday, March 22, 2003 8:27 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] Open diff forms based on number et > I have a search form that I would like to show the actual record opened in a > separate form when the number is clicked. > > The only problem, the search results list different types of documents so > clicking the number would require a different form to be opened based on the > number selected. The same type of documents begin with the same numbering > scheme. For example, service orders all being with Z, Reviews begin with > CPP, etc. Each type of document is different and has it's own screen because > they contain different data (so I can't use one screen for all results when > the number is clicked). > > The only thing I can think to base the results on is the numbering scheme? > If the number is like Z open service orders, if the number is Like CPP, open > the review form. > > Really not sure how I can do this or if it can be done? > > Virginia Set up a key table Z ; "frmServiceOrder" CPP ; "frmReview" etc Assuming you are using a continuous form and the document number is in txtDocument: Private Sub txtDocument_OnClick() Docmd.Openform DLookup("FormName","tblDocumentTypes",DocType like '" & txtDocument & "*'" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sat Mar 22 08:53:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 22 08:53:01 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> Message-ID: <000401c2f082$9cb27130$8e01a8c0@Rock> Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Sat Mar 22 09:09:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 09:09:00 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF5@exchange.pgdp> DocumentName:= Named argument not found. The one letter will work since only certain types begin with different prefixes, Z, C, F, etc. Z99999 CCP-9999-99 FPT-Z9999-001 -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 22, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open diff forms based on number Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Sat Mar 22 09:39:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Sat Mar 22 09:39:01 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <18843197865.20030321205933@cactus.dk> Message-ID: Gustav, Must have been mom. ;-) I used dbase and 123 back in the 80s but never got into them at anything close to this depth. In fact I should guess that automation as we know it didn't even exist. You mention Macro Sheets. I know about macro modules, which are just code modules as we have in Access. Are we talking about building up a macro library in a separate workbook and then referencing that workbook from another workbook, like we reference an MDA from another MDB? Knowing the little I know about dynamically setting references in a running Access App, I am not sure how to apply that to an Excel spreadsheet received from a client. These sheets have no code in them, or if they do that are not my code. IOW, I have to somehow insert a module or at least a macro into a module inside of the received sheet, even in order to get the code running that would link to my "library" workbook (assuming that this is even the strategy you are discussing). It seems that if I go to the bother of doing that, then I would just insert all of the code I needed (an entire module) into the target worksheet and just run it. Given the lack of specific response to my question I guess I'll dive in to trying to figure out how to do that process. Open a worksheet, insert a module, and run code. I have done everything except insert the module, but I suspect that process isn't too difficult. What would be nice is to know the ending row of the data. Does anyone know off the top of their head how to determine the max size (the largest row index) of a populated row? Remember I am working with what appears to be a table - fixed column count / fixed row count. What is the numbers of records in that table (as determined in Excel). I can always if necessary just link the table in and get a record count but it would be nice to figure it out in Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 21, 2003 3:00 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4424 bytes Desc: not available URL: From harkins at iglou.com Sat Mar 22 09:48:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 22 09:48:01 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> <003201c2f05e$6fe66f40$0000fea9@tomvideo> <000801c2f052$b5c498e0$6101a8c0@amd2k512> Message-ID: <034701c2f08a$5044bb70$364afccc@SusanOne> Also, if I'm not mistaken, a few of the Northwind XP reports use it -- try the catalog report or perhaps it's the alphabetical listing of products. There may be others. Susan H. > Tom > > ...kb 284286 has working code for setting the AXP printer object to duplex > and resetting it to the defaults ...works fine for me on Minolta and HP > printers with built-in duplexing capabilities ...HTH :) > > William Hindman > "We have gone forth from our shores repeatedly over the last 100 years > ...and put wonderful young men and women at risk, many of whom have lost > their lives, and we have asked for nothing except enough ground to bury them > in." Colin Powell > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Saturday, March 22, 2003 5:32 AM > Subject: Re: [AccessD] more on printing > > > > Anybody have any code on automating duplex printing? > > > > Do you even know what duplex printing is? I don't. > > > > Doing this for a friend who's trying to make a living with an > > inexpensive vertical app. > > > > Thanks - Tom > > > > > > > > ----- Original Message ----- > > From: "D Cook" > > To: > > Sent: Saturday, June 28, 2003 11:33 AM > > Subject: [AccessD] more on printing > > > > > > > > > > On behalf of William Hindman, who's posts don't seem to be getting > through. > > > > > > Donna > > > > > > Susan > > > > > > ...if you do this from code then you may need to look into using three > > > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use > the > > > default printer if none is specified in the report properties ...but you > can > > > use OpenReport to preview the report, PrtDevNames to select an available > > > printer, and PrintOut to select its properties such as copies to print, > > > print range, print quality, etc. ...in other words it is possible to use > the > > > full range of available printers and their capabilities from code ...HTH > :) > > > > > > William Hindman > > > > > > ----- Original Message ----- > > > From: "Susan Harkins" > > > > To: > > > > Sent: Thursday, February 27, 2003 11:34 PM > > > Subject: [AccessD] more on printing > > > > > > > > > > After setting all the appropriate Printer properties and choosing a > > > > nondefault printer, how do you actually print a report? Will the > > > OpenReport > > > > method print to the set printer or always print to the default > printer? > > > > > > > > Susan H. > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Sat Mar 22 10:12:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 22 10:12:00 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF5@exchange.pgdp> Message-ID: <001901c2f08d$bbf473d0$8e01a8c0@Rock> I knew I shouldn't have written it in Outlook! It's FormName not DocumentName. :-) "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Open diff forms based on number DocumentName:= Named argument not found. The one letter will work since only certain types begin with different prefixes, Z, C, F, etc. Z99999 CCP-9999-99 FPT-Z9999-001 -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 22, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open diff forms based on number Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sat Mar 22 10:32:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 10:32:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <7027157961.20030322173115@cactus.dk> Hi John > Must have been mom. ;-) All right. > I used dbase and 123 back in the 80s but never got into them at anything > close to this depth. In fact I should guess that automation as we know it > didn't even exist. > You mention Macro Sheets. I know about macro modules, which are just code > modules as we have in Access. Are we talking about building up a macro > library in a separate workbook and then referencing that workbook from > another workbook, like we reference an MDA from another MDB? > Knowing the little I know about dynamically setting references in a running > Access App, I am not sure how to apply that to an Excel spreadsheet received > from a client. These sheets have no code in them, or if they do that are > not my code. IOW, I have to somehow insert a module or at least a macro > into a module inside of the received sheet, even in order to get the code > running that would link to my "library" workbook (assuming that this is even > the strategy you are discussing). It seems that if I go to the bother of > doing that, then I would just insert all of the code I needed (an entire > module) into the target worksheet and just run it. > Given the lack of specific response to my question I guess I'll dive in to > trying to figure out how to do that process. Open a worksheet, insert a > module, and run code. I have done everything except insert the module, but > I suspect that process isn't too difficult. You can apply addins or references to a workbook and I guess dynamically too but I haven't worked with that. My suggestion (which works very well for me) is to let the macro workbook open and manipulate the workbook(s) with data and/or formatting. Look at my code snippet again which runs in the macro workbook: [snip] ' Open file with statistics as template. Set wkbPeriod = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate [snip] wkbPeriod is the workbook to manipulate. All preformatting is done in the template cstrWorkbookForm so only formatting etc. specific to this single dataset has to be carried out. This saves a lot of work and code. As the first task (shown above) wkbPeriod is saved to a working file which later will be the finished workbook. wkbPeriodData is another workbook which carries all the data to be filled into wkbPeriod. The data workbook could be your customer data. For my task it also contains a "system"-sheet. Sheets and/or Named Ranges in wkbPeriodData are linked as tables to my Access app which means that all data can be collected and calculated in Access prior to calling the macro workbook and performing the formatting etc. in Excel. The complete function I use is quite complicated and very specific - I can only understand it through my comments - and will rather bring confusion than help to you. I know this can be done in a lot of other ways. The great thing, however, is that the clear separation between data, code and basic formatting makes debugging if not simple then much easier. /gustav > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? > Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate > macro sheets to keep code separated from data. > You can do the same in Excel - it's like the Named Ranges - it's a > splendid feature but only few use it. > The additional advantage is that your macro workbook can stay > protected if you write protect the file. > Here's a snippet from the start of a main function called from Access > (as you learnt me). > Access opens the macro book and runs this macro. This macro opens a > template and another workbook (with data only), then saves the > template as a temporary workbook which the function then manipulates: > --- > ' Filenames of standard workbooks. > Public Const cstrWorkbookForm As String = "PeriodForm.xls" > Public Const cstrWorkbookData As String = "PeriodData.xls" > Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" > Public Const cstrWorkbookSend As String = "PeriodSend.xlt" > Public Const cstrWorkbookDist As String = "PeriodSend.xls" > [snip] > Function CreateSurvey() As Boolean > Const cstrWorksheetName As String = "Survey" > ' Maximum length of name for a sheet. > Const cbytWorksheetNameLen As Byte = 31 > Dim wkb As Workbook > Dim wkbPeriod As Workbook > Dim wkbPeriodData As Workbook > Dim wks As Worksheet > Dim rng As Range > Dim rngGroups As Range > Dim rngFormat As Range > Dim rngData As Range > Dim rngTxtHeader As Range > Dim rngTxtPeriod As Range > Dim rngTxtPeriodData As Range > Dim rngTxtSeason As Range > Dim rngTxtSeasonData As Range > [snip] > With Application > ' Disable automatic recalculation and screen updating. > .Calculation = xlCalculationManual > .ScreenUpdating = False > End With > ' For debugging only. > With Application > ' .Visible = True > ' .ScreenUpdating = True > End With > ' Close all files except the first if more than one should be open. > Call CloseOtherWorkbooks(False) > strPath = ActiveWorkbook.Path > ' Open file with statistics as template. > Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) > ' This is used by DLookupSystem(): > Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & > cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) > Application.DisplayAlerts = False > strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp > ' Save statistics in temporary file in the smaller Excel5-format. > wkbPeriod.SaveAs strPathFileName, xlExcel5 > Application.DisplayAlerts = True > wkbPeriod.Activate > ' Set ranges. > Set rngGroups = Range("xlsGroupInterval") > Set rngFormat = Range("FormatHeader") > Set rngData = Range("xlsSurvey") > Set rngTxtHeader = Range("TextHeader") > Set rngTxtPeriod = Range("TextPeriod") > Set rngTxtPeriodData = Range("TextPeriodData") > Set rngTxtSeason = Range("TextSeason") > Set rngTxtSeasonData = Range("TextSeasonData") > [snip] > Run formatting code ... > --- > Finally (cut away from this example, no big deal) the finished range > in the temporary workbook is copied into an empty template workbook - > clean with no code or left-over data - and saved as the finished > workbook. From gustav at cactus.dk Sat Mar 22 11:41:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 11:41:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <8331283913.20030322184001@cactus.dk> Hi John > What would be nice is to know the ending row of the data. Does anyone know > off the top of their head how to determine the max size (the largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav From john at winhaven.net Sat Mar 22 12:49:00 2003 From: john at winhaven.net (John Bartow) Date: Sat Mar 22 12:49:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Nope. Here is a readable rewrite of the MSDN article that explains the problem: http://www.irmsonline.com/irmskb/access_shows_100_percent_cpu_usage.htm JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Friday, March 21, 2003 6:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] cpu usagage 100% John, I had the same problem after installing an HP multi-function printer (k series). The CPU and printer were constantly communicating back and forth, taking up all of the RAM. Have you recently installed a new printer? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at brougham.co.uk Sat Mar 22 13:19:01 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Sat Mar 22 13:19:01 2003 Subject: [AccessD] LISTMASTER MESSAGE- Maintenance for 1 hour Message-ID: <02dc01c2f0a7$d0aeb370$253c98d5@brougham.info> LISTMASTER MESSAGE- Maintenance for 1 hour The Lists will be unavailable for a duration of approximately one hour to allow upgrading of the list software. During this time, the archives and list administration interfaces will be unavailable. Messages will be delayed but your ISP's will retry sending them when the server is available again. Thank you for your cooperation. Brougham From Lembit.Soobik at t-online.de Sun Mar 23 04:19:55 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sun, 23 Mar 2003 11:19:55 +0100 Subject: [AccessD] testing References: Message-ID: <003f01c2f125$c03f40d0$0300a8c0@S856> test Lembit Soobik From wdhindman at bellsouth.net Sun Mar 23 04:52:31 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 23 Mar 2003 05:52:31 -0500 Subject: [AccessD] testing References: <003f01c2f125$c03f40d0$0300a8c0@S856> Message-ID: <001b01c2f12a$4defd940$6101a8c0@amd2k512> untest William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Lembit Soobik" To: Sent: Sunday, March 23, 2003 5:19 AM Subject: [AccessD] testing > test > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 04:57:12 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 11:57:12 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231157.AA00328@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From andy at minstersystems.co.uk Sun Mar 23 05:31:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Mar 2003 11:31:25 -0000 Subject: [AccessD] email ontvangst bevestiging In-Reply-To: <10303231157.AA00328@oop.nl> Message-ID: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Well now we're getting stuff like this. I have NO idea what I'm supposed to do, or if, how, or when etc etc. What the b****y hell is going on? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oop! Software & Computers > Sent: 23 March 2003 10:57 > To: accessd at databaseadvisors.com > Subject: [AccessD] email ontvangst bevestiging > > > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl > > Met vriendelijke groet > Oop! software & Computers > www.oop.nl > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 05:40:29 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 12:40:29 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231240.AA02476@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Lembit.Soobik at t-online.de Sun Mar 23 05:46:59 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sun, 23 Mar 2003 12:46:59 +0100 Subject: [AccessD] email ontvangst bevestiging References: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Message-ID: <00e101c2f132$4c063810$0300a8c0@S856> as far as I found out, marcel's mailbox is overflown and I think his mail is forwarded to an address which sends automated responses. unfortunately our software was upgraded last night and the password changed. I am working to get Marcel unsubscribed. Lembit Soobik ----- Original Message ----- From: "Andy Lacey" To: Sent: Sunday, March 23, 2003 12:31 PM Subject: RE: [AccessD] email ontvangst bevestiging > Well now we're getting stuff like this. I have NO idea what I'm supposed > to do, or if, how, or when etc etc. What the b****y hell is going on? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Oop! Software & Computers > > Sent: 23 March 2003 10:57 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] email ontvangst bevestiging > > > > > > email ontvangst bevestiging > > > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > > verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl > > > > Met vriendelijke groet > > Oop! software & Computers > > www.oop.nl > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 23 05:50:17 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 23 Mar 2003 11:50:17 +0000 (GMT) Subject: [AccessD] email ontvangst bevestiging In-Reply-To: <009a01c2f12f$bd1322a0$b274d0d5@andypc> References: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Message-ID: <1048420217.3e7d9f793a6eb@hosea.qub.ac.uk> Andy asda ahs8yh kjak kjl kljl lkjl ;lklk e,mvasva Martin Could not resist LOL Quoting Andy Lacey : > Well now we're getting stuff like this. I have NO idea what I'm > supposed > to do, or if, how, or when etc etc. What the b****y hell is going on? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Oop! Software & Computers > > Sent: 23 March 2003 10:57 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] email ontvangst bevestiging > > > > > > email ontvangst bevestiging > > > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > > verwerkt worden. Voor support vragen kunt u mailen naar > support at oop.nl > > > > Met vriendelijke groet > > Oop! software & Computers > > www.oop.nl > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 05:55:14 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 12:55:14 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231255.AA00336@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From sgoodhall at comcast.net Sun Mar 23 20:45:52 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 23 Mar 2003 21:45:52 -0500 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <8331283913.20030322184001@cactus.dk> Message-ID: This construct works even if there is no data in A1. Sub TestUsedRange() Dim oUsed As Range, lLastRow As Long, lLastCol As Long Set oUsed = ThisWorkbook.Sheets(1).UsedRange lLastRow = oUsed.Cells.SpecialCells(xlCellTypeLastCell).Row lLastCol = oUsed.Cells.SpecialCells(xlCellTypeLastCell).Column Debug.Print lLastRow, lLastCol End Sub Steve Goodhall -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 22, 2003 12:40 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John > What would be nice is to know the ending row of the data. Does anyone know > off the top of their head how to determine the max size (the largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Sun Mar 23 20:50:25 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 03:50:25 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303240350.AA02240@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bbruen at bigpond.com Sun Mar 23 20:57:36 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon, 24 Mar 2003 13:57:36 +1100 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <8331283913.20030322184001@cactus.dk> Message-ID: <000001c2f1b1$20c0b200$4f308690@bbb888> Gustav, Grabbed these off on old excel workbook of mine, cant remember whether they worked or whether they are what you're looking for but thought I'd send anyway. Bruce ------- This workbook contains an example of how to do range lookups when the range is not limited e.g. in a database list. It uses two functions LastRow() and ListRange() Lastrow(sheetname) returns the last row used on a sheet. Obviously the list must be contiguous and starting at row one. Listrange(sheetname, col) returns a range that can be acted on by other functions such as countif etc Since ListRange returns a string representing the range then the INDIRECT(Listrange) function is used to address the actual range) Public Function LastRow(sheetname As String) As String LastRow = Sheets(sheetname).UsedRange.Rows.Count End Function Public Function ListRange(sheetname As String, col As String) Dim endaddr As String endaddr = LastRow(sheetname) endaddr = col & "1:" & col & endaddr ListRange = Sheets(sheetname).Range(endaddr).Address(External:=True) End Function --------- -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, March 23, 2003 4:40 AM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John > What would be nice is to know the ending row of the data. Does anyone > know off the top of their head how to determine the max size (the > largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From info at oop.nl Sun Mar 23 21:06:00 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 04:06:00 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303240406.AA01816@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Lembit.Soobik at t-online.de Mon Mar 24 02:16:32 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Mar 2003 09:16:32 +0100 Subject: [AccessD] OT: Excel 97 Macro References: <000001c2f1b1$20c0b200$4f308690@bbb888> Message-ID: <01cb01c2f1de$c0e56cd0$0300a8c0@S856> Dear listers, unfortunately during the software upgrade one part of software broke. It will be fixed soon, but while it is in a we will not mess with anything, that means the confirmation messages from Oop! software & Computers will keep comming. thanks for your patience Lembit Soobik ----- Original Message ----- From: "Bruce Bruen" To: Sent: Monday, March 24, 2003 3:57 AM Subject: RE: [AccessD] OT: Excel 97 Macro > Gustav, > > Grabbed these off on old excel workbook of mine, cant remember whether > they worked or whether they are what you're looking for but thought I'd > send anyway. > > Bruce > ------- > This workbook contains an example of how to do range lookups > when the range is not limited e.g. in a database list. > > > It uses two functions LastRow() and ListRange() > > Lastrow(sheetname) returns the last row used on a sheet. > Obviously the list must be contiguous and starting at row one. > > Listrange(sheetname, col) returns a range that can be acted on by other > functions > such as countif etc > Since ListRange returns a string representing the range then > the INDIRECT(Listrange) function is used to address the actual > range) > > > Public Function LastRow(sheetname As String) As String > LastRow = Sheets(sheetname).UsedRange.Rows.Count > End Function > > Public Function ListRange(sheetname As String, col As String) > Dim endaddr As String > endaddr = LastRow(sheetname) > endaddr = col & "1:" & col & endaddr > ListRange = Sheets(sheetname).Range(endaddr).Address(External:=True) > End Function > --------- > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, March 23, 2003 4:40 AM > To: John W. Colby > Subject: Re: [AccessD] OT: Excel 97 Macro > > > Hi John > > > What would be nice is to know the ending row of the data. Does anyone > > > know off the top of their head how to determine the max size (the > > largest row > > index) of a populated row? Remember I am working with what appears to > be a > > table - fixed column count / fixed row count. What is the numbers of > > records in that table (as determined in Excel). I can always if > necessary > > just link the table in and get a record count but it would be nice to > figure > > it out in Excel. > > If you have nothing but data in that sheet and these are filled from > cell A1, then you could use something like this: > > Dim rng As Range > > Set rng = ActiveWorkbook.Worksheets("Data").UsedRange > Debug.Print rng.Rows.Count, rng.Columns.Count > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at achmea.nl Mon Mar 24 06:46:41 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon, 24 Mar 2003 13:46:41 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Message-ID: Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From Lembit.Soobik at t-online.de Mon Mar 24 06:52:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Mar 2003 13:52:53 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging References: Message-ID: <026b01c2f204$524d16d0$0300a8c0@S856> well then, Congratulations :) Lembit Soobik ----- Original Message ----- From: To: ; Sent: Monday, March 24, 2003 1:46 PM Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging > Dear group, > > I am sorry that this has happened. I have not checked my email since last > week because I became first time father of a great daughter. So I had > something else on my mind than email :-))))),,, > > I will solve this tonight. > > Thanks...Marcel > > > > > "Oop! Software & Computers" @databaseadvisors.com op > 23-03-2003 12:55:14 > > Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-bounces at databaseadvisors.com > > > Aan: accessd at databaseadvisors.com > cc: > > Onderwerp: [AccessD] email ontvangst bevestiging > > > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. > Voor support vragen kunt u mailen naar support at oop.nl > > Met vriendelijke groet > Oop! software & Computers > www.oop.nl > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Mon Mar 24 06:53:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 13:53:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241353.AA00512@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From StaRKeY at Wanadoo.nl Mon Mar 24 07:02:19 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon, 24 Mar 2003 14:02:19 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging In-Reply-To: Message-ID: Gefeliciteerd! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of marcel.vreuls at achmea.nl Sent: maandag 24 maart 2003 13:47 To: info at oop.nl; accessd at databaseadvisors.com Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 21-3-2003 Tested on: 24-3-2003 14:02:17 (c) 2000-2003 ALWIL Software. http://www.avast.com From info at oop.nl Mon Mar 24 07:14:40 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:14:40 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241414.AA01768@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 07:26:30 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 08:26:30 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F13@ADGSERVER> Hi all, Trying to do a sub report on a report. The main report and sub report both pull from the same table. The main report is linked to the sub report via the project. My problem is that: The main report with out the sub report runs fine. The sub report by itself runs fine. But when I put the 2 together, the "formatting page" progress bar goes to 100% and just sits there. I have let it sit for several minutes (report and sub report by themselves come up pretty fast). Any ideas as to what I may be doing wrong? Does the project on the sub report have to be on the report? Or just in the query of the sub report? Thanks in advance, Bobby From info at oop.nl Mon Mar 24 07:29:34 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:29:34 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241429.AA02408@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From jarus at amerinet-gpo.com Mon Mar 24 07:42:16 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 24 Mar 2003 07:42:16 -0600 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Here's the code I finally figured out to allow the user to define a range: Dim UserRange As Range Prompt = "Select the rows to be sorted." Title = "Sort Rows" On Error Resume Next Set UserRange = Application.InputBox( _ Prompt:=Prompt, _ Title:=Title, _ Default:=ActiveCell.Address, _ Type:=8) Range(UserRange, ActiveCell.Offset(0, 17)).Select Selection.Sort Key1:=Range("F9"), Order1:=xlAscending, Key2:=Range("E9") _ , Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _ False, Orientation:=xlTopToBottom Application.Goto Reference:="bottom" End Sub I adapted some code I found at The Spreadsheet Page website by John Walkenbach - j-walk.com/ss/ - to give appropriate credit. Thanks for everyone's suggestions. -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 07:44:49 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:44:49 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241444.AA02388@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From jarus at amerinet-gpo.com Mon Mar 24 08:08:30 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 24 Mar 2003 08:08:30 -0600 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Here's just some additional information - if the first record Access "sees" has the first cell of the column as TEXT, then it treats all the rest as text whether they are numeric or not. It all depends on that first record. I have run across this as I import a lot of files into Access and find that the field used for an Item ID could be text or numeric or mixed throughout the file. I just move a record that has Text for the ItemID to the first record and it all imports just fine. Point being - that maybe all you have to do is change the first record - not all the records - if that helps. >>> jcolby at colbyconsulting.com 03/21/03 11:23AM >>> I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 08:09:14 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:09:14 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241509.AA00512@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 08:17:45 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 08:17:45 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACC@NT04> Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 7:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Report/Sub report question. Hi all, Trying to do a sub report on a report. The main report and sub report both pull from the same table. The main report is linked to the sub report via the project. My problem is that: The main report with out the sub report runs fine. The sub report by itself runs fine. But when I put the 2 together, the "formatting page" progress bar goes to 100% and just sits there. I have let it sit for several minutes (report and sub report by themselves come up pretty fast). Any ideas as to what I may be doing wrong? Does the project on the sub report have to be on the report? Or just in the query of the sub report? Thanks in advance, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Mon Mar 24 08:23:03 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:23:03 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241523.AA02308@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 08:30:48 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 09:30:48 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F16@ADGSERVER> Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 9:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim From jcolby at ColbyConsulting.com Mon Mar 24 08:31:08 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 09:31:08 -0500 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: Message-ID: Hmm, that's a good point. I built code that does the whole column and it takes only a small part of a second to do 1200 cells, so it isn't a big deal, but only doing the first would be more efficient. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Monday, March 24, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: Re: [AccessD] OT: Excel 97 Macro Here's just some additional information - if the first record Access "sees" has the first cell of the column as TEXT, then it treats all the rest as text whether they are numeric or not. It all depends on that first record. I have run across this as I import a lot of files into Access and find that the field used for an Item ID could be text or numeric or mixed throughout the file. I just move a record that has Text for the ItemID to the first record and it all imports just fine. Point being - that maybe all you have to do is change the first record - not all the records - if that helps. >>> jcolby at colbyconsulting.com 03/21/03 11:23AM >>> I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 08:34:11 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:34:11 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241534.AA02412@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 08:37:54 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:37:54 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241537.AA02412@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 09:34:41 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 09:34:41 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 9:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Mon Mar 24 09:45:28 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 16:45:28 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241645.AA01980@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From szayko at secor.com Mon Mar 24 09:57:14 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Mon, 24 Mar 2003 10:57:14 -0500 Subject: [AccessD] Report - Group Footer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <008a01c2f21e$0a0ed4c0$283da8c0@secor024> Group: Is there an easy way to make a report's group footer only visible if that footer is at the bottom of a page? I don't want to use a "page footer" because those are at the bottom of the page. For formatting reasons I want the "group footer" because it appears immediately below the detail section. I know that you can set a report's page footer to not show with a report footer. I kind of want the same thing here. Thanks. Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4132 bytes Desc: not available URL: From info at oop.nl Mon Mar 24 10:03:54 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:03:54 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241703.AA00328@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 10:06:06 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 11:06:06 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F18@ADGSERVER> Thanks again Jim for taking the time to look at this. No, the prime's cannot be a sub also. These are actually contracts. The data is actually processed into a work table because of the weird requirements of the report. The main report and sub report are actually working correctly by themselves. I guess my main problem is that I have to CTRL-Break to get the report to stop doing whatever it is doing. When I do this, I am put back into design mode. Therefore I cannot tell what exactly is causing the problem. There is another field in the table that tells the proper order for display. Thanks again, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 10:35 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby From accessd at shaw.ca Mon Mar 24 10:11:40 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Mar 2003 08:11:40 -0800 Subject: OT: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging In-Reply-To: Message-ID: OT Hi Dad: Congratulations...as a proud owner (actually it is the other way around) of two daughters, it is a great move. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of marcel.vreuls at achmea.nl Sent: Monday, March 24, 2003 4:47 AM To: info at oop.nl; accessd at databaseadvisors.com Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 24 10:10:53 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 08:10:53 -0800 Subject: [AccessD] Access 2003 - How to Disable Macro Enable Check on opening MDB References: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> Message-ID: <3E7F2E0D.7000306@shaw.ca> When you open an MDB in Access 2003,epecially with a 97 conversion, I get an enable disable macros check. The MDB has no macros, yet it still occurs. This seems to like the old Word macro check to stop viruses. If you click disable you get a "cannot open" due to security settings and digital certicates not being verified for that mdb. If you click enable you get in. The "More Info" button gives no info. This is a pain, if you have to use an autoexec macro. The Access help file gives a long rigamarole description of reinstalling and resetting registry keys to disable this macro check for Office . I am not keen on doing this as MS says you only have 5 installs for the Beta 2 and 10 installs if you use a Corporate Activation key. Anyone encountered a workaround for this. From harkins at iglou.com Mon Mar 24 10:14:45 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 24 Mar 2003 11:14:45 -0500 Subject: [AccessD] Report - Group Footer References: <008a01c2f21e$0a0ed4c0$283da8c0@secor024> Message-ID: <001401c2f220$7dff16e0$b9e6ffcc@SusanOne> So, if the group footer doesn't fall naturally at the bottom of a page, you don't want to see it? Does that mean you're printing more than one group per page? This is a design I don't really understand -- why would you want to suppress some group footer's on location rather than on content? I'm not saying you shouldn't, just that maybe there's an easier way to get what you want and if we knew the conditions... > I don't want to use a "page footer" because those are at the bottom of the > page. > For formatting reasons I want the "group footer" because it appears > immediately below the detail section. =======See, this is in conflict with what you want, and that's why I'm not sure I'm understanding your question. You want it to fall immediately after the Detail section, but then you want to print it at the bottom of the page -- with one group per page -- is that what you're really after? Susan H. From info at oop.nl Mon Mar 24 10:16:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:16:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241716.AA01968@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:17:45 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:17:45 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241717.AA01076@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:22:36 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:22:36 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241722.AA00860@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Tim.Pain at e20.akzonobel.com Mon Mar 24 10:22:20 2003 From: Tim.Pain at e20.akzonobel.com (Pain, T. (Tim)) Date: Mon, 24 Mar 2003 16:22:20 -0000 Subject: [AccessD] Query synatx Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6367D36@lbrn12.d20.intra> Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 10:26:56 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:26:56 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241726.AA02360@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:31:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:31:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241731.AA02476@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 10:34:17 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 10:34:17 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACE@NT04> In that case, make sure the main report and the sub report have the Contract number as the link field between the two. The query criteria for the sub report needs to have the contract number, the tier code and the order field plus what ever else you want to display. The tier code for the sub report needs to specify "<>0" criteria. If it still doesn't work, send me a sample of the database and I'll take a look at it. Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Thanks again Jim for taking the time to look at this. No, the prime's cannot be a sub also. These are actually contracts. The data is actually processed into a work table because of the weird requirements of the report. The main report and sub report are actually working correctly by themselves. I guess my main problem is that I have to CTRL-Break to get the report to stop doing whatever it is doing. When I do this, I am put back into design mode. Therefore I cannot tell what exactly is causing the problem. There is another field in the table that tells the proper order for display. Thanks again, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 10:35 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Mon Mar 24 10:34:07 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Mon, 24 Mar 2003 11:34:07 -0500 Subject: [AccessD] Query synatx Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D44@bwam02msx.ae.ge.com> How about an if statement like the following Select OrderID, Price, IIF(InvoiceType = True, Quantity, Quantity * -1) as QTY FROM OrderHeader, OrderDetails WHERE OrderHeader.OrderID = OrderDetails.OrderID You get the jist? Scott -----Original Message----- From: Pain, T. (Tim) [mailto:Tim.Pain at e20.akzonobel.com] Sent: Monday, March 24, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Query synatx Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 10:45:07 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:45:07 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241745.AA02108@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:46:11 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:46:11 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241746.AA00860@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From accessd at brougham.co.uk Mon Mar 24 11:46:20 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Mon, 24 Mar 2003 17:46:20 -0000 Subject: LISTMASTER Re: [AccessD] email ontvangst bevestiging References: <10303241745.AA02108@oop.nl> Message-ID: <009801c2f22d$4789f9b0$253c98d5@brougham.info> Sorry for these messages throughout the day.This email address is now moderated and set to nomail. Brougham Oop! Software & Computers wrote: > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt > worden. Voor support vragen kunt u mailen naar support at oop.nl > From harkins at iglou.com Mon Mar 24 12:41:44 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 24 Mar 2003 13:41:44 -0500 Subject: [AccessD] data entry Message-ID: <01d201c2f235$171f7040$b9e6ffcc@SusanOne> Anybody here in charge of supervising data entry personnel? If so, would you contact me privately? Thanks! Susan H. From cfoust at infostatsystems.com Mon Mar 24 14:41:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 12:41:47 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: We are using an Access MDE, not an add-in, and setting a reference to it in the app that gets packaged. The MDE isn't "installed", it is simply placed in a folder by the application installer. Late binding solved the problem of breakage when the CDO.DLL wasn't installed, although since we couldn't use the CDO constants, I had to create a set of user defined constants for handling the possible errors we wanted to trap. The problem we found is that Access doesn't handle a reference, at least to an MDE, quite the way the articles suggest. The reference gets resolved and it isn't shown as MISSING when we put it into the application folder, but it also isn't any good. The only cure we've found in both 97 and 2002 is to have the installer insert the MDE being referenced into a folder we know is always going to be there in the same location, because we create it during the install. Out development machines have that same folder, and our databases have to have the reference set to that file in that folder before we build the installer. Then the app works when it's installed on a target machine. Otherwise we get unexpected "Function 'Format' not found..." , etc., messages and things break. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 21, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library >database and the application database just realized that it couldn't >use email. In AXP, the breakage affects the application database, not >just the library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but >the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 24 14:47:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 14:47:03 -0600 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8244D@main2.marlow.com> Honestly don't know about quirks on Access forms. I have only ever used a treeview or image control in VB. As far as 'size' goes...well they say size doesn't really matter! Just kidding. As far as I know, the treeview is going to 'mark' the icons to be the same size as your largest icon....I THINK. Thus, don't let any of your icons go over the size you are trying to get. Personally, I use axialis icons. (I think it's www.axialis.com. If you want a copy, I can send it to you offline, I don't think the version I have is available on their site anymore. It's shareware.) Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Thanks for that and I'll gladly give it a try. I seem to recall something about a bug in planting the image control on an Access form at design time; and that the alleged solution is to add it in code instead. But I could just be having a senior moment. On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? One step removed from cosmetic is the use of the image to indicate something even before the user clicks on the node, for example, in a list of customers->orders->>order items, customers whose expenditures in the past year > $5K get a special image in the list ($$$ :-), while the common rabble get nothing but a file folder. But you've given me the nudge I needed to do some woodshedding :-) Thank God for unemployment (at least until the end of the month). Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 21, 2003 11:46 AM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Tech books ... I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 24 14:49:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 14:49:30 -0600 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8244F@main2.marlow.com> I concur. 9x definitely degardes over time (unless you do absolutely nothing on them). However, NT based machines seem to fair WAY better over it's life time. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 21, 2003 12:27 PM To: Jim Lawrence (AccessD) Subject: Re: [AccessD] OT-Thought this was funny.... Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 24 14:46:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 12:46:04 -0800 Subject: [AccessD] OT: Excel 97 Macro Message-ID: >>Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? I missed this on Friday, Gustav. Are you trying to start a war? I don't BRAG about that experience, I ADMIT to it. There's a big difference. And John is far too old to be the son of someone as young as I am. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 21, 2003 12:00 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav > I have a similar requirement, but I want to do something specific to > selected ranges, from inside of Access using automation, to any excel > spreadsheet I choose. Some background. > As I posted earlier this week, I am seeing problems where the data in > the first cells of a given column are numeric, but lower down the > cells switch to text. The data is still numeric, i.e. the data is > still simply a number > - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked > to Access and displayed, Access decides that the column is numeric because > of the first few cells at the top of the column, then can't figure out what > to do with the cells that are actually text down below. This is all > discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 > as Hayden pointed out. > The "Fix" is to go into the spreadsheet, select the column of data, > and prepend a space to the beginning of each cell, which apparently > causes any numeric data to turn into text. Now, in the linked data > inside of Access, because the entire column is a single type of data > (text) it can be displayed all the way down. I can then use a cLng > (or whatever is > necessary) to convert the data back to the data type needed. > PITA, but this is MS after all ;-) > So, the code shown for doing this is: > Sub Addspace() > Dim cell As Object > For Each cell In Selection > cell.Value = " " & cell.Value > cell.Value = Right(cell.Value, Len(cell.Value) - 1) > Next > End Sub > run as a macro inside of Excel. Of course if this is to be generic, > any given spreadsheet will not have this macro inside of it so I will > have to insert the macro. Further I have to add code to select a > given range, then run this code. > Several years ago, when I lived in Mexico, I did a bunch of formatting > of Excel. What I did in that case was to build a workbook in which I > created my macros. I then copied the workbook to a new name, imported > the > worksheet(s) that needed formatting, and then ran the formatting macros. I > could do the same thing here but I would prefer to have code stored inside > of Access, open the spreadsheet that needs this process performed on it, > insert a module with the code, select the area, and run the macro. > If this sounds like a major PITA to fix a bug in Excel / Access > interaction, I couldn't agree more. But we do what we have to do. > BTW, I have also seen dates with similar problems A data column looks > prefect inside of Excel, but when linked and viewed inside of Access, > some dates are hosed. The problem is exactly the same, they are text. > Before I go off re-inventing the wheel, does anyone have code for > doing anything similar? Pieces for doing parts of what I am trying to > do? Interest in working with me to jointly solve this problem? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 24 14:52:17 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 15:52:17 -0500 Subject: [AccessD] Access XP and references in libraries In-Reply-To: Message-ID: I always just put the mde/a in the Windows directory. For MDAs the file is found and the reference fixed. I don't remember whether the reference to an MDE would be fixed. I have never heard of the reference "not being any good". What does that mean? The file is in the right place, the reference points to it, but the code still fails? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 24, 2003 3:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and references in libraries We are using an Access MDE, not an add-in, and setting a reference to it in the app that gets packaged. The MDE isn't "installed", it is simply placed in a folder by the application installer. Late binding solved the problem of breakage when the CDO.DLL wasn't installed, although since we couldn't use the CDO constants, I had to create a set of user defined constants for handling the possible errors we wanted to trap. The problem we found is that Access doesn't handle a reference, at least to an MDE, quite the way the articles suggest. The reference gets resolved and it isn't shown as MISSING when we put it into the application folder, but it also isn't any good. The only cure we've found in both 97 and 2002 is to have the installer insert the MDE being referenced into a folder we know is always going to be there in the same location, because we create it during the install. Out development machines have that same folder, and our databases have to have the reference set to that file in that folder before we build the installer. Then the app works when it's installed on a target machine. Otherwise we get unexpected "Function 'Format' not found..." , etc., messages and things break. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 21, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library >database and the application database just realized that it couldn't >use email. In AXP, the breakage affects the application database, not >just the library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but >the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5156 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 24 15:15:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 13:15:54 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: It means that if the library file is in the application folder, which is determined by the user at installation, and the reference adjusts itself and points to it, the code still fails. If you open the VBE and uncheck and browse to the reference in the same location, resetting it to the same file, the code is fine. It doesn't seem to like library databases to move around. On the other hand, if it finds the file in exactly the same location as the original reference, then it doesn't have a problem. Charlotte Foust > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Monday, March 24, 2003 12:52 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access XP and references in libraries > > I always just put the mde/a in the Windows directory. For MDAs the > file is found and the reference fixed. I don't remember whether the > reference to an MDE would be fixed. I have never heard of the > reference "not being any good". What does that mean? The file is in > the right place, the reference points to it, but the code still fails? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, March 24, 2003 3:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access XP and references in libraries > > > We are using an Access MDE, not an add-in, and setting a reference to > it > in the app that gets packaged. The MDE isn't "installed", it is > simply > placed in a folder by the application installer. Late binding solved > the problem of breakage when the CDO.DLL wasn't installed, although > since we couldn't use the CDO constants, I had to create a set of user > defined constants for handling the possible errors we wanted to trap. > > > The problem we found is that Access doesn't handle a reference, at > least > to an MDE, quite the way the articles suggest. The reference gets > resolved and it isn't shown as MISSING when we put it into the > application folder, but it also isn't any good. The only cure we've > found in both 97 and 2002 is to have the installer insert the MDE > being > referenced into a folder we know is always going to be there in the > same > location, because we create it during the install. Out development > machines have that same folder, and our databases have to have the > reference set to that file in that folder before we build the > installer. > Then the app works when it's installed on a target machine. Otherwise > we get unexpected "Function 'Format' not found..." , etc., messages > and > things break. > > Charlotte Foust > > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Friday, March 21, 2003 1:10 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and references in libraries > > > I am guessing (don't know how you are installing mda) but there is a > difference in how Access 97 and 2000 (+ )resolves references. > > ACC97: How Access 97 Resolves Visual Basic for Applications > References > (Q280465) > ACC2000: How Access 2000 Resolves Visual Basic for Applications > References (Q248941) > ACC2002: How Access 2002 Resolves Visual Basic for Applications > References (Q286300) > The latter two have an extra step for resolution and also look in > different directories. > > Also MS has added in Office 2000 a method of adding an Office COM > Addin > > that will link to all office products at same time; maybe this is > causing the reference checking problem. Sort of an > MDA for Word, Excel and Access. At some point Access has to resolve > for > > these as well. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 > --------------------------------------- > > Have a look at Tony Toew's site for his notes on using Addin's > especially if using MDE's http://www.granite.ab.ca/access/addins.htm > > ---------------------------------------- > > > Here is Dev Ashish's method for late binding a mapi session > where mobjSession set to object > > Public Sub MAPILogon() > On Error GoTo err_sMAPILogon > Const cERROR_USERCANCEL = -2147221229 > > mstStatus = SysCmd(acSysCmdSetStatus, "Login....") > Set mobjSession = CreateObject("MAPI.Session") > mobjSession.Logon > > exit_sMAPILogon: > Exit Sub > > err_sMAPILogon: > mboolErr = True > If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then > MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" > ElseIf Err = cERROR_USERCANCEL Then > MsgBox "Aborting since you pressed cancel.", _ > vbOKOnly + vbInformation, "Operatoin Cancelled!" > Else > MsgBox "Error number " & Err - mcERR_DECIMAL & " description. > " > _ > & Error$(Err) > End If > Resume exit_sMAPILogon > End Sub > > Charlotte Foust wrote: > > >Thanks, but I found all thatwhen we were first researching putting > this > > >in to a library in the first place. Right now I'm trying late > binding > >in the library database to see if we can at least get it to bomb > >gracefully instead of breaking the application that references it. > The > > >problem is that in A97, the breakage was limited to the library > >database and the application database just realized that it couldn't > >use email. In AXP, the breakage affects the application database, not > > >just the library. > > > >Charlotte Foust > > > >-----Original Message----- > >From: MartyConnelly [mailto:martyconnelly at shaw.ca] > >Sent: Thursday, March 20, 2003 5:24 PM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Access XP and references in libraries > > > > > >CDO is a wrapper around MAPI, the license is not redistributable but > >the > > > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you > have > >installed from a selection of Exchange, Outlook and WinXP or win2000. > > > >By default, Outlook 2000 and Outlook 2002 installations do not > include > >the CDO 1.2x component. When you view the options for Office or > Outlook > > >setup, CDO is listed under the options for Outlook. > > > > For a full table of versions and what installs see INFO: Where to > >Acquire the CDO Libraries (all versions) > >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > > > >For more info see: > >http://www.cdolive.com/start.htm > > > > > >Charlotte Foust wrote: > > > > > > > >>In 97, we had used a library database that had a reference set to > the > >>CDO.DLL library so we could handle email features using Redemption. > >>If that DLL was missing on the target machine, the library had a > >>broken reference but it didn't affect the main project except that > the > >> > >> > > > > > > > >>email capabilities were disabled. In XP, when you load the app, you > >>get a message that the CDO.DLL is missing. I assume the difference > in > >> > >> > > > > > > > >>behavior is because of the change in the VBE IDE in 2000 and later, > >>but does anyone know what the further implications might be? We > >>haven't deployed this app yet, so I'm looking for input. > >> > >>Charlotte Foust > >> > >> > >> > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00260.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Mon Mar 24 16:07:29 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Mar 2003 23:07:29 +0100 Subject: [AccessD] checkboxes Message-ID: <006601c2f252$2bb44630$f8c581d5@pedro> Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Mon Mar 24 16:07:56 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Mar 2003 23:07:56 +0100 Subject: [AccessD] IF ...... ELSEIF Message-ID: <006701c2f252$2cfb4520$f8c581d5@pedro> Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:14:31 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:14:31 -0500 Subject: [AccessD] checkboxes References: <006601c2f252$2bb44630$f8c581d5@pedro> Message-ID: <002701c2f252$bea77200$6101a8c0@amd2k512> Pedro ...use an option group instead ...that's exactly what they were designed for ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Pedro Janssen To: AccessD at databaseadvisors.com Sent: Monday, March 24, 2003 5:07 PM Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:17:12 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:17:12 -0500 Subject: [AccessD] IF ...... ELSEIF References: <006701c2f252$2cfb4520$f8c581d5@pedro> Message-ID: <003901c2f253$1e94a2a0$6101a8c0@amd2k512> Pedro ...look up the SelectCase methods in your Help file ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Pedro Janssen To: AccessD at databaseadvisors.com Sent: Monday, March 24, 2003 5:07 PM Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 24 16:21:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:21:24 -0600 Subject: [AccessD] cpu usagage 100% Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82451@main2.marlow.com> It's not a bug, it's how JET optimizes. It may show at 100%, but it will relinquish the CPU to anything asking for it. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, March 21, 2003 2:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 24 16:21:51 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 14:21:51 -0800 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7F84FF.70503@shaw.ca> You might try this code in your MDE at the immediate start to display and compare proper reference paths . I got tired of trying to decipher the full path name to a DLL in Tools: Reference Window. In Access 97 it cuts off the path filename at about 30 chars. To get the a list of the all the filenames and paths for your external references, run the routine below it places all the references into a string suitable for dropping into a text box. As an afterthought I added some code to give the actual version number from the dll or ocx file etc. This might be useful in an MDE to track if the user has correct version number of DAO ADO etc. installed. Place in About popup window. It only seems to work some of the time if a reference is missing, seems to depend on installation order. So it might not help in missing references. Try printing the returned string on immediate opening in a text box or debug.print MsgBox wont work because it is a member of VBA library and if a reference error occurs you will have a Disambiguation error. Not sure if you will get away with calling as VBA.MsgBox Function ReferencePropertiesList() As String 'list all references in a MDB and place in a string Dim ref As Reference Dim strList As String strList = "Reference Properties:" & vbCrLf & vbCrLf For Each ref In References ' Check for ActiveX type files 'Check for Broken Properties If ref.IsBroken = False Then strList = strList & " Name: " & ref.Name & vbCrLf strList = strList & " FullPath: " & ref.FullPath & vbCrLf strList = strList & " Version: " & ref.Major & "." & ref.Minor & _ vbCrLf 'skip these two calls if detail not needed ' strList = strList & " Description: " & _ GetFileDescription(ref.FullPath) & vbCrLf ' strList = strList & " Version No: " & _ FileVersionNo(ref.FullPath) & _ vbCrLf & vbCrLf Else strList = strList & " GUIDs of broken references:" & vbCrLf strList = strList & " " & ref.Guid & vbCrLf & vbCrLf End If 'MsgBox GetFileDescription(ref.FullPath) 'MsgBox FileVersionNo(ref.FullPath) Next ref Debug.Print strList ReferencePropertiesList = strList End Function From DWUTKA at marlow.com Mon Mar 24 16:24:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:24:55 -0600 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82452@main2.marlow.com> If the person is an Access developer...and they want to interact with Excel, I can get them going with 2 statements. 1. Data can be read/written to/from excel by using ADO (with the Jet OLEDB driver). 2. To use automation, open Excel, record a macro to get yourself close to what you are trying to do, then copy the code the macro creates into a module. You'll need to create an Excel.Application object, and preface the lines of codes with that object. All done. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, March 21, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... Hmm.....I've spent the last year developing an Access/Excel Planning/financial reporting system currently being used by a 150 store, 400 million sales company. This includes creating Excel planning templates (with store history)from within Access. After the templates are completed the finished plan data is uploaded back into Access. The system also includes downloading historical/plan/forecast data from linked AS400 tables into Excel spreadsheets for board reports, downloading into pivot tables, consolidations, etc. It seems to me the Access books don't discuss in depth techniques for interacting with Excel. The Excel books are no better. They all have the obligatory "Access/Excel can be used with other office products" chapter and a little obligatory code. My idea is to write a book discussing techniques for using Excel with Access. I would use my system as the example and include the whole thing on the book's disk. The problem, as Tom points out, is that you can't very well teach all of Access and Excel and cover the system's code techniques in a single book. Do any of you think there would be any interest in a book like this or is it overkill? Would anyone be interested in a Access based planning and financial reporting system? Susan, any thoughts? Jim Hale -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 24 16:21:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 14:21:31 -0800 Subject: [AccessD] checkboxes Message-ID: As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 24 16:28:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:28:13 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> Just a thought. Why not have the users create a folder within their inbox. Have them drag emails they want 'recoreded' into that folder. Then create a service/routine that just runs through that folder, importing the data into access? Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Saturday, March 22, 2003 4:10 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Hi I already have a archive system for archiving outgooing emails and word doucments from an access database. But I need some archiving for Incoming correspondence to. I believe the only way to achief this is to have a sort of drag and drop function. The user should be able to drag a document from the explorer or from inside an email but also an e-mail itself to a form in access where a specific customer is already selected. This when dropping the object o this customer, access will save the object (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer related record with the filename into the archive table. What I'm basicly asking for is some easy or advanced code to see how the drag and drop works between Outlook/Explorer and Access and how I need to save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). The document archiving system I already have, but I never used a drag and drop functionality... Thx Erwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:37:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:37:01 -0500 Subject: [AccessD] checkboxes References: Message-ID: <006c01c2f255$e2f42bf0$6101a8c0@amd2k512> Message...hhhmmm ...ok ...but why? ...Checkboxes can be used in an Option Group and all the functionality is built in without a line of code :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 24, 2003 5:21 PM Subject: RE: [AccessD] checkboxes As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Mon Mar 24 16:44:27 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 24 Mar 2003 16:44:27 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> Message-ID: <1048545867.1564.3.camel@sgsax-th4022c> Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From wdhindman at bellsouth.net Mon Mar 24 16:49:55 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:49:55 -0500 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> <1048545867.1564.3.camel@sgsax-th4022c> Message-ID: <000601c2f257$b06ee790$6101a8c0@amd2k512> "No matter how "dumbed down" you try to make the process, there will always be a dumber user." Seth ...Programming 101 :((((( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Seth Galitzer" To: "accessd" Sent: Monday, March 24, 2003 5:44 PM Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. > Drew, > > You don't know users very well. :) They don't want to have to think > about it, they just want to do it. No matter how "dumbed down" you try > to make the process, there will always be a dumber user. Saying, "copy > the file to a folder," makes sense to you or me, but you can guarantee > Joe User will give you a glazed look as soon as you try to explain why. > Of course, Joe User may not understand "drag the file onto the > application" either. Really, you can't win, but you can die trying. :) > > Seth > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > Just a thought. Why not have the users create a folder within their inbox. > > Have them drag emails they want 'recoreded' into that folder. Then create a > > service/routine that just runs through that folder, importing the data into > > access? > > > > Drew > > > > -----Original Message----- > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > Sent: Saturday, March 22, 2003 4:10 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Drag and drop files and Emails on form for archive > > purpose. > > > > > > Hi > > > > I already have a archive system for archiving outgooing emails and word > > doucments from an access database. > > But I need some archiving for Incoming correspondence to. > > > > I believe the only way to achief this is to have a sort of drag and drop > > function. > > The user should be able to drag a document from the explorer or from inside > > an email but also an e-mail itself to a form in access where a specific > > customer is already selected. > > This when dropping the object o this customer, access will save the object > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > > related record with the filename into the archive table. > > > > What I'm basicly asking for is some easy or advanced code to see how the > > drag and drop works between Outlook/Explorer and Access and how I need to > > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > > > The document archiving system I already have, but I never used a drag and > > drop functionality... > > > > Thx > > > > Erwin. > > > > ---- > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > 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 Mar 24 16:52:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Mar 2003 08:52:41 +1000 Subject: [AccessD] Query synatx In-Reply-To: <0BB2DFBAEF484F4AA077B46F1B165FE6367D36@lbrn12.d20.intra> Message-ID: <3E8018D9.23222.2CF4A8@localhost> > I have a OrderHeader and OrderDetails tables. > The OrderHeader contains a InvoiceType field, set to True for Invoice > and False for CreditNotes. In other words Invoice Header = -1 for Invoice and 0 for CreditNotes > The OrderDetails contains a Quantity field. This is always a positive > value, even for CreditNotes. > The join between the tables is on OrderID. > > What I am trying to do is create a query that will return a single value > for all the quantities on order in the OrderDetails, for a given product > number. So where the InvoiceType = False, the Quantity will have to be > Quantity * -1. > - (Quantity * InvoiceType) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Mon Mar 24 17:11:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 17:11:10 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82454@main2.marlow.com> I completely agree that it is hard to guard against or program around dumb users. However, which is simpler? Asking a user to drag an email into an application (which would require that they have the application open, and also that they know how to drag from one window to another (a lot of times, they may have Outlook open maximized, which would prevent (on a single monitor machine) dragging an email anywhere.). Or telling them to just move 'specific' emails to a specific folder within their email? Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 24, 2003 4:44 PM To: accessd Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Mon Mar 24 17:21:19 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 24 Mar 2003 17:21:19 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <000601c2f257$b06ee790$6101a8c0@amd2k512> References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> <1048545867.1564.3.camel@sgsax-th4022c> <000601c2f257$b06ee790$6101a8c0@amd2k512> Message-ID: <1048548079.1564.18.camel@sgsax-th4022c> The more you can "hide" from the user the better. It's so much easier to explain it as "magic" then to try to explain what's really happening. That's the principle I design all my apps around. Give them a single button to click, not a three-step process. No matter how "easy" the three steps are, you can bet you'll have a user who can't handle it. When they call every other day asking, "How do I do that again," it's much easier to say "click on the big button," than "just follow the wizard." Seth On Mon, 2003-03-24 at 16:49, William Hindman wrote: > "No matter how "dumbed down" you try to make the process, there will always > be a dumber user." Seth > > ...Programming 101 :((((( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Monday, March 24, 2003 5:44 PM > Subject: RE: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > > Drew, > > > > You don't know users very well. :) They don't want to have to think > > about it, they just want to do it. No matter how "dumbed down" you try > > to make the process, there will always be a dumber user. Saying, "copy > > the file to a folder," makes sense to you or me, but you can guarantee > > Joe User will give you a glazed look as soon as you try to explain why. > > Of course, Joe User may not understand "drag the file onto the > > application" either. Really, you can't win, but you can die trying. :) > > > > Seth > > > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > > Just a thought. Why not have the users create a folder within their > inbox. > > > Have them drag emails they want 'recoreded' into that folder. Then > create a > > > service/routine that just runs through that folder, importing the data > into > > > access? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > > Sent: Saturday, March 22, 2003 4:10 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] Drag and drop files and Emails on form for archive > > > purpose. > > > > > > > > > Hi > > > > > > I already have a archive system for archiving outgooing emails and word > > > doucments from an access database. > > > But I need some archiving for Incoming correspondence to. > > > > > > I believe the only way to achief this is to have a sort of drag and drop > > > function. > > > The user should be able to drag a document from the explorer or from > inside > > > an email but also an e-mail itself to a form in access where a specific > > > customer is already selected. > > > This when dropping the object o this customer, access will save the > object > > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a > customer > > > related record with the filename into the archive table. > > > > > > What I'm basicly asking for is some easy or advanced code to see how the > > > drag and drop works between Outlook/Explorer and Access and how I need > to > > > save the object to disk in its original format (.DOC, .MSG, .XLS, > etc...). > > > > > > The document archiving system I already have, but I never used a drag > and > > > drop functionality... > > > > > > Thx > > > > > > Erwin. > > > > > > ---- > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Mon Mar 24 17:18:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 15:18:28 -0800 Subject: [AccessD] checkboxes Message-ID: Don't ask me, I just answer questions. I once had a request for option groups that met specific business rules and allowed multiple answers under specific circumstances. Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Monday, March 24, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkboxes ...hhhmmm ...ok ...but why? ...Checkboxes can be used in an Option Group and all the functionality is built in without a line of code :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 24, 2003 5:21 PM Subject: RE: [AccessD] checkboxes As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 24 17:24:56 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 18:24:56 -0500 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82454@main2.marlow.com> Message-ID: I wrote code for my users which looks for email (which had attachments we processed) in a specific folder. An outlook rule watched for the email and placed it into a subfolder. My Withevents class running in Access looked for email received events. Every email that came in caused the event to run, and my class then looked for email in the folder where this mail would be placed by the rule. If any email, open it, cycle through the attachments saving them to a backup directory, and also importing them into the database (two text files and an Excel file. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 24, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. I completely agree that it is hard to guard against or program around dumb users. However, which is simpler? Asking a user to drag an email into an application (which would require that they have the application open, and also that they know how to drag from one window to another (a lot of times, they may have Outlook open maximized, which would prevent (on a single monitor machine) dragging an email anywhere.). Or telling them to just move 'specific' emails to a specific folder within their email? Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 24, 2003 4:44 PM To: accessd Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3916 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 24 17:20:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 15:20:13 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: The MDE doesn't have the problem, it's the database that references it that has a problem. The MDE knows where it as at all times. The database doesn't seem to. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 24, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries You might try this code in your MDE at the immediate start to display and compare proper reference paths . I got tired of trying to decipher the full path name to a DLL in Tools: Reference Window. In Access 97 it cuts off the path filename at about 30 chars. To get the a list of the all the filenames and paths for your external references, run the routine below it places all the references into a string suitable for dropping into a text box. As an afterthought I added some code to give the actual version number from the dll or ocx file etc. This might be useful in an MDE to track if the user has correct version number of DAO ADO etc. installed. Place in About popup window. It only seems to work some of the time if a reference is missing, seems to depend on installation order. So it might not help in missing references. Try printing the returned string on immediate opening in a text box or debug.print MsgBox wont work because it is a member of VBA library and if a reference error occurs you will have a Disambiguation error. Not sure if you will get away with calling as VBA.MsgBox Function ReferencePropertiesList() As String 'list all references in a MDB and place in a string Dim ref As Reference Dim strList As String strList = "Reference Properties:" & vbCrLf & vbCrLf For Each ref In References ' Check for ActiveX type files 'Check for Broken Properties If ref.IsBroken = False Then strList = strList & " Name: " & ref.Name & vbCrLf strList = strList & " FullPath: " & ref.FullPath & vbCrLf strList = strList & " Version: " & ref.Major & "." & ref.Minor & _ vbCrLf 'skip these two calls if detail not needed ' strList = strList & " Description: " & _ GetFileDescription(ref.FullPath) & vbCrLf ' strList = strList & " Version No: " & _ FileVersionNo(ref.FullPath) & _ vbCrLf & vbCrLf Else strList = strList & " GUIDs of broken references:" & vbCrLf strList = strList & " " & ref.Guid & vbCrLf & vbCrLf End If 'MsgBox GetFileDescription(ref.FullPath) 'MsgBox FileVersionNo(ref.FullPath) Next ref Debug.Print strList ReferencePropertiesList = strList End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Mon Mar 24 19:45:22 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue, 25 Mar 2003 02:45:22 +0100 Subject: [AccessD] checkboxes In-Reply-To: <006601c2f252$2bb44630$f8c581d5@pedro> Message-ID: I recommend you use the OPTION GROUP this solve you the CODE problem to permit only 1 of this. If this will not possible we recommend a simple code that sum the checkbox value, the total value can be over -1. Another option can be on event after update multiply all values by 0 except the current. Regards Juan Men?ndez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: lunes, 24 de marzo de 2003 23:07 Para: AccessD at databaseadvisors.com Asunto: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Mon Mar 24 21:07:27 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 25 Mar 2003 14:07:27 +1100 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? Many thanks in advance Darren From wdhindman at bellsouth.net Mon Mar 24 21:26:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 22:26:24 -0500 Subject: [AccessD] A2K: Dim DAO.Recordset References: Message-ID: <008301c2f27e$509bbce0$6101a8c0@amd2k512> Darren ...dao reports don't support the recordset property ...instead, you have to set the recordsource property to the name property of the recorset's source table, query, or select statement ...HTH :) Set rs = db.OpenRecordset("SourceQueryName", dbOpenDynaset) Me.RecordSource = rs.Name William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Monday, March 24, 2003 10:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset > Hello all > Why does... > Dim rs As DAO.Recordset > Set rs = Me.Recordset > work fine in a form but not in a report in the same dB? > > eg on form > > Private Sub Form_Load() > Dim rs As DAO.Recordset > Set rs = Me.Recordset > Debugs fine > but in a report > > Private Sub Report_Open() > Dim rs As DAO.Recordset > Set rs = Me.Recordset > or > Set rs = Me.RecordSource > > When I debug, it fails on the = Me.Recordset bit > and an error msg says > Compile error. > Method or data member not found. > > or if I use RecordSource it fails on the = Me.RecordSource bit > and an error msg says > Compile error. > Type Mismatch > > Can't I set a recordset for a report?? > > Many thanks in advance > > Darren > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Mar 24 23:18:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 21:18:30 -0800 Subject: [AccessD] Access 2003 - How to Disable Macro Enable Check on opening MDB References: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> <3E7F2E0D.7000306@shaw.ca> Message-ID: <3E7FE6A6.2030309@shaw.ca> Ahh I found it there are two security menu items from main menu Tools--> Security Tools--> More down button--> Macro --> Security (The one I wanted) Access 2003 defaults to medium security, where Access XP I think defaults to low. I wonder if this means you have to use a security certificate for deployment. It was a trap, there was two of them! MartyConnelly wrote: > > When you open an MDB in Access 2003,epecially with a 97 conversion, I > get an enable disable macros check. The MDB has no macros, yet it > still occurs. > > This seems to like the old Word macro check to stop viruses. If you > click disable you get a "cannot open" due to security settings and > digital certicates not being verified for that mdb. If you click > enable you get in. The "More Info" button gives no info. This is a > pain, if you have to use an autoexec macro. > > The Access help file gives a long rigamarole description of > reinstalling and resetting registry keys > to disable this macro check for Office . I am not keen on doing this > as MS says you only have 5 installs for the Beta 2 and 10 installs if > you use a Corporate Activation key. > > Anyone encountered a workaround for this. > > From martyconnelly at shaw.ca Tue Mar 25 01:56:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 23:56:06 -0800 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E800B96.7070506@shaw.ca> An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 25 02:28:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 02:28:20 -0600 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82457@main2.marlow.com> This is because a form is an interface for a recordsource, where as a report is just a 'snapshot' of the data. Thus, you can view various data on a report, as it is formatting, but it is only reading the data. With a form, you can 'change' data from the form, thus the recordset behind it is 'open' and available. The RecordSource property is just the name of the table or query (or SQL statement) that the form or report is using for it's bound data source. Drew -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/24/03 9:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 25 03:48:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 03:48:05 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82458@main2.marlow.com> A recent post on Woody's Lounge prompted me to post some code, to a 'top secret' project I have been working on. This project has been dumped to the back burner (for several months), because I've had a lot of 'paying' work that needed priority. Anyways, this project has no 'real' purpose (though ironically it practically solves this posters issue....), however it is kind of fun to 'run'. The post has all the information you will need to run it, and it has the .exe (and all of it's source) as a zipped attachment. Just wanted to let ya'll have some fun with it. (The real fun is watching the full project run through the web....it is currently running on my current employer's Intranet.(since my Assignment of Inventions agreement with them, allows them to use whatever I write on my own, for free). It's just running in a 'partial' state, because I discovered Access has a VERY interesting way of dealing with an actual Access form, versus a dialog window.) Anyhow, here's the link. Let me know what you think. (I think Darren Dick got an earlier version of this 'test' project, but it only 'displayed' dialog windows within Access, what I posted was the 'finalized' test project, that allows interaction with the dialog windows too...) http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=acc&Number=238098 &Search=true&Forum=acc&Words=wolfweb&Match=And&Searchpage=0&Limit=10&Old=all posts&Main=237199 (Sorry for the long URL (and post )...watch for wrapping.) Drew From wdhindman at bellsouth.net Tue Mar 25 04:57:07 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Mar 2003 05:57:07 -0500 Subject: [AccessD] Just for a little fun..... References: <2F8793082E00D4119A1700B0D0216BF801D82458@main2.marlow.com> Message-ID: <013101c2f2bd$470229a0$6101a8c0@amd2k512> ...you REALLY need to get your site working again!!!! ...enough with the excuses already!! :)))) William Hindman "War is an ugly thing but not the ugliest of things; the decayed and degraded state of moral and patriotic feelings which thinks that nothing is worth war is much worse. A man who has nothing for which he is willing to fight, nothing which is more important than his own personal safety, is a miserable creature and has no chance of being free unless made and kept so by the exertions of better men than himself." John Stuart Mill ----- Original Message ----- From: "Drew Wutka" To: "''AccessD List ' '" Sent: Tuesday, March 25, 2003 4:48 AM Subject: [AccessD] Just for a little fun..... > A recent post on Woody's Lounge prompted me to post some code, to a 'top > secret' project I have been working on. This project has been dumped to the > back burner (for several months), because I've had a lot of 'paying' work > that needed priority. > > Anyways, this project has no 'real' purpose (though ironically it > practically solves this posters issue....), however it is kind of fun to > 'run'. The post has all the information you will need to run it, and it has > the .exe (and all of it's source) as a zipped attachment. > > Just wanted to let ya'll have some fun with it. (The real fun is watching > the full project run through the web....it is currently running on my > current employer's Intranet.(since my Assignment of Inventions agreement > with them, allows them to use whatever I write on my own, for free). It's > just running in a 'partial' state, because I discovered Access has a VERY > interesting way of dealing with an actual Access form, versus a dialog > window.) > > Anyhow, here's the link. Let me know what you think. (I think Darren Dick > got an earlier version of this 'test' project, but it only 'displayed' > dialog windows within Access, what I posted was the 'finalized' test > project, that allows interaction with the dialog windows too...) > > http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=acc&Number=238098 > &Search=true&Forum=acc&Words=wolfweb&Match=And&Searchpage=0&Limit=10&Old=all > posts&Main=237199 > > (Sorry for the long URL (and post )...watch for wrapping.) > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Tue Mar 25 06:52:04 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 07:52:04 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <004f01c2f2cd$560e7240$a2c50a44@hr.cox.net> I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 07:25:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 08:25:26 -0500 Subject: [AccessD] IF ...... ELSEIF Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54E9F@TTNEXCHSRV1.hshhp.com> Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 07:33:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 08:33:57 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8561E@TTNEXCHSRV1.hshhp.com> That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 07:35:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 07:35:49 -0600 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, There is no datatype of Date in Access. It is just an alias for the DateTime datatype, which of course has time included. You can mask out the time portion in your reports. As to your printer problem, please start a new thread about that and include more details so we can help you. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday 2003 Mar 25 06:52 To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 25 07:39:25 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 08:39:25 -0500 Subject: [AccessD] Problem with Date type variable In-Reply-To: <004f01c2f2cd$560e7240$a2c50a44@hr.cox.net> Message-ID: <000501c2f2d3$f36c56a0$8e01a8c0@Rock> That's just a formatting issue. Copy the following into a module: Public Sub TestDate() Dim d As Date Debug.Print d Debug.Print Format(d, "long date") End Sub In the debug window you will see: 12:00:00 AM December 30, 1899 HTH, Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjwrite at earthlink.net Tue Mar 25 07:58:36 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Tue, 25 Mar 2003 8:58:36 -0500 Subject: [AccessD] Text file as Data Source Message-ID: <4120033225135836620@earthlink.net> An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Tue Mar 25 08:01:39 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:01:39 -0500 Subject: [AccessD] Problem with Date type variable References: <22F1CCD5171D17419CB37FEEE09D5F99D8561E@TTNEXCHSRV1.hshhp.com> Message-ID: <008201c2f2d7$0ea54dc0$a2c50a44@hr.cox.net> I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Tue Mar 25 08:06:36 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:06:36 -0500 Subject: [AccessD] Printer not printing lines Message-ID: <009701c2f2d7$bfc2cba0$a2c50a44@hr.cox.net> I am having a problem with my printer (HP Laserjet IIP Plus) not printing lines on reports in Access 97 (which it was doing fine last week). It will print border lines on boxes and underscores, but not lines "drawn" with the line tool. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 08:02:14 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 09:02:14 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85621@TTNEXCHSRV1.hshhp.com> Looks like yes. You could also check for CLng(dtDate) <> 0. Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 08:06:29 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 08:06:29 -0600 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, Just ignore the time portion until you are ready to print the report. There is nothing you can do about deleting the time portion from the Date datatype since it is really a DateTime datatype. On the report you will want to format dtDate so as to not show any time. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday 2003 Mar 25 08:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 08:23:04 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 15:23:04 +0100 Subject: [AccessD] attachment Message-ID: <006f01c2f2da$e45a9850$f4c581d5@pedro> Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 08:32:56 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 09:32:56 -0500 Subject: [AccessD] attachment Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85624@TTNEXCHSRV1.hshhp.com> Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From RGeldart at detma.org Tue Mar 25 08:47:17 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue, 25 Mar 2003 09:47:17 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, Can you show an example of how the date should look on the text file, and if possible how it looks on the record whereit appears as 12:00? I'm assuming it's simply a formatting problem. However, if it's possible that some dates are not in proper format on the text file, make sure you're prepared for them. 1. Import the date as a text and then deal with it. Try Trim(ImportString) to strip spaces 2. Make sure it's not a null. Try NZ(ImportString,"_") 3. If you are only getting a default time (with no date), it may be an empty string. Try NZ(Trim(ImportString),"_") -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Mar 25 08:54:52 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:54:52 -0500 Subject: [AccessD] Problem with Date type variable References: <22F1CCD5171D17419CB37FEEE09D5F99D85621@TTNEXCHSRV1.hshhp.com> Message-ID: <00f601c2f2de$7e1bae40$a2c50a44@hr.cox.net> Thanks....that works fine!..............Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 9:02 AM Subject: RE: [AccessD] Problem with Date type variable Looks like yes. You could also check for CLng(dtDate) <> 0. Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 25 09:44:51 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 10:44:51 -0500 Subject: [AccessD] attachment In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85624@TTNEXCHSRV1.hshhp.com> Message-ID: <006101c2f2e5$793b30b0$8e01a8c0@Rock> It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Tue Mar 25 09:56:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 25 Mar 2003 15:56:25 -0000 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <61F915314798D311A2F800A0C9C8318803956660@dibble.observatory.donnslaw.co.uk> Did the how-to question get answered? I'm about to write an app for users who are aldready used to drag/drop archiving from excel (it's in a 3rd party app) and rather than freak them out with an alternative method I think I'll have to do it the same way! Roz -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: 24 March 2003 23:21 To: accessd Subject: Re: [AccessD] Drag and drop files and Emails on form for archive purpose. The more you can "hide" from the user the better. It's so much easier to explain it as "magic" then to try to explain what's really happening. That's the principle I design all my apps around. Give them a single button to click, not a three-step process. No matter how "easy" the three steps are, you can bet you'll have a user who can't handle it. When they call every other day asking, "How do I do that again," it's much easier to say "click on the big button," than "just follow the wizard." Seth On Mon, 2003-03-24 at 16:49, William Hindman wrote: > "No matter how "dumbed down" you try to make the process, there will > always be a dumber user." Seth > > ...Programming 101 :((((( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." > Edmund Burke > > > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Monday, March 24, 2003 5:44 PM > Subject: RE: [AccessD] Drag and drop files and Emails on form for > archive purpose. > > > > Drew, > > > > You don't know users very well. :) They don't want to have to think > > about it, they just want to do it. No matter how "dumbed down" you > > try to make the process, there will always be a dumber user. > > Saying, "copy the file to a folder," makes sense to you or me, but > > you can guarantee Joe User will give you a glazed look as soon as > > you try to explain why. Of course, Joe User may not understand "drag > > the file onto the application" either. Really, you can't win, but > > you can die trying. :) > > > > Seth > > > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > > Just a thought. Why not have the users create a folder within > > > their > inbox. > > > Have them drag emails they want 'recoreded' into that folder. > > > Then > create a > > > service/routine that just runs through that folder, importing the > > > data > into > > > access? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > > Sent: Saturday, March 22, 2003 4:10 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] Drag and drop files and Emails on form for > > > archive purpose. > > > > > > > > > Hi > > > > > > I already have a archive system for archiving outgooing emails and > > > word doucments from an access database. But I need some archiving > > > for Incoming correspondence to. > > > > > > I believe the only way to achief this is to have a sort of drag > > > and drop function. The user should be able to drag a document from > > > the explorer or from > inside > > > an email but also an e-mail itself to a form in access where a > > > specific customer is already selected. This when dropping the > > > object o this customer, access will save the > object > > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a > customer > > > related record with the filename into the archive table. > > > > > > What I'm basicly asking for is some easy or advanced code to see > > > how the drag and drop works between Outlook/Explorer and Access > > > and how I need > to > > > save the object to disk in its original format (.DOC, .MSG, .XLS, > etc...). > > > > > > The document archiving system I already have, but I never used a > > > drag > and > > > drop functionality... > > > > > > Thx > > > > > > Erwin. > > > > > > ---- > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Mar 25 09:54:21 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 10:54:21 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg From Jdemarco at hshhp.org Tue Mar 25 10:09:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 11:09:02 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85639@TTNEXCHSRV1.hshhp.com> Not clear on just what you want? Are you passing the form an existing class object but want the ability to pass an object of any custom (class) type? And then show the object's property values no matter what type of object you passed in? Or will yo know in advance what type of object to expect? Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 10:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Tue Mar 25 10:26:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue, 25 Mar 2003 11:26:59 -0500 Subject: [AccessD] Populating a form with attributes of a class In-Reply-To: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: I assume this is unbound? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, March 25, 2003 10:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2268 bytes Desc: not available URL: From cfoust at infostatsystems.com Tue Mar 25 10:34:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:34:11 -0800 Subject: [AccessD] Populating a form with attributes of a class Message-ID: By attributes, do you mean public properties, methods, or what? And what exactly do you want to form to do when it "presents" them? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 7:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 25 10:39:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Mar 2003 17:39:29 +0100 Subject: [AccessD] Text file as Data Source In-Reply-To: <4120033225135836620@earthlink.net> References: <4120033225135836620@earthlink.net> Message-ID: <1931134739.20030325173929@cactus.dk> Hi Judy > I'm modifying an A97 database to A2002 and would like to change the > data source of a combo box selection to a tab delimited text file > that is updated every month. Will maintain the same format and will > only have 2 fields a # and a name. Both pieces of data will be > stored in the record they are selected for (so don't need any kind > of reference back). Well, attach that text file as a table and you're off. /gustav From cfoust at infostatsystems.com Tue Mar 25 10:37:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:37:57 -0800 Subject: [AccessD] Text file as Data Source Message-ID: Unless you are attaching the text file as a linked table, how were you planning to use it? It is certainly possible to read a test file into a recordset and stream it into a string, but I'm not clear on why you want to do this. Charlotte Foust -----Original Message----- From: Judy Johnson [mailto:jjwrite at earthlink.net] Sent: Tuesday, March 25, 2003 5:59 AM To: AccessD Subject: [AccessD] Text file as Data Source I'm modifying an A97 database to A2002 and would like to change the data source of a combo box selection to a tab delimited text file that is updated every month. Will maintain the same format and will only have 2 fields a # and a name. Both pieces of data will be stored in the record they are selected for (so don't need any kind of reference back). Thanks for your help. Judy -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 25 10:40:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:40:05 -0800 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: Actually, it's because reports in A2k and earlier don't expose their recordset property. In AXP, reports have an exposed recordset property. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 25, 2003 12:28 AM To: 'AccessD List ' Subject: RE: [AccessD] A2K: Dim DAO.Recordset This is because a form is an interface for a recordsource, where as a report is just a 'snapshot' of the data. Thus, you can view various data on a report, as it is formatting, but it is only reading the data. With a form, you can 'change' data from the form, thus the recordset behind it is 'open' and available. The RecordSource property is just the name of the table or query (or SQL statement) that the form or report is using for it's bound data source. Drew -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/24/03 9:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? 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 Tim.Pain at e20.akzonobel.com Tue Mar 25 10:48:31 2003 From: Tim.Pain at e20.akzonobel.com (Pain, T. (Tim)) Date: Tue, 25 Mar 2003 16:48:31 -0000 Subject: [AccessD] Query synatx Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6367D3A@lbrn12.d20.intra> Scott & Stuart, Your pointers were a great help. It's a SQL server backend so I swaped the IIF for Case and ended up with the following - SELECT SUM(Quantity) AS TotalQuantity FROM (SELECT 'Quantity' = CASE WHEN dbo.Orders.Type = 0 THEN dbo.[Order Details].Outers ELSE dbo.[Order Details].Outers * - 1 END FROM dbo.Orders INNER JOIN dbo.[Order Details] ON dbo.Orders.OrderID = dbo.[Order Details].OrderID WHERE (dbo.Orders.Status <> 2) AND (dbo.Orders.StockAdj = 0) AND (dbo.[Order Details].SupplierRef = 'AM040')) DummyAlias Many thanks Tim -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: 24 March 2003 16:34 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Query synatx How about an if statement like the following Select OrderID, Price, IIF(InvoiceType = True, Quantity, Quantity * -1) as QTY FROM OrderHeader, OrderDetails WHERE OrderHeader.OrderID = OrderDetails.OrderID You get the jist? Scott -----Original Message----- From: Pain, T. (Tim) [mailto:Tim.Pain at e20.akzonobel.com] Sent: Monday, March 24, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Query synatx Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 25 12:11:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 12:11:36 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82459@main2.marlow.com> Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? Archives will be up in the next few days. I am still 'building' my site, so right now there are just menus. What did you think of my little 'test' project? Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/25/03 4:57 AM Subject: Re: [AccessD] Just for a little fun..... ...you REALLY need to get your site working again!!!! ...enough with the excuses already!! :)))) William Hindman " From wdhindman at bellsouth.net Tue Mar 25 12:32:22 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Mar 2003 13:32:22 -0500 Subject: [AccessD] Just for a little fun..... References: <2F8793082E00D4119A1700B0D0216BF801D82459@main2.marlow.com> Message-ID: <000401c2f2fc$e0560790$6101a8c0@amd2k512> ...didn't try it ...just noticed you were referencing your site again and started poking around :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 25, 2003 1:11 PM Subject: RE: [AccessD] Just for a little fun..... > Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? > Archives will be up in the next few days. I am still 'building' my site, so > right now there are just menus. What did you think of my little 'test' > project? > > Drew > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/25/03 4:57 AM > Subject: Re: [AccessD] Just for a little fun..... > > ...you REALLY need to get your site working again!!!! ...enough with the > excuses already!! :)))) > > William Hindman > " > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Mar 25 13:09:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 13:09:58 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8245C@main2.marlow.com> Try it! . I didn't reference my site in my post, only on the Woody's Lounge post...I think. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 25, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Just for a little fun..... ...didn't try it ...just noticed you were referencing your site again and started poking around :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 25, 2003 1:11 PM Subject: RE: [AccessD] Just for a little fun..... > Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? > Archives will be up in the next few days. I am still 'building' my site, so > right now there are just menus. What did you think of my little 'test' > project? > > Drew > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/25/03 4:57 AM > Subject: Re: [AccessD] Just for a little fun..... > > ...you REALLY need to get your site working again!!!! ...enough with the > excuses already!! :)))) > > William Hindman > " > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 25 13:14:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 13:14:02 -0600 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8245D@main2.marlow.com> Are you saying that you want to 'see' the properties of the class? I wrote a Properties Property Add-In for VB, that creates a 'Properties' property, where you can programmatically list the properties of a class (names, types and values(read/write)). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 9:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Mar 25 13:14:01 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:14:01 +0100 Subject: [AccessD] checkboxes References: Message-ID: <00bb01c2f304$51a1eb60$f9c581d5@pedro> Thank You all for the small discussion on checkboxes. You pointed me in the right direction. Greetings Pedro Janssen ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:45 AM Subject: RE: [AccessD] checkboxes I recommend you use the OPTION GROUP this solve you the CODE problem to permit only 1 of this. If this will not possible we recommend a simple code that sum the checkbox value, the total value can be over -1. Another option can be on event after update multiply all values by 0 except the current. Regards Juan Men?ndez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: lunes, 24 de marzo de 2003 23:07 Para: AccessD at databaseadvisors.com Asunto: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 13:16:58 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:16:58 +0100 Subject: [AccessD] IF ...... ELSEIF References: <22F1CCD5171D17419CB37FEEE09D5F99E54E9F@TTNEXCHSRV1.hshhp.com> Message-ID: <00bc01c2f304$532c0dd0$f9c581d5@pedro> Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 13:21:46 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:21:46 +0100 Subject: [AccessD] attachment References: <006101c2f2e5$793b30b0$8e01a8c0@Rock> Message-ID: <00bf01c2f304$562e5150$f9c581d5@pedro> MessageI thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Tue Mar 25 13:29:26 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Tue, 25 Mar 2003 13:29:26 -0600 Subject: [AccessD] Printer not printing lines Message-ID: Barb, While I have not head this exact problem, I did have printer problems a while back. The same app had problems printing certain objects on only some printers. Turned out to be a driver problem in every case. --Susan -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 8:07 AM To: Access List Subject: [AccessD] Printer not printing lines I am having a problem with my printer (HP Laserjet IIP Plus) not printing lines on reports in Access 97 (which it was doing fine last week). It will print border lines on boxes and underscores, but not lines "drawn" with the line tool. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 13:31:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 13:31:06 -0600 Subject: [AccessD] attachment Message-ID: Pedro, It is because you and others are sending your e-mails as HTML instead of plain text. M$ Outlook seems to want to put that header info into an attachment on HTML e-mail. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday 2003 Mar 25 13:22 To: artful at rogers.com; accessd at databaseadvisors.com Subject: Re: [AccessD] attachment Importance: Low I thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 13:37:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 13:37:16 -0600 Subject: [AccessD] attachment Message-ID: Oops! Sorry, I forgot to reset the format to plain text and left it in HTML format when I replied. Thus, you got yet another attachment. Since this reply is in plain text, there should not be an attachment with it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Wortz, Charles Sent: Tuesday 2003 Mar 25 13:31 To: accessd at databaseadvisors.com; artful at rogers.com Subject: RE: [AccessD] attachment Importance: Low Pedro, It is because you and others are sending your e-mails as HTML instead of plain text. M$ Outlook seems to want to put that header info into an attachment on HTML e-mail. Charles Wortz -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday 2003 Mar 25 13:22 To: artful at rogers.com; accessd at databaseadvisors.com Subject: Re: [AccessD] attachment Importance: Low I thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen From mikedorism at ntelos.net Tue Mar 25 13:40:05 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 25 Mar 2003 14:40:05 -0500 Subject: [AccessD] Need to create PDF Print Server Message-ID: <00ce01c2f306$5ac99970$493a0cd8@hargrove.internal> We would like to create our own version of a PDF Print Server. Basically, we want to pass information (report name, parameters, requestor name) to our SQL Server via a sproc. We then want SQL Server to generate a PDF file which will then be stored in a designated place on the network for pick up by the calling program. Getting the info to SQL and generating the PDF is already handled. Figuring out how to tell SQL Server when there is info to be processed is the issue we are trying to make a decision on. My thoughts so far are: 1) Create an Insert Trigger that fires a DTS ActiveX script to open an Access session (if not already open), process anything in the file and shut down when there are no requests. Question here is when control would return to calling program? 2) Create a DTS schedule to start up a "monitoring" database which would operate during normal business hours. Question here is how to handle after-hour needs. Does anybody have any thoughts or suggestions? Mike and Doris Manning mikedorism at ntelos.net manning7 at shentel.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 25 13:40:05 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 25 Mar 2003 14:40:05 -0500 Subject: [AccessD] [dba-SQLServer]Need to create PDF Print Server Message-ID: <00db01c2f306$60c34b00$493a0cd8@hargrove.internal> We would like to create our own version of a PDF Print Server. Basically, we want to pass information (report name, parameters, requestor name) to our SQL Server via a sproc. We then want SQL Server to generate a PDF file which will then be stored in a designated place on the network for pick up by the calling program. Getting the info to SQL and generating the PDF is already handled. Figuring out how to tell SQL Server when there is info to be processed is the issue we are trying to make a decision on. My thoughts so far are: 1) Create an Insert Trigger that fires a DTS ActiveX script to open an Access session (if not already open), process anything in the file and shut down when there are no requests. Question here is when control would return to calling program? 2) Create a DTS schedule to start up a "monitoring" database which would operate during normal business hours. Question here is how to handle after-hour needs. Does anybody have any thoughts or suggestions? Mike and Doris Manning mikedorism at ntelos.net manning7 at shentel.net -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3524 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Mar 25 13:48:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 14:48:02 -0500 Subject: [AccessD] IF ...... ELSEIF Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85648@TTNEXCHSRV1.hshhp.com> Pedro, If you use this code (or something like it) add the test for: If blnGetOut = True before moving to Next j also to get you out of the inner loop as well. Oversight on my part. Sorry, Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IF ...... ELSEIF Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Tue Mar 25 13:50:14 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 25 Mar 2003 13:50:14 -0600 Subject: [AccessD] Populating a form with attributes of a class In-Reply-To: <006601c2f2e6$ccc38240$8e01a8c0@Rock> References: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: <1048621816.2823.24.camel@sgsax-th4022c> Arthur, Are you wanting to use data in an object to populate a form? Or am I misreading you? AFAIK, there is no way to pass an object as a form parameter. You can pass a string, but that's about it. And I don't think you can reference an object by such a string value. You would need some kind of container, like a collection, for your objects, which you could then reference by a key name. Note this collection would need to be global, but if you look at it like any other application-wide collection, it's really the same thing. The Forms or Tabledefs collections are really nothing more that "system" global collections. While globals are typically considered a "bad thing" by most developers, sometimes you can't get around them. I think in this case, where you're not keeping an armada of global objects available and just a single collection, it shouldn't be too painful for you. :) Seth On Tue, 2003-03-25 at 09:54, Arthur Fuller wrote: > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From michael.mattys at adelphia.net Tue Mar 25 14:21:29 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Mar 2003 15:21:29 -0500 Subject: [AccessD] Populating a form with attributes of a class References: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: <012801c2f30c$1ff5ba30$6401a8c0@default> Since forms and controls are classes (and may be expressed as WithEvents Classes) there is no reason that you cannot Open a New form class with a New person, a car, a network, or whatever. If you get the form's HWnd in Class Init, you can set it's control's values to whatever you like. No? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Tuesday, March 25, 2003 10:54 AM Subject: [AccessD] Populating a form with attributes of a class > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Mar 25 15:00:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 16:00:01 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54EC7@TTNEXCHSRV1.hshhp.com> If the string contains the library and class names he could use a string just like you would in: CreateObject("Excel.Application") or in the case of a custom object: CreateObject("MyLibrary.MyClassObject") Jim DeMarco -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 25, 2003 2:50 PM To: accessd Subject: Re: [AccessD] Populating a form with attributes of a class Arthur, Are you wanting to use data in an object to populate a form? Or am I misreading you? AFAIK, there is no way to pass an object as a form parameter. You can pass a string, but that's about it. And I don't think you can reference an object by such a string value. You would need some kind of container, like a collection, for your objects, which you could then reference by a key name. Note this collection would need to be global, but if you look at it like any other application-wide collection, it's really the same thing. The Forms or Tabledefs collections are really nothing more that "system" global collections. While globals are typically considered a "bad thing" by most developers, sometimes you can't get around them. I think in this case, where you're not keeping an armada of global objects available and just a single collection, it shouldn't be too painful for you. :) Seth On Tue, 2003-03-25 at 09:54, Arthur Fuller wrote: > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jscott at mchsi.com Tue Mar 25 15:16:39 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 15:16:39 -0600 Subject: [AccessD] Reports: paper size Message-ID: I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it?s fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It?s driving me nuts! Jeanine -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 15:23:48 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 22:23:48 +0100 Subject: [AccessD] attachment References: Message-ID: <003c01c2f315$d3083b30$f9c581d5@pedro> Charles, Thanks for the info. This email then must be without attachment. Pedro Janssen ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Tuesday, March 25, 2003 8:37 PM Subject: RE: [AccessD] attachment > Oops! Sorry, I forgot to reset the format to plain text and left it in > HTML format when I replied. Thus, you got yet another attachment. > Since this reply is in plain text, there should not be an attachment > with it. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Wortz, Charles > Sent: Tuesday 2003 Mar 25 13:31 > To: accessd at databaseadvisors.com; artful at rogers.com > Subject: RE: [AccessD] attachment > Importance: Low > > > Pedro, > > It is because you and others are sending your e-mails as HTML instead of > plain text. M$ Outlook seems to want to put that header info into an > attachment on HTML e-mail. > > Charles Wortz > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday 2003 Mar 25 13:22 > To: artful at rogers.com; accessd at databaseadvisors.com > Subject: Re: [AccessD] attachment > Importance: Low > > > I thought that it would be something like this, but find it strange that > some mails have attachment signs and some mails don't have. > I have seen this before in other mails, but find it rather disturbing. I > think its better to add the lines of text to the message text. > > Pedro Janssen > > ----- Original Message ----- > From: Arthur Fuller > To: accessd at databaseadvisors.com > Sent: Tuesday, March 25, 2003 4:44 PM > Subject: RE: [AccessD] attachment > > > It seems that the lines below are being attached as a text file rather > than added to the message text. A new feature? :-) > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: March 25, 2003 9:33 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] attachment > > > Those just started appearing this morning. The attachment contains > message header info. > Jim DeMarco > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, March 25, 2003 9:23 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] attachment > > > Hello Group, > > why do i receive a attachment sign with a lot of Emails from this group, > while there isn't an attachment. > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Tue Mar 25 15:27:12 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 22:27:12 +0100 Subject: [AccessD] IF ...... ELSEIF References: <22F1CCD5171D17419CB37FEEE09D5F99D85648@TTNEXCHSRV1.hshhp.com> Message-ID: <003d01c2f315$d4fa6e40$f9c581d5@pedro> Hello Jim, thanks for the extra information. I wasn't testing already. After i have done it, i will let you know if it works. You don't have to say sorry. When it works. It will save me a lot of time Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:48 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, If you use this code (or something like it) add the test for: If blnGetOut = True before moving to Next j also to get you out of the inner loop as well. Oversight on my part. Sorry, Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IF ...... ELSEIF Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Tue Mar 25 15:35:48 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 25 Mar 2003 15:35:48 -0600 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thevigil at kabelfoon.nl Tue Mar 25 15:53:53 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:53:53 +0100 Subject: [AccessD] Reports: paper size References: Message-ID: <013801c2f319$0a1e8720$115b2d3e@jester> Jeanine, look in the options and on the 'General' tab make sure 'perform name AutoCorrect' is NOT selected. Access is know for not savind page setup settings for reports with this option selected. That is in A2k HTH Bert-Jan ----- Original Message ----- From: Jeanine Scott To: AccessD at databaseadvisors. com Sent: Tuesday, March 25, 2003 10:16 PM Subject: [AccessD] Reports: paper size I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it's fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It's driving me nuts! Jeanine ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thevigil at kabelfoon.nl Tue Mar 25 15:55:47 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:55:47 +0100 Subject: [AccessD] Breakpoint Message-ID: <015101c2f319$53843360$115b2d3e@jester> Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan From thevigil at kabelfoon.nl Tue Mar 25 15:56:54 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:56:54 +0100 Subject: [AccessD] for each.... Message-ID: <015201c2f319$73b3f260$115b2d3e@jester> Hi group. The strangest thing is happening to me (which i was unable to solve the past hour ;-( ): The following code used in one event is working fine and in the other not: dim ctl as control for eacht ctl in me.detail.controls debug.print ctl.name next When it is working fine it lists all controls in the detailsection... that is what i want When it doesn't work fine fine it only lists 1 control? Why? And why it does lists that specific control i do not know? I gave it another tab index and i replaced it on the form but still it will list the same control (i am rewriting someone elses database, so i do not know if that control was created first on that form, but i suspect that is the thing... does access keep another (hidden) order of controls on a form?) And while i was trying to solve this i found another strange thing..... (i will start a different thread for this aswell) I placed a breakpoint in the code to see how it was executed..... and it didn't jump to the breakpoint...?? And it does in other databases on the same PC! Bert-Jan From MPorter at acsalaska.com Tue Mar 25 16:04:49 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 25 Mar 2003 13:04:49 -0900 Subject: [AccessD] Breakpoint Message-ID: Is it possible that your logic is bypassing the breakpoint? Mark -----Original Message----- From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] Sent: Tuesday, March 25, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From thevigil at kabelfoon.nl Tue Mar 25 16:07:18 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 23:07:18 +0100 Subject: [AccessD] Breakpoint References: Message-ID: <01c301c2f31a$e7e5ede0$115b2d3e@jester> nope. I thought of that aswell and placed it on the first line of code.... ----- Original Message ----- From: "Porter, Mark" To: Sent: Tuesday, March 25, 2003 11:04 PM Subject: RE: [AccessD] Breakpoint > Is it possible that your logic is bypassing the breakpoint? > > Mark > > -----Original Message----- > From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] > Sent: Tuesday, March 25, 2003 12:56 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Breakpoint > > > Hi Group, > > while trying to solve something i was troubling with i placed a breakpoint > in the code to see how the code was executed. > But while running the code Access won't jump to the breakpoint...? > > It does in other databases on the same PC? > > I use A2k on a Windows 2000 professional machine > > Bert-Jan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jscott at mchsi.com Tue Mar 25 16:18:21 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 16:18:21 -0600 Subject: [AccessD] Reports: paper size In-Reply-To: <013801c2f319$0a1e8720$115b2d3e@jester> Message-ID: Thanks ? I neglected to mention that I?m working in Access97 so I don?t think that?s my problem? Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Tuesday, March 25, 2003 3:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports: paper size Jeanine, look in the options and on the 'General' tab make sure 'perform name AutoCorrect' is NOT selected. Access is know for not savind page setup settings for reports with this option selected. That is in A2k HTH Bert-Jan ----- Original Message ----- From: Jeanine Scott To: AccessD at databaseadvisors. com Sent: Tuesday, March 25, 2003 10:16 PM Subject: [AccessD] Reports: paper size I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it?s fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It?s driving me nuts! Jeanine _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Tue Mar 25 16:54:49 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 14:54:49 -0800 Subject: [AccessD] Breakpoint Message-ID: <657FB70438B7D311AF320090279C1801026D797E@EXCHMAIL> place the word STOP one line above the breakpoint, if it still does not stop, then it is likely that that procedure isn't being called. if it is an event for a control, make sure you (in design view) click on the control and the event reads [EVENT PROCEDURE] if it does not, then the code wont fire. HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Tuesday, March 25, 2003 1:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan From DMcAfee at haascnc.com Tue Mar 25 16:57:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 14:57:00 -0800 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: <657FB70438B7D311AF320090279C1801026D797F@EXCHMAIL> Jeffrey, if a stored procedure (SPROC) is what populating the combo box (and you are in an ADP) then all you have to do is place the following in the combo box's OnEnter event: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere '" & YourParameter & "'" if you have no parameter to send to the SPROC, then it is even easier: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere" or if it simply a view then just place the view's name in the combo's recordsource filed as you would a query. If you are not using an ADP, and instead are using an MDB, you should be able to simply put the name of the query as the rowsource for you combo Doesn't your query/sproc return the result set that you want for your combo? HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, March 25, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help populating a drop down box in A2K Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 25 18:04:35 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Mar 2003 16:04:35 -0800 Subject: [AccessD] Reports: paper size References: Message-ID: <3E80EE93.30808@shaw.ca> An HTML attachment was scrubbed... URL: From jscott at mchsi.com Tue Mar 25 18:37:58 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 18:37:58 -0600 Subject: [AccessD] Reports: paper size In-Reply-To: <3E80EE93.30808@shaw.ca> Message-ID: Thanks Marty. I added this code and hopefully that will take care of it. Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, March 25, 2003 6:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports: paper size You could force it to Legal size with this code. Also changing your Printer Port can cause this error. How to Build a Visual Basic Module to Print a Report in Landscape Mode on Legal-Size Paper http://support.microsoft.com/default.aspx?scid=kb;en-us;302650 Jeanine Scott wrote: I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it's fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It's driving me nuts! Jeanine _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 19:04:00 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 12:04:00 +1100 Subject: [AccessD] Combo force drop down UNDO Message-ID: <000a01c2f333$964d3880$54dd31d2@OfficePC> I still have a problem with this. (When user selects an option from the drop down list with the mouse the drop down list STAYS instead of disappearing as it woiuld normally. So my question is: does anyone know of a command which will reverse this and FORCE the dropdown away? (I can't find any). Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Tue Mar 25 19:41:41 2003 From: papparuff at attbi.com (John Ruff) Date: Tue, 25 Mar 2003 17:41:41 -0800 Subject: [AccessD] Combo force drop down UNDO In-Reply-To: <000a01c2f333$964d3880$54dd31d2@OfficePC> Message-ID: <020b01c2f338$da59c6b0$6401a8c0@papparuff> In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 20:25:35 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 13:25:35 +1100 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff> Message-ID: <001701c2f33e$fc44e290$54dd31d2@OfficePC> MessageThanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub John V. Ruff - The Eternal Optimist J Always Looking For Contract Opportunities ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 25 20:38:08 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 25 Mar 2003 21:38:08 -0500 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff> <001701c2f33e$fc44e290$54dd31d2@OfficePC> Message-ID: <01d101c2f340$be7d89b0$cce6ffcc@SusanOne> Message I need to know how to keep the focus on the control but kill the drop down. ==You don't want the list to dropdown at all then? Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 25 20:40:46 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Mar 2003 21:40:46 -0500 Subject: [AccessD] Combo force drop down UNDO References: <000a01c2f333$964d3880$54dd31d2@OfficePC> Message-ID: <004401c2f341$1c9a1900$6401a8c0@default> >When user selects an option from the drop down list with the mouse... Kath, If it sets focus to the next in taborder with the keyboard then you might setfocus in the OnMouse_Up event. Possibly? Michael R. Mattys www.mattysconsulting.com From DMcAfee at haascnc.com Tue Mar 25 21:19:43 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 19:19:43 -0800 Subject: [AccessD] Combo force drop down UNDO Message-ID: <657FB70438B7D311AF320090279C1801026D7980@EXCHMAIL> Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub From SDSSoftware at Optusnet.com.au Tue Mar 25 21:08:29 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:08:29 +1100 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff><001701c2f33e$fc44e290$54dd31d2@OfficePC> <01d101c2f340$be7d89b0$cce6ffcc@SusanOne> Message-ID: <004d01c2f344$fafa0450$54dd31d2@OfficePC> MessageHi Susan - I do want the combo to drop down the list after the first 2 letters have been entered (ie. once the combo row source has been populated). But after the user clicks on one of the options on the list, I want the drop down list to disappear. For some reason this is not happening when the mouse is used to make a selection - although when using the keyboard is used (eg. enter) it behaves normally and the drop down disappears. Kath ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 1:38 PM Subject: Re: [AccessD] Combo force drop down UNDO I need to know how to keep the focus on the control but kill the drop down. ==You don't want the list to dropdown at all then? Susan H. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 21:21:08 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:21:08 +1100 Subject: [AccessD] Combo force drop down UNDO References: <657FB70438B7D311AF320090279C1801026D7980@EXCHMAIL> Message-ID: <006601c2f346$c0907c70$54dd31d2@OfficePC> David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 21:23:42 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:23:42 +1100 Subject: [AccessD] Combo force drop down UNDO References: <000a01c2f333$964d3880$54dd31d2@OfficePC> <004401c2f341$1c9a1900$6401a8c0@default> Message-ID: <007b01c2f347$1a648ca0$54dd31d2@OfficePC> Thanks Michael...... ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 1:40 PM Subject: Re: [AccessD] Combo force drop down UNDO >When user selects an option from the drop down list with the mouse... Kath, If it sets focus to the next in taborder with the keyboard then you might setfocus in the OnMouse_Up event. Possibly? Michael R. Mattys www.mattysconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Tue Mar 25 21:40:02 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 19:40:02 -0800 Subject: [AccessD] Combo force drop down UNDO Message-ID: <657FB70438B7D311AF320090279C1801026D7982@EXCHMAIL> Yup: Private Sub cboPN_Change() If Len(Me.cboPN.Text) < 2 Then Me.cboPN.RowSource = "" Else Me.cboPN.RowSource = "EXEC stp_007A_FillcboPN '" & Me.cboPN.Text & "'" Me.cboPN.Dropdown End If End Sub I would have went bigger, but we actually have 2 digit PN's :( Anyway, I finally got aggravated enough that I went back to my old plan of having the user enter the PN into a text box and calling a SPROC in the after update event of the text box. If the PN doesn't exist, then I give them a nice ol' MsgBox and clear out the field :) I figured that since the form is unbound, I can disable the [OK] button until all fields have good data in them ;) Another thing you can do, if you don't get this working, is to switch to a text box and make an non visible list box appear under the text box, then on select (of the LB), populate the text box and hide the lb! HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 22:00:08 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 15:00:08 +1100 Subject: [AccessD] Combo force drop down UNDO References: <657FB70438B7D311AF320090279C1801026D7982@EXCHMAIL> Message-ID: <00e501c2f34c$36c724c0$54dd31d2@OfficePC> Glad to hear that I'm not the only one with this problem....your code and mine give me exactly the same result, so I'll have a think about your last suggestion with the text box. Add to wishlist: Ctrl.dropdown = false Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:40 PM Subject: RE: [AccessD] Combo force drop down UNDO Yup: Private Sub cboPN_Change() If Len(Me.cboPN.Text) < 2 Then Me.cboPN.RowSource = "" Else Me.cboPN.RowSource = "EXEC stp_007A_FillcboPN '" & Me.cboPN.Text & "'" Me.cboPN.Dropdown End If End Sub I would have went bigger, but we actually have 2 digit PN's :( Anyway, I finally got aggravated enough that I went back to my old plan of having the user enter the PN into a text box and calling a SPROC in the after update event of the text box. If the PN doesn't exist, then I give them a nice ol' MsgBox and clear out the field :) I figured that since the form is unbound, I can disable the [OK] button until all fields have good data in them ;) Another thing you can do, if you don't get this working, is to switch to a text box and make an non visible list box appear under the text box, then on select (of the LB), populate the text box and hide the lb! HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Mar 26 02:34:24 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Mar 2003 00:34:24 -0800 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. References: <104AB6116A2DD511A7580008C7097A982195B0@AARDBEI> Message-ID: <3E816610.1040809@shaw.ca> An HTML attachment was scrubbed... URL: From Rick.Ehlers at cinergy.com Wed Mar 26 06:04:21 2003 From: Rick.Ehlers at cinergy.com (Ehlers, Rick) Date: Wed, 26 Mar 2003 07:04:21 -0500 Subject: [AccessD] Breakpoint Message-ID: <1091FC4177258B40BC4B712C053AF57D1256D0@excincybe03.cinergy.com> Bert-Jan, Under Access 2000 - Tools - Startup - Advanced, there is a checkbox to turn off and on the use of special Access keys. I have been burned when testing code that if the box is not checked, the code won't stop at the breakpoint. The other problem I have is if I set a breakpoint and then toggle it back off later and leave the startup option unchecked, my "phantom" breakpoint is still active, even after I close the application. This never occurred under Access 97. Must be a "feature". HTH Rick Ehlers Energy Merchant Business Unit Power Business Information 4th & Main - Room 540A Phone: (513) 287-3406 EMail: rhehlers at cinergy.com -----Original Message----- From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] Sent: Tuesday, March 25, 2003 4:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 26 00:36:16 2003 From: ttom at accessyourdata.com (t tom) Date: Tue, 25 Mar 2003 23:36:16 -0700 Subject: [AccessD] Re: OT : References Message-ID: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Hi All Does anyone know where I get info on the "Available References" found in Access and VB. I can use the Object Browser but there must be better documentation somewhere! TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Wed Mar 26 07:55:34 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 08:55:34 -0500 Subject: [AccessD] Provider not found Message-ID: Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From CWortz at tea.state.tx.us Wed Mar 26 08:03:02 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 26 Mar 2003 08:03:02 -0600 Subject: [AccessD] Provider not found Message-ID: Nancy, Are you sure you have Jet 4.0 installed, since that is the version you are asking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday 2003 Mar 26 07:56 To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From Jdemarco at hshhp.org Wed Mar 26 08:05:29 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 09:05:29 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8565A@TTNEXCHSRV1.hshhp.com> Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From klk at ksu.edu Wed Mar 26 08:15:22 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Wed, 26 Mar 2003 08:15:22 -0600 Subject: [AccessD] Provider not found In-Reply-To: Message-ID: <001201c2f3a2$23af2e90$3c588281@current> This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From nancy.lytle at auatac.com Wed Mar 26 08:16:40 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 09:16:40 -0500 Subject: [AccessD] Provider not found In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D8565A@TTNEXCHSRV1.hshhp.com> Message-ID: I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Wed Mar 26 08:31:17 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 09:31:17 -0500 Subject: [AccessD] Provider not found In-Reply-To: <001201c2f3a2$23af2e90$3c588281@current> Message-ID: Thanks Keith, I didn't even notice that, too early I guess, so I corrected it and now it is saying no value given for one or more required parameters. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith L. Kovala Sent: Wednesday, March 26, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 26 09:08:18 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 26 Mar 2003 09:08:18 -0600 Subject: [AccessD] Provider not found In-Reply-To: References: Message-ID: <1048691298.7325.16.camel@sgsax-th4022c> Nancy, You don't need a semicolon after the last parameter. Try taking it off and see if that helps. I'm no ADO wizard, so I have no idea if this will help or not. Seth On Wed, 2003-03-26 at 08:31, Nancy Lytle wrote: > Thanks Keith, I didn't even notice that, too early I guess, so I corrected > it and now it is saying no value given for one or more required parameters. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" > > Nancy > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Jdemarco at hshhp.org Wed Mar 26 09:16:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 10:16:00 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Wed Mar 26 09:22:48 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 10:22:48 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85666@TTNEXCHSRV1.hshhp.com> Just noticed that you're passing a provider string to the recordset.Open method and it's expecting a connection. Try opening a connection first then open the recordset: dim cnn as ADODB.Connection dim rs as ADODB.Recordset Set cnn = NEW ADODB.Connection cnn.Provider = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" cnn.Open rs.Open strSQL, cnn HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Thanks Keith, I didn't even notice that, too early I guess, so I corrected it and now it is saying no value given for one or more required parameters. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith L. Kovala Sent: Wednesday, March 26, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Wed Mar 26 09:36:33 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 26 Mar 2003 09:36:33 -0600 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: Jim, There are several ways to solve the problem that there is only one file extension (.mdb) that has to be shared among the various versions of Access. The way I solve it is to create shortcuts for each of my apps that include the path to the correct version of Access to open that app with. For my A02 apps the shortcut looks as such: "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "Path to proper MDW for app" "Path to application" in that order. First you tell it where to find the proper version of Access to use, then you tell it where to find the proper workgroup file to control permissions if you are not using the default System.mdw, and finally you tell it where to find the application. Once I have set up all the shortcuts I never have to worry about them until something gets moved or converted. The only problem with this technique is you have to train yourself to never double-click on the app, always double-click on the shortcut. But if you have enough brains to be an Access developer, this should be easy. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday 2003 Mar 26 09:16 To: AccessD (E-mail) Subject: [AccessD] Access 2002 overides A97 as default app We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan From michael.mattys at adelphia.net Wed Mar 26 09:44:03 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 26 Mar 2003 10:44:03 -0500 Subject: [AccessD] Access 2002 overides A97 as default app References: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> Message-ID: <008901c2f3ae$9468a420$6401a8c0@default> Jim, Christian Rosu made this for A2K/A97 Just needs some more entries for 2002 http://168.144.193.113/more/A97A2KREG.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim DeMarco" To: "AccessD (E-mail)" Sent: Wednesday, March 26, 2003 10:16 AM Subject: [AccessD] Access 2002 overides A97 as default app > We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Wed Mar 26 09:55:06 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Wed, 26 Mar 2003 16:55:06 +0100 Subject: [AccessD] AccessD Conference - Call for Papers Message-ID: <002701c2f3b0$12be72e0$0300a8c0@S856> The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Depending on the number of participants, the presentations will be held at either my house or a nearby location. Please send Title and short Abstract of your presentation to dba-conf at databaseadvisors.com thank you Lembit Lembit Soobik From Jdemarco at hshhp.org Wed Mar 26 11:02:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:02:11 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54EF0@TTNEXCHSRV1.hshhp.com> Thanks but: I have only 2 developers who need A2K2, the rest use A97 and all of our in-house apps use A97. Now the two developers can no longer double-click to open the 99.9% of apps that use A97. My laptop with A2K and A97 defaults to A97 on a double-click but I can't remember if or how I got this to happen. There must be a registry entry somewhere I can change to set it back. Changing shortcuts and adding right click options won't do (at this point at least). Thanks, Jim DeMarco -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 26, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 overides A97 as default app Jim, There are several ways to solve the problem that there is only one file extension (.mdb) that has to be shared among the various versions of Access. The way I solve it is to create shortcuts for each of my apps that include the path to the correct version of Access to open that app with. For my A02 apps the shortcut looks as such: "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "Path to proper MDW for app" "Path to application" in that order. First you tell it where to find the proper version of Access to use, then you tell it where to find the proper workgroup file to control permissions if you are not using the default System.mdw, and finally you tell it where to find the application. Once I have set up all the shortcuts I never have to worry about them until something gets moved or converted. The only problem with this technique is you have to train yourself to never double-click on the app, always double-click on the shortcut. But if you have enough brains to be an Access developer, this should be easy. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday 2003 Mar 26 09:16 To: AccessD (E-mail) Subject: [AccessD] Access 2002 overides A97 as default app We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From garykjos at hotmail.com Wed Mar 26 11:21:10 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 26 Mar 2003 11:21:10 -0600 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Jdemarco at hshhp.org Wed Mar 26 11:34:24 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:34:24 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85677@TTNEXCHSRV1.hshhp.com> I'll give it a try and let you know. Thanks, Jim DeMarco -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ranthony at wrsystems.com Wed Mar 26 11:37:10 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Wed, 26 Mar 2003 12:37:10 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641284D1@mail2.wrsystems.com> Or if you have shortcut icons, make sure the shortcut target line has the path for the Access97 .exe to start the app with. -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*************************************************************************** ******** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*************************************************************************** ******** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Mar 26 11:51:30 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:51:30 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85678@TTNEXCHSRV1.hshhp.com> That did it. Thanks Gary, Jim DeMarco -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 12:12:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 10:12:12 -0800 Subject: [AccessD] Provider not found Message-ID: As far as I know there is no Jet 3.61 provider. There's a OLEDB 3.51 and an OLEDB 4.0 Charlotte Foust -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 6:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Wed Mar 26 12:31:08 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 13:31:08 -0500 Subject: [AccessD] Provider not found In-Reply-To: Message-ID: Well I finally got it to work for now, using DAO and the code at the end of the message. Now I have a user table by which I will be able to assign who sees what on start up, and I will be able to add and move people around as necessary. Thanks for all your help guys and girls - Now I will start working on getting it to work using ADO (it was still giving me the missing parameters when I gave up on it) Nancy L CODE: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim db As Database Dim strGroup As String Dim intNameCount As Integer Dim rstGroup As Recordset strSQL = "SELECT tblUsers.Group FROM tblUsers " strSQL = strSQL & "WHERE (tblUsers.UserName) = " & "'" & fcnOSUserName & "'" MsgBox strSQL Set db = CurrentDB On Error Resume Next Set rstGroup = db.OpenRecordset(strSQL) rstGroup.MoveFirst rstGroup.MoveLast intNameCount = rstGroup.RecordCount MsgBox intNameCount 'Get the value for the rstGroup Field "Group" strGroup = rstGroup.Fields(0).Value MsgBox strGroup If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From Jdemarco at hshhp.org Wed Mar 26 12:30:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 13:30:17 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567A@TTNEXCHSRV1.hshhp.com> You're right!! Sorry I mistyped it. Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 1:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found As far as I know there is no Jet 3.61 provider. There's a OLEDB 3.51 and an OLEDB 4.0 Charlotte Foust -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 6:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From michael.mattys at adelphia.net Wed Mar 26 12:32:56 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 26 Mar 2003 13:32:56 -0500 Subject: [AccessD] Access 2002 overides A97 as default app References: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> <008901c2f3ae$9468a420$6401a8c0@default> Message-ID: <002401c2f3c6$1fc7b0d0$6401a8c0@default> I forgot to mention that you can right-click on desktop icons and it will still give you the context menu, so you can choose whatever version you like. Michael R. Mattys www.mattysconsulting.com > > Christian Rosu made this for A2K/A97 > Just needs some more entries for 2002 > http://168.144.193.113/more/A97A2KREG.htm > From gustav at cactus.dk Wed Mar 26 12:33:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Mar 2003 19:33:50 +0100 Subject: [AccessD] Semi OT - Moving an App to the Web In-Reply-To: <00fb01c2996d$a5a47a20$8eb85041@xfilesao46sl20> References: <003b01c29948$0a197210$6601a8c0@HAL9002> <001c01c2995a$0687baa0$4b399d40@yourxo8le8q24p> <7533906785.20021201200136@cactus.dk> <00fb01c2996d$a5a47a20$8eb85041@xfilesao46sl20> Message-ID: <18237697165.20030326193350@cactus.dk> Hi James et all Just noticed that CodeCharge Studio is out in V2.0. It certainly looks like a serious tool know. Check out this (lengthy) explanation of new features: http://docs.codecharge.com/studio/html/UserGuide/Intro/ProductFeatures.html?toc I noticed particularly this: Separation of Programming logic from the Presentation Layer. CodeCharge Studio fully supports the separation of programming logic from the presentation layer by generating source code files (.asp, .php, .jsp, etc.), which are separate from their corresponding HTML files (HTML templates). I wish I had the time for playing around with it, but it is not so at the moment. /gustav > I use CodeCharge and it is an excellent product, there's not much > documentation but they have several very good example sites and good online > support. Also, stick to CodeCharge rather than CodeCharge Studio. > PS if you decide to buy, Programmers Paradise has it cheaper than CodeCharge > for $127. >> You may wish to evaluate CodeCharge: >> >> http://www.codecharge.com/ >> >> There is a link to a bunch of on-line demos too. >> >> >> > My Sleep Disorder Analysis program is deep into beta testing >> > now, and I'd like to move it to the web so we could get beta testers >> > anywhere. I remember some thread on this and some good replies >> > with some simple steps to get going. Can anyone give me a lead on >> > this? From Jdemarco at hshhp.org Wed Mar 26 12:57:03 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 13:57:03 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567B@TTNEXCHSRV1.hshhp.com> It's pretty neat. I've got an app that does something similar (might have come from this list). I add a shortcut to it to the SendTo menu and when you right-click an mdb and choose it it determines the correct version for you and opens the app in it. Same process he's using in this app I'm sure. Thanks, Jim DeMarco -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Wednesday, March 26, 2003 1:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app I forgot to mention that you can right-click on desktop icons and it will still give you the context menu, so you can choose whatever version you like. Michael R. Mattys www.mattysconsulting.com > > Christian Rosu made this for A2K/A97 > Just needs some more entries for 2002 > http://168.144.193.113/more/A97A2KREG.htm > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From StaRKeY at Wanadoo.nl Wed Mar 26 13:13:47 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed, 26 Mar 2003 20:13:47 +0100 Subject: [AccessD] Re: OT : References In-Reply-To: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: Hi Tomt, You set references to objectmodels, documentation is provided by the referred objectmodel application/container. Suppose you set a reference to Excel 9.0 all the objectinformation is kept inside Excel's VBA help or the provider (MS). All other available libs and their docs should be retreived through their provider if the objectbrowser is not giving enough info... Good luck, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of t tom Sent: woensdag 26 maart 2003 07:36 To: accessd at databaseadvisors.com Subject: [AccessD] Re: OT : References Hi All Does anyone know where I get info on the "Available References" found in Access and VB. I can use the Object Browser but there must be better documentation somewhere! TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Mar 26 13:31:14 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 14:31:14 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567F@TTNEXCHSRV1.hshhp.com> Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 13:41:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 11:41:43 -0800 Subject: [AccessD] MSDE and replication Message-ID: Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Mar 26 14:01:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 15:01:11 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85682@TTNEXCHSRV1.hshhp.com> Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Wed Mar 26 14:02:48 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 15:02:48 -0500 Subject: [AccessD] OT: oh no (list moderators please) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> Cross posted: accessd, dba-VB Now I'm getting the dreaded "email ontvangst bevestiging" message from the VB list!! Jim DeMarco *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 14:59:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 12:59:03 -0800 Subject: [AccessD] MSDE and replication Message-ID: I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 26 15:38:35 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 26 Mar 2003 15:38:35 -0600 Subject: [AccessD] OT: oh no (list moderators please) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> Message-ID: <1048714716.7326.42.camel@sgsax-th4022c> It's been taken care of. Seth On Wed, 2003-03-26 at 14:02, Jim DeMarco wrote: > Cross posted: accessd, dba-VB > > Now I'm getting the dreaded "email ontvangst bevestiging" message from the VB list!! > > Jim DeMarco -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From jeffrey.demulling at usbank.com Wed Mar 26 15:47:23 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 15:47:23 -0600 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: David, Your message made me think and I have gone from an MDB to an ADP. Much easier to deal with. Thanks for the help. "David McAfee" Sent by: accessd-bounces at databaseadvisors.com 03/25/2003 04:57 PM Please respond to accessd To: "'accessd at databaseadvisors.com'" cc: "'jeffrey.demulling at usbank.com'" Subject: RE: [AccessD] Help populating a drop down box in A2K Jeffrey, if a stored procedure (SPROC) is what populating the combo box (and you are in an ADP) then all you have to do is place the following in the combo box's OnEnter event: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere '" & YourParameter & "'" if you have no parameter to send to the SPROC, then it is even easier: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere" or if it simply a view then just place the view's name in the combo's recordsource filed as you would a query. If you are not using an ADP, and instead are using an MDB, you should be able to simply put the name of the query as the rowsource for you combo Doesn't your query/sproc return the result set that you want for your combo? HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, March 25, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help populating a drop down box in A2K Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Wed Mar 26 15:49:38 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 15:49:38 -0600 Subject: [AccessD] AXP and Stored Procs Message-ID: I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Wed Mar 26 16:13:11 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 26 Mar 2003 14:13:11 -0800 Subject: [AccessD] AXP and Stored Procs Message-ID: <657FB70438B7D311AF320090279C1801026D7987@EXCHMAIL> I simply click anywhere in the MDI window and hit F5 D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 1:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 26 16:05:19 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed, 26 Mar 2003 15:05:19 -0700 Subject: [AccessD] AXP and Stored Procs In-Reply-To: Message-ID: If you co to File->Connection, you don't even need to modify anything, Test it and close it it will reset everything, alternatively shut down the .adp and re-open. If neither of those work you either need to check the permissions on the connection (if you don't have permissions on it you won't see it) or make sure you're connecting to the right database. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff From jeffrey.demulling at usbank.com Wed Mar 26 16:52:12 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 16:52:12 -0600 Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc and passing parameters via code Message-ID: One more question. How can I get the code below to work so that I can set the recordsource of the report to the referened stored proc and pass it the parameters that are required? Option Compare Database Private Sub Report_Close() Forms![frmReportsWeeklyRevenue].Visible = True End Sub Private Sub Report_Open(Cancel As Integer) Dim mystartdate As Date Dim myenddate As Date mystartdate = FirstofMonth([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) myenddate = CFMReportEndDate([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) Me.RecordSource = "dbo.SEL_qryClosedMTD" Me.InputParameters = "@stardate=" & mystartdate & ", @enddate=" & myendate varReportName = "rptWeeklyRevenueClosedMTD" varDisplayName = "Weekly Revenue - Closed Month to Date" DoCmd.Maximize End Sub TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Mar 26 17:24:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 26 Mar 2003 18:24:30 -0500 Subject: [AccessD] AXP and Stored Procs In-Reply-To: Message-ID: <000601c2f3ee$da42c490$8e01a8c0@Rock> There is also the possibility that you are creating these new sprocs under a different name than (dbo), in which case they sort weirdly and you see "mySproc (afuller)" or something similar. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 26, 2003 5:05 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP and Stored Procs If you co to File->Connection, you don't even need to modify anything, Test it and close it it will reset everything, alternatively shut down the .adp and re-open. If neither of those work you either need to check the permissions on the connection (if you don't have permissions on it you won't see it) or make sure you're connecting to the right database. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Mar 26 18:28:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 11:28:29 +1100 Subject: [AccessD] A2K: VB Equivalent Message-ID: Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren From cfoust at infostatsystems.com Wed Mar 26 19:38:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 17:38:53 -0800 Subject: [AccessD] A2K: VB Equivalent Message-ID: Access has an Application Icon you can set from the Tools-->Startup menu or create and set the AppIcon property in code, if that's what you're looking for. I've never used the VB Screen object that I recall, so I can't help you there. Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, March 26, 2003 4:28 PM To: AccessD List Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 26 20:07:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Mar 2003 20:07:23 -0600 Subject: [AccessD] A2K: VB Equivalent Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Charlotte answered the icon question. Here's a function for the Twips per pixel. Put this in a module, then call it when your database starts up. Then you'll have two Global variables to represent the twips per pixel x and y. Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long Public intTwipsPerPixelX As Long Public intTwipsPerPixelY As Long Function GetTwipsPerPixel() Dim dwReturn dwReturn = GetDC(0) intTwipsPerPixelX = 1440 / GetDeviceCaps(dwReturn, 88) intTwipsPerPixelY = 1440 / GetDeviceCaps(dwReturn, 90) dwReturn = ReleaseDC(0, dwReturn) End Function -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/26/03 6:28 PM Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Wed Mar 26 20:07:18 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 27 Mar 2003 12:07:18 +1000 Subject: [AccessD] Fieldnames in a Recordset References: Message-ID: <007901c2f405$9dce9310$6465000a@venus> Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina From stuart at lexacorp.com.pg Wed Mar 26 20:20:07 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 27 Mar 2003 12:20:07 +1000 Subject: [AccessD] Fieldnames in a Recordset In-Reply-To: <007901c2f405$9dce9310$6465000a@venus> Message-ID: <3E82EC77.24660.622F83F@localhost> > Hi Everyone > > If someone could please help me here I'd be extremely grateful. > > I have a string which is a field name - ie str = "fieldname" > Then I open a recordset and want to retrieve the value of that field from > the recordset, but want to pass the name as the str, not use the > rst!fieldname=. I'm doing this because I'm looping through 30 odd fields > and don't want to have to type each one out, rather loop through the > controls and get the names this way. Hope this makes sense. > Use the rs("fieldname") structure ie rs(str) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Wed Mar 26 20:56:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 26 Mar 2003 21:56:22 -0500 Subject: [AccessD] MS sponsored webcast on creating .NET application Message-ID: <00b901c2f40c$868a9850$ceecffcc@SusanOne> http://www.microsoft.com/usa/webcasts/upcoming/1786.asp From davide at dalyn.co.nz Wed Mar 26 22:02:53 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 27 Mar 2003 16:02:53 +1200 Subject: [AccessD] A97 Security listing Message-ID: <5.2.0.9.0.20030327160036.00b3cc50@mail.dalyn.co.nz> Does anyone know of a tool that will give a list of objects and what security settings they have for each group? This is a one off exercise but we would like to list each group, then under the group list the Access objects (tables, queries etc), and alongside each object show what permissions have been set. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From mastercafe at ctv.es Wed Mar 26 22:02:21 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu, 27 Mar 2003 05:02:21 +0100 Subject: [AccessD] Fieldnames in a Recordset In-Reply-To: <007901c2f405$9dce9310$6465000a@venus> Message-ID: normally we uses on this format, String in variables. See the sample Function ChangeValue(Result as Variant, FieldName as string, RecSet as string) as result dim db as database dim rs as recordset set db=rs.opendatabase(recset) rs.edit rs.fields(fieldname) = RESULT rs.update rs.close End Function -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Selina Iddon Enviado el: jueves, 27 de marzo de 2003 03:07 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] Fieldnames in a Recordset Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 26 22:15:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Mar 2003 22:15:37 -0600 Subject: [AccessD] Fieldnames in a Recordset Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82472@main2.marlow.com> rs.field(strName).value Drew -----Original Message----- From: Selina Iddon To: accessd at databaseadvisors.com Sent: 3/26/03 8:07 PM Subject: Re: [AccessD] Fieldnames in a Recordset Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Mar 27 00:00:18 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 17:00:18 +1100 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Message-ID: Thanks heaps Drew and Charlotte That answers my q's Now I have another Q :-) Is there an access version of the following from VB Case WM_LBUTTONDOWN Case WM_LBUTTONUP Case WM_LBUTTONDBLCLK I just want to trap mouse clicks I can do this at a form level with the Key_Down proprty But I want to do all this in the form Details and there is no Key_Down property for the detail section of a many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, 27 March 2003 1:07 PM To: 'AccessD List ' Subject: RE: [AccessD] A2K: VB Equivalent Charlotte answered the icon question. Here's a function for the Twips per pixel. Put this in a module, then call it when your database starts up. Then you'll have two Global variables to represent the twips per pixel x and y. Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long Public intTwipsPerPixelX As Long Public intTwipsPerPixelY As Long Function GetTwipsPerPixel() Dim dwReturn dwReturn = GetDC(0) intTwipsPerPixelX = 1440 / GetDeviceCaps(dwReturn, 88) intTwipsPerPixelY = 1440 / GetDeviceCaps(dwReturn, 90) dwReturn = ReleaseDC(0, dwReturn) End Function -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/26/03 6:28 PM Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX 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 stuart at lexacorp.com.pg Thu Mar 27 01:27:06 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 27 Mar 2003 17:27:06 +1000 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: References: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Message-ID: <3E83346A.9051.73C073F@localhost> > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at Optusnet.com.au Thu Mar 27 04:59:11 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 27 Mar 2003 21:59:11 +1100 Subject: [AccessD] Recommend pdf995 Message-ID: <000c01c2f44f$e64bdb80$54dd31d2@OfficePC> I have to give a quick plug to the support staff at Pd5995 - we have discussed several providers of pdf printers beforeon the list, and having bought a 10 user license for the pdf printer from them for a client this week to go with their new system, a couple of issues needed resolving and I found their support to be excellent. Emails were answered within 10 mins every time - spot on. (Not in any way related to me - just a happy customer). Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Thu Mar 27 05:37:03 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 22:37:03 +1100 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: <3E83346A.9051.73C073F@localhost> Message-ID: Hello all I'll explain what I am up to I found some code to put an icon in the systray written in VB Nothing too exciting about that, there are heaps of ways to do this. The code I found looked more promising than other versions and it was all code driven, no OCX's etc. It adds an icon to the systray, then calculates its position in the systray using some code in the originating form's, Form_MouseMove property. I have discovered this is fine in VB but only translates to the detail portion of an Access form(With or without form Headers/footers). The VB code uses the constants... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK in a case statement and once trapped you can run your code. I can't see any Access equivalent (Hence the post) Unfortunately I'm not good enough to trap the normal KeyCodes for Left Button, Right Button and double click anywhere other than a Procedure that exposes the KeyCode stuff. eg something like Private sub Form_KeyDown(KeyCode As Integer, Shift As Integer) I am sure there is a better way to do it and it has probably been done on this list. I just wanted to 'play' with it, without asking for a complete app that does it. But I've had enough, I think I'll use an OCX I saw and 'play' with that instead. Many thanks to all who responded. Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 27 March 2003 6:27 PM To: Darren DICK; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: VB Equivalent > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bheid at appdevgrp.com Thu Mar 27 07:28:43 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 27 Mar 2003 08:28:43 -0500 Subject: [AccessD] Report/Sub report question. SOLVED! Message-ID: <916187228923D311A6FE00A0CC3FAA30332F3A@ADGSERVER> Hi Jim, I really appreciated you looking at this with me. I got busy on the phone the other day and could not reply. One issue I had was that I actually had a many to many relationship. That is each contract on the main form had several records to it. So I ended up making another sub report for the "top" tier. After I did that, it still would not run properly for all scenarios. So I just started changing everything I could to see if something would work. On the main form, I had 2 groupings. The 1st grouping was by project, both header and footer was visible. The 2nd grouping had neither visible. I deleted both groupings and the report ran! So I restored and determined that the project grouping was the problem. But I needed that grouping. So I deleted the header and the report ran again. So I restored again and removed the one label and one bound field from that section and the report ran. I then recreated the two fields in that section and the report ran. So the issue seems to have been some sort of corruption or something in the project header of the main report. So the problem is not always what it seems. LOL. I posted all of the details in the hope that this may help someone in the future. Thanks again Jim. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 11:34 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. In that case, make sure the main report and the sub report have the Contract number as the link field between the two. The query criteria for the sub report needs to have the contract number, the tier code and the order field plus what ever else you want to display. The tier code for the sub report needs to specify "<>0" criteria. If it still doesn't work, send me a sample of the database and I'll take a look at it. Jim From DWUTKA at marlow.com Thu Mar 27 08:55:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 08:55:36 -0600 Subject: [AccessD] A2K: VB Equivalent Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82473@main2.marlow.com> Darren, the MiniCalendar puts an icon in the system tray....click the Computer/Moon icon when you are in cycle mode. Drew -----Original Message----- From: Darren DICK To: stuart at lexacorp.com.pg; accessd at databaseadvisors.com Sent: 3/27/03 5:37 AM Subject: RE: [AccessD] A2K: VB Equivalent Hello all I'll explain what I am up to I found some code to put an icon in the systray written in VB Nothing too exciting about that, there are heaps of ways to do this. The code I found looked more promising than other versions and it was all code driven, no OCX's etc. It adds an icon to the systray, then calculates its position in the systray using some code in the originating form's, Form_MouseMove property. I have discovered this is fine in VB but only translates to the detail portion of an Access form(With or without form Headers/footers). The VB code uses the constants... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK in a case statement and once trapped you can run your code. I can't see any Access equivalent (Hence the post) Unfortunately I'm not good enough to trap the normal KeyCodes for Left Button, Right Button and double click anywhere other than a Procedure that exposes the KeyCode stuff. eg something like Private sub Form_KeyDown(KeyCode As Integer, Shift As Integer) I am sure there is a better way to do it and it has probably been done on this list. I just wanted to 'play' with it, without asking for a complete app that does it. But I've had enough, I think I'll use an OCX I saw and 'play' with that instead. Many thanks to all who responded. Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 27 March 2003 6:27 PM To: Darren DICK; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: VB Equivalent > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 27 09:43:19 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 09:43:19 -0600 Subject: [AccessD] Column count and width through code Message-ID: I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From mikedorism at ntelos.net Thu Mar 27 09:58:59 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 27 Mar 2003 10:58:59 -0500 Subject: [AccessD] Column count and width through code In-Reply-To: Message-ID: <005001c2f479$cbb370b0$51380cd8@hargrove.internal> Me.lstbox.ColumnWidths The value you pass it must be a string. For example, 3 columns with first one hidden, second one 1/2 inch and 3rd one 1 inch.... Me.lstbox.ColumnWidths = "0;.5;1" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 27, 2003 10:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 27 09:58:56 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 09:58:56 -0600 Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc andpassing parameters via code Message-ID: Jeff, The method you are trying will not work although I no longer remember why exactly. You need to set the input parameters in the properties window directly. The way I do this is: 1. Private Sub Report_Open(Cancel As Integer) Me.RecordSource = "dbo.p_DM_NC_REG_BY_DATE_TO_EVENT_FY" 2. In the input parameters box on the properties window: @MyInputParameter1 = Forms!frmWiz!subcrit!txtParam_FY, @MyInputParameter2 = Forms!frmWiz!subcrit!txtParam_Desn where the parmeters get their value from a textbox on the form that calls the report. In my case these are hidden textboxes because I take what the user has chosen and format it as needed so that it passes correctly to my sproc. Optional: In the report, set the control source in the properties window to teh base table so that when you are building the sproc, you can see the fields in the field list. Otherwise, you can set it to the sproc or leave it blank. Note, that you can't set the recordsource and input parameters from the calling form b/c these can only be set when the report is open in design view. There is a work around to this where thorugh code you open the report in design view, assign the sproc and the parameters, save the report, and close the report. then in code open the report again. I found this way too cumbersome so eventually rejected it. --Susan -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Wednesday, March 26, 2003 4:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc andpassing parameters via code One more question. How can I get the code below to work so that I can set the recordsource of the report to the referened stored proc and pass it the parameters that are required? Option Compare Database Private Sub Report_Close() Forms![frmReportsWeeklyRevenue].Visible = True End Sub Private Sub Report_Open(Cancel As Integer) Dim mystartdate As Date Dim myenddate As Date mystartdate = FirstofMonth([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) myenddate = CFMReportEndDate([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) Me.RecordSource = "dbo.SEL_qryClosedMTD" Me.InputParameters = "@stardate=" & mystartdate & ", @enddate=" & myendate varReportName = "rptWeeklyRevenueClosedMTD" varDisplayName = "Weekly Revenue - Closed Month to Date" DoCmd.Maximize End Sub TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Thu Mar 27 10:01:35 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 27 Mar 2003 10:01:35 -0600 Subject: [AccessD] Column count and width through code In-Reply-To: References: Message-ID: <1048780896.8975.12.camel@sgsax-th4022c> Susan, Lo and behold, it turns out you want the ColumnWidths property. Like ColumnCount this property can be read or set at runtime. Look up help on "List Box Control Properties" for a full list of all properties. Seth On Thu, 2003-03-27 at 09:43, Susan Zeller wrote: > I have a listbox whose rowsource changes depending on other selections > from the user. In one case I need 3 columns, in the other case, 5 > columns. Can I set the number of columns and the width of the columns > through code? I found me.lstbox.columncount which I assume gives me the > count. But, I can't find the equivalent in code of "column widths" in > the properties window. I'm thinking this is simple, but it is escaping > me. I'm in Access 2002. > > --Susan -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From paul.hartland at fsmail.net Thu Mar 27 10:02:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 27 Mar 2003 16:02:39 +0000 Subject: [AccessD] Column count and width through code Message-ID: <20030327160239.KWJF16249.fep04-svc.ttys.com@localhost> Susan, I have A2002 and although and just ran a little test on a combo box with the following : me.combobox.columncount = 5 me.combobox.columnwidths = "0;1.0;2.0;3.0;4.0" see how you get on with that.... Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Thu Mar 27 10:06:57 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 27 Mar 2003 16:06:57 +0000 Subject: [AccessD] Column count and width through code Message-ID: <20030327160657.KWMB16249.fep04-svc.ttys.com@localhost> Sorry Susan, I messed up with the last code, the ColumnWidths property should be set like this Me.ComboBox.ColumnWidths = "0cm;1.0cm;2.0cm;3.0cm;4.0cm" Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From szeller at cce.umn.edu Thu Mar 27 10:10:19 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 10:10:19 -0600 Subject: [AccessD] Column count and width through code Message-ID: Got it. The "cm" is the key. Without it, I couldn't get this to work. Thanks! --Susan -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, March 27, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column count and width through code Sorry Susan, I messed up with the last code, the ColumnWidths property should be set like this Me.ComboBox.ColumnWidths = "0cm;1.0cm;2.0cm;3.0cm;4.0cm" Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Mar 27 10:17:32 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 11:17:32 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856AE@TTNEXCHSRV1.hshhp.com> Found it here: Microsoft Knowledge Base Article - 324992. Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From HollisVJ at pgdp.usec.com Thu Mar 27 11:16:11 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 27 Mar 2003 11:16:11 -0600 Subject: [AccessD] Rate for first time Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Mar 27 11:27:51 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 12:27:51 -0500 Subject: [AccessD] Rate for first time Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856B3@TTNEXCHSRV1.hshhp.com> There was a pretty good thread on this a while back so I'd check the archives, but in a nutshell $10 is far too low. I charged my first client (a not for profit) $35 hr. and that was only because they were on a limited budget and I wanted the gig. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Thu Mar 27 11:30:49 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 12:30:49 -0500 Subject: [AccessD] Rate for first time Message-ID: $10.00 an hour is WAY too low IMO. My first job I charged $35/hr. Now when I charge $65-70/hr. If I was to do it as a full time gig, I think I'd charge even more. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 27-Mar-03 12:16:11 PM >>> I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia From scott.marcus at ae.ge.com Thu Mar 27 11:31:31 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu, 27 Mar 2003 12:31:31 -0500 Subject: [AccessD] Rate for first time Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D48@bwam02msx.ae.ge.com> Virginia, $10.00 is roughly $20,000 / year. Unskilled labor earns appoximately this amount. That is an extremely low rate...I don't care what part of the US we are talking about. You are in the US, right? I'm not sure what your skill level is so it is hard to say what would be fair.... Scott -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Mar 27 11:52:57 2003 From: john at winhaven.net (John Bartow) Date: Thu, 27 Mar 2003 11:52:57 -0600 Subject: [AccessD] Rate for first time In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 27, 2003 11:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Mar 27 11:44:15 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 27 Mar 2003 12:44:15 -0500 Subject: [AccessD] Rate for first time References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: <00ca01c2f488$7d588cc0$2a4afccc@SusanOne> http://www.databaseadvisors.com/newsletters/0107consultantcorner.htm Since this is your first project, you might consider asking someone here to help advise you -- in a mentor capacity or to actually work along beside you in the entire process until you get the hang of it. Just a thought -- especially if you're a tad worried about it. A consultant is an independent contractor. Susan H. I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Mar 27 11:46:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 09:46:12 -0800 Subject: [AccessD] Rate for first time Message-ID: That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Thu Mar 27 11:53:16 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Thu, 27 Mar 2003 08:53:16 -0900 Subject: [AccessD] Rate for first time Message-ID: Straight out of college I couldn't find a job, so I started consulting for $15 (I needed the money!). That was years ago, it's no longer my full time gig and I now have a great job. I still like contracting in my off time, but my personal time is valuable also, so now I never charge less than $50/hour, usually $75. I also cap my contracting hours per week at 20. Many factors weighed into how I came up with my hourly rate for contracting, few of which was what others were charging. Also, don't let the fact that this is your first gig affect your rate. * Don't forget the tax implications * If this is in additional to a full time job, you can either give a discount because you don't need the $$, or you can charge a premium because you are essentially working overtime every hour you are working for them (i.e. your FT job's OT rate after taxes). * What are you getting out of this? Experience? Exposure? Pleasure? Future growth and contracting opportunities? * What do you want out of this? Do they match the above? * How much cash would be worth it to you - after taxes! These questions will really help you peg a dollar amount. If the market rate is higher, then bump it up higher to match or barely undercut the market. If it is lower, does your skill match your above market rate? Just my method of determining my rate. It may not be right for everyone. Mark [Porter, Mark] -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 8:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Thu Mar 27 11:55:21 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 27 Mar 2003 11:55:21 -0600 Subject: [AccessD] Rate for first time Message-ID: Yes, $10.00 is too low. Keep the rate higher and bill less hours if you don't feel right about billing while "learning" something new. But you are establishing a relationship and once you set that rate, you will have a real hard time raising it later, so aim high. Only you can know what your free time is worth. When I do the occaisional outside moonlighting gig, I generally take my regularly hourly wage on my day job and double it. And then I adjust that number a bit up or down depending on how bad I want to work on the specific project. If I really don't want to do it, I set a pretty high rate and then I feel better about working on the project while I'm doing the work. My free time is worth a lot to me so I hate giving it up. Of course I have a full time day job that I am usually able to put in as many hours as I want to, so mostly I'm not needing the extra work either. If I were wanting more work, I'd probably have a bit of a lower rate so as to attract more business. I'd say that you should charge AT LEAST $25 an hour though no matter what or where. You can always bill less hours if you feel guilty about charging to much. Gary Kjos garykjos at hotmail.com >From: "Hollis,Virginia" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] Rate for first time >Date: Thu, 27 Mar 2003 11:16:11 -0600 > >I know this has been asked a zillion times.... > >What is a fair hourly rate for developers? I have been asked to do my first >outside developing for a company. Since this is my first time, is 10.00 >hour >too low? > >They are wanting it set up as a consultant, is that different than an >independent contractor? I am not sure what the difference would be tax >wise? >Any suggestions? > >Virginia >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From artful at rogers.com Thu Mar 27 11:56:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 27 Mar 2003 12:56:06 -0500 Subject: [AccessD] Rate for first time In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: <007201c2f48a$23eec530$8e01a8c0@Rock> Murderous postal workers make more than that, you Virgin :-) Itinerant Romanian fleshbies make more than that. Ask $100/hr. Be prepared to negotiate. Remember that the moment you choose to freelance you forego all the emp-perks such as dental plan, etc. Therefore you got to pick up that slack, and if your hourly rate don't cover it then when your teeth fall out, which they most assuredly will do, you're on the hook for said expense. If you don't factor it in, you factor it out. Also consider the employer costs of giving you a cublicle and a box and requisite software. (IMO most firms have no idea what the software costs are likely to be: annual updates to MSDN, annual subscription costs to SQL groups etc., licences to distribute runtimes, it goes on and on and on.) I call this overhead and distribute the costs among my clients. If you only have one, then that client pays it all, over and above your hourly rate, or alternatively, you roll said costs into an aggregate that all your customers are expected to contribute to. Just my $.02 Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 27 12:01:53 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 12:01:53 -0600 Subject: [AccessD] Rate for first time Message-ID: Virginia, You will net less than $5.00 per hour! Are you that cheap?? I doubt it. More likely, you got the decimal point in the wrong place. Remember, as an outside consultant/independent contractor you are responsible for federal, state, and local tax withholding, both portions of Social Security (this amounts to over 16%), medical insurance, retirement, etc. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday 2003 Mar 27 11:16 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.marcus at ae.ge.com Thu Mar 27 12:14:30 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu, 27 Mar 2003 13:14:30 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D4A@bwam02msx.ae.ge.com> Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 27 12:24:30 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 27 Mar 2003 13:24:30 -0500 Subject: [AccessD] Rate for first time Message-ID: <01C2F464.334349F0.bob@renaissancesiding.com> Virginia When I first started taking on contract jobs, I knew that there were all sorts of hidden costs, just like everyone has pointed out. At the same time, I realized that I was a bit of a novice and would be learning while I worked. In order to ensure that the employer appreciated my worth, but still be fair, I charged $75.00 - and then discounted the jobs based upon my knowledge versus my learning. If everything that I did was what I already knew, I sometimes didn't even discount it at all. However, on one job, I saw that I would be doing many things that I had never done before, and that the knowledge I would learn would be of benefit to me for future jobs (that I would not be discounting), so I offered that contract with a 50% discount ... effectively working for $37.50 per hour. I not only got the contract, but they liked my honesty (and work) so much that they hired me full time. I still do some contract jobs, and the skills that I learn or fine-tune every day at my new career permit me to charge full price on those side jobs. A win-win situation for me; all because I priced my work at full value less a discount. As long as I'm on this topic, I'd like to thank EVERYONE on this list again, as this is where a great deal of my learning has come from, and put me in the position that I am today. The gurus are great - they have helped me with every single problem that I have presented ... and the lurkers and learners have helped me almost as much, because they ask the questions that I would have. Regards, Bob Gajewski On Thursday, March 27, 2003 12:32 PM, Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] wrote: > Virginia, > > $10.00 is roughly $20,000 / year. Unskilled labor earns appoximately this > amount. That is an extremely low rate...I don't care what part of the US we are > talking about. You are in the US, right? I'm not sure what your skill level is > so it is hard to say what would be fair... > > Scott > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 27, 2003 12:16 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Rate for first time > > > I know this has been asked a zillion times... > > What is a fair hourly rate for developers? I have been asked to do my first > outside developing for a company. Since this is my first time, is 10.00 hour too > low? > > They are wanting it set up as a consultant, is that different than an > independent contractor? I am not sure what the difference would be tax wise? Any > suggestions? > > Virginia > > << File: ATT00008.htm >> << File: ATT00009.txt >> From donald.a.Mcgillivray at mail.sprint.com Thu Mar 27 12:29:23 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Thu, 27 Mar 2003 12:29:23 -0600 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF010FDA4F@PKDWB01C.ad.sprint.com> Ok, I guess I really am clueless. I'm trying to intercept control values on a form prior to their being pushed to the underlying table so I can validate user entries and display my own error message and prompt for re-entry if necessary. I have a VERY simple bound form/subform. The main form has only two controls: txtPersonID and txtDate (bound to their respective fields) the combination of which defines a unique index in the underlying table; the subform contains the child records for the person/date combination specified on the main form. I've put code in the BeforeUpdate events of both the form and the date control (separately - not at the same time), and so far have been unable to get my code to fire when deliberately violating the person/date index rule. Instead, I get the default warning (from Jet, I think?) about the new record violating the table's indexing rules. I guess the record is getting pushed to the table BEFORE the BeforeUpdate event fires. Access then takes over, testing the validity of the entry and sending its own message, which (I promise) will only confuse my users. I have also tried using the form's BeforeInsert event, but that causes my code to fire at the first keystroke on the clean form (before there's any data to validate.) Obviously, I'm misunderstanding the use of these events for validation, or I'm adopting an incorrect strategy for dealing with this issue. Anybody out there willing to escort me out of the woods or offer alternative solutions? Thanks! From EdTesiny at oasas.state.ny.us Thu Mar 27 12:30:30 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 27 Mar 2003 13:30:30 -0500 Subject: [AccessD] OT: Test Message-ID: Haven't received any posts in 3 hrs, probably my network people foolin around again Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Thu Mar 27 12:47:27 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri, 28 Mar 2003 02:47:27 +0800 Subject: [AccessD] OT: Test Message-ID: <20030327191154.4D24ECD7E@fetchmail001.magicaldesk.com.hk> An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 27 12:54:07 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 27 Mar 2003 13:54:07 -0500 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <01C2F468.568EF220.bob@renaissancesiding.com> Donald It sounds like you're in the right area; it may just be the actual code that needs tweaking. Please post your code so that we can better assist you. Regards, Bob Gajewski On Thursday, March 27, 2003 13:29 PM, Mcgillivray, Donald [LTD] [SMTP:donald.a.Mcgillivray at mail.sprint.com] wrote: > Ok, I guess I really am clueless > > I'm trying to intercept control values on a form prior to their being pushed > to the underlying table so I can validate user entries and display my own > error message and prompt for re-entry if necessary. > > I have a VERY simple bound form/subform. The main form has only two > controls: txtPersonID and txtDate (bound to their respective fields) the > combination of which defines a unique index in the underlying table; the > subform contains the child records for the person/date combination specified > on the main form > > I've put code in the BeforeUpdate events of both the form and the date > control (separately - not at the same time), and so far have been unable to > get my code to fire when deliberately violating the person/date index rule > Instead, I get the default warning (from Jet, I think?) about the new record > violating the table's indexing rules. I guess the record is getting pushed > to the table BEFORE the BeforeUpdate event fires. Access then takes over, > testing the validity of the entry and sending its own message, which (I > promise) will only confuse my users. I have also tried using the form's > BeforeInsert event, but that causes my code to fire at the first keystroke > on the clean form (before there's any data to validate.) > > Obviously, I'm misunderstanding the use of these events for validation, or > I'm adopting an incorrect strategy for dealing with this issue. Anybody out > there willing to escort me out of the woods or offer alternative solutions? > > Thanks! > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jcolby at ColbyConsulting.com Thu Mar 27 13:14:32 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 14:14:32 -0500 Subject: [AccessD] Margins in IE In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856AE@TTNEXCHSRV1.hshhp.com> Message-ID: Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 27, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Found it here: Microsoft Knowledge Base Article - 324992. Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3524 bytes Desc: not available URL: From accessd at brougham.co.uk Thu Mar 27 13:18:06 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Thu, 27 Mar 2003 19:18:06 -0000 Subject: [AccessD] OT: Test References: Message-ID: <03d001c2f495$98fc2100$253c98d5@brougham.info> Tesiny, Ed wrote: > Haven't received any posts in 3 hrs, probably my network people foolin > around again Yup, looks like it from this end. All the mail you haven't had is queued up and our server will retry sending to you over the next few hours. Bro From Jdemarco at hshhp.org Thu Mar 27 13:18:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 14:18:46 -0500 Subject: [AccessD] Margins in IE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856BC@TTNEXCHSRV1.hshhp.com> I copied the whole thing and pasted it into Word so I could print it (I also printed a cut off IE copy first of course). Jim DeMarco > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 2:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > I've never tried it and I wasn't clear on what you were asking. All I > can suggest is that you try it. MSDE is SQL Server with some > limitations and without the management tools. I'm not sure how you > would handle replication under those circumstances. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 12:01 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Without requiring full SQL Server? If you're right that will be a great > relief! > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 2:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Replication is supported by SQL Server and the desktop engine, not just > by Jet, so you should be able to use it with VB. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 11:31 AM > To: AccessD (E-mail); VB List (E-mail) > Subject: [AccessD] MSDE and replication > > > Cross posted: AccessD & dba-VB > > Does anyone know if I can replicate a MSDE BE when using VB as FE or is > it limited to Access ADPs? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT277343.txt >> *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From donald.a.Mcgillivray at mail.sprint.com Thu Mar 27 13:26:28 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Thu, 27 Mar 2003 13:26:28 -0600 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF010FDB2C@PKDWB01C.ad.sprint.com> Thanks, Bob Your confirmation of the validity of my approach inspired me to study my code more closely. I thought I'd chased down all the possible errors, before posting my request, but on closer examination I noticed an error in the syntax of the line that evaluated the form data. I fixed the line, and 'voila', it worked. Sorry for the false alarm, and many thanks for providing a nudge in the right direction. Don McGillivray -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Thursday, March 27, 2003 10:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Data Validation on Form - A97 Donald It sounds like you're in the right area; it may just be the actual code that needs tweaking. Please post your code so that we can better assist you. Regards, Bob Gajewski From CWortz at tea.state.tx.us Thu Mar 27 13:25:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 13:25:40 -0600 Subject: [AccessD] Margins in IE Message-ID: John, I haven't looked at this particular article, but other M$ webpages' source code that I have examined had everything in absolute pixels, not percentages. Thus, unless you have 23 inch monitors which seems to be the standard with M$ webheads (or can set your monitor for 1400 x 1000) you are out of luck. If you want to print the page, my suggestion is to save it to your PC as a Word document. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:15 > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > it free! http://www.eMailBoss.com << File: ATT873567.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Thu Mar 27 13:27:59 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 14:27:59 -0500 Subject: [AccessD] Margins in IE Message-ID: Copy and paste out of IE? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at ColbyConsulting.com 27-Mar-03 2:14:32 PM >>> Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? From jcolby at ColbyConsulting.com Thu Mar 27 13:28:46 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 14:28:46 -0500 Subject: [AccessD] Margins in IE In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856BC@TTNEXCHSRV1.hshhp.com> Message-ID: yea, I did that too. Seems like there should be a wrap setting in IE. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 27, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Margins in IE I copied the whole thing and pasted it into Word so I could print it (I also printed a cut off IE copy first of course). Jim DeMarco > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 2:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > I've never tried it and I wasn't clear on what you were asking. All I > can suggest is that you try it. MSDE is SQL Server with some > limitations and without the management tools. I'm not sure how you > would handle replication under those circumstances. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 12:01 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Without requiring full SQL Server? If you're right that will be a great > relief! > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 2:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Replication is supported by SQL Server and the desktop engine, not just > by Jet, so you should be able to use it with VB. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 11:31 AM > To: AccessD (E-mail); VB List (E-mail) > Subject: [AccessD] MSDE and replication > > > Cross posted: AccessD & dba-VB > > Does anyone know if I can replicate a MSDE BE when using VB as FE or is > it limited to Access ADPs? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT277343.txt >> **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4028 bytes Desc: not available URL: From CWortz at tea.state.tx.us Thu Mar 27 13:38:48 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 13:38:48 -0600 Subject: [AccessD] Margins in IE Message-ID: John, If the M$ Webheads did things correctly, they would always set widths to percentages so the pages can adjust to your monitor. But as I said in my earlier response, they seem to always use absolute pixel counts that only work for 1400 pixel wide monitors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:29 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > yea, I did that too. Seems like there should be a wrap setting in IE. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 2:19 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > > I copied the whole thing and pasted it into Word so I could print it > (I also printed a cut off IE copy first of course). > > Jim DeMarco > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > > Sent: Thursday, March 27, 2003 2:15 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Margins in IE > > > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 11:18 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDE and replication > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > Thanks, > > > > Jim DeMarco > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Thu Mar 27 13:48:10 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu, 27 Mar 2003 19:48:10 +0000 (GMT) Subject: [AccessD] Margins in IE In-Reply-To: References: Message-ID: <1048794490.3e83557a633e9@hosea.qub.ac.uk> I usually set the text to the smallest size then pull the browser in tight which wraps the text. Works sometimes. Most of the time its cut and paste to word. I like site like 4guysfromrolla.com who offer a print page option. Martin Quoting "Wortz, Charles" : > John, > > If the M$ Webheads did things correctly, they would always set widths > to > percentages so the pages can adjust to your monitor. But as I said in > my earlier response, they seem to always use absolute pixel counts > that > only work for 1400 pixel wide monitors. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Thursday 2003 Mar 27 13:29 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Margins in IE > > > > yea, I did that too. Seems like there should be a wrap setting in > IE. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 2:19 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Margins in IE > > > > > > I copied the whole thing and pasted it into Word so I could print it > > (I also printed a cut off IE copy first of course). > > > > Jim DeMarco > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > > Sent: Thursday, March 27, 2003 2:15 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Margins in IE > > > > > > Answer me this. I went to this article, and the lines aren't > > wrapping. What a PITA that is. They don't wrap when printed > either. > > So how do I get the lines to wrap in IE? > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > > DeMarco > > > Sent: Thursday, March 27, 2003 11:18 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] MSDE and replication > > > > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > > > Thanks, > > > > > > Jim DeMarco > > > From Bryan_Carbonnell at cbc.ca Thu Mar 27 14:13:36 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 15:13:36 -0500 Subject: [AccessD] Margins in IE Message-ID: This particular article it totally hosed. I have my monitor set to 1600 X 1280 and I still get unwrapped lines. I've always maintained that MS can't do web stuff very well and this just reinforces it for me. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 27-Mar-03 2:38:48 PM >>> John, If the M$ Webheads did things correctly, they would always set widths to percentages so the pages can adjust to your monitor. But as I said in my earlier response, they seem to always use absolute pixel counts that only work for 1400 pixel wide monitors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:29 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > yea, I did that too. Seems like there should be a wrap setting in IE. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 2:19 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > > I copied the whole thing and pasted it into Word so I could print it > (I also printed a cut off IE copy first of course). > > Jim DeMarco > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > > Sent: Thursday, March 27, 2003 2:15 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Margins in IE > > > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 11:18 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDE and replication > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > Thanks, > > > > Jim DeMarco > From cfoust at infostatsystems.com Thu Mar 27 14:58:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 12:58:58 -0800 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Thursday, March 27, 2003 10:15 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT:Building your business was... Rate for first time Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From klk at ksu.edu Thu Mar 27 15:22:26 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Thu, 27 Mar 2003 15:22:26 -0600 Subject: [AccessD] Rate for first time In-Reply-To: Message-ID: <004d01c2f4a6$f8505d40$43588281@current> Small exaggeration there, but I think the point is well met. However to clarify, McPloyees are still making minimum wage, and managers are lucky to pull more than $7/hr. Keith L. Kovala -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 27, 2003 11:53 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 27, 2003 11:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia From CWortz at tea.state.tx.us Thu Mar 27 15:29:39 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 15:29:39 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 27 15:35:30 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 15:35:30 -0600 Subject: [AccessD] Rate for first time Message-ID: Keith, KSU is out in the middle of nowhere with 5,000 students competing for 100 jobs, so minimum wage prevails. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Keith L. Kovala [mailto:klk at ksu.edu] Sent: Thursday 2003 Mar 27 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time Small exaggeration there, but I think the point is well met. However to clarify, McPloyees are still making minimum wage, and managers are lucky to pull more than $7/hr. Keith L. Kovala -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 27, 2003 11:53 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB From JHewson at karta.com Thu Mar 27 15:41:36 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 27 Mar 2003 15:41:36 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> I work for a company that contracts my database development services to clients. My rates to develop Access databases range from $65 to $125 per hour depending on the location of the customer (San Antonio vs DC), location of the work (customer site vs my office) and complexity of the project. I can assure you, I do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 27, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Thu Mar 27 15:55:57 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 27 Mar 2003 15:55:57 -0600 Subject: [AccessD] Rate for first time In-Reply-To: References: Message-ID: <1048802158.8893.96.camel@sgsax-th4022c> That's 20,000 students, thank you very much. Although not all of them are probably looking for jobs at the same time. :) Seth On Thu, 2003-03-27 at 15:35, Wortz, Charles wrote: > Keith, > > KSU is out in the middle of nowhere with 5,000 students competing for > 100 jobs, so minimum wage prevails. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Keith L. Kovala [mailto:klk at ksu.edu] > Sent: Thursday 2003 Mar 27 15:22 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Rate for first time > > Small exaggeration there, but I think the point is well met. However to > clarify, McPloyees are still making minimum wage, and managers are lucky > to pull more than $7/hr. > > Keith L. Kovala > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From thevigil at kabelfoon.nl Thu Mar 27 16:17:01 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Thu, 27 Mar 2003 23:17:01 +0100 Subject: [AccessD] Breakpoint SOLVED References: <1091FC4177258B40BC4B712C053AF57D1256D0@excincybe03.cinergy.com> Message-ID: <015801c2f4ae$b3832b40$115b2d3e@jester> Thanks for the suggestion. I didn't try it. I started up my PC, after giving it a day rest and.... the problem was solved without doing anything.... Bert-Jan ----- Original Message ----- From: "Ehlers, Rick" To: Sent: Wednesday, March 26, 2003 1:04 PM Subject: RE: [AccessD] Breakpoint > Bert-Jan, > > Under Access 2000 - Tools - Startup - Advanced, there is a checkbox to turn off and on the use of special Access keys. I have been burned when testing code that if the box is not checked, the code won't stop at the breakpoint. The other problem I have is if I set a breakpoint and then toggle it back off later and leave the startup option unchecked, my "phantom" breakpoint is still active, even after I close the application. This never occurred under Access 97. Must be a "feature". > > HTH > > Rick Ehlers > Energy Merchant Business Unit > Power Business Information > 4th & Main - Room 540A > Phone: (513) 287-3406 > EMail: rhehlers at cinergy.com > > -----Original Message----- > From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] > Sent: Tuesday, March 25, 2003 4:56 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Breakpoint > > > Hi Group, > > while trying to solve something i was troubling with i placed a breakpoint > in the code to see how the code was executed. > But while running the code Access won't jump to the breakpoint...? > > It does in other databases on the same PC? > > I use A2k on a Windows 2000 professional machine > > Bert-Jan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Thu Mar 27 16:17:23 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Thu, 27 Mar 2003 23:17:23 +0100 Subject: [AccessD] for each.... SOLVED References: <015201c2f319$73b3f260$115b2d3e@jester> Message-ID: <015901c2f4ae$b3d717a0$115b2d3e@jester> I started up my PC, after giving it a day rest and.... the problem was solved without doing anything.... Bert-Jan ----- Original Message ----- From: "Bert-Jan Brinkhuis" To: Sent: Tuesday, March 25, 2003 10:56 PM Subject: [AccessD] for each.... > Hi group. > > The strangest thing is happening to me (which i was unable to solve the past > hour ;-( ): > The following code used in one event is working fine and in the other not: > > dim ctl as control > > for eacht ctl in me.detail.controls > debug.print ctl.name > next > > When it is working fine it lists all controls in the detailsection... that > is what i want > When it doesn't work fine fine it only lists 1 control? > > Why? > > And why it does lists that specific control i do not know? I gave it another > tab index and i replaced it on the form but still it will list the same > control (i am rewriting someone elses database, so i do not know if that > control was created first on that form, but i suspect that is the thing... > does access keep another (hidden) order of controls on a form?) > > And while i was trying to solve this i found another strange thing..... (i > will start a different thread for this aswell) > I placed a breakpoint in the code to see how it was executed..... and it > didn't jump to the breakpoint...?? And it does in other databases on the > same PC! > > Bert-Jan > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Thu Mar 27 16:55:50 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu, 27 Mar 2003 17:55:50 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: <004201c2f4b4$1f2675a0$6601a8c0@joe.indy.rr.com> The "rule of thumb" that I have always used is to charge a daily rate that is equal to 1% of an employees salary. If a person is paid $60,000 per year, the daily rate is $600 -- or $75 per hour ($85 in NYC because it is only a 7 hour day). Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Wortz, Charles To: accessd at databaseadvisors.com Date: Thursday, March 27, 2003 5:12 PM Subject: RE: [AccessD] OT:Building your business was... Rate for first time I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Thu Mar 27 17:07:38 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 27 Mar 2003 17:07:38 -0600 Subject: [AccessD] Trapping an ODBC error from MS SQL server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBF8@cpixchng-1.cpiqpc.net> I am copying data from a vendor's MS SQL server table to an in-house SQL server table. Right now I have a pass-through query setup in A97 to copy the data after certain other criteria are met. The vendor table has a Unique ID field that I am copying. I have setup the id field on our table to be unique and to ignore duplicate values. The problem is I get an ODBC error each time the query runs then another message telling me the dupicate values were ignored. The data gets copied just fine. My question is, is there a way in A97 to get the error number that SQL generates so I know to ignore this error. If I trap for the Access error it is just the standard ODBC call failed error which could be anything - Or - could I rewrite my SQL statement so it doesn't try to copy duplicate records following is my current sql statement: INSERT INTO tblDepositsFromVendor (DepositID, DepositDate, AccountNumber, DepositAmount) SELECT deposit_id, deposit_date, account_number, deposit_amount FROM vendorserver.venderdatabase.dbo.cw_deposits thanks Rusty Hammond From mastercafe at ctv.es Thu Mar 27 17:43:48 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Fri, 28 Mar 2003 00:43:48 +0100 Subject: [AccessD] Manage Thermal Printers In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBF8@cpixchng-1.cpiqpc.net> Message-ID: We are looking for how to control Epson Tm88 family printers or Samsung SRP 350 printers from A2k. We are checking de Epson OPOS software and solve a big part of this, but was totally uncompatible with SRP350. We look the printer control using ASCII sequences like DLE -EOT n but don't undestand how to manipulate. Any knows where we check information about this?? Thanks Juan Men?ndez Mastercafe SL From wdhindman at bellsouth.net Thu Mar 27 17:56:05 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 18:56:05 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time References: <768A0EA6FF8CB34FA522978966E5D52E559D4A@bwam02msx.ae.ge.com> Message-ID: <004001c2f4bc$6e120960$6101a8c0@amd2k512> MessageMarcus ...its a constant, never ending process that you really have to work at ...you have to set aside time almost every day to "market" yourself, something that doesn't usually come naturally to those of us who gravitate toward database development as a career choice ...buy a copy of "Guerilla Marketing" ...its an inexpensive staple at every bookstore and worth its weight in gold a thousand times over ...at least it has been for me :) ...I do a bi-weekly newsletter for both current and past clients ...bugger together a few relevant articles off the net and cut it down to their level ...put in a few personal bits to give them that warm, fuzzy feeling ...some relevant humor ...usually one page double sided ...takes no more than an hour or so but you'd be amazed at how it keeps your face in front of them ...and past clients are the very best resource you have for capturing new clients ...as well as new work from them. ...I also just "drop by" whenever I have a few minutes and am in the neighborhood ...never impose, never stay long ..."how're things going ...blah, blah, blah" ...you know them, they know you ...its not like selling something ...but I always leave a few cards ...and ALWAYS touch bases with the 2nd level while you're there ...if the Secretary likes you, you can bet others there will ...between the newsletters and the "drop-ins" I manage to get more than enough referrals to replace the work that is at its end ...and the work you get by referral usually commands better prices because someone they know has already vouched for your work (which is the primary reason you never cut your hourly rate ...it gets passed on along with every referral ...cut your hours if you must but never that rate) :) ...advertising has rarely worked for me ...couple lines in the Yellow Pages will get you a few calls and less work ...the net is filled with people buying work at rates that won't feed the cat much less me so I've never used it for marketing. ...startup can be rough ...if you can't afford some dry spells you shouldn't look to consulting for a living ...make a list of everyone you know ...then let them know you're looking for database development work ...it can be absolutely amazing who you don't know that your friends do ...and lucrative :) ...volunteer your time with non-profits but always invoice them for it with your hourly rate and an N/C notation ...they have a LOT of contacts ...make them happy and they'll help you along the way ...just remember to be patient ...the people who work for non-profits tend to have disconnects with the real world ...so treat them just as you would any other business even though you're not getting paid ...get it in writing ...spec the job as well as remedies for any changes along the way ...else you'll never FINISH that gratis work and build the type of relationship you need to turn them into a referral system for you. ...just my experience ...others certainly have succeeded doing just the opposite ...just remember to have a bit of fun along the way ...otherwise you might as well be drawing that steady paycheck and bennies :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Marcus, Scott (GEAE, RHI Consulting) To: 'accessd at databaseadvisors.com' Sent: Thursday, March 27, 2003 1:14 PM Subject: [AccessD] OT:Building your business was... Rate for first time Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Thu Mar 27 19:23:40 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 20:23:40 -0500 Subject: [AccessD] Replication - A2K Message-ID: I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From DWUTKA at marlow.com Thu Mar 27 19:37:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 19:37:23 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B4@main2.marlow.com> Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 19:46:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 20:46:04 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824B4@main2.marlow.com> Message-ID: Why would the replication slow things down? The FE/BE running locally speeds things up by a factor of two. Replication simply allows me to run the BE/FE locally on every machine. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, March 27, 2003 8:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3232 bytes Desc: not available URL: From cfoust at infostatsystems.com Thu Mar 27 19:47:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 17:47:58 -0800 Subject: [AccessD] Replication - A2K Message-ID: Drew, That makes no sense. It's the back end that gets replicated, which gives the user a local backend to work with. That has to be faster than a LAN-based back end. It isn't like the replicas are synced constantly. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 5:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 19:54:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 19:54:52 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> True, replication wouldn't slow down the normal 'running' processes, but I'm adding in the sync time to replicate it on every database. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > Why would the replication slow things down? The FE/BE running locally > speeds things up by a factor of two. Replication simply allows me to run > the BE/FE locally on every machine. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Thursday, March 27, 2003 8:37 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Replication - A2K > > > Just out of curiousity, what all have you tried to speed things up? It > sounds like you want to replicate a database to run 'locally' on > everyone's > machine. I would be willing to be that would slow things down on it's > own, > even if the db is running locally. > > Are all of the users on a LAN, or are some accessing this through a VPN? > In > that case I could see replication being used. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:24 PM > To: AccessD > Subject: [AccessD] Replication - A2K > > > I need any info / experiences anyone can share re replication. My > insurance > client has a functioning database now that is SLOOOOOooooow. They came > from > a "flat file" where they had basically a single table with 125+ fields to > a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter > how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time > (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development > copy > of the db on his desktop and it is about twice as fast. Therefore he > thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> From michael.mattys at adelphia.net Thu Mar 27 20:03:18 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 27 Mar 2003 21:03:18 -0500 Subject: [AccessD] Replication - A2K References: Message-ID: <01bb01c2f4ce$351ae2f0$6401a8c0@default> John, I have a few things I've collected on A97 that you might look at (Rep FAQ, Partial Rep Wizard, etc) Want me to send this stuff to you? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Thursday, March 27, 2003 8:23 PM Subject: [AccessD] Replication - A2K > I need any info / experiences anyone can share re replication. My insurance > client has a functioning database now that is SLOOOOOooooow. They came from > a "flat file" where they had basically a single table with 125+ fields to a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development copy > of the db on his desktop and it is about twice as fast. Therefore he thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davide at dalyn.co.nz Thu Mar 27 20:07:36 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 28 Mar 2003 14:07:36 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> John, I have had experiences with two replicated databases. One on a local lan, the other replicating via dial up network. Both in A97. According to Arthur, A2K (Jet 4) is more stable. My main experience on the lan was that the database corrupted frequently. All the research I could find pinned it down to a faulty network but I am not a network techo so I had to leave it to the IT department. Eventually we ended up converting to SQL. However, the corruptions were due to the BE being on a server. In your case if the BE is on the local machines (and the users don't need up to date information) then indirect synchronization should work fine (as opposed to direct synchronization - fewer opportunities for corruption across the network. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 27/03/2003, you wrote: >I need any info / experiences anyone can share re replication. My insurance >client has a functioning database now that is SLOOOOOooooow. They came from >a "flat file" where they had basically a single table with 125+ fields to a >fully relational FE/BE with of course much expanded functionality - and of >course the speed isn't anywhere close to the same as the old. No matter how >you explain, the user doesn't know what goes on behind the scenes, and >doesn't care. All they know is that it is slower. Plus they are adding >more employees (up to about 25 now from under 20 when I started the >project - and still climbing). > >They will probably go to SQl Server someday but now is not the time (money). >I have been discussing options with them and explained to the tech contact >the idea behind replication. He has been running a FE / BE development copy >of the db on his desktop and it is about twice as fast. Therefore he thinks >that replication might solve their speed issues for the short term (for a >year or so) until such time as they could make the move to SQL Server. > >So I need info. I have done replication one time, just on my own system, >just to see how it worked - and that was a long time ago. So I need to >start a thread with anyone who has current experience on how to set it up, >what is involved, any good reference material to read, would it work to >merge the BE/FE back in and also replicate design changes, etc. > >Anyone with info out there? > >Thanks, > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:13:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:13:27 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> Message-ID: Yea, but that time is taken out of the server database, not the workstation database. I don't care about that time. In fact though, the replication data is a TINY amount of data compared to the normal load of full on bound table queries, all the combos etc. So the total network load should drop drastically as well. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, March 27, 2003 8:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K True, replication wouldn't slow down the normal 'running' processes, but I'm adding in the sync time to replicate it on every database. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > Why would the replication slow things down? The FE/BE running locally > speeds things up by a factor of two. Replication simply allows me to run > the BE/FE locally on every machine. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Thursday, March 27, 2003 8:37 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Replication - A2K > > > Just out of curiousity, what all have you tried to speed things up? It > sounds like you want to replicate a database to run 'locally' on > everyone's > machine. I would be willing to be that would slow things down on it's > own, > even if the db is running locally. > > Are all of the users on a LAN, or are some accessing this through a VPN? > In > that case I could see replication being used. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:24 PM > To: AccessD > Subject: [AccessD] Replication - A2K > > > I need any info / experiences anyone can share re replication. My > insurance > client has a functioning database now that is SLOOOOOooooow. They came > from > a "flat file" where they had basically a single table with 125+ fields to > a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter > how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time > (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development > copy > of the db on his desktop and it is about twice as fast. Therefore he > thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3688 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Thu Mar 27 20:13:42 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:13:42 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <01bb01c2f4ce$351ae2f0$6401a8c0@default> Message-ID: Yes please. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Thursday, March 27, 2003 9:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K John, I have a few things I've collected on A97 that you might look at (Rep FAQ, Partial Rep Wizard, etc) Want me to send this stuff to you? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Thursday, March 27, 2003 8:23 PM Subject: [AccessD] Replication - A2K > I need any info / experiences anyone can share re replication. My insurance > client has a functioning database now that is SLOOOOOooooow. They came from > a "flat file" where they had basically a single table with 125+ fields to a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development copy > of the db on his desktop and it is about twice as fast. Therefore he thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3108 bytes Desc: not available URL: From DWUTKA at marlow.com Thu Mar 27 20:14:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 20:14:46 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B6@main2.marlow.com> I realize that, I know that immediate processes will speed up, but replication is going to add to the over all processing time. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 7:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Drew, That makes no sense. It's the back end that gets replicated, which gives the user a local backend to work with. That has to be faster than a LAN-based back end. It isn't like the replicas are synced constantly. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 5:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Thu Mar 27 20:20:56 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 21:20:56 -0500 Subject: [AccessD] Replication - A2K References: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> Message-ID: <00a301c2f4d0$aa541fd0$6101a8c0@amd2k512> ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:23:37 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:23:37 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> Message-ID: I'll have to brush up on the terminology again. Indirect being dropping "files" into a shared directory, as opposed to trying to actually perform the replication "live" into the BE? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Thursday, March 27, 2003 9:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K John, I have had experiences with two replicated databases. One on a local lan, the other replicating via dial up network. Both in A97. According to Arthur, A2K (Jet 4) is more stable. My main experience on the lan was that the database corrupted frequently. All the research I could find pinned it down to a faulty network but I am not a network techo so I had to leave it to the IT department. Eventually we ended up converting to SQL. However, the corruptions were due to the BE being on a server. In your case if the BE is on the local machines (and the users don't need up to date information) then indirect synchronization should work fine (as opposed to direct synchronization - fewer opportunities for corruption across the network. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 27/03/2003, you wrote: >I need any info / experiences anyone can share re replication. My insurance >client has a functioning database now that is SLOOOOOooooow. They came from >a "flat file" where they had basically a single table with 125+ fields to a >fully relational FE/BE with of course much expanded functionality - and of >course the speed isn't anywhere close to the same as the old. No matter how >you explain, the user doesn't know what goes on behind the scenes, and >doesn't care. All they know is that it is slower. Plus they are adding >more employees (up to about 25 now from under 20 when I started the >project - and still climbing). > >They will probably go to SQl Server someday but now is not the time (money). >I have been discussing options with them and explained to the tech contact >the idea behind replication. He has been running a FE / BE development copy >of the db on his desktop and it is about twice as fast. Therefore he thinks >that replication might solve their speed issues for the short term (for a >year or so) until such time as they could make the move to SQL Server. > >So I need info. I have done replication one time, just on my own system, >just to see how it worked - and that was a long time ago. So I need to >start a thread with anyone who has current experience on how to set it up, >what is involved, any good reference material to read, would it work to >merge the BE/FE back in and also replicate design changes, etc. > >Anyone with info out there? > >Thanks, > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3596 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Thu Mar 27 20:37:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:37:54 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <00a301c2f4d0$aa541fd0$6101a8c0@amd2k512> Message-ID: Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 27, 2003 9:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4944 bytes Desc: not available URL: From DWUTKA at marlow.com Thu Mar 27 20:39:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 20:39:06 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B7@main2.marlow.com> Is that a hint? I've been swamped lately, and quite frankly found a pretty killer 'sniper' game that I've been playing on what little free time I have! I PROMISE to have the archives up by this weekend. (maybe I'll work on them a bit tonight.) Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 27, 2003 8:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Thu Mar 27 20:50:46 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 21:50:46 -0500 Subject: [AccessD] Replication - A2K References: <2F8793082E00D4119A1700B0D0216BF801D824B7@main2.marlow.com> Message-ID: <00cc01c2f4d4$d5073a60$6101a8c0@amd2k512> "I PROMISE to have the archives up by this weekend." Drew ...just thought that was worth highlighting! :))))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 9:39 PM Subject: RE: [AccessD] Replication - A2K > Is that a hint? I've been swamped lately, and quite frankly found a pretty > killer 'sniper' game that I've been playing on what little free time I have! > I PROMISE to have the archives up by this weekend. (maybe I'll work > on them a bit tonight.) > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Thursday, March 27, 2003 8:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:57:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:57:59 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From jcolby at ColbyConsulting.com Thu Mar 27 20:57:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:57:59 -0500 Subject: [AccessD] [dba-SQLServer]MSDE Replication - Crossposted Message-ID: On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 21:19:29 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 21:19:29 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B9@main2.marlow.com> Watch it, or I'll be sure to 'block' BellSouth IP Addresses! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 27, 2003 8:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K "I PROMISE to have the archives up by this weekend." Drew ...just thought that was worth highlighting! :))))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 9:39 PM Subject: RE: [AccessD] Replication - A2K > Is that a hint? I've been swamped lately, and quite frankly found a pretty > killer 'sniper' game that I've been playing on what little free time I have! > I PROMISE to have the archives up by this weekend. (maybe I'll work > on them a bit tonight.) > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Thursday, March 27, 2003 8:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Thu Mar 27 21:31:38 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 27 Mar 2003 21:31:38 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> References: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> Message-ID: <315103156.20030327213138@charter.net> JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron From jcolby at ColbyConsulting.com Thu Mar 27 21:50:08 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 22:50:08 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time In-Reply-To: <315103156.20030327213138@charter.net> Message-ID: Ron, Compensation (in which I include salary) depends very much on where you are. Places like NYC or San Francisco command as much as 50% higher salary than other lower cost areas. That said, you'd have to be in a low cost area for $40k to be a good salary for the job description you quoted. That said, times are tough right now which means that lots of people with your qualifications (or better) are unemployed and willing to take jobs at less that they would have 2 years ago. When I got to Connecticut I "accepted" a job at $60k with a description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. One way or the other, 40K is probably low during good times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen Sent: Thursday, March 27, 2003 10:32 PM To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4012 bytes Desc: not available URL: From accessd at shaw.ca Thu Mar 27 22:22:53 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 27 Mar 2003 20:22:53 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: Hi John: I recently convinced a client to go to a SQL2000 BE with a 12 user/connection license. The price was only $1600.00 CAN. Not at all expensive considering the features and performance boost. SQL of course handles everything, row-locking, all the queries, backups even replication. The performance is awesome and they are still under the delusion that I am a god...that will pass quick enough. They have about 30 potential users. This should be no problem as I just finished on SQL7, after five years, on an off-and-on government contract and they were a 10 user/connection license and 65 users, province wide. The application had to be designed with these limitations in mind but SQL worked amazingly well. Time-outs were very rare. Sadly, the application has just been replaced with a massive Oracle system, covering the whole Ministry, implemented by an equally massive System House. The branch client fought hard to keep their program but... My recommendation is to try and convince them to go SQL. If they wouldn't pay for MS SQL maybe an Access, Apache and MySQL combo will be the ticket. Apache and MySQL are free and runs on NT, 2000 and even Windows98. :-| (The latter is an unsubstantiated statement from a acquaintance.) The replication issue is unmanaged but a Windows2000 server has that functionality built in...I have read about it but never tried it. Hope this helps Jim Creative Systems Design -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Thursday, March 27, 2003 5:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 22:21:57 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 22:21:57 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824BE@main2.marlow.com> Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew From davide at dalyn.co.nz Thu Mar 27 22:23:20 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 28 Mar 2003 16:23:20 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: References: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030328162232.00b1b9e0@mail.dalyn.co.nz> Correct - The replication white paper has a good section on this in it. David At 27/03/2003, you wrote: >I'll have to brush up on the terminology again. Indirect being dropping >"files" into a shared directory, as opposed to trying to actually perform >the replication "live" into the BE? > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Thursday, March 27, 2003 9:08 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Replication - A2K > > >John, > >I have had experiences with two replicated databases. One on a local lan, >the other replicating via dial up network. Both in A97. According to >Arthur, A2K (Jet 4) is more stable. > >My main experience on the lan was that the database corrupted >frequently. All the research I could find pinned it down to a faulty >network but I am not a network techo so I had to leave it to the IT >department. Eventually we ended up converting to SQL. However, the >corruptions were due to the BE being on a server. In your case if the BE >is on the local machines (and the users don't need up to date information) >then indirect synchronization should work fine (as opposed to direct >synchronization - fewer opportunities for corruption across the network. > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 >At 27/03/2003, you wrote: > >I need any info / experiences anyone can share re replication. My >insurance > >client has a functioning database now that is SLOOOOOooooow. They came >from > >a "flat file" where they had basically a single table with 125+ fields to a > >fully relational FE/BE with of course much expanded functionality - and of > >course the speed isn't anywhere close to the same as the old. No matter >how > >you explain, the user doesn't know what goes on behind the scenes, and > >doesn't care. All they know is that it is slower. Plus they are adding > >more employees (up to about 25 now from under 20 when I started the > >project - and still climbing). > > > >They will probably go to SQl Server someday but now is not the time >(money). > >I have been discussing options with them and explained to the tech contact > >the idea behind replication. He has been running a FE / BE development >copy > >of the db on his desktop and it is about twice as fast. Therefore he >thinks > >that replication might solve their speed issues for the short term (for a > >year or so) until such time as they could make the move to SQL Server. > > > >So I need info. I have done replication one time, just on my own system, > >just to see how it worked - and that was a long time ago. So I need to > >start a thread with anyone who has current experience on how to set it up, > >what is involved, any good reference material to read, would it work to > >merge the BE/FE back in and also replicate design changes, etc. > > > >Anyone with info out there? > > > >Thanks, > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >---------------------------------------------------- > >Is email taking over your day? Manage your time with eMailBoss. > >Try it free! http://www.eMailBoss.com > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 28 01:24:07 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 02:24:07 -0500 Subject: [AccessD] Replication - A2K References: Message-ID: <000f01c2f4fb$04dc4bb0$6101a8c0@amd2k512> ...just a note jc ...www.trigeminal.com is loaded with replication info, code, and tools ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 27, 2003 9:37 PM Subject: RE: [AccessD] Replication - A2K > Precisely (on both counts). There are about 25 users of the database. > Virtually ALL of the users are actively editing specific cases. Each case > can be handled by anyone, i.e. the first examiner available in the phone > queue picks up the phone, opens the record for the person that the phone > call is about. In the process of taking the call, info is usually entered > into "contact" logs, i.e. info about the phone call. Each claimant's file > has an assigned "Examiner" who "runs" the case. That person has to make > phone calls to physicians, witnesses, employers etc. Those phone calls also > get data logged about them. > > As you can see from the description, there is not a high degree of > concurrency where several people will be in the same case at the same time. > My observation of the operation is that there is a very random pattern of > data entry since the incoming phone calls are random. There is also a > fairly predictive data entry since a case has to be worked, however this > side of the operation is not necessarily data entry intensive, nor holding > records open for long periods of time. The Examiner calls the physician and > requests a doc. Notes that fact in the log, moves on to the next claim. > > It seems that this type of operation would be perfect for replication, on a > 15 minute (or even longer) replication schedule. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Thursday, March 27, 2003 9:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Fri Mar 28 02:41:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 03:41:00 -0500 Subject: [AccessD] String Manip Help Message-ID: <000501c2f505$c25de450$6101a8c0@amd2k512> ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." From jmoss111 at bellsouth.net Fri Mar 28 03:19:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 28 Mar 2003 03:19:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time References: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> <315103156.20030327213138@charter.net> Message-ID: <014301c2f50b$115fc690$4cbb5041@jlmoss> Ron, Monster.com has a salary site that shows salary by zip code and job decription. jm ----- Original Message ----- From: "Ron Allen" To: "Jim Hewson" Sent: Thursday, March 27, 2003 9:31 PM Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time > JH> I work for a company that contracts my database development services to > JH> clients. My rates to develop Access databases range from $65 to $125 per > JH> hour depending on the location of the customer (San Antonio vs DC), location > JH> of the work (customer site vs my office) and complexity of the project. I > JH> can assure you, I do not get the full amount. Most of database developers > JH> (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer with > no degree who turned his hobby into a profession, but I have sometimes > wondered where that salary range, all things being equal, falls for > positions of this type. I'm very happy where I'm at, but when speaking > to others I sometimes get the feeling that I'm underpaid and sometimes > get the impression that I'm overcompensated. It would be nice to have > some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > 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 Mar 28 03:19:27 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 28 Mar 2003 21:19:27 +1200 Subject: [AccessD] Access 2002 and imperial measurements Message-ID: <70F3D727890C784291D8433E9C418F290389CD@server.bondsoftware.co.nz> I'm sure this is simple, but I can't figure it. New box, Win XP Pro, Office XP Pro, no other versions of Office installed. The supplier of the box installed the lot for me. This country went metric measurements twenty-something years ago but my teeth are long enough to be still more comfortable in inches. Managed to change Word 2002 to inches (Tool>Options>General) but how do I do the same for Access 2002? Having to do things on reports and forms in centimetres is painful, particularly when I am supporting versions of a package in both A2000 and A2002. TIA Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 From dmcafee at pacbell.net Fri Mar 28 03:36:08 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Fri, 28 Mar 2003 01:36:08 -0800 Subject: [AccessD] String Manip Help In-Reply-To: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: Warning: Late at night AND OTTMH! :D SELECT CSZ: Left(YourField,Left(YourField,Instr(1,YourField,"/")-1), Country: Right(YourField,(Len(YourField) - Instr(1,YourField,"/"))) FROM SomeTable HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 28, 2003 12:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] String Manip Help ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." From paul.hartland at fsmail.net Fri Mar 28 03:58:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 9:58:04 +0000 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> I work in the UK for the equivalent of around $30K, with no pension plan, no dental plan, and no health plan.....they expect me to do overtime for nothing........I'm seriously thinking about coming to america to work, after what I have heard on this thread..... From: Ron Allen Date: Fri 28/Mar/2003 03:31 GMT To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From DWUTKA at marlow.com Fri Mar 28 03:59:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 03:59:52 -0600 Subject: [AccessD] String Manip Help Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> Sounds like you need to use InStr or InStrRev. something like Left([MyField],InStr(1,[MyField],"/")-1) -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/28/03 2:41 AM Subject: [AccessD] String Manip Help ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 28 04:33:07 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 10:33:07 +0000 Subject: [AccessD] A2000 - A2002 Message-ID: <20030328103307.EKBY4369.fep02-svc.ttys.com@localhost> To all, We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... Thanks in advance Paul Hartland IT Developer/Programmer __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From wdhindman at bellsouth.net Fri Mar 28 05:49:49 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 06:49:49 -0500 Subject: [AccessD] String Manip Help SOLVED References: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> Message-ID: <000501c2f520$22f7a9d0$6101a8c0@amd2k512> Drew/David ...thanks for putting my brain back in gear ...forgot to mention that the " /Country" part of the string was often missing ...so I stuck it inside an IIf and it works exactly as needed :))))))))) IIf(InStr(1,[tblEMSINV]![CSZ]," \")>0,Left([tblEMSINV]![CSZ],InStr(1,[tblEMSINV]![CSZ],"\")-1),[tblEMSINV]![ CSZ]) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Friday, March 28, 2003 4:59 AM Subject: RE: [AccessD] String Manip Help > Sounds like you need to use InStr or InStrRev. > > something like > > Left([MyField],InStr(1,[MyField],"/")-1) > > > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/28/03 2:41 AM > Subject: [AccessD] String Manip Help > > ...record field in table has a data string formatted like "city, state, > zip > /country" (without quotes) > ...need to run an update query to remove the " /country" from each > record > where "country" can be any length > ...any ideas appreciated :) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, > the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Fri Mar 28 06:02:57 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 07:02:57 -0500 Subject: [AccessD] A2000 - A2002 References: <20030328103307.EKBY4369.fep02-svc.ttys.com@localhost> Message-ID: <000a01c2f521$f91257d0$6101a8c0@amd2k512> Paul ...you didn't make it clear whether you replaced your hardware as well as your software in the upgrade ...I had a similar experience with one client LAN set up your way but others have been fine ...finally tracked it down to a loss of network connection on one workstation ...turned out its server connection was loose in the LAN Switch's first connector which was exposed to inadvertent contact by others in the client's office ...they were literally knocking it off the LAN without realizing it ...needless to say I replaced the connector and moved the switch location ...bugger of a problem to track down :( ...anyway, I'd be looking for a loss of network connection high among other suspects ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: To: Sent: Friday, March 28, 2003 5:33 AM Subject: [AccessD] A2000 - A2002 > To all, > > We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... > > Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... > > Thanks in advance > > Paul Hartland > IT Developer/Programmer > > __________________________________________________________________________ > Join Freeserve http://www.freeserve.com/time/ > > Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. > > > _______________________________________________ > 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 Mar 28 06:05:09 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 28 Mar 2003 22:05:09 +1000 Subject: [AccessD] String Manip Help In-Reply-To: References: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: <3E84C715.2916.2E8BA82@localhost> > Warning: Late at night AND OTTMH! :D > > SELECT CSZ: Left(YourField,Left(YourField,Instr(1,YourField,"/")-1), > Country: Right(YourField,(Len(YourField) - Instr(1,YourField,"/"))) > FROM SomeTable > Or more simply: SELECT CSZ: Left(YourField,Instr(YourField,"/")-1), Country: Mid(YourField,InstYourField,"/")+1) FROM SomeTable -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From paul.hartland at fsmail.net Fri Mar 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 12:07:05 +0000 Subject: [AccessD] A2000 - A2002 Message-ID: <20030328120705.OFAL22532.fep07-svc.ttys.com@localhost> I will look into that as, we did upgrade all our hardware as well.....Never thought of something like that..... Cheers Paul From: "William Hindman" Date: Fri 28/Mar/2003 12:02 GMT To: Subject: Re: [AccessD] A2000 - A2002 Paul ...you didn't make it clear whether you replaced your hardware as well as your software in the upgrade ...I had a similar experience with one client LAN set up your way but others have been fine ...finally tracked it down to a loss of network connection on one workstation ...turned out its server connection was loose in the LAN Switch's first connector which was exposed to inadvertent contact by others in the client's office ...they were literally knocking it off the LAN without realizing it ...needless to say I replaced the connector and moved the switch location ...bugger of a problem to track down :( ...anyway, I'd be looking for a loss of network connection high among other suspects ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: To: Sent: Friday, March 28, 2003 5:33 AM Subject: [AccessD] A2000 - A2002 > To all, > > We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... > > Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... > > Thanks in advance > > Paul Hartland > IT Developer/Programmer > > __________________________________________________________________________ > Join Freeserve http://www.freeserve.com/time/ > > Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From wdhindman at bellsouth.net Fri Mar 28 06:35:16 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 07:35:16 -0500 Subject: [AccessD] Access 2002 and imperial measurements References: <70F3D727890C784291D8433E9C418F290389CD@server.bondsoftware.co.nz> Message-ID: <002401c2f526$7cc4a660$6101a8c0@amd2k512> ...the measurement system is based upon your regional settings in the xp control panel ...you can customize it to use the English measurements while leaving everything else localized ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Stephen Bond" To: Sent: Friday, March 28, 2003 4:19 AM Subject: [AccessD] Access 2002 and imperial measurements > > I'm sure this is simple, but I can't figure it. > > New box, Win XP Pro, Office XP Pro, no other versions of Office installed. The supplier of the box installed the lot for me. This country went metric measurements twenty-something years ago but my teeth are long enough to be still more comfortable in inches. Managed to change Word 2002 to inches (Tool>Options>General) but how do I do the same for Access 2002? Having to do things on reports and forms in centimetres is painful, particularly when I am supporting versions of a package in both A2000 and A2002. > > TIA > > Stephen Bond > Otatara, South Island, New Zealand > tel 03 213 1256 fax 03 213 0123 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Mar 28 07:01:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 14:01:14 +0100 Subject: [AccessD] AccessD Conference - Call for Papers In-Reply-To: <002701c2f3b0$12be72e0$0300a8c0@S856> References: <002701c2f3b0$12be72e0$0300a8c0@S856> Message-ID: <13017986923.20030328140114@cactus.dk> Hi Lembit Not much response on this great initiative ... As M?nchen is less than one hour's flight away let me make an preliminary reservation! I'll have to get back with presentation details. /gustav > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > Depending on the number of participants, the presentations will be held at > either my house or a nearby location. > Please send > Title and short Abstract of your presentation to > dba-conf at databaseadvisors.com > thank you > Lembit > Lembit Soobik From gustav at cactus.dk Fri Mar 28 07:21:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 14:21:02 +0100 Subject: [AccessD] Manage Thermal Printers In-Reply-To: References: Message-ID: <19619175182.20030328142102@cactus.dk> Hi Juan If you can't obtain a proper Windows driver you'll have to fall back to write directly to the printer - you may even have to do that anyway as Windows printing may turn out to be too slow for your purpose; direct printing is very much faster and for applications like POS every second counts. In that case, team up with a good portion of patience and an old dog experienced with matrix printers who is familiar with printing codes. You can learn it yourself, of course, but it is very boring and time consuming. /gustav > We are looking for how to control Epson Tm88 family printers or Samsung SRP > 350 printers from A2k. We are checking de Epson OPOS software and solve a > big part of this, but was totally uncompatible with SRP350. > We look the printer control using ASCII sequences like DLE -EOT n but don't > undestand how to manipulate. Any knows where we check information about > this?? > Thanks > Juan Men?ndez > Mastercafe SL From Jdemarco at hshhp.org Fri Mar 28 07:23:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:23:26 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.com> John, MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 9:58 PM To: AccessD Cc: SQLServer Subject: [AccessD] MSDE Replication - Crossposted On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Fri Mar 28 07:26:18 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 08:26:18 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <000f01c2f4fb$04dc4bb0$6101a8c0@amd2k512> Message-ID: Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 28, 2003 2:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...just a note jc ...www.trigeminal.com is loaded with replication info, code, and tools ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 27, 2003 9:37 PM Subject: RE: [AccessD] Replication - A2K > Precisely (on both counts). There are about 25 users of the database. > Virtually ALL of the users are actively editing specific cases. Each case > can be handled by anyone, i.e. the first examiner available in the phone > queue picks up the phone, opens the record for the person that the phone > call is about. In the process of taking the call, info is usually entered > into "contact" logs, i.e. info about the phone call. Each claimant's file > has an assigned "Examiner" who "runs" the case. That person has to make > phone calls to physicians, witnesses, employers etc. Those phone calls also > get data logged about them. > > As you can see from the description, there is not a high degree of > concurrency where several people will be in the same case at the same time. > My observation of the operation is that there is a very random pattern of > data entry since the incoming phone calls are random. There is also a > fairly predictive data entry since a case has to be worked, however this > side of the operation is not necessarily data entry intensive, nor holding > records open for long periods of time. The Examiner calls the physician and > requests a doc. Notes that fact in the log, moves on to the next claim. > > It seems that this type of operation would be perfect for replication, on a > 15 minute (or even longer) replication schedule. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Thursday, March 27, 2003 9:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5400 bytes Desc: not available URL: From nancy.lytle at auatac.com Fri Mar 28 07:28:18 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 28 Mar 2003 08:28:18 -0500 Subject: [AccessD] Set Read only on Form Load Message-ID: Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function From CWortz at tea.state.tx.us Fri Mar 28 07:33:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 07:33:00 -0600 Subject: [AccessD] Replication - A2K Message-ID: John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday 2003 Mar 27 20:38 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com From Jdemarco at hshhp.org Fri Mar 28 07:33:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:33:57 -0500 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856DA@TTNEXCHSRV1.hshhp.com> >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where you are. Places like NYC or San Francisco command as much as 50% higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good salary for the job description you quoted. That said, times are tough right now which means that lots of people with your qualifications (or better) are unemployed and willing to take jobs at less that they would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development services to > JH> clients. My rates to develop Access databases range from $65 to $125 per > JH> hour depending on the location of the customer (San Antonio vs DC), location > JH> of the work (customer site vs my office) and complexity of the project. I > JH> can assure you, I do not get the full amount. Most of database developers > JH> (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer with> > no degree who turned his hobby into a profession, but I have sometimes > wondered where that salary range, all things being equal, falls for > positions of this type. I'm very happy where I'm at, but when speaking > to others I sometimes get the feeling that I'm underpaid and sometimes > get the impression that I'm overcompensated. It would be nice to have > some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From paul.hartland at fsmail.net Fri Mar 28 07:35:10 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 13:35:10 +0000 Subject: [AccessD] Set Read only on Form Load Message-ID: <20030328133510.OGUC22532.fep07-svc.ttys.com@localhost> Nancy, You could try something similar to the following. 1. Create a new module 2. Declare a public variable something like pubCallingForm 3. In the OnOpen or OnLoad event put pubCallingForm = "frmName" (frmName being the name of your form) 4. put you code into a module with the following changes Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!pubCallingForm.AllowAdditions = False Forms!pubCallingForm.AllowDeletions = False Forms!pubCallingForm.AllowDesignChanges = False Forms!pubCallingForm.AllowEdits = False Else Forms!pubCallingForm.AllowAdditions = True Forms!pubCallingForm.AllowDeletions = True Forms!pubCallingForm.AllowDesignChanges = True Forms!pubCallingForm.AllowEdits = True End If End Function I have used something similar to the above, but can't find the exact code, this is off the top of my head and untested, but should get you in the right direction. Paul From: "Nancy Lytle" Date: Fri 28/Mar/2003 13:28 GMT To: "Accessd" Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From mikedorism at ntelos.net Fri Mar 28 07:39:56 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 08:39:56 -0500 Subject: [AccessD] Set Read only on Form Load In-Reply-To: Message-ID: <002801c2f52f$895a26d0$67310cd8@hargrove.internal> Pass in the name of the form... Public Function fcnFormLoad(strForm AS String) Call fcnUserGroup If fcnUserGroup = "RO" Then Forms(strForm).AllowAdditions = False Forms(strForm).AllowDeletions = False Forms(strForm).AllowDesignChanges = False Forms(strForm).AllowEdits = False Else Forms(strForm).AllowAdditions = True Forms(strForm).AllowDeletions = True Forms(strForm).AllowDesignChanges = True Forms(strForm).AllowEdits = True End If End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, March 28, 2003 08:28 AM To: Accessd Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Fri Mar 28 07:39:51 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Fri, 28 Mar 2003 14:39:51 +0100 Subject: [AccessD] Set Read only on Form Load References: Message-ID: <008e01c2f52f$85780aa0$115b2d3e@jester> This is from the top of my head and not tested.... public function fcnFormLoad(frm as form) call fcnUserGroup if fcnUserGroup="RO" Then frm.alloAdditions=FALSE and so on... HTH Bert-Jan ----- Original Message ----- From: "Nancy Lytle" To: "Accessd" Sent: Friday, March 28, 2003 2:28 PM Subject: [AccessD] Set Read only on Form Load > Is it possible to create a function, like what I have below so that the code > can be stuck in the On Load or On Open event of any form I want? Obviously > the Me is the problem here but I'm not sure the easiest way to go about > this. > > Thanks in advance for any guidance. > > Nancy Lytle > > Current code attempt: > > Public Function fcnFormLoad() > Call fcnUserGroup > If fcnUserGroup = "RO" Then > Forms!Me.AllowAdditions = False > Forms!Me.AllowDeletions = False > Forms!Me.AllowDesignChanges = False > Forms!Me.AllowEdits = False > Else > Forms!Me.AllowAdditions = True > Forms!Me.AllowDeletions = True > Forms!Me.AllowDesignChanges = True > Forms!Me.AllowEdits = True > End If > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Mar 28 07:49:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 28 Mar 2003 13:49:54 -0000 Subject: [AccessD] MSDE Replication - Crossposted References: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.com> Message-ID: <00bc01c2f530$e9935f20$9111758f@aine> Its not a five connection limit. Its concurrent processing threads. (between 5 and 8) As more threads are added performance is throttled. You could have 400 users. Provided 390 or so of them are doing nothing performance will fly. As I said before the Technical Editor of the book we did was building one with, he said 200-300 users. Martin ----- Original Message ----- From: "Jim DeMarco" To: "accessd" Sent: Friday, March 28, 2003 1:23 PM Subject: RE: [AccessD] MSDE Replication - Crossposted > John, > > MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 9:58 PM > To: AccessD > Cc: SQLServer > Subject: [AccessD] MSDE Replication - Crossposted > > > On a related note... > > MDSE claims to support replication. I don't know enough about MDSE, never > mind replication, to understand the issues - but... > > If each workstation ran MSDE and the server runs MSDE, then you have > effectively created SQL Server for more than "5 simultaneous users". Since > each user is now hitting a SQL Server Be on their own machine, with only > replication data going to the main BE on the server, it certainly sounds > like you could get fairly decent performance for 10 or 20 users. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Fri Mar 28 07:56:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:56:26 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856DB@TTNEXCHSRV1.hshhp.com> Martin, Do you know if he is using replication or just controlling the threads on live data? Thanks, Jim DeMarco -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, March 28, 2003 8:50 AM To: accessd Subject: Re: [AccessD] MSDE Replication - Crossposted Its not a five connection limit. Its concurrent processing threads. (between 5 and 8) As more threads are added performance is throttled. You could have 400 users. Provided 390 or so of them are doing nothing performance will fly. As I said before the Technical Editor of the book we did was building one with, he said 200-300 users. Martin ----- Original Message ----- From: "Jim DeMarco" To: "accessd" Sent: Friday, March 28, 2003 1:23 PM Subject: RE: [AccessD] MSDE Replication - Crossposted > John, > > MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 9:58 PM > To: AccessD > Cc: SQLServer > Subject: [AccessD] MSDE Replication - Crossposted > > > On a related note... > > MDSE claims to support replication. I don't know enough about MDSE, never > mind replication, to understand the issues - but... > > If each workstation ran MSDE and the server runs MSDE, then you have > effectively created SQL Server for more than "5 simultaneous users". Since > each user is now hitting a SQL Server Be on their own machine, with only > replication data going to the main BE on the server, it certainly sounds > like you could get fairly decent performance for 10 or 20 users. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From tomadatn at bellsouth.net Fri Mar 28 07:57:25 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri, 28 Mar 2003 07:57:25 -0600 Subject: [AccessD] Sql 7 - Corrupt Views ... continued References: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> <000501c2f520$22f7a9d0$6101a8c0@amd2k512> Message-ID: <000601c2f531$f75a0630$6400000a@dogbert2k> I've posted a couple of items asking if anyone has had any problems with Sql 7 and corrupt views. So far no one else seems to have found this bug/feature. Plowing ahead with this first in the universe coverage (you heard it here first folks!), I thought I'd bring you up to date. At first I thought it might be caused by Access 2000 ADP. I used both that and the Enterprise manager to make changes in views. I then decided to eliminate the Access question by never changing a view with Access, just using it to review data (Being able to sort is absolutely essential in my opinion. Although the view can not be sorted, you can move columns around and then wipe as many as you wish and hit the A-Z button. Wonderful really.). I can now report that I am still hitting corrupt views. However they're a little different now. Now I open them (it's mainly one complicated view now) in Enterprise Manager and the Sql view looks corrupt. It cuts off before the From and following parts. However it runs ok (Previously the view looked ok but showed bad data. Any change at that point would correct it - eg. take out a field and put it back in.) Note that I can still generate Sql scripts from the database window and the scripts are just fine. Now when I delete the Sql statements that show in the EM, and paste the old complete code back in, it looks ok in design, and will run ok with the !, but when I save it and reopen in Design it looks corrupt again. I will test deleting the View, closing the EM, the reopening and recreating with Sql Server Query Analyzer. One poster recommended that. Sql Server is running on an NT 4 server with the latest NT service pack installed. It jammed up about a week ago and the Administrator brought the server all the way down and back up then did some Admin clean up stuff. I'm working on a database maintained by Epicor (formerly platinum) with about 1,000 tables. Note: I usually combine all the fields and apply universal criteria in a "Base" query, then use it in other specilized queries. When the Base query corrupted (Sql looked good, data looked like poo-poo, I found I had to revise the other queries using it to fix the problem all down the line. Now that the corruption has changed (data looks good, Sql looks like poo-poo) I find I don't have to fix the downline views. Note2: A few tables have too many indexes to link to from an Access Mdb. I found that I can make a view, showing all fields with the table name & "_vw" and get by the index problem. Note3: I've really gotten to like the ADP. It's much more flexible, faster and easier to use for a variety of development tasks. However I also use an Mdb from time to time. Eg. I created a view and wanted to show the records where field 1 didn't equal field 2. I couldn't seem to do it in a view directly so I just exported the view to excel, imported the excel file into an Mdb, and added the criteria and had the answer in about a minute. I might learn how to do that later in an Adp but got the job done quickly by using an Mdb. If anyone has any comments or experience with this I'd appreciate hearing from them. Tom (Viva la Access!!! Long live Jet!!!!) Adams From gustav at cactus.dk Fri Mar 28 08:02:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 15:02:45 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <000501c2f505$c25de450$6101a8c0@amd2k512> References: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: <11221677781.20030328150245@cactus.dk> Hi William Is this "our William" turning into early weekend lazy mode?? We have a TV show/quiz here where two of three friends must guess if the third (isolated in a sound proof box) can answer a given question or not .. Do I need to go on? /gustav > ...record field in table has a data string formatted like "city, state, zip > /country" (without quotes) > ...need to run an update query to remove the " /country" from each record > where "country" can be any length > ...any ideas appreciated :) From Lembit.Soobik at t-online.de Fri Mar 28 07:51:13 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 14:51:13 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856> <13017986923.20030328140114@cactus.dk> Message-ID: <02d001c2f531$18ea3500$0300a8c0@S856> Thank you, Gustav, looking forward to see you here Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: "Lembit Soobik" Sent: Friday, March 28, 2003 2:01 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hi Lembit > > Not much response on this great initiative ... > > As M?nchen is less than one hour's flight away let me make an > preliminary reservation! > > I'll have to get back with presentation details. > > /gustav > > > > The 3rd AccessD Conference will be held > > August-08 through August-10 2003 > > in Freising / Germany (near Munich) > > > Depending on the number of participants, the presentations will be held at > > either my house or a nearby location. > > > Please send > > Title and short Abstract of your presentation to > > dba-conf at databaseadvisors.com > > > thank you > > Lembit > > > Lembit Soobik > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From susanj at sgmeet.com Fri Mar 28 09:09:09 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 09:09:09 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.c om> Message-ID: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan From HollisVJ at pgdp.usec.com Fri Mar 28 09:11:03 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 09:11:03 -0600 Subject: [AccessD] Table of checks Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB079@exchange.pgdp> If a table used for requesting assistance has numerous fields that will be listed as checkboxes or yes/no type fields is it better to list them all in the same table? There may be up to 20 or so total. Would the help needed list & the areas list be in the same table with the Request? They can check more then one of the items. If they do check - mouse for the problem and the review shows they need to order a new mouse, later on the coordinator will order the mouse and needs to track the brand, vendor, etc for the mouse order. For example: RequestID EmployeeID (from tblEmployee) (This group lists the help needed) Chair Monitor Mouse (This group lists areas) Neck Finger Shoulder The requestor marks all areas Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Fri Mar 28 09:21:18 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 10:21:18 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday 2003 Mar 27 20:38 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3540 bytes Desc: not available URL: From bob at renaissancesiding.com Fri Mar 28 09:45:55 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 28 Mar 2003 10:45:55 -0500 Subject: [AccessD] Need most recent record from many Message-ID: <01C2F517.3648D170.bob@renaissancesiding.com> Susan If you are using autonumber keys, you *may* be able to just use a quick query as your source with the autonumber field set to sort descending ... not very safe, though. You probably should have a date/time stamp field in the many table for LastUpdated with a default value of Now() ... then use a quick query as your source with the LastUpdated field set to sort descending. Regards, Bob Gajewski On Friday, March 28, 2003 10:09 AM, Susan Jones [SMTP:susanj at sgmeet.com] wrote: > I hope this is so easy I'll be embarrassed I even asked, but.. > I have a query that links two tables with a one-to-many relationship. My > problem is that I want to pull only the most current record on the many > side. I know this has to be something easy, but I'm either blind to it or > just not able to figure out where to start looking. I tried to access the > archives, but the link takes me to the mail options page > Thanks! > Susan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From CWortz at tea.state.tx.us Fri Mar 28 09:58:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 09:58:00 -0600 Subject: [AccessD] Need most recent record from many Message-ID: Susan, I assume you have a date field on the many side. If so then Max(datefield) will get the latest date. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Jones [mailto:susanj at sgmeet.com] Sent: Friday 2003 Mar 28 09:09 To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan From nancy.lytle at auatac.com Fri Mar 28 09:59:58 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 28 Mar 2003 10:59:58 -0500 Subject: [AccessD] Set Read only on Form Load - In-Reply-To: <002801c2f52f$895a26d0$67310cd8@hargrove.internal> Message-ID: Thanks for the help I took your advice, Doris and Paul, and did the following - Created a variable Public pubCallingForm As String is the Declarations section of a module I use for Global stuff - On the form Open event I put Public Sub Form_Open(Cancel As Integer) pubCallingForm = "" 'resets the variable pubCallingForm = "frmAdministration" call fcnFormLoad End Sub -Created this function in the Globals module Public Function fcnFormLoad() Call fcnUserGroup MsgBox pubCallingForm If fcnUserGroup = "RO" Then Forms(pubCallingForm).AllowAdditions = False Forms(pubCallingForm).AllowDeletions = False Forms(pubCallingForm).AllowEdits = False Else Forms(pubCallingForm).AllowAdditions = True Forms(pubCallingForm).AllowDeletions = True Forms(pubCallingForm).AllowEdits = True End If End Function I appreciate the assistance, Paul got me going and Doris got me straight on using Forms(variable).etc Thanks again, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Friday, March 28, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Read only on Form Load Pass in the name of the form... Public Function fcnFormLoad(strForm AS String) Call fcnUserGroup If fcnUserGroup = "RO" Then Forms(strForm).AllowAdditions = False Forms(strForm).AllowDeletions = False Forms(strForm).AllowDesignChanges = False Forms(strForm).AllowEdits = False Else Forms(strForm).AllowAdditions = True Forms(strForm).AllowDeletions = True Forms(strForm).AllowDesignChanges = True Forms(strForm).AllowEdits = True End If End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, March 28, 2003 08:28 AM To: Accessd Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Fri Mar 28 09:59:00 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri, 28 Mar 2003 09:59:00 -0600 Subject: [AccessD] Insert code in report Message-ID: <002c01c2f542$f7a00020$0800a8c0@LapRFV> Hi, We are designing a utility that opens any assigned report at another external MDB in design mode view, makes some changes to it, and then opens the report in preview. Since there were made changes to the report design and those changes should be discarded on closing the report, I would like to insert via code a function to close the external report without saving the changes. I know how to do that with. DoCmd.Close acReport, rp, acSaveNo The problem is I am accessing a report in another external db. Any suggestions? Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Fri Mar 28 10:05:43 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 11:05:43 -0500 Subject: [AccessD] Cross posted to dbaSQL: Listbox question Message-ID: <019601c2f543$e2cee8e0$8e01a8c0@Rock> I have a listbox that is populated with a minimum of 2 rows and 5 columns, with the first two being of interest. The data source is a stored procedure. How do I grab the values from the rows and columns? (The listbox is read-only, so it doesn't matter whether a row is selected or not.) Presumably I refer to the row and col location using array syntax but I can't quite get it yet. Something like: Row1Col1 = myListbox(0,1) ' something like this? TIA, Arthur "Prediction is difficult, especially of the future." - Werner Heisenberg From CWortz at tea.state.tx.us Fri Mar 28 10:10:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 10:10:26 -0600 Subject: [AccessD] Replication - A2K Message-ID: John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday 2003 Mar 28 09:21 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > They need an answer, and can't afford SQL Server. This is an answer. > To not look at the realistic options because of the 1 in 1000 (or > whatever) occurrence is not realistic. > > I am certainly open to other options. However they just spent 8 > months moving an old creaky flat file to a relational MDB FE/BE. They > don't have a budget for a $10,000 solution at the moment. What > solution can they get for $500? Moving to SQl Server will be $5k or > more. They don't have that, they have said so. I have done all of > the typical "make sure the fields are indexed" things. > > So rather than saying "this solution doesn't work", why don't you > suggest a solution that does? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Friday, March 28, 2003 8:33 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > > John, > > But what about the situation where a customer calls back five minutes > later with additional information and gets a different examiner? How > is > the second examiner going to be able to get to the customer's data if > you replicate on a 15 minute schedule? This may not be a common > occurrence, but it does happen and you need to be able to handle it. > And don't expect the customer to remember the name of the first > examiner, that solution is a non-starter. > > Charles Wortz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Fri Mar 28 10:11:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:11:04 -0500 Subject: [AccessD] MDB Replication and Upsizing to SQL Server - Crossposted Message-ID: One question I forgot to ask. How does replication affect the upsizing to SQL Server? I tried replication once long ago and seem to remember being unable to directly upsize anymore due to the random autonumber PK. SQL Server (or the upsize wizard) didn't know how to handle that, so I had to build queries to get back a straight autonumber before upsizing. Does anyone know whether a random autonumber PK can be upsized to SQL Server now? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From susanj at sgmeet.com Fri Mar 28 10:25:39 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 10:25:39 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: Message-ID: <5.1.1.6.2.20030328101026.02baedd8@mail.calpha.com> Didn't know about Max(datefield) and am excited about that, but I don't think I worded my question correctly, because both your's and Bob's suggestions make sense, but for the whole query. I need each record on the one side to match up to one record on the many side (where I need the most recent record of a group). Example - we have a group of members that have made dues payments for as few as one year (new member) up to an unlimited number of years and want to link only to the most recent year's dues information. This group uses an expiration date to determine a current member, so it can cover more than one calendar year. What I have been doing is sorting the information first by the primary key then descending by the received date and appending the information to a table with properties to only accept a unique primary key. So, theoretically, the first record will be the most current and be the only one written to the table. If this is the only way to work this situation, I'll set it up to execute whenever the db is opened and it will be static. Not ideal, but if we know the limitations we can work with it. I'd like to be able to access this information through a query and skip the append step and this is where I feel I must be missing something. Hmmm... If a store wanted to access only the most recent transaction for a certain customer say for billing purposes, how would they do that? Grouping somehow and then using the Max function? Thanks, Susan At 09:58 AM 3/28/03, you wrote: >Susan, > >I assume you have a date field on the many side. If so then >Max(datefield) will get the latest date. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us From jcolby at ColbyConsulting.com Fri Mar 28 10:11:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:11:04 -0500 Subject: [AccessD] [dba-SQLServer] MDB Replication and Upsizing to SQL Server - Crossposted Message-ID: One question I forgot to ask. How does replication affect the upsizing to SQL Server? I tried replication once long ago and seem to remember being unable to directly upsize anymore due to the random autonumber PK. SQL Server (or the upsize wizard) didn't know how to handle that, so I had to build queries to get back a straight autonumber before upsizing. Does anyone know whether a random autonumber PK can be upsized to SQL Server now? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 28 10:28:38 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:28:38 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: RE: [AccessD] Replication - A2KAnd perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Fri Mar 28 10:51:37 2003 From: john at winhaven.net (John Bartow) Date: Fri, 28 Mar 2003 10:51:37 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time In-Reply-To: <315103156.20030327213138@charter.net> Message-ID: Ron, I hire subcontractors for things I can't pick up without a huuge delay, or things I just don't care to learn or for that matter do at all. Also, sometimes I just find another contractor and turn the whole thing over to them rather than subcontract it. Depends on my relationship with the client. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen Sent: Thursday, March 27, 2003 9:32 PM To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron From cfoust at infostatsystems.com Fri Mar 28 10:37:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 08:37:31 -0800 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: About 5 years ago, I was trying to hire and Access developer and got resumes that included one from an MD from China who had built himself a database, and a PhD from Pakistan, ditto. It was amazing to see who responded to an ad for an Access developer. Yikes. They were certainly overqualified, but not, unfortunately, in the database area. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 28 10:43:25 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 28 Mar 2003 11:43:25 -0500 Subject: [AccessD] Need most recent record from many References: <5.1.1.6.2.20030328101026.02baedd8@mail.calpha.com> Message-ID: <021f01c2f549$36d79130$154afccc@SusanOne> Totals view on your grouping field, but it won't work with extraneous fields. If you need to show other data, you may need a subquery. Susan H. > Didn't know about Max(datefield) and am excited about that, but I don't > think I worded my question correctly, because both your's and Bob's > suggestions make sense, but for the whole query. I need each record on the > one side to match up to one record on the many side (where I need the most > recent record of a group). > > Example - we have a group of members that have made dues payments for as > few as one year (new member) up to an unlimited number of years and want to > link only to the most recent year's dues information. This group uses an > expiration date to determine a current member, so it can cover more than > one calendar year. What I have been doing is sorting the information first > by the primary key then descending by the received date and appending the > information to a table with properties to only accept a unique primary > key. So, theoretically, the first record will be the most current and be > the only one written to the table. If this is the only way to work this > situation, I'll set it up to execute whenever the db is opened and it will > be static. Not ideal, but if we know the limitations we can work with > it. I'd like to be able to access this information through a query and > skip the append step and this is where I feel I must be missing > something. Hmmm... If a store wanted to access only the most recent > transaction for a certain customer say for billing purposes, how would they > do that? Grouping somehow and then using the Max function? > > Thanks, > Susan > > At 09:58 AM 3/28/03, you wrote: > >Susan, > > > >I assume you have a date field on the many side. If so then > >Max(datefield) will get the latest date. > > > >Charles Wortz > >Software Development Division > >Texas Education Agency > >1701 N. Congress Ave > >Austin, TX 78701-1494 > >512-463-9493 > >CWortz at tea.state.tx.us > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Fri Mar 28 10:45:56 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 08:45:56 -0800 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 8:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Mar 28 11:01:30 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 12:01:30 -0500 Subject: [AccessD] Cross posted to dbaSQL: Listbox question In-Reply-To: <019601c2f543$e2cee8e0$8e01a8c0@Rock> Message-ID: <007801c2f54b$b1714ce0$67310cd8@hargrove.internal> Row1Col1 = myListbox.Column(1,0) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, March 28, 2003 11:06 AM To: AccessD Subject: [AccessD] Cross posted to dbaSQL: Listbox question I have a listbox that is populated with a minimum of 2 rows and 5 columns, with the first two being of interest. The data source is a stored procedure. How do I grab the values from the rows and columns? (The listbox is read-only, so it doesn't matter whether a row is selected or not.) Presumably I refer to the row and col location using array syntax but I can't quite get it yet. Something like: Row1Col1 = myListbox(0,1) ' something like this? TIA, Arthur "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 28 11:04:03 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 11:04:03 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttim e Message-ID: What we look for in contractors is experience doing the type of work we want done. If your resume says you have worked on similar projects using similar tools, you get an interview. Otherwise you go into the circular file no matter how many degrees you have. What we look for in employees is both past work experience and potential to grow. So degrees do count there. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Mar 28 10:46 To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttim e I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust From HollisVJ at pgdp.usec.com Fri Mar 28 11:27:50 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 11:27:50 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07E@exchange.pgdp> Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Fri Mar 28 11:32:22 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 28 Mar 2003 17:32:22 -0000 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856> <13017986923.20030328140114@cactus.dk> Message-ID: <002901c2f54f$fddf0c30$f59f7dc2@D8TZHN0J> Hello Lembit, I also would love to attend, please put me down as a participant. Looking forward to it, Mark ----- Original Message ----- From: "Gustav Brock" To: "Lembit Soobik" Sent: Friday, March 28, 2003 1:01 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hi Lembit > > Not much response on this great initiative ... > > As M?nchen is less than one hour's flight away let me make an > preliminary reservation! > > I'll have to get back with presentation details. > > /gustav > > > > The 3rd AccessD Conference will be held > > August-08 through August-10 2003 > > in Freising / Germany (near Munich) > > > Depending on the number of participants, the presentations will be held at > > either my house or a nearby location. > > > Please send > > Title and short Abstract of your presentation to > > dba-conf at databaseadvisors.com > > > thank you > > Lembit > > > Lembit Soobik > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Fri Mar 28 11:40:48 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 11:40:48 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia From scotttgage at yahoo.com Fri Mar 28 11:42:38 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Fri, 28 Mar 2003 09:42:38 -0800 (PST) Subject: [AccessD] TIME BOMB Message-ID: <20030328174238.57488.qmail@web10405.mail.yahoo.com> Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com From MPorter at acsalaska.com Fri Mar 28 11:46:42 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 28 Mar 2003 08:46:42 -0900 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Fri Mar 28 11:45:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 09:45:10 -0800 Subject: [AccessD] TIME BOMB Message-ID: I think you're asking for trouble using that subject line. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Friday, March 28, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Fri Mar 28 11:57:08 2003 From: greggs at msn.com (gregg steinbrenner) Date: Fri, 28 Mar 2003 11:57:08 -0600 Subject: [AccessD] TIME BOMB In-Reply-To: <20030328174238.57488.qmail@web10405.mail.yahoo.com> Message-ID: I like the # of days method with pop up reminders when the database is opened for the last 10 days. Also, you can use the same system for customer that want to lease software by the month giving them new passwords to extend their time bomb period. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Gage Sent: Friday, March 28, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Mar 28 11:57:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 18:57:53 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856><13017986923.20030328140114@cactus.dk> <002901c2f54f$fddf0c30$f59f7dc2@D8TZHN0J> Message-ID: <03a001c2f553$8e8840a0$0300a8c0@S856> Great, Mark, looking forward to see you again. now, if it continues with that speed (2 in two days), will have a lot in August :) Lembit Soobik ----- Original Message ----- From: "Mark L. Breen" To: Sent: Friday, March 28, 2003 6:32 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hello Lembit, > > I also would love to attend, please put me down as a participant. > > Looking forward to it, > > Mark > > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Lembit Soobik" > Sent: Friday, March 28, 2003 1:01 PM > Subject: Re: [AccessD] AccessD Conference - Call for Papers > > > > Hi Lembit > > > > Not much response on this great initiative ... > > > > As M?nchen is less than one hour's flight away let me make an > > preliminary reservation! > > > > I'll have to get back with presentation details. > > > > /gustav > > > > > > > The 3rd AccessD Conference will be held > > > August-08 through August-10 2003 > > > in Freising / Germany (near Munich) > > > > > Depending on the number of participants, the presentations will be held > at > > > either my house or a nearby location. > > > > > Please send > > > Title and short Abstract of your presentation to > > > dba-conf at databaseadvisors.com > > > > > thank you > > > Lembit > > > > > Lembit Soobik > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Fri Mar 28 11:59:02 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 12:59:02 -0500 Subject: [AccessD] AccessD Conference - Call for Papers In-Reply-To: <02d001c2f531$18ea3500$0300a8c0@S856> Message-ID: <01bc01c2f553$b7187800$8e01a8c0@Rock> I don't know whether I will have enough money to attend, but I sure would love to. In the meantime, put me down for a paper on SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager. If I can't actually attend I'll send files etc. and log in via VNC or TS or whatever :-) Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin From HollisVJ at pgdp.usec.com Fri Mar 28 12:01:38 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 12:01:38 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07F@exchange.pgdp> I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Mar 28 12:06:27 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 19:06:27 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <01bc01c2f553$b7187800$8e01a8c0@Rock> Message-ID: <03c001c2f554$c10c9340$0300a8c0@S856> thank you, Arthur. hope you can make it here. its sure worth. Lembit Soobik ----- Original Message ----- From: "Arthur Fuller" To: Sent: Friday, March 28, 2003 6:59 PM Subject: RE: [AccessD] AccessD Conference - Call for Papers > I don't know whether I will have enough money to attend, but I sure would > love to. In the meantime, put me down for a paper on SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) in the absence of Enterprise > Manager. If I can't actually attend I'll send files etc. and log in via VNC > or TS or whatever :-) > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Fri Mar 28 12:06:47 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 13:06:47 -0500 Subject: [AccessD] TIME BOMB In-Reply-To: Message-ID: <01be01c2f554$ccb1d660$8e01a8c0@Rock> CIA trackin' you right now! Yo, toast! Soon they'll know everywhere you've flown, every dinner, every strip-club credit-card purchase, &c. :-) "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 28, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] TIME BOMB I think you're asking for trouble using that subject line. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Friday, March 28, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 28 12:08:24 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 13:08:24 -0500 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e In-Reply-To: Message-ID: <01bf01c2f555$06748500$8e01a8c0@Rock> I think that it is indicative of a trend. In the absence of intelligent assessment, certs will suffice. Not that I have any, you understand, but I do detect the trend. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 28, 2003 12:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Mar 28 12:10:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:10:13 -0500 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54F63@TTNEXCHSRV1.hshhp.com> One last comment from me before you do this Virginia. I've seen it mentioned in this thread already but I'll say it again for good measure. It's not a bad idea to tell them that $50 is discounted off your usual rate of $75 an hour. As mentioned, this will give you room to grow and add some value to your work. If the company is on the East coast they probably will not blink at that ($100/hr. or more is not unusual for consultants here). Jim DeMarco -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 1:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Fri Mar 28 12:11:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 10:11:10 -0800 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: Don't believe RFPs. Trust me, they do not necessarily go to the person who meets all the credential requirements. Charlotte Foust -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, March 28, 2003 9:47 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 28 12:15:09 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri, 28 Mar 2003 11:15:09 -0700 Subject: [AccessD] Blacksburg In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07F@exchange.pgdp> Message-ID: How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Mar 28 12:16:58 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:16:58 -0500 Subject: Certs - was Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttim e Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856ED@TTNEXCHSRV1.hshhp.com> This "trend" might just be due to the glut of unemployed persons carrying these certs. Employers know they're out there and can get them now. When the job market levels out again you may see a change in this. I still look for a person who can do the job (based on past performance) first and foremost. Jim DeMarco -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 28, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttim e I think that it is indicative of a trend. In the absence of intelligent assessment, certs will suffice. Not that I have any, you understand, but I do detect the trend. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 28, 2003 12:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Fri Mar 28 12:27:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 19:27:27 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: <837560018.20030328192727@cactus.dk> Hi Susan As always, it's easy when you know how ... Here is one method: SELECT tblMember.*, (SELECT TOP 1 datReceived FROM tblPayment WHERE (tblMember.ID = tblPayment.MemberID) ORDER BY datReceived DESC;) AS LastPayment FROM tblMember; /gustav > I hope this is so easy I'll be embarrassed I even asked, but... > I have a query that links two tables with a one-to-many relationship. My > problem is that I want to pull only the most current record on the many > side. I know this has to be something easy, but I'm either blind to it or > just not able to figure out where to start looking. I tried to access the > archives, but the link takes me to the mail options page. > Thanks! > Susan From HollisVJ at pgdp.usec.com Fri Mar 28 12:34:09 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 12:34:09 -0600 Subject: [AccessD] OT Blacksburg Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB080@exchange.pgdp> Ok, this way OT, but had to share... When we were first married my husband was stationed in Norfolk, Va. I was making a collect call to my parents when the operator asked me my name, I told her, "Virginia", we got into a big tadoo because she kept insisting for my name, not the state. I use to joke about having the address: Virginia Virginia Beach Blvd Virginia Beach, Virginia -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 28, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] Blacksburg How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Fri Mar 28 12:34:36 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Fri, 28 Mar 2003 13:34:36 -0500 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <833956F5C117124A89417638FDB112904FB40F@goexchange.pghcorning.com> I agree with Jim on that one. I have a quick little motivating story to pass on, hope it helps a little. I was out with some buddy's of mine having a few beers and ran into an engineer who needed a database built for Document Control. We started BS'ing and well he made me an offer. Keep in mind I was still a student in college but told him of my Access experience and he offered me $100/hr to develop, on the spot without even checking my resume, grades, prior access applications, or contacts. And that was in the Low cost of living city of Pittsburgh. As I mentioned it was over a few beers and though it would never solidify into anything, I mean after all we all have made great promises and told great stories while holding a beer in our hand. That is until I got an email Monday from him asking when we can sit down and talk about what his requirements were, and what he expected out of the application. I haven't done a side project since I landed a full time position but imagine I could do it at the same price without a problem. The money isn't as good being Salaried, but it is nice to have benefits, and a steady paycheck. Rich -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime One last comment from me before you do this Virginia. I've seen it mentioned in this thread already but I'll say it again for good measure. It's not a bad idea to tell them that $50 is discounted off your usual rate of $75 an hour. As mentioned, this will give you room to grow and add some value to your work. If the company is on the East coast they probably will not blink at that ($100/hr. or more is not unusual for consultants here). Jim DeMarco -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 1:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Mar 28 12:37:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 19:37:34 +0100 Subject: [AccessD] OT: VB dll rookie Message-ID: <3238167211.20030328193734@cactus.dk> Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav From Jdemarco at hshhp.org Fri Mar 28 12:44:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:44:17 -0500 Subject: [AccessD] OT: VB dll rookie Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> Gustav, Our VB is very slow. I'd be happy to help you though as I use VB to create DLLs quite often. In a nutshell, if you're comfortable writing classes you already know enough to put a DLL together. Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 28, 2003 1:38 PM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From chris at denverdb.com Fri Mar 28 12:45:52 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri, 28 Mar 2003 11:45:52 -0700 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3238167211.20030328193734@cactus.dk> Message-ID: Very simple, just open VB and Select Newm choices will come up as to what you want to build, select ActiveX dll and you're on your way. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 28, 2003 11:38 AM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Mar 28 13:04:46 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 28 Mar 2003 14:04:46 -0500 Subject: [AccessD] Need most recent record from many Message-ID: <01C2F532.FDF75550.bob@renaissancesiding.com> Gustav "it's easy when you know how .. " OUCH! I know my methods are often novice-level, but that was brutal :) Bob Gajewski On Friday, March 28, 2003 13:27 PM, Gustav Brock [SMTP:gustav at cactus.dk] wrote: > Hi Susan > > As always, it's easy when you know how .. > Here is one method: > > > > SELECT > tblMember.*, > (SELECT TOP 1 > datReceived > FROM > tblPayment > WHERE > (tblMember.ID = tblPayment.MemberID) > ORDER BY > datReceived DESC;) AS LastPayment > FROM > tblMember; > > > > /gustav > > > > I hope this is so easy I'll be embarrassed I even asked, but.. > > I have a query that links two tables with a one-to-many relationship. My > > problem is that I want to pull only the most current record on the many > > side. I know this has to be something easy, but I'm either blind to it or > > just not able to figure out where to start looking. I tried to access the > > archives, but the link takes me to the mail options page > > Thanks! > > Susan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > . > From jeffrey.demulling at usbank.com Fri Mar 28 13:05:05 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 13:05:05 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From subs at solution-providers.ie Fri Mar 28 13:29:43 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 28 Mar 2003 19:29:43 -0000 Subject: [AccessD] Serial Communications - Cross Posted VB and Access Message-ID: <007301c2f560$6315bdf0$219f7dc2@D8TZHN0J> Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Mar 28 13:45:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:45:51 -0600 Subject: [AccessD] Need most recent record from many Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C0@main2.marlow.com> Sorry about the archives...William is going to hold my feet to the fire to get them back online this weekend. As far as your issue is concerned, I would recommend Using the Max function, however, it may work well to use a subquery. Drew -----Original Message----- From: Susan Jones [mailto:susanj at sgmeet.com] Sent: Friday, March 28, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 28 13:46:44 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 13:46:44 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: Virginia, Sorry, I must have misread your message since I got the impression you said you were in Virginia. (Too many Virgins to keep straight! ) Blacksburg is in the toe of Virginia, the home of Virginia Polytechnic Institute and State University a.k.a. Virginia Tech. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 12:02 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz From DWUTKA at marlow.com Fri Mar 28 13:51:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:51:52 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C1@main2.marlow.com> I agree, however, experience only comes with time. During the first years, you end up making sacrifices because of the lack of 'experience'. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, March 28, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 8:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 13:57:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:57:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C2@main2.marlow.com> Go for it. Keep one thing in mind, when you take on a development project, be it a full time or contract position. There is ALWAYS a way to do something, and, more importantly, there is usually a better way too! What I mean by that, is that when you walk into a situation where you are saying 'I am here to do yadda yadda', you MUST extrude the confidence that you can do whatever is asked of you, and that you know the best way to do it. That is the beauty of resources like the List. Just knowing about the List gives you the backing needed to follow through with claims of 'guru-ness'. If we (as a group) can't solve a problem, I quite frankly would be flabbergasted! Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 11:28 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 13:59:29 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:59:29 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C3@main2.marlow.com> It probably is a trend. Gotta love it! Drew -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, March 28, 2003 11:47 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:04:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:04:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C4@main2.marlow.com> Just so you know, I personally don't think $35 is low. My personal rates are as such: Access/VB/ASP combinations-$100 an hour (IF and ONLY IF I personally know the person. otherwise it's $150...though I have only ever done 1 job at that rate, and it was pretty small). VB Alone (including VB with Access as a db only (BE)) $75, or if it's a complex VB project, it gets shot up to $100. Access Alone $50. If it is a friend, VB goes to $50, and Access goes to $35. However, that is because I do not put ANY priority on them, they get done when they get done, and I am also allowed to be very 'liberal' with my hours. I drop my rates for those situations because I work full time, so I am not dependant on the money, and also I feel it is just being good business. I am reducing my rates because the commitment isn't 100%. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 12:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:08:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:08:17 -0600 Subject: [AccessD] OT Blacksburg Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C5@main2.marlow.com> That is pretty funny. In the Navy, there are a few 'enlisted' rates E-3 and below (E-4 and above are called by their specialty, such as Machinist Mate, or Electricians Mate, etc.). E-3's and below are Firemen, Seamen, or Airmen. (Based on the job they are in. Mechanics and machinists are firemen, electricians and cooks are seamen, and guys that work on the planes are airmen). I knew an electrian who's last name was Seamen. (Seamen Seamen.....talk about the ribbing he got!) Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT Blacksburg Ok, this way OT, but had to share... When we were first married my husband was stationed in Norfolk, Va. I was making a collect call to my parents when the operator asked me my name, I told her, "Virginia", we got into a big tadoo because she kept insisting for my name, not the state. I use to joke about having the address: Virginia Virginia Beach Blvd Virginia Beach, Virginia -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 28, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] Blacksburg How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Mar 28 14:08:49 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 14:08:49 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB085@exchange.pgdp> LOL. That is ok. See I even get a geography lesson out the deal - that should be worth an extra 50.00 hr. I imagine the rate is about the same for our area... -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, Sorry, I must have misread your message since I got the impression you said you were in Virginia. (Too many Virgins to keep straight! ) Blacksburg is in the toe of Virginia, the home of Virginia Polytechnic Institute and State University a.k.a. Virginia Tech. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 12:02 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:10:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:10:15 -0600 Subject: [AccessD] OT: VB dll rookie Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> What exactly are you trying to do? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 28, 2003 12:38 PM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Mar 28 14:13:31 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 15:13:31 -0500 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: Message-ID: <002d01c2f566$843f3780$c8350cd8@hargrove.internal> Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Fri Mar 28 14:15:22 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 29 Mar 2003 08:15:22 +1200 Subject: [AccessD] Access 2002 and imperial measurements Message-ID: <70F3D727890C784291D8433E9C418F290389CE@server.bondsoftware.co.nz> Duh. That's my senior moment for the week. Thanks Bill. It's Saturday, I think I'll go mow the lawn. Stephen Bond -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Saturday, 29 March 2003 12:35 a.m. To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 and imperial measurements ...the measurement system is based upon your regional settings in the xp control panel ...you can customize it to use the English measurements while leaving everything else localized ...HTH :) From jeffrey.demulling at usbank.com Fri Mar 28 14:23:22 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 14:23:22 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Fri Mar 28 14:51:03 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 15:51:03 -0500 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: Message-ID: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> Yes that is what I meant. To resolve the problem you need to find out the answers to the following questions... 1) Does she have MDAC 2.7 installed? 2) Did you create a SQL data connection (either a System DSN or a User DSN) on her machine? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 03:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 28 15:04:49 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri, 28 Mar 2003 21:04:49 +0000 (GMT) Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> References: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> Message-ID: <1048885489.3e84b8f12481c@hosea.qub.ac.uk> The adress escapes me at the moment but theres a download on MS which tells you the versions of all the MDAC stuff you have loaded. Sorry I cant remember the address. Martin Quoting Mike and Doris Manning : > Yes that is what I meant. To resolve the problem you need to find out > the > answers to the following questions... > > 1) Does she have MDAC 2.7 installed? > 2) Did you create a SQL data connection (either a System DSN or a User > DSN) > on her machine? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jeffrey.demulling at usbank.com > Sent: Friday, March 28, 2003 03:23 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED > > > > Do you mean MDAC 2.7? > > > > "Mike and Doris Manning" > Sent by: accessd-bounces at databaseadvisors.com > > > 03/28/2003 02:13 PM > Please respond to accessd > > > > To: accessd at databaseadvisors.com > cc: > Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE > INITIALIZED > > > > Does she have the latest MDAC update installed? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jeffrey.demulling at usbank.com > Sent: Friday, March 28, 2003 02:05 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED > > > I have an AXP ADP FE (saved in A2K format) that connects to a SQL > server. > Everything works fine on my machine, on a machine with A2K, but when I > try > using the file with a machine that was setup with the run-time version I > get > the error: "DATA PROVIDER COULD NOT BE INITIALIZED". > > The user is opening a form and when she clicks on a drop-down box that > has a > rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct > permissions on the SQL server side for the SP) and a rowsourcetype = > Table/View/StoredProc. > > Any ideas or suggestions would be greatly appreciated. > > TIA_______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > From mastercafe at ctv.es Fri Mar 28 15:11:45 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Fri, 28 Mar 2003 22:11:45 +0100 Subject: [AccessD] Objetcs manipulation In-Reply-To: Message-ID: Hi group, we are making dinamics forms for a graphical enviroment with access. There are some method to manipulate a Form and create any circle or square or some object into it?? We need put some pictures into a form, depending of list on the drive. Other question is If is possible to use DirectX8 controls on A2k?? Thanks and regards Juan Menendez Mastercafe SL From wdhindman at bellsouth.net Fri Mar 28 15:18:28 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 16:18:28 -0500 Subject: [AccessD] String Manip Help References: <000501c2f505$c25de450$6101a8c0@amd2k512> <11221677781.20030328150245@cactus.dk> Message-ID: <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> ...aw shucks ...can't put a thang over on y'all no more :((((((( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Friday, March 28, 2003 9:02 AM Subject: Re: [AccessD] String Manip Help > Hi William > > Is this "our William" turning into early weekend lazy mode?? > > We have a TV show/quiz here where two of three friends must guess if > the third (isolated in a sound proof box) can answer a given question > or not .. > Do I need to go on? > > /gustav > > > > ...record field in table has a data string formatted like "city, state, zip > > /country" (without quotes) > > ...need to run an update query to remove the " /country" from each record > > where "country" can be any length > > ...any ideas appreciated :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From susanj at sgmeet.com Fri Mar 28 15:21:26 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 15:21:26 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: <837560018.20030328192727@cactus.dk> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> Hi Gustav, Getting closer...This returns the information, but only for the most recent record, not for each member. So, I think I need to add grouping. Doing that I've been able to pull the right record for each member in one query, but then I have to link it back to the main table using two fields as secondary keys to pull the primary key in order to continue pulling information which seems circular and not good programming. Susan At 12:27 PM 3/28/03, you wrote: >Hi Susan > >As always, it's easy when you know how ... >Here is one method: > > > >SELECT > tblMember.*, > (SELECT TOP 1 > datReceived > FROM > tblPayment > WHERE > (tblMember.ID = tblPayment.MemberID) > ORDER BY > datReceived DESC;) AS LastPayment >FROM > tblMember; > > > >/gustav From wdhindman at bellsouth.net Fri Mar 28 15:35:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 16:35:52 -0500 Subject: [AccessD] OT:Building your business was... Rate forfirsttime References: Message-ID: <006901c2f572$01bd5f60$6101a8c0@amd2k512> ...not to be discouraging Virginia but good housekeepers here make $25 an hour and there is no shortage of work ...doing database development for that kind of money is a quick way to the poor house ...have you looked into the taxes and fees you get tagged with as an independent business person ...the extra insurance you have to carry ...the unpaid hours you put in to developing proposals, bids, and just plain marketing ...if you are doing this as a hobby, ok ...but if you plan to make money at it ...make money! :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Wortz, Charles" To: Sent: Friday, March 28, 2003 12:40 PM Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate forfirsttime > Virginia, > > I don't know whether you are in a high cost area near DC, or a lower > cost area such as Blacksburg, but I suggest starting at $50 or higher, > not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody > with your experience. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday 2003 Mar 28 11:28 > To: 'accessd at databaseadvisors.com' > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for > firsttime > > Well, I don't make anywhere even near 40K a year. That is very > interesting to know, how underpayed I really am and what they are > getting for next to nothing :-(. I have a degree and some experience - > so I fit somewhere in between, I do not have the experience most have on > the list. My databases all turn out to be very similar. > > I am going to do the job as a contractor, it will be nights & weekends. > Still need to discuss the pay with the company - this has been a big > help. I especially liked the (Virgin comment & I am "cheap" LOL) I > really got a good laugh out of that :-). When I got my personalized > license plates I wanted my name on the plate - well Virginia was too > many characters - sure didn't want to abbreviate and use "Virgin". > > Anyway, this is a big step for me. Like Ron, there is always that worry > of messing up or running into a problem I can't solve. It is different > developing where I work full time, I am here to fix the problems or even > add new features the user wants. > > Still undecided on the fee - thinking somewhere in the 25-35 range or a > bit higher for negotiating purposes, sure not 10.00! Like someone > suggested, start high & negotiate from there. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Mar 28 15:59:26 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 13:59:26 -0800 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED References: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> <1048885489.3e84b8f12481c@hosea.qub.ac.uk> Message-ID: <3E84C5BE.5010607@shaw.ca> An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Mar 28 16:02:42 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:02:42 -0800 Subject: [AccessD] Objetcs manipulation References: Message-ID: <3E84C682.6040503@shaw.ca> Have a look through Stephan Lebans site for graphics http://www.lebans.com/imageclass.htm MastercafeCTV wrote: >Hi group, we are making dinamics forms for a graphical enviroment with >access. >There are some method to manipulate a Form and create any circle or square >or some object into it?? We need put some pictures into a form, depending of >list on the drive. >Other question is If is possible to use DirectX8 controls on A2k?? > > >Thanks and regards > >Juan Menendez >Mastercafe SL > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at ColbyConsulting.com Fri Mar 28 16:33:20 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 17:33:20 -0500 Subject: [AccessD] Serial Communications - Cross Posted VB and Access In-Reply-To: <007301c2f560$6315bdf0$219f7dc2@D8TZHN0J> Message-ID: Mark, Whenever I need to do serial stuff I use the mscomm.dll that comes with VB. It "listens" to one comm port, but it also raises events for all the things that need attention. I then wrap that in my own WithEvents class to do anything specific I need to do. Other than this Dll I don't know of any brilliant software. I used to use something called CrystalComm that was a library written in C I believe and provided all of the various functions need to initialize and manipulate the com ports as well as transfer files using the old transfer protocols from the late 80s & early 90s. Not sure if it is even available anymore. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 28, 2003 2:30 PM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Serial Communications - Cross Posted VB and Access Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Mar 28 16:42:03 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:42:03 -0800 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e References: Message-ID: <3E84CFBB.9040406@shaw.ca> A lot of small companies snap up MCSD's, so they can maintain their Microsoft Certified Partners status. They need at least two on staff and some number of MCP's. So I can see that as a requirement in staffing certain positions or perhaps bidding on contracts. ie you bid on a contract and say you are an MCP. Porter, Mark wrote: >Regarding the qualifications comments, it's not just the corporate world. I >just had to pass on bidding a contract because in the RFP it was specified >that the VB developer hold a MCSD and 5 years experience. Further education >or experience was not substitutable for the cert. > >The scope of the job didn't warrant 5 years experience, let alone a cert. I >do not even know anyone in my area with the MCSD that I could pass it on to >either. > >I do hope this isn't an indicator of a trend. > >Mark > >-----Original Message----- >From: Drew Wutka [mailto:DWUTKA at marlow.com] >Sent: Thursday, March 27, 2003 7:22 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for >fi rst tim e > > >Ron, I am in a similar situation, though I do contract stuff on the side, >and work a LOT more hours (well, I used too, lately I have only worked 45 >hours a week). > >I am a little over your 'argument's sake' salary, if I only work 40 hours a >week. I consider myself to be making about 60% of what I should be making. >However, with the current job market, it's extremely difficult to find other >work. In fact, I just was turned down for a job recently. Right now the >market is flooded with all sorts of IT folks, and most of them have degrees >and certifications. I have very little faith in either of those, >personally. However, even though most companies are hiring off of >experience versus quals, it seems as if they are paying more for quals then >knowledge/capabilities. I'm afraid that's just part of the business world. >It's hard to nail down, but I'm pretty sure the problem lies with Accounts >in general. They find it nearly impossible to quantify someone's value by >their knowledge or capabilities, however, it is very easy for them to >quantify someones education. > >For example, have you ever seen a salary comparison sheet that showed >something like this: > >Knowledge: >Salary: >Genius. Can't stump this guy/girl. >$250,000 >Extremely smart, learns everything thrown at him/her. >$180,000 >Pretty smart, knows what he's paid to do and a little more. >$110,000 >Smart, knows his/her job. >$70,000 >Average, can do his/her job as long as there are instructions. $40,000 >A little slow, needs to constantly be shown what to do. $25,000 >Pretty stupid, can barely do his/her job with lots of help. >$10,000 >Dumb as a post, can barely tie his/her shoes. >-$1,000 > >Of course you haven't seen a salary list like that. Instead, salary lists >are made up of a job title, along with certifications and degrees. >Obviously a perfect system! . > >What I like most about being employed full time though, is I get to work on >random stuff during idle time (when there is idle time), so I am constantly >learning! > >Drew > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >This transmittal may contain confidential information intended solely for >the addressee. If you are not the intended recipient, you are hereby >notified that you have received this transmittal in error; any review, >dissemination, distribution or copying of this transmittal is strictly >prohibited. If you have received this communication in error, please notify >us immediately by reply or by telephone (collect at 907-564-1000) and ask to >speak with the message sender. In addition, please immediately delete this >message and all attachments. Thank you. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Fri Mar 28 16:54:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:54:46 -0800 Subject: [AccessD] Table of checks References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB079@exchange.pgdp> Message-ID: <3E84D2B6.6000001@shaw.ca> An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Fri Mar 28 17:07:07 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 17:07:07 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: First: Marty thanks for the link. She has version 2.5 SP1 (2.51.5303.5) for the MDAC. On my machine I have version 2.6 RTM (2.60.6526.3) Now I am not sure what connection string you are referring to. The ADP connection interface looks like the following: MartyConnelly Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 03:59 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED MDAC Component Checker http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en How about a peek at your connection string too? Mwp.Reid at Queens-Belfast.AC.UK wrote: The adress escapes me at the moment but theres a download on MS which tells you the versions of all the MDAC stuff you have loaded. Sorry I cant remember the address. Martin Quoting Mike and Doris Manning : Yes that is what I meant. To resolve the problem you need to find out the answers to the following questions... 1) Does she have MDAC 2.7 installed? 2) Did you create a SQL data connection (either a System DSN or a User DSN) on her machine? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 03:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8748 bytes Desc: not available URL: From stuart at lexacorp.com.pg Fri Mar 28 18:00:38 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Mar 2003 10:00:38 +1000 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3238167211.20030328193734@cactus.dk> Message-ID: <3E856EC6.17288.15F228@localhost> > Hi All > > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > > It's only for building dlls, not for programming self contained VB apps. > > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? > At the risk of getting repititive. If you're looking at building DLLs and leveraging your BASIC programiing skills, look at PB/Win from http://www.powerbasic.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Fri Mar 28 19:01:24 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 20:01:24 -0500 Subject: [AccessD] Just checking In-Reply-To: <3E856EC6.17288.15F228@localhost> Message-ID: <022701c2f58e$b839c4b0$8e01a8c0@Rock> I have sent several msgs to both AccessD and dbaSQL and seen none of them so far, so this is just a check to make sure I'm getting through. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin From martyconnelly at shaw.ca Fri Mar 28 20:25:56 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 18:25:56 -0800 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED References: Message-ID: <3E850434.5050602@shaw.ca> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8748 bytes Desc: not available URL: From davesharpe2 at cox.net Fri Mar 28 20:58:38 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Fri, 28 Mar 2003 21:58:38 -0500 Subject: [AccessD] Just checking References: <022701c2f58e$b839c4b0$8e01a8c0@Rock> Message-ID: <002401c2f59f$1990a430$1d270a44@bcs006137> Arthur I have 12 mgs from you on Accessd since March 22. Nothing I could be of assistance with in them though. Dave ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Friday, March 28, 2003 8:01 PM Subject: [AccessD] Just checking I have sent several msgs to both AccessD and dbaSQL and seen none of them so far, so this is just a check to make sure I'm getting through. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Fri Mar 28 21:45:41 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 29 Mar 2003 00:45:41 -0300 Subject: [AccessD] Re: OT : References In-Reply-To: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> References: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: On Tue, 25 Mar 2003 23:36:16 -0700, t tom wrote: > Hi All > > > Does anyone know where I get info on the "Available References" found in > Access and VB. > I can use the Object Browser but there must be better documentation > somewhere! > > > TIA > Tomt > You may try this code... *** Function InfoRef() Dim msg As String Dim item_ref As Reference ' On Error Resume Next ' For Each item_ref In References If item_ref.IsBroken Then msg = "Broken reference:" & vbCrLf & item_ref.FullPath Else msg = "Reference: " & item_ref.Name & vbCrLf _ & "Location: " & item_ref.FullPath & vbCrLf & _ "Version: " & item_ref.Major & "." & item_ref.Minor & vbCrLf & _ "GUIDs of broken references:" & item_ref.Guid End If Debug.Print msg Next item_ref End Function *** HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From martyconnelly at shaw.ca Sat Mar 29 00:54:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 22:54:06 -0800 Subject: [AccessD] Cute A Word 2003 Document Translation Webservice available References: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: <3E85430E.6030009@shaw.ca> There is a self contained document machine translation web service available in Word 2003 from Google and World Lingo even does Chinese, Japanese and Korean. Open up the document in Word then select Tools--> Research This brings up a Research sidebar in Search For: Type Google then select Translation options or select translation from combobox with All Reference Books Or just ALT + left click on document or word in document to bring up Reseach sidebar. After selecting translate it displays a returned xml to html translation in an IE window that you can then cut and paste back into word. Attached is a short translation of BackEnd Upgrader Document in German Das Hinterupgrader.doc Handy if you need some quick rough translation of documentation for international clients. But wait there is more. Build Your Own Research Library with Office 2003 and the Google Web Service API or Attach your own Web Service http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office03062003.asp From gustav at cactus.dk Sat Mar 29 04:08:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:08:43 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> Message-ID: <1674629346.20030329110843@cactus.dk> Hi Susan I assumed the two tables were related with a unique MemberID. If not, this may be the moment where you reveal your table designs for the audience ... Also, if more than one payment can happen for one member on one day, the subquery may return more than one record, adjust the subquery to include sorting on the primary key of the payments table as shown: SELECT tblMember.*, (SELECT TOP 1 datReceived FROM tblPayment WHERE (tblMember.ID = tblPayment.MemberID) ORDER BY datReceived DESC, tblPayment.ID;) AS LastPayment FROM tblMember; /gustav > Getting closer...This returns the information, but only for the most recent > record, not for each member. So, I think I need to add grouping. Doing > that I've been able to pull the right record for each member in one query, > but then I have to link it back to the main table using two fields as > secondary keys to pull the primary key in order to continue pulling > information which seems circular and not good programming. > Susan > At 12:27 PM 3/28/03, you wrote: >>Hi Susan >> >>As always, it's easy when you know how ... >>Here is one method: >> >> >> >>SELECT >> tblMember.*, >> (SELECT TOP 1 >> datReceived >> FROM >> tblPayment >> WHERE >> (tblMember.ID = tblPayment.MemberID) >> ORDER BY >> datReceived DESC;) AS LastPayment >>FROM >> tblMember; >> >> From gustav at cactus.dk Sat Mar 29 04:16:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:16:05 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <01C2F532.FDF75550.bob@renaissancesiding.com> References: <01C2F532.FDF75550.bob@renaissancesiding.com> Message-ID: <345071762.20030329111605@cactus.dk> Hi Bob Oh, it wasn't meant so, of course - hopefully Susan is not embarrassed. Believe me, my "book" has bunches of blank pages - among these are those describing how Williams' brain is functioning. /gustav > > "it's easy when you know how .. " > OUCH! I know my methods are often novice-level, but that was brutal :) > > Bob Gajewski > On Friday, March 28, 2003 13:27 PM, Gustav Brock [SMTP:gustav at cactus.dk] wrote: >> Hi Susan >> >> As always, it's easy when you know how .. >> Here is one method: >> >> >> >> SELECT >> tblMember.*, >> (SELECT TOP 1 >> datReceived >> FROM >> tblPayment >> WHERE >> (tblMember.ID = tblPayment.MemberID) >> ORDER BY >> datReceived DESC;) AS LastPayment >> FROM >> tblMember; >> >> >> >> /gustav >> >> >> > I hope this is so easy I'll be embarrassed I even asked, but.. >> > I have a query that links two tables with a one-to-many relationship. My >> > problem is that I want to pull only the most current record on the many >> > side. I know this has to be something easy, but I'm either blind to it or >> > just not able to figure out where to start looking. I tried to access the >> > archives, but the link takes me to the mail options page From gustav at cactus.dk Sat Mar 29 04:37:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:37:17 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> Message-ID: <916343311.20030329113717@cactus.dk> Hi Jim > Our VB is very slow. Slow? Would you recommend looking for alternatives to VB? > I'd be happy to help you though as I use VB to create DLLs quite > often. In a nutshell, if you're comfortable writing classes you > already know enough to put a DLL together. Thanks. Just wanted to stay off possible traps when dealing with dlls. /gustav > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > It's only for building dlls, not for programming self contained VB apps. > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? From gustav at cactus.dk Sat Mar 29 04:47:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:47:55 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> Message-ID: <1836981038.20030329114755@cactus.dk> Hi Drew > What exactly are you trying to do? It is for modifying a third-party app with an exposed API. When the app launches it looks for add-on custom dlls which can add new or modified features to the app or adjust the GUI (forms, menus, etc.) Those add-on dlls are recommended to be built in Visual Studio (which I neither have) but any environment capable of compiling a dll can be used: VB, C++, even Delphi. However, for years I haven't programmed in anything else but Access, I have never done any C/C++, and Delphi/Pascal is far away - that's why I thought of VB. /gustav From gustav at cactus.dk Sat Mar 29 04:52:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:52:34 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <13686104889590913243d0567@global.net.pg> References: <13686104889590913243d0567@global.net.pg> Message-ID: <157260670.20030329115234@cactus.dk> Hi Stuart Thanks - I remember this and it certainly sounds like an alternative. I guess the cost is lower than for VB? Or would it be Visual Studio? I'm not updated with the Microsoft programming environments. /gustav >> I may be in a need of programming some dll files using some external >> libraries. > At the risk of getting repititive. If you're looking at building DLLs and leveraging your > BASIC programiing skills, look at PB/Win from http://www.powerbasic.com From accessd at shaw.ca Sat Mar 29 06:03:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 04:03:19 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: RE: [AccessD] Replication - A2KHi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------------- -- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 29 06:13:22 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 04:13:22 -0800 Subject: [AccessD] RE:OT log files In-Reply-To: <01C2F532.FDF75550.bob@renaissancesiding.com> Message-ID: Hi All: This is a totally off topic question but I am sure a few individuals knows the good solutions. Is there any inexpensive solution to monitoring the log files on my server...these are the remote access log files not the log event files. TIA Jim From gustav at cactus.dk Sat Mar 29 07:05:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 14:05:32 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> References: <000501c2f505$c25de450$6101a8c0@amd2k512> <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> Message-ID: <12815238541.20030329140532@cactus.dk> Oops William, you lost me completely - what (rap) language is this? /gustav > ...aw shucks ...can't put a thang over on y'all no more :((((((( From stuart at lexacorp.com.pg Sat Mar 29 07:21:10 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Mar 2003 23:21:10 +1000 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <157260670.20030329115234@cactus.dk> References: <13686104889590913243d0567@global.net.pg> Message-ID: <3E862A66.20018.2F2E3BF@localhost> > Hi Stuart > > Thanks - I remember this and it certainly sounds like an alternative. > > I guess the cost is lower than for VB? > Or would it be Visual Studio? I'm not updated with the Microsoft > programming environments. > PB/Win 7 - $199 - purchase online and download online (about 3.5MB) See http://www.powerbasic.com/products/pbdll32/ Visual Basic - supplied on multiple CDs - not available online AFAIK. VB 6 Pro - around $500 (if you can find it) , Enterprise Edition around $800-900. Visual Sudio Net Pro $1000, Enterprise $1800, Enterprise Architect $2500 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sat Mar 29 09:16:05 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:16:05 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <3E862A66.20018.2F2E3BF@localhost> Message-ID: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur From artful at rogers.com Sat Mar 29 09:17:14 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:17:14 -0500 Subject: [AccessD] Just checking In-Reply-To: <002401c2f59f$1990a430$1d270a44@bcs006137> Message-ID: <026c01c2f606$47503270$8e01a8c0@Rock> It's no longer a problem, but thanks very much for checking. Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sat Mar 29 09:29:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:29:00 -0500 Subject: [AccessD] String Manip Help In-Reply-To: <12815238541.20030329140532@cactus.dk> Message-ID: <027301c2f607$ec370d30$8e01a8c0@Rock> Aw, shucks = Sacre bleu (or anything else that merely makes noise, such as "Um..." or "Eh..." Thang = southern US for "thing" Put a thang over = playfully deceive Y'all = you all (another weird southern US expression, particularly when intended as singular, but aw shucks, that's just the way they talk down there) No more = any longer Subsituting English for Southern, you get, "I am no longer able to playfully deceive you." HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 29, 2003 8:06 AM To: William Hindman Subject: Re: [AccessD] String Manip Help Oops William, you lost me completely - what (rap) language is this? /gustav > ...aw shucks ...can't put a thang over on y'all no more :((((((( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Sat Mar 29 10:01:43 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 29 Mar 2003 11:01:43 -0500 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: Similar questions have come up before. I believe that what is required to do this is a correlated sub-query. There is an example on my much neglected web site, www.goodhall.info/steve. Click on the "Useful Software" button and scroll down to the last item on the page. While this does not specifically address the question of dates, the basic technique will do what you want. I may have a date specific example somewhere in my files. If I find it, I will send it along. Now that I have finished my Master's degree, I suppose I could find some time to update the web site. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Jones Sent: Friday, March 28, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Mar 29 10:18:51 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat, 29 Mar 2003 17:18:51 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: We don't know any control for this, but we use Common Dialog control to take a file, then InstrRev from the file that they select using the \(slash position) right in the Filename indicate. See the code Function RetrieveDirName(InitialDir as string) as string Screen.PreviousControl.SetFocus CtrlCmmDialog.DialogTitle = "Select a file" CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" CtrlCmmDialog.DefaultExt = ".*" CtrlCmmDialog.Filename = "" CtrlCmmDialog.InitDir = InitialDir CtrlCmmDialog.ShowOpen If CtrlCmmDialog.Filename <> "" Then RetrieveDirName = Left(CtrlCmmDialog.Filename, InStrRev(CtrlCmmDialog.Filename, "\") - 1) else retrieveDiaName="NULL" End If Exit Function End Function Sometimes we use the FileSearch control if know the name of the file that need its DirName Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller Enviado el: s?bado, 29 de marzo de 2003 16:16 Para: accessd at databaseadvisors.com Asunto: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Sat Mar 29 10:25:30 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 29 Mar 2003 09:25:30 -0700 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: Arthur, Here's a modified version if something I downloaded from PlanetSourceCode a while back, it allows you to specify the initial folder that's selected and you can specify the text that appears for the user. Chris Mackin Denver Database Consulting, LLC www.denverdb.com '******************************* Option Compare Database Option Explicit Private Const BIF_RETURNONLYFSDIRS = 1 Private Const BIF_DONTGOBELOWDOMAIN = 2 Private Const MAX_PATH = 260 Private Declare Function SHBrowseForFolder Lib _ "shell32" (lpbi As BrowseInfo) As Long Private Declare Function SHGetPathFromIDList Lib _ "shell32" (ByVal pidList As Long, ByVal lpBuffer _ As String) As Long 'Private Declare Function lstrcat Lib "kernel32" _ Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As String) As Long Private Type BrowseInfo hWndOwner As Long pidlRoot As Long pszDisplayName As Long strTitle As String ulFlags As Long lpfnCallback As Long lParam As Long iImage As Long End Type Public Const LMEM_FIXED = &H0 'added Public Const LMEM_ZEROINIT = &H40 'added Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added Public Declare Function LocalAlloc Lib "kernel32" _ (ByVal uFlags As Long, _ ByVal uBytes As Long) As Long 'added Public Declare Function LocalFree Lib "kernel32" _ (ByVal hMem As Long) As Long 'added Public Declare Function lstrcpyA Lib "kernel32" _ (lpString1 As Any, lpString2 As Any) As Long 'added Public Declare Function lstrlenA Lib "kernel32" _ (lpString As Any) As Long 'added Public Declare Sub CopyMemory Lib "kernel32" _ Alias "RtlMoveMemory" _ (pDest As Any, _ pSource As Any, _ ByVal dwLength As Long) 'added Public Const BFFM_INITIALIZED = 1 'added Public Const WM_USER = &H400 'added 'Selects the specified folder. If the wParam 'parameter is FALSE, the lParam parameter is the 'PIDL of the folder to select , or it is the path 'of the folder if wParam is the C value TRUE (or 1). 'Note that after this message is sent, the browse 'dialog receives a subsequent BFFM_SELECTIONCHANGED 'message. Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) Public Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Any) As Long Public Function GetFolder(strPath As String, Optional strTitle As String = "Select Folder") As String Dim lpIDList As Long Dim sBuffer As String Dim szTitle As String Dim lpPath As Long Dim tBrowseInfo As BrowseInfo With tBrowseInfo .hWndOwner = Application.hWndAccessApp .pidlRoot = 0 .strTitle = strTitle .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) lpPath = LocalAlloc(LPTR, Len(strPath) + 1) CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 .lParam = lpPath End With lpIDList = SHBrowseForFolder(tBrowseInfo) If (lpIDList) Then sBuffer = Space(MAX_PATH) SHGetPathFromIDList lpIDList, sBuffer sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If GetFolder = sBuffer End Function Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ ByVal uMsg As Long, _ ByVal lParam As Long, _ ByVal lpData As Long) As Long 'Callback for the Browse STRING method. 'On initialization, set the dialog's 'pre-selected folder from the pointer 'to the path allocated as bi.lParam, 'passed back to the callback as lpData param. Select Case uMsg Case BFFM_INITIALIZED Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) Case Else End Select End Function Private Function FARPROC(pfn As Long) As Long 'This workaround is needed as you can't assign 'AddressOf directly to a member of a user- 'defined type, but you can assign it to another 'long and use that (as returned here) FARPROC = pfn End Function '************************************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 29, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 29 10:27:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 08:27:05 -0800 Subject: [AccessD] Code to get a directory name via navigation References: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: <3E85C959.1070107@shaw.ca> Do you mean Browse to a Folder and return its name. http://www.mvps.org/access/api/api0002.htm Arthur Fuller wrote: >I have the ADH code that lets you pick a filename by nivagating to it, but >it seems none of the args lets you request a directory name instead of a >filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just >have to find it.) > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Sat Mar 29 09:47:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 16:47:41 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <027301c2f607$ec370d30$8e01a8c0@Rock> References: <027301c2f607$ec370d30$8e01a8c0@Rock> Message-ID: <6724967661.20030329164741@cactus.dk> Thanks Arthur - got it now! /gustav > Aw, shucks = Sacre bleu (or anything else that merely makes noise, such as > "Um..." or "Eh..." > Thang = southern US for "thing" > Put a thang over = playfully deceive > Y'all = you all (another weird southern US expression, particularly when > intended as singular, but aw shucks, that's just the way they talk down > there) > No more = any longer > Subsituting English for Southern, you get, "I am no longer able to playfully > deceive you." > HTH, > Arthur > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 29, 2003 8:06 AM > To: William Hindman > Subject: Re: [AccessD] String Manip Help > Oops William, you lost me completely - what (rap) language is this? > /gustav >> ...aw shucks ...can't put a thang over on y'all no more :((((((( From gustav at cactus.dk Sat Mar 29 10:54:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 17:54:37 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: References: Message-ID: <14728983075.20030329175437@cactus.dk> Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from PlanetSourceCode a > while back, it allows you to specify the initial folder that's selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ > lpString2 As String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) > Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As String = > "Select Folder") As String > Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) > End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* From chris at denverdb.com Sat Mar 29 11:20:07 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 29 Mar 2003 10:20:07 -0700 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <14728983075.20030329175437@cactus.dk> Message-ID: Gustav, To be honest I have no idea why that part of the code would fail for you. If it matters I'm running A2k on a Win2k box. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 29, 2003 9:55 AM To: Chris Mackin Subject: Re: [AccessD] Code to get a directory name via navigation Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from PlanetSourceCode a > while back, it allows you to specify the initial folder that's selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ > lpString2 As String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) > Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As String = > "Select Folder") As String > Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) > End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 29 11:33:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:33:07 -0500 Subject: [AccessD] Code to render ShortFileName Message-ID: <028801c2f619$42d2ed10$8e01a8c0@Rock> Anybody got code to paste into Access that derives a short file name (i.e. everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? Ideally, I would like to use the ADH code to grab a filename then call a function that shortens the filename appropriately. TIA, Arthur From Jdemarco at hshhp.org Sat Mar 29 11:38:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sat, 29 Mar 2003 12:38:54 -0500 Subject: [AccessD] OT: VB dll rookie Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> Sorry that should have read our VB list is very slow (VB is fine for ActiveX components). If you are looking into VB you can use VB 6 and the syntax is about identical to VBA for the most part. The Learning Edition of VB which is less expensive may do the trick for you. Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Saturday, March 29, 2003 5:37 AM To: Jim DeMarco Subject: Re: [AccessD] OT: VB dll rookie Hi Jim > Our VB is very slow. Slow? Would you recommend looking for alternatives to VB? > I'd be happy to help you though as I use VB to create DLLs quite > often. In a nutshell, if you're comfortable writing classes you > already know enough to put a DLL together. Thanks. Just wanted to stay off possible traps when dealing with dlls. /gustav > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > It's only for building dlls, not for programming self contained VB apps. > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Sat Mar 29 11:57:05 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 11:57:05 -0600 Subject: [AccessD] Word Automation merges Message-ID: I'm making some document templates to distribute and if the document is saved with the data showing it shows the last set used until the show data/merge fields switch is switched back and forth. Kind of dismays the end user. I was thinking of just saving the document with the switch set to show merge fields and adding a command to the autmation that switched it over to view the data. (Manually this works OK.) Anyone know what the Word command is to switch between these modes? Anyone have a better idea? A97 and W97 TIA JB From artful at rogers.com Sat Mar 29 11:47:05 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:47:05 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: <029201c2f61b$36a30b40$8e01a8c0@Rock> That does the trick! Thanks a bunch. A. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 29, 2003 11:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Arthur, Here's a modified version if something I downloaded from PlanetSourceCode a while back, it allows you to specify the initial folder that's selected and you can specify the text that appears for the user. Chris Mackin Denver Database Consulting, LLC www.denverdb.com '******************************* Option Compare Database Option Explicit Private Const BIF_RETURNONLYFSDIRS = 1 Private Const BIF_DONTGOBELOWDOMAIN = 2 Private Const MAX_PATH = 260 Private Declare Function SHBrowseForFolder Lib _ "shell32" (lpbi As BrowseInfo) As Long Private Declare Function SHGetPathFromIDList Lib _ "shell32" (ByVal pidList As Long, ByVal lpBuffer _ As String) As Long 'Private Declare Function lstrcat Lib "kernel32" _ Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As String) As Long Private Type BrowseInfo hWndOwner As Long pidlRoot As Long pszDisplayName As Long strTitle As String ulFlags As Long lpfnCallback As Long lParam As Long iImage As Long End Type Public Const LMEM_FIXED = &H0 'added Public Const LMEM_ZEROINIT = &H40 'added Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added Public Declare Function LocalAlloc Lib "kernel32" _ (ByVal uFlags As Long, _ ByVal uBytes As Long) As Long 'added Public Declare Function LocalFree Lib "kernel32" _ (ByVal hMem As Long) As Long 'added Public Declare Function lstrcpyA Lib "kernel32" _ (lpString1 As Any, lpString2 As Any) As Long 'added Public Declare Function lstrlenA Lib "kernel32" _ (lpString As Any) As Long 'added Public Declare Sub CopyMemory Lib "kernel32" _ Alias "RtlMoveMemory" _ (pDest As Any, _ pSource As Any, _ ByVal dwLength As Long) 'added Public Const BFFM_INITIALIZED = 1 'added Public Const WM_USER = &H400 'added 'Selects the specified folder. If the wParam 'parameter is FALSE, the lParam parameter is the 'PIDL of the folder to select , or it is the path 'of the folder if wParam is the C value TRUE (or 1). 'Note that after this message is sent, the browse 'dialog receives a subsequent BFFM_SELECTIONCHANGED 'message. Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) Public Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Any) As Long Public Function GetFolder(strPath As String, Optional strTitle As String = "Select Folder") As String Dim lpIDList As Long Dim sBuffer As String Dim szTitle As String Dim lpPath As Long Dim tBrowseInfo As BrowseInfo With tBrowseInfo .hWndOwner = Application.hWndAccessApp .pidlRoot = 0 .strTitle = strTitle .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) lpPath = LocalAlloc(LPTR, Len(strPath) + 1) CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 .lParam = lpPath End With lpIDList = SHBrowseForFolder(tBrowseInfo) If (lpIDList) Then sBuffer = Space(MAX_PATH) SHGetPathFromIDList lpIDList, sBuffer sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If GetFolder = sBuffer End Function Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ ByVal uMsg As Long, _ ByVal lParam As Long, _ ByVal lpData As Long) As Long 'Callback for the Browse STRING method. 'On initialization, set the dialog's 'pre-selected folder from the pointer 'to the path allocated as bi.lParam, 'passed back to the callback as lpData param. Select Case uMsg Case BFFM_INITIALIZED Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) Case Else End Select End Function Private Function FARPROC(pfn As Long) As Long 'This workaround is needed as you can't assign 'AddressOf directly to a member of a user- 'defined type, but you can assign it to another 'long and use that (as returned here) FARPROC = pfn End Function '************************************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 29, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 29 11:50:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:50:30 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: <029301c2f61b$b0553800$8e01a8c0@Rock> Doesn't fail for me either (winXP). Only limit I noticed is the code won't let you create a directory -- but in the current circumstance I can live with that. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 29, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Gustav, To be honest I have no idea why that part of the code would fail for you. If it matters I'm running A2k on a Win2k box. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 29, 2003 9:55 AM To: Chris Mackin Subject: Re: [AccessD] Code to get a directory name via navigation Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from > PlanetSourceCode a > while back, it allows you to specify the initial folder that's > selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As > String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const > BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As > String = "Select Folder") As String Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Mar 29 12:10:32 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 13:10:32 -0500 Subject: [AccessD] Word Automation merges References: Message-ID: <056601c2f61e$7e5b2730$6401a8c0@default> This might help Code for Word templates... http://www.mvps.org/access/modules/mdl0043.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "AccessD" Sent: Saturday, March 29, 2003 12:57 PM Subject: [AccessD] Word Automation merges > I'm making some document templates to distribute and if the document is > saved with the data showing it shows the last set used until the show > data/merge fields switch is switched back and forth. Kind of dismays the end > user. > > I was thinking of just saving the document with the switch set to show merge > fields and adding a command to the autmation that switched it over to view > the data. (Manually this works OK.) Anyone know what the Word command is to > switch between these modes? > > Anyone have a better idea? > > A97 and W97 > > TIA > JB > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From subs at solution-providers.ie Sat Mar 29 12:10:11 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Sat, 29 Mar 2003 18:10:11 -0000 Subject: [AccessD] Serial Communications - Cross Posted VB and Access References: Message-ID: <007201c2f61e$71192400$11ff869f@D8TZHN0J> Thanks John, I did download some code from PSC and it is using mscomm.dll. I guess I just wondered was there a wrapper for the wrapper. A heavy duty cardboard box with glossy shiney paper over the plastic bag the product comes in. I will probably use the mscomm, I was just worried that I will lose some of the data, I am aware enough that I do not know enough about buffers etc to gurantee that it is bullet proof Thanks anyway, Mark ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Friday, March 28, 2003 10:33 PM Subject: RE: [AccessD] Serial Communications - Cross Posted VB and Access Mark, Whenever I need to do serial stuff I use the mscomm.dll that comes with VB. It "listens" to one comm port, but it also raises events for all the things that need attention. I then wrap that in my own WithEvents class to do anything specific I need to do. Other than this Dll I don't know of any brilliant software. I used to use something called CrystalComm that was a library written in C I believe and provided all of the various functions need to initialize and manipulate the com ports as well as transfer files using the old transfer protocols from the late 80s & early 90s. Not sure if it is even available anymore. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 28, 2003 2:30 PM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Serial Communications - Cross Posted VB and Access Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland ------------------------------------------------------------------------------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 29 12:14:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 10:14:43 -0800 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: Hi Jaun and others: I have been using a similar function for years but, while we are on the subject, the dialog window always pops up in the top left corner of the screen. My question is, is there a way to control the dialog windows position of the current screen??? Like say, center of the screen.(?) I would greatly appreciate anyone's insight into this annoying little problem. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, March 29, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation We don't know any control for this, but we use Common Dialog control to take a file, then InstrRev from the file that they select using the \(slash position) right in the Filename indicate. See the code Function RetrieveDirName(InitialDir as string) as string Screen.PreviousControl.SetFocus CtrlCmmDialog.DialogTitle = "Select a file" CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" CtrlCmmDialog.DefaultExt = ".*" CtrlCmmDialog.Filename = "" CtrlCmmDialog.InitDir = InitialDir CtrlCmmDialog.ShowOpen If CtrlCmmDialog.Filename <> "" Then RetrieveDirName = Left(CtrlCmmDialog.Filename, InStrRev(CtrlCmmDialog.Filename, "\") - 1) else retrieveDiaName="NULL" End If Exit Function End Function Sometimes we use the FileSearch control if know the name of the file that need its DirName Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller Enviado el: s?bado, 29 de marzo de 2003 16:16 Para: accessd at databaseadvisors.com Asunto: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 29 12:20:31 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 19:20:31 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <029301c2f61b$b0553800$8e01a8c0@Rock> References: <029301c2f61b$b0553800$8e01a8c0@Rock> Message-ID: <14534137487.20030329192031@cactus.dk> Hi Arthur So what does your code look like? How do you set/pick this variable? /gustav > Doesn't fail for me either (winXP) .. >> '******************************* >> Option Compare Database >> Option Explicit >> Private Const BIF_RETURNONLYFSDIRS = 1 >> Private Const BIF_DONTGOBELOWDOMAIN = 2 >> Private Const MAX_PATH = 260 >> Private Declare Function SHBrowseForFolder Lib _ >> "shell32" (lpbi As BrowseInfo) As Long >> Private Declare Function SHGetPathFromIDList Lib _ >> "shell32" (ByVal pidList As Long, ByVal lpBuffer _ >> As String) As Long >> 'Private Declare Function lstrcat Lib "kernel32" _ >> Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As >> String) As Long >> Private Type BrowseInfo >> hWndOwner As Long >> pidlRoot As Long >> pszDisplayName As Long >> strTitle As String >> ulFlags As Long >> lpfnCallback As Long >> lParam As Long >> iImage As Long >> End Type >> Public Const LMEM_FIXED = &H0 'added >> Public Const LMEM_ZEROINIT = &H40 'added >> Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added >> Public Declare Function LocalAlloc Lib "kernel32" _ >> (ByVal uFlags As Long, _ >> ByVal uBytes As Long) As Long 'added >> Public Declare Function LocalFree Lib "kernel32" _ >> (ByVal hMem As Long) As Long 'added >> Public Declare Function lstrcpyA Lib "kernel32" _ >> (lpString1 As Any, lpString2 As Any) As Long 'added >> Public Declare Function lstrlenA Lib "kernel32" _ >> (lpString As Any) As Long 'added >> Public Declare Sub CopyMemory Lib "kernel32" _ >> Alias "RtlMoveMemory" _ >> (pDest As Any, _ >> pSource As Any, _ >> ByVal dwLength As Long) 'added >> Public Const BFFM_INITIALIZED = 1 'added >> Public Const WM_USER = &H400 'added >> 'Selects the specified folder. If the wParam >> 'parameter is FALSE, the lParam parameter is the >> 'PIDL of the folder to select , or it is the path >> 'of the folder if wParam is the C value TRUE (or 1). >> 'Note that after this message is sent, the browse >> 'dialog receives a subsequent BFFM_SELECTIONCHANGED >> 'message. >> Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const >> BFFM_SETSELECTIONW As Long = (WM_USER + 103) >> Public Declare Function SendMessage Lib "user32" _ >> Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ >> ByVal wParam As Long, lParam As Any) As Long >> Public Function GetFolder(strPath As String, Optional strTitle As >> String = "Select Folder") As String Dim lpIDList As Long >> Dim sBuffer As String >> Dim szTitle As String >> Dim lpPath As Long >> Dim tBrowseInfo As BrowseInfo >> With tBrowseInfo >> .hWndOwner = Application.hWndAccessApp >> .pidlRoot = 0 >> .strTitle = strTitle >> .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN >> .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) >> lpPath = LocalAlloc(LPTR, Len(strPath) + 1) >> CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 >> .lParam = lpPath >> End With >> lpIDList = SHBrowseForFolder(tBrowseInfo) >> If (lpIDList) Then >> sBuffer = Space(MAX_PATH) >> SHGetPathFromIDList lpIDList, sBuffer >> sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If >> GetFolder = sBuffer >> End Function >> Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ >> ByVal uMsg As Long, _ >> ByVal lParam As Long, _ >> ByVal lpData As Long) As Long >> 'Callback for the Browse STRING method. >> 'On initialization, set the dialog's >> 'pre-selected folder from the pointer >> 'to the path allocated as bi.lParam, >> 'passed back to the callback as lpData param. >> Select Case uMsg >> Case BFFM_INITIALIZED >> Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) >> Case Else >> End Select >> End Function >> Private Function FARPROC(pfn As Long) As Long >> 'This workaround is needed as you can't assign >> 'AddressOf directly to a member of a user- >> 'defined type, but you can assign it to another >> 'long and use that (as returned here) >> FARPROC = pfn >> End Function >> '************************************************* From martyconnelly at shaw.ca Sat Mar 29 12:19:23 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:19:23 -0800 Subject: [AccessD] Code to render ShortFileName References: <028801c2f619$42d2ed10$8e01a8c0@Rock> Message-ID: <3E85E3AB.50301@shaw.ca> Here is code to translate short and long filenames http://www.mvps.org/access/api/api0020.htm Are you writing the same code as me, seems like you are following me to the same spots, I am writing routine to create a directory file structure from a hierarchical table structure to place files. Arthur Fuller wrote: >Anybody got code to paste into Access that derives a short file name (i.e. >everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? >Ideally, I would like to use the ADH code to grab a filename then call a >function that shortens the filename appropriately. > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 29 12:26:43 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:26:43 -0800 Subject: [AccessD] OT: VB dll rookie References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> Message-ID: <3E85E563.1090209@shaw.ca> An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Sat Mar 29 12:37:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:37:05 -0800 Subject: [AccessD] OT: VB dll rookie References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> <3E85E563.1090209@shaw.ca> Message-ID: <3E85E7D1.3060305@shaw.ca> An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sat Mar 29 12:44:27 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 13:44:27 -0500 Subject: [AccessD] Code to get a directory name via navigation References: Message-ID: <058101c2f623$3c0df0b0$6401a8c0@default> Hi Jim Since common dialogs seem to position themselves in the upper left of the hwndOwner, the solution is to open a form dedicated to common dialogs and then position the form before calling the dialog. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Saturday, March 29, 2003 1:14 PM Subject: RE: [AccessD] Code to get a directory name via navigation > Hi Jaun and others: > > I have been using a similar function for years but, while we are on the > subject, the dialog window always pops up in the top left corner of the > screen. My question is, is there a way to control the dialog windows > position of the current screen??? Like say, center of the screen.(?) > > I would greatly appreciate anyone's insight into this annoying little > problem. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV > Sent: Saturday, March 29, 2003 8:19 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Code to get a directory name via navigation > > > We don't know any control for this, but we use Common Dialog control to take > a file, then InstrRev from the file that they select using the \(slash > position) right in the Filename indicate. > > See the code > Function RetrieveDirName(InitialDir as string) as string > Screen.PreviousControl.SetFocus > CtrlCmmDialog.DialogTitle = "Select a file" > CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" > CtrlCmmDialog.DefaultExt = ".*" > CtrlCmmDialog.Filename = "" > CtrlCmmDialog.InitDir = InitialDir > CtrlCmmDialog.ShowOpen > If CtrlCmmDialog.Filename <> "" Then > RetrieveDirName = Left(CtrlCmmDialog.Filename, > InStrRev(CtrlCmmDialog.Filename, "\") - 1) > else > retrieveDiaName="NULL" > End If > Exit Function > End Function > > > Sometimes we use the FileSearch control if know the name of the file that > need its DirName > > Regards > > Juan Menendez > Mastercafe SL > > -----Mensaje original----- > De: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller > Enviado el: s?bado, 29 de marzo de 2003 16:16 > Para: accessd at databaseadvisors.com > Asunto: [AccessD] Code to get a directory name via navigation > > > I have the ADH code that lets you pick a filename by nivagating to it, but > it seems none of the args lets you request a directory name instead of a > filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just > have to find it.) > > TIA, > Arthur > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 29 13:10:48 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 13:10:48 -0600 Subject: [AccessD] Word Automation merges In-Reply-To: <056601c2f61e$7e5b2730$6401a8c0@default> Message-ID: Not what I'm looking for. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, March 29, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Word Automation merges This might help Code for Word templates... http://www.mvps.org/access/modules/mdl0043.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "AccessD" Sent: Saturday, March 29, 2003 12:57 PM Subject: [AccessD] Word Automation merges > I'm making some document templates to distribute and if the document is > saved with the data showing it shows the last set used until the show > data/merge fields switch is switched back and forth. Kind of dismays the end > user. > > I was thinking of just saving the document with the switch set to show merge > fields and adding a command to the autmation that switched it over to view > the data. (Manually this works OK.) Anyone know what the Word command is to > switch between these modes? > > Anyone have a better idea? > > A97 and W97 > > TIA > JB > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 29 12:48:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 19:48:00 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3E85E7D1.3060305@shaw.ca> References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> <3E85E563.1090209@shaw.ca> <3E85E7D1.3060305@shaw.ca> Message-ID: <17335786498.20030329194800@cactus.dk> Thanks Marty! > One other thing about VB 6 you can get CD via downgrading. /gustav From michael.mattys at adelphia.net Sat Mar 29 13:02:17 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 14:02:17 -0500 Subject: [AccessD] Word Automation merges References: Message-ID: <059201c2f625$b8595400$6401a8c0@default> John, You could try SendKeys "{F9}" Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Saturday, March 29, 2003 2:10 PM Subject: RE: [AccessD] Word Automation merges > Not what I'm looking for. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Saturday, March 29, 2003 12:11 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Word Automation merges > > > This might help > > Code for Word templates... > http://www.mvps.org/access/modules/mdl0043.htm > > Michael R. Mattys > www.mattysconsulting.com > > ----- Original Message ----- > From: "John Bartow" > To: "AccessD" > Sent: Saturday, March 29, 2003 12:57 PM > Subject: [AccessD] Word Automation merges > > > > I'm making some document templates to distribute and if the document is > > saved with the data showing it shows the last set used until the show > > data/merge fields switch is switched back and forth. Kind of dismays the > end > > user. > > > > I was thinking of just saving the document with the switch set to show > merge > > fields and adding a command to the autmation that switched it over to view > > the data. (Manually this works OK.) Anyone know what the Word command is > to > > switch between these modes? > > > > Anyone have a better idea? > > > > A97 and W97 > > > > TIA > > JB > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 29 13:18:03 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 13:18:03 -0600 Subject: [AccessD] Word Automation merges In-Reply-To: Message-ID: Found it in Help - once I could get the bloody help to open! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, March 29, 2003 11:57 AM To: AccessD Subject: [AccessD] Word Automation merges I'm making some document templates to distribute and if the document is saved with the data showing it shows the last set used until the show data/merge fields switch is switched back and forth. Kind of dismays the end user. I was thinking of just saving the document with the switch set to show merge fields and adding a command to the autmation that switched it over to view the data. (Manually this works OK.) Anyone know what the Word command is to switch between these modes? Anyone have a better idea? A97 and W97 TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Mar 29 15:27:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 13:27:31 -0800 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <058101c2f623$3c0df0b0$6401a8c0@default> Message-ID: Michael: Thank you for your information. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, March 29, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code to get a directory name via navigation Hi Jim Since common dialogs seem to position themselves in the upper left of the hwndOwner, the solution is to open a form dedicated to common dialogs and then position the form before calling the dialog. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Saturday, March 29, 2003 1:14 PM Subject: RE: [AccessD] Code to get a directory name via navigation > Hi Jaun and others: > > I have been using a similar function for years but, while we are on the > subject, the dialog window always pops up in the top left corner of the > screen. My question is, is there a way to control the dialog windows > position of the current screen??? Like say, center of the screen.(?) > > I would greatly appreciate anyone's insight into this annoying little > problem. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV > Sent: Saturday, March 29, 2003 8:19 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Code to get a directory name via navigation > > > We don't know any control for this, but we use Common Dialog control to take > a file, then InstrRev from the file that they select using the \(slash > position) right in the Filename indicate. > > See the code > Function RetrieveDirName(InitialDir as string) as string > Screen.PreviousControl.SetFocus > CtrlCmmDialog.DialogTitle = "Select a file" > CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" > CtrlCmmDialog.DefaultExt = ".*" > CtrlCmmDialog.Filename = "" > CtrlCmmDialog.InitDir = InitialDir > CtrlCmmDialog.ShowOpen > If CtrlCmmDialog.Filename <> "" Then > RetrieveDirName = Left(CtrlCmmDialog.Filename, > InStrRev(CtrlCmmDialog.Filename, "\") - 1) > else > retrieveDiaName="NULL" > End If > Exit Function > End Function > > > Sometimes we use the FileSearch control if know the name of the file that > need its DirName > > Regards > > Juan Menendez > Mastercafe SL > > -----Mensaje original----- > De: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller > Enviado el: s?bado, 29 de marzo de 2003 16:16 > Para: accessd at databaseadvisors.com > Asunto: [AccessD] Code to get a directory name via navigation > > > I have the ADH code that lets you pick a filename by nivagating to it, but > it seems none of the args lets you request a directory name instead of a > filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just > have to find it.) > > TIA, > Arthur > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Mar 29 16:40:17 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Mar 2003 08:40:17 +1000 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <028801c2f619$42d2ed10$8e01a8c0@Rock> Message-ID: <3E86AD71.11191.24DA1C@localhost> > Anybody got code to paste into Access that derives a short file name (i.e. > everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? > Ideally, I would like to use the ADH code to grab a filename then call a > function that shortens the filename appropriately. > Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sun Mar 30 06:24:45 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 07:24:45 -0500 Subject: [AccessD] Earth to AccessD Message-ID: <02d901c2f6b7$595cd7a0$8e01a8c0@Rock> Just wondering if everyone's gone fishing. Haven't seen any activity in the past 12 hours. From StaRKeY at Wanadoo.nl Sun Mar 30 06:29:55 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sun, 30 Mar 2003 14:29:55 +0200 Subject: [AccessD] Earth to AccessD In-Reply-To: <02d901c2f6b7$595cd7a0$8e01a8c0@Rock> Message-ID: Arthur, I see this happen almost every weekend... very few emails... but hey it IS the weekend:-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: zondag 30 maart 2003 14:25 To: AccessD Subject: [AccessD] Earth to AccessD Just wondering if everyone's gone fishing. Haven't seen any activity in the past 12 hours. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 28-3-2003 Tested on: 30-3-2003 14:29:55 (c) 2000-2003 ALWIL Software. http://www.avast.com From artful at rogers.com Sun Mar 30 09:22:22 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 10:22:22 -0500 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <3E86AD71.11191.24DA1C@localhost> Message-ID: <02eb01c2f6d0$29514e60$8e01a8c0@Rock> Thanks. I'll take it for a spin right now. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: March 29, 2003 5:40 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: Re: [AccessD] Code to render ShortFileName > Anybody got code to paste into Access that derives a short file name > (i.e. everything shortened to 8 letters ala > c:\Progr~1\Micro~1\Micro~2\etc.)? Ideally, I would like to use the ADH > code to grab a filename then call a function that shortens the > filename appropriately. > Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 30 09:30:09 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 10:30:09 -0500 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <3E86AD71.11191.24DA1C@localhost> Message-ID: <02ec01c2f6d1$3f9b3810$8e01a8c0@Rock> It seems to work well, but I think MS must have changed the rules since I last looked: ? shortpath("e:\program files\microsoft sql server\mssql\data") e:\PROGRA~1\MI6841~1\mssql\data Not that I care; if it works, fine. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: March 29, 2003 5:40 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: Re: [AccessD] Code to render ShortFileName Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" _ Alias "GetShortPathNameA" _ (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, _ ByVal cchBuffer As Long) _ As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function From andy at minstersystems.co.uk Sun Mar 30 11:33:42 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 30 Mar 2003 18:33:42 +0100 Subject: [AccessD] Earth to AccessD In-Reply-To: Message-ID: <000001c2f6e2$82776620$b274d0d5@andypc> There is life out here...but not as you know it. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of StaRKeY > Sent: 30 March 2003 13:30 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Earth to AccessD > > > Arthur, > > I see this happen almost every weekend... very few emails... > but hey it IS the weekend:-) > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Arthur Fuller > Sent: zondag 30 maart 2003 14:25 > To: AccessD > Subject: [AccessD] Earth to AccessD > > > Just wondering if everyone's gone fishing. Haven't seen any > activity in the past 12 hours. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > --- > > Message is tested virus free > Virus Database (VPS): 28-3-2003 > Tested on: 30-3-2003 14:29:55 > > (c) 2000-2003 ALWIL Software. > http://www.avast.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From chizotz at charter.net Sun Mar 30 12:56:42 2003 From: chizotz at charter.net (Ron Allen) Date: Sun, 30 Mar 2003 12:56:42 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e In-Reply-To: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> References: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> Message-ID: <1417795796.20030330125642@charter.net> John, jm, Drew, Paul, all the others, thank you for your replies to my questions. I had the feeling that the monetary compensation side of my arrangement was a bit on the low side. I don't think that all the other benefits I get can be topped, though, and the overriding concern for me is that I am happy working for and with the people I do. I enjoy my job, and normally get out of bed looking forward to the day. I have worked at places where I dreaded the alarm because it meant another day in hell was starting, and that is no way to live. So for the moment at least I'm satisfied, all things considered. From rusty.hammond at cpiqpc.com Sun Mar 30 13:14:30 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 30 Mar 2003 13:14:30 -0600 Subject: [AccessD] Code to get a directory name via navigation Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBC05@cpixchng-1.cpiqpc.net> Arthur, Just fyi, the ADH (A2K Desktop Edition) talks about how the windows common dialog does not support getting just a path but that you can use the Office File Open/File Save common dialog to do this. I just happened to be needing this same info today. I found it on pages 1253 and 1254. Rusty -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 29, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 30 13:17:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:17:20 -0500 Subject: [AccessD] Earth to AccessD In-Reply-To: <000001c2f6e2$82776620$b274d0d5@andypc> Message-ID: <032501c2f6f0$fc878900$8e01a8c0@Rock> I don't know anything about life, Andy, except that it's what happens while you're making plans. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: March 30, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Earth to AccessD There is life out here...but not as you know it. Andy Lacey http://www.minstersystems.co.uk From artful at rogers.com Sun Mar 30 13:24:16 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:24:16 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBC05@cpixchng-1.cpiqpc.net> Message-ID: <032801c2f6f1$f409a820$8e01a8c0@Rock> Thanks for the pointer. I will re-read said pages. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: March 30, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Arthur, Just fyi, the ADH (A2K Desktop Edition) talks about how the windows common dialog does not support getting just a path but that you can use the Office File Open/File Save common dialog to do this. I just happened to be needing this same info today. I found it on pages 1253 and 1254. Rusty From artful at rogers.com Sun Mar 30 13:28:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:28:20 -0500 Subject: [AccessD] OT: Outlook question Message-ID: <032901c2f6f2$8605c9c0$8e01a8c0@Rock> I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur From sgoodhall at comcast.net Sun Mar 30 13:57:41 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 30 Mar 2003 14:57:41 -0500 Subject: [AccessD] OT: Outlook question In-Reply-To: <032901c2f6f2$8605c9c0$8e01a8c0@Rock> Message-ID: Yes you can. You need to have the Outlook files (.ost, .pst, .pab) on a network drive and map it from each of the systems. I have a drive mapped directly to the mail file directory so I don't have to worry about paths. I don't believe you will be able to have Outlook open on more than one system at a time. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, March 30, 2003 2:28 PM To: AccessD Subject: [AccessD] OT: Outlook question I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sun Mar 30 14:33:24 2003 From: john at winhaven.net (John Bartow) Date: Sun, 30 Mar 2003 14:33:24 -0600 Subject: [AccessD] OT: Outlook question In-Reply-To: Message-ID: Also, if you do it this way, make sure you have your network connection up before opening Outlook. Otherwise it gets ugly. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Goodhall Sent: Sunday, March 30, 2003 1:58 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Outlook question Yes you can. You need to have the Outlook files (.ost, .pst, .pab) on a network drive and map it from each of the systems. I have a drive mapped directly to the mail file directory so I don't have to worry about paths. I don't believe you will be able to have Outlook open on more than one system at a time. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, March 30, 2003 2:28 PM To: AccessD Subject: [AccessD] OT: Outlook question I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Mar 30 17:03:36 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Mar 2003 09:03:36 +1000 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <02ec01c2f6d1$3f9b3810$8e01a8c0@Rock> References: <3E86AD71.11191.24DA1C@localhost> Message-ID: <3E880468.10689.2F4CE5@localhost> > It seems to work well, but I think MS must have changed the rules since I > last looked: > > ? shortpath("e:\program files\microsoft sql server\mssql\data") > e:\PROGRA~1\MI6841~1\mssql\data > > Looks like it. They've probably found that some people have more than 9 directories starting with the name Microsoft in Program Files, thanks to their brilliant default directory naming scheme. I just ran a test on my E:\Program Files (W2k, NTFS) I've got four directories that start with tthe word Microsoft that return ...\MICROS~x\ Anything new I add now that starts with "Micros" gets MI and a four digit hex number. Later: This got ime interested so I just did a search: http://www.microsoft.com/technet/prodtechnol/windows2000pro/reskit/part3/proch17.as p "Windows NT and Windows 2000 do not use the same algorithm to create long and short file names as Windows 95 and Windows 98. However, on computers that use a multiple-boot process to start these operating systems, files that you create when running one operating system can be accessed when running another." ..... "When there are five or more files that can result in duplicate short file names, Windows 2000 uses a slightly different method for creating short file names. For the fifth and subsequent files, Windows 2000: Uses only the first two letters of the LFN. Generates the next four letters of the short file name by mathematically manipulating the remaining letters of the LFN. Appends ~1 (or another number, if necessary, to avoid a duplicate file name) to the result. This method substantially improves performance when Windows 2000 must create short file names for a large number of files with similar LFNs. Windows 2000 uses this method to create short names for files on both FAT and NTFS volumes. " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From d.dick at uws.edu.au Sun Mar 30 18:40:42 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 31 Mar 2003 10:40:42 +1000 Subject: [AccessD] A2K: Send Email with HTML body Message-ID: Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren From mastercafe at ctv.es Sun Mar 30 20:01:26 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon, 31 Mar 2003 04:01:26 +0200 Subject: [AccessD] A2K: Send Email with HTML body In-Reply-To: Message-ID: We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: fathsmtp.hlp Type: application/octet-stream Size: 16948 bytes Desc: not available URL: From harkins at iglou.com Sun Mar 30 19:51:08 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 30 Mar 2003 20:51:08 -0500 Subject: [AccessD] VBE Message-ID: <001c01c2f72a$637f4f10$f1ecffcc@SusanOne> Did the VBE first show up in 97 or 2000? Susan H. From jcolby at ColbyConsulting.com Sun Mar 30 20:13:03 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Sun, 30 Mar 2003 21:13:03 -0500 Subject: [AccessD] VBE In-Reply-To: <001c01c2f72a$637f4f10$f1ecffcc@SusanOne> Message-ID: 2k John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, March 30, 2003 8:51 PM To: AccessD at databaseadvisors.com Subject: [AccessD] VBE Did the VBE first show up in 97 or 2000? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1756 bytes Desc: not available URL: From d.dick at uws.edu.au Sun Mar 30 20:45:07 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 31 Mar 2003 12:45:07 +1000 Subject: [AccessD] A2K: Send Email with HTML body In-Reply-To: Message-ID: Thanks Juan But I wanted to do it all from Access not from HTM Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Monday, 31 March 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 31 07:37:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 08:37:45 -0500 Subject: [AccessD] Replication - A2K Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571C@TTNEXCHSRV1.hshhp.com> Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Mon Mar 31 07:41:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 08:41:16 -0500 Subject: [AccessD] A2K: Send Email with HTML body Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571D@TTNEXCHSRV1.hshhp.com> If you are using Outlook you can automate the creation of the message and set the HTMLBody (probably misnamed here) to your HTML code. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Sunday, March 30, 2003 9:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body Thanks Juan But I wanted to do it all from Access not from HTM Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Monday, 31 March 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? 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 electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From canalesh at bsci.com Mon Mar 31 08:13:42 2003 From: canalesh at bsci.com (Canales, Hector) Date: Mon, 31 Mar 2003 09:13:42 -0500 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <710D973D39A2D111A5EE00805F9FD2BB021C6363@quipr1.bscexc1.bsci.com> Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector From Jdemarco at hshhp.org Mon Mar 31 08:24:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 09:24:01 -0500 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571F@TTNEXCHSRV1.hshhp.com> Try the Mid function: sEmpCode = Mid$(sBarCode, 2, Len(sBardcode) - 3) HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Canales, Hector [mailto:canalesh at bsci.com] Sent: Monday, March 31, 2003 9:14 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From paul.hartland at fsmail.net Mon Mar 31 08:24:13 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 31 Mar 2003 14:24:13 +0000 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <20030331142413.GPAG3950.fep04-svc.ttys.com@localhost> Try some code similar to the following myfield = mid(barcode,2,len(trim(barcode))-3) Paul From: "Canales, Hector" Date: Mon 31/Mar/2003 14:13 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Mon Mar 31 08:25:38 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 31 Mar 2003 08:25:38 -0600 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: Hi Hector, Have a look at the Mid function. Mid(fieldname,starting position,length) mid(yourfield,2,7) would give you positions 2 through 8 of your 10 character scan result field. You can get more involved by also combining Mid with Len or InStr functions to make it more flexible, but if your fields are always the same length you maybe don't need to. Good luck, Gary Kjos garykjos at hotmail.com >From: "Canales, Hector" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] How to subtract first digit and last two numbers from a >barcode? Date: Mon, 31 Mar 2003 09:13:42 -0500 > > Hi List, >I need help, I am creating a combo box where the user will scan an employee >ID and the ID number needs to mach with the employee ID on the >tblEmployees. >The problem is that the barcode it has extra numbers. >Example: >%061207502 (This is what scans) >0612075 (this are the numbers that I need) >%1008937007 (This is what scans) >10089370 (this are the numbers that I need) >%100239505 (This is what scans) >1002395 (this are the numbers that I need) >%0601443503 (This is what scans) >06014435 (this are the numbers that I need) > >How can I tell Access to subtract the first digit (%) and the last 2 >numbers >(XX), and >Just match the reaming numbers? >It is the first time I am working with Access, it could be something simple >but I'm having a hard time. > >Thank you, >Hector >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From mastercafe at ctv.es Mon Mar 31 08:39:11 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon, 31 Mar 2003 16:39:11 +0200 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? In-Reply-To: <710D973D39A2D111A5EE00805F9FD2BB021C6363@quipr1.bscexc1.bsci.com> Message-ID: Take only the middle text, see the code mid(txtString, 2,7) with this take part from txtString regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Canales, Hector Enviado el: lunes, 31 de marzo de 2003 16:14 Para: 'accessd at databaseadvisors.com' Asunto: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 31 09:32:57 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 31 Mar 2003 16:32:57 +0100 Subject: [AccessD] Updating queries with linked tables Message-ID: <61F915314798D311A2F800A0C9C8318803956689@dibble.observatory.donnslaw.co.uk> Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 09:43:12 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 09:43:12 -0600 Subject: [AccessD] Updating queries with linked tables Message-ID: Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz From szeller at cce.umn.edu Mon Mar 31 09:45:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Mon, 31 Mar 2003 09:45:00 -0600 Subject: [AccessD] Sql 7 - Corrupt Views ... continued Message-ID: Tom, First of all, I still have no idea what is causing your problem. But, here's a few comments. I have moved to creating all views in Query Analyzer. I've found that EM doesn't let me do as fancy of syntax as I want. It often balks at even simple case statements. The same thing in QA creats and executes just fine. Also, you can sort in a view. You just need to add "Select Top 100 Percent" before your field list. --Susan -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 28, 2003 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Sql 7 - Corrupt Views ... continued I've posted a couple of items asking if anyone has had any problems with Sql 7 and corrupt views. So far no one else seems to have found this bug/feature. Plowing ahead with this first in the universe coverage (you heard it here first folks!), I thought I'd bring you up to date. At first I thought it might be caused by Access 2000 ADP. I used both that and the Enterprise manager to make changes in views. I then decided to eliminate the Access question by never changing a view with Access, just using it to review data (Being able to sort is absolutely essential in my opinion. Although the view can not be sorted, you can move columns around and then wipe as many as you wish and hit the A-Z button. Wonderful really.). I can now report that I am still hitting corrupt views. However they're a little different now. Now I open them (it's mainly one complicated view now) in Enterprise Manager and the Sql view looks corrupt. It cuts off before the From and following parts. However it runs ok (Previously the view looked ok but showed bad data. Any change at that point would correct it - eg. take out a field and put it back in.) Note that I can still generate Sql scripts from the database window and the scripts are just fine. Now when I delete the Sql statements that show in the EM, and paste the old complete code back in, it looks ok in design, and will run ok with the !, but when I save it and reopen in Design it looks corrupt again. I will test deleting the View, closing the EM, the reopening and recreating with Sql Server Query Analyzer. One poster recommended that. Sql Server is running on an NT 4 server with the latest NT service pack installed. It jammed up about a week ago and the Administrator brought the server all the way down and back up then did some Admin clean up stuff. I'm working on a database maintained by Epicor (formerly platinum) with about 1,000 tables. Note: I usually combine all the fields and apply universal criteria in a "Base" query, then use it in other specilized queries. When the Base query corrupted (Sql looked good, data looked like poo-poo, I found I had to revise the other queries using it to fix the problem all down the line. Now that the corruption has changed (data looks good, Sql looks like poo-poo) I find I don't have to fix the downline views. Note2: A few tables have too many indexes to link to from an Access Mdb. I found that I can make a view, showing all fields with the table name & "_vw" and get by the index problem. Note3: I've really gotten to like the ADP. It's much more flexible, faster and easier to use for a variety of development tasks. However I also use an Mdb from time to time. Eg. I created a view and wanted to show the records where field 1 didn't equal field 2. I couldn't seem to do it in a view directly so I just exported the view to excel, imported the excel file into an Mdb, and added the criteria and had the answer in about a minute. I might learn how to do that later in an Adp but got the job done quickly by using an Mdb. If anyone has any comments or experience with this I'd appreciate hearing from them. Tom (Viva la Access!!! Long live Jet!!!!) Adams _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 31 10:00:32 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 31 Mar 2003 17:00:32 +0100 Subject: [AccessD] Updating queries with linked tables Message-ID: <61F915314798D311A2F800A0C9C831880395668E@dibble.observatory.donnslaw.co.uk> Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 10:00:35 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 11:00:35 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From CWortz at tea.state.tx.us Mon Mar 31 10:11:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 10:11:00 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com From harkins at iglou.com Mon Mar 31 10:20:11 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 11:20:11 -0500 Subject: [AccessD] Updating queries with linked tables References: <61F915314798D311A2F800A0C9C8318803956689@dibble.observatory.donnslaw.co.uk> Message-ID: <004101c2f7a1$6a8101b0$364afccc@SusanOne> Updating queries with linked tablesHow are you combining your tables? Susan H. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 10:25:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 10:25:38 -0600 Subject: [AccessD] Updating queries with linked tables Message-ID: Roz, I admit that I have never tried updating both Access and SQL Server tables at the same time so I have not run into your problem. But one solution that will work is to move the local tables to the BE, use SQL Server Security to protect the data, and convert the MDBs to ADPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 10:01 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Updating queries with linked tables Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz From Lambert.Heenan at AIG.com Mon Mar 31 10:29:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 11:29:29 -0500 Subject: [AccessD] Updating queries with linked tables Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DC@xlivmbx12.aig.com> Have you considered a form with a Tab control on it? Each page of the tab control can then have it's own sub-form, one linked to the SQL data and one to the local data. Lambert > -----Original Message----- > From: Roz Clarke [SMTP:roz.clarke at donnslaw.co.uk] > Sent: Monday, March 31, 2003 10:33 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Updating queries with linked tables > > Dear all > > I have a SQL database which stores core information about members of staff > here - name, department, phone extn. etc. > > I need to publish this information out to several different departments, > all of whom need to be able to update the data. At the same time, they > each have local data requirements which have to be updated alongside the > core data. I was going to put these in Access databases and give each > department it's own. > > What I'm finding (and I can't believe I never hit this before) is that > although the SQL tables can be updated through the Access FE, and the > local tables can be updated, combine them and wallop, not updateable. Even > if all the key fields are included in the query. > > The amount of info is about 50/50 and it would be highly user-unfriendly > to split the data onto separate forms. Is unbound the only way forward??? > > TIA > > Roz > << File: ATT6481684.txt >> From accessd at shaw.ca Mon Mar 31 10:35:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 08:35:57 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D8571C@TTNEXCHSRV1.hshhp.com> Message-ID: RE: [AccessD] Replication - A2KHi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz -------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Mon Mar 31 10:55:02 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 08:55:02 -0800 Subject: [AccessD] Fix what the wizards miss when you upsize Access apps to SQL Server Message-ID: <002e01c2f7a6$4622e900$b615010a@FHTAPIA> For those of you upsizing your Access Db's here is a great article to go by when you stick to the wizards... :D and it's written by none other than resident Arthur Fuller :D (watch for wrap) http://www.techrepublic.com/article.jhtml?id=r00720030331afu01.htm&fromtm=e0 19 tinyURL http://tinyurl.com/8iq7 -Francisco http://rcm.netfirms.com From my.lists at verizon.net Mon Mar 31 10:55:02 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 08:55:02 -0800 Subject: [AccessD] [dba-SQLServer] Fix what the wizards miss when you upsize Access apps to SQL Server Message-ID: <002e01c2f7a6$4622e900$b615010a@FHTAPIA> For those of you upsizing your Access Db's here is a great article to go by when you stick to the wizards... :D and it's written by none other than resident Arthur Fuller :D (watch for wrap) http://www.techrepublic.com/article.jhtml?id=r00720030331afu01.htm&fromtm=e0 19 tinyURL http://tinyurl.com/8iq7 -Francisco http://rcm.netfirms.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 11:08:56 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 12:08:56 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: In fact I was just appending the same data twice. I have a unique index on a combination of fields that should prevent the data from going in a second time. This was just a test of that index to make sure the data would not go in again. In fact though the user may end up importing several different files, one after another. The entire process is to ask the user to find the file, copy it to a specific file name in a specific directory so that the link works correctly, copy the original to a backup directory, then run the append queries to get the data out of the spreadsheets and into the table. From there a "all records in the previous" and "all records NOT in the previous" will be run for reporting purposes. It shouldn't matter what I am doing though. If it runs once, it should run a million times. It may very well come back and say "X records could not be appended..." because of the unique index, but it should NOT give me this "numeric overflow" error. According to help that means that "the data is too big for a btrieve field" or some such. IOW, one of those useless error messages. The fact that the data actually imports makes it even more suspicious. I just don't want to send out work that pops up useless error messages and has to be exited and reloaded in order to work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 31, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3456 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 11:26:45 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 12:26:45 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Charlotte and I are having a brief discussion off list of how SQL can solve some bloat problems. Now, I find SQL superior to DAO/ADO almost everytime and would rather work in SQL if given the choice. However, I have seen discussions about performance right here on this list -- do any of you think DAO/ADO performs faster than SQL? If so, can you provide some statistics? SUsan H. From Jdemarco at hshhp.org Mon Mar 31 11:38:18 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 12:38:18 -0500 Subject: [AccessD] Replication - A2K Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.com> I believe we couldn't get A97 to replicate over the Internet at all so we tried converting the app to A2K2 and that would only work over VPN. We had a developer talk to M$ on the phone or via e-mail for a week or two and the VPN was the only way it would work (M$ could not get replication to work over the Internet either, FYI). If you had a non-VPN replication working do you have any "secrets" to share? Thanks, Jim DeMarco -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 11:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 31 11:39:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 12:39:27 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: Susan, I think this is a non-debate. MS tells us that SQL will perform faster than DAO, and ADO performs even slower than DAO (for MDBs). The problem with DAO at any rate is that you have to set up loops to work with the data set a record at a time. SQL performs operations on sets of data "all at once". I have no idea why SQL or DAO would make a difference "bloatwise". John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 12:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] SQL vs DAO -- rattling cages Charlotte and I are having a brief discussion off list of how SQL can solve some bloat problems. Now, I find SQL superior to DAO/ADO almost everytime and would rather work in SQL if given the choice. However, I have seen discussions about performance right here on this list -- do any of you think DAO/ADO performs faster than SQL? If so, can you provide some statistics? SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2324 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 11:53:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 18:53:07 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049133187.3e8880835fd66@hosea.qub.ac.uk> Step one is to define how bloat is caused. Dont think DAO or SQL figure there. How would the choice here bloat the database as a direct result of your choice? Different tools for different jobs DAO which is the default with Access 11 which indicates that even MS recogise thats it the better language for MDBs. SQL within an MDB yes. ADO when working on SQL Server via ADPs and the web SQL. Nope. When working with SQL Server on the web for instance its SPs all the way. Indirect SQL of course but inside the code. No. Martin Quoting "John W. Colby" : > Susan, > > I think this is a non-debate. MS tells us that SQL will perform faster > than > DAO, and ADO performs even slower than DAO (for MDBs). The problem with > DAO > at any rate is that you have to set up loops to work with the data set > a > record at a time. SQL performs operations on sets of data "all at > once". > > I have no idea why SQL or DAO would make a difference "bloatwise". > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Monday, March 31, 2003 12:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] SQL vs DAO -- rattling cages > > > Charlotte and I are having a brief discussion off list of how SQL can > solve > some bloat problems. Now, I find SQL superior to DAO/ADO almost > everytime > and would rather work in SQL if given the choice. However, I have seen > discussions about performance right here on this list -- do any of you > think > DAO/ADO performs faster than SQL? If so, can you provide some > statistics? > > SUsan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From Jdemarco at hshhp.org Mon Mar 31 12:03:09 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 13:03:09 -0500 Subject: [AccessD] ADP vs Access mdb/SQL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85738@TTNEXCHSRV1.hshhp.com> We had an app (mdb FE/mdb BE) that was performing horribly across a WAN. We moved the BE into SQL Server 2K which helped a bit but I'm wondering if converting the FE to an ADP would do this one step better (this after reading Arthur's excellent article on TechRepublic.com, thanks to Francisco for the pointer). Anyone have an idea? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JHewson at karta.com Mon Mar 31 12:17:51 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 31 Mar 2003 12:17:51 -0600 Subject: [AccessD] How to subtract first digit and last two numbers fr om abarcode? Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AE9@NT04> Also, take a look how the devices are scanning. They may not be scanning correctly or the barcodes may have been developed wrong. Jim -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Monday, March 31, 2003 8:39 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to subtract first digit and last two numbers from abarcode? Take only the middle text, see the code mid(txtString, 2,7) with this take part from txtString regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Canales, Hector Enviado el: lunes, 31 de marzo de 2003 16:14 Para: 'accessd at databaseadvisors.com' Asunto: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Mon Mar 31 12:28:22 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 10:28:22 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: <004d01c2f7b3$5022cda0$b615010a@FHTAPIA> Susan, umm... no offense but... step away from the POT... I hope you have a prescription for that ;o) -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Mon Mar 31 12:34:06 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 31 Mar 2003 10:34:06 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: <003601c2f7b4$1c9de900$0100a8c0@CX615377A> Jim, I too am interested in Replication and have an opportunity to use it if I can figure out how to do it over a dial in connection. Do any of your users dial in to update their databases? If so I would be interested in how you set it up. Thanks. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Monday, March 31, 2003 8:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Mon Mar 31 12:46:38 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 10:46:38 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: Hi John: You have not exceeded the maximum of 65000 records by any chance? Just a thought Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3688 bytes Desc: not available URL: From accessd at shaw.ca Mon Mar 31 12:46:37 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 10:46:37 -0800 Subject: [AccessD] Updating queries with linked tables In-Reply-To: <61F915314798D311A2F800A0C9C831880395668E@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: I have worked in a similar environment, a combination of Access and SQL backends. I had to use unbound forms, ADO connections strings. The recordsets that supplied the information to the forms were bound or unbound depending on their requirement. For straight viewing CursorType: adOpenStatic and LockType: adLockReadOnly, generally displayed in List format. For adding and updating CursorType: adOpenDynamic and LockType: adLockPessimistic, generally displayed in Form format because there is a single or small subset of records. You can easily update both or either data sources by changing or swapping the connection strings. This process requires a few more steps but you get the added flexibility and performance. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, March 31, 2003 8:01 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Updating queries with linked tables Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Mon Mar 31 12:57:52 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 10:57:52 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. From accessd at shaw.ca Mon Mar 31 13:06:53 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 11:06:53 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.com> Message-ID: RE: [AccessD] Replication - A2KHi Jim: Thank you very much for that information. Bare with me for a while and I will see if I can dig up any information on the tests ran. Unfortunately, the tests never developed into a full project. I suspect most of the original detail was lost; I do remember that there was some issues but at one point the connection stabilized. The test bed was two computers, each with different BE databases, one Master, one Replicate and it looped out to our ISP and back again. (It might have been through a VPN connection but as a company developer I was not involved with the infrastructure.) Arthur Fuller did a project on replication a few years back and it sounded quite successful. I am again not sure of any details so Arthur would have to provide those. Sorry that I can not be of more help Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 9:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K I believe we couldn't get A97 to replicate over the Internet at all so we tried converting the app to A2K2 and that would only work over VPN. We had a developer talk to M$ on the phone or via e-mail for a week or two and the VPN was the only way it would work (M$ could not get replication to work over the Internet either, FYI). If you had a non-VPN replication working do you have any "secrets" to share? Thanks, Jim DeMarco -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 11:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 31 13:05:26 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 14:05:26 -0500 Subject: [AccessD] Microsoft Tech Manual guidelines Message-ID: <007e01c2f7b8$7d792650$8e01a8c0@Rock> Heard some talk lately about this, and had to confess I know nothing about it. Is there a free URL to grab said? Is it a commercial document one must pay for? Etc. "Prediction is difficult, especially of the future." - Werner Heisenberg From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:12:56 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:12:56 +0100 (BST) Subject: [AccessD] Microsoft Tech Manual guidelines In-Reply-To: <007e01c2f7b8$7d792650$8e01a8c0@Rock> References: <007e01c2f7b8$7d792650$8e01a8c0@Rock> Message-ID: <1049137976.3e889338c3486@hosea.qub.ac.uk> Arthur I have a copy of their Tech Writing Guidlelines but was told it is confidential to MS. Perhaps theres something else. Martin Quoting Arthur Fuller : > Heard some talk lately about this, and had to confess I know nothing > about > it. Is there a free URL to grab said? Is it a commercial document one > must > pay for? Etc. > > "Prediction is difficult, especially of the future." > - Werner Heisenberg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Mar 31 13:26:23 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 11:26:23 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <003601c2f7b4$1c9de900$0100a8c0@CX615377A> Message-ID: RE: [AccessD] Replication - A2KDoug: Yes they did but they used a Term server for this type of roving connections. A FE ran on their laptops and the/a BE resided on the termserver(s). A couple of termservers, across the province, were setup for this process and then their BE databases were synchronized. The office people of course connected to their local BE. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Monday, March 31, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim, I too am interested in Replication and have an opportunity to use it if I can figure out how to do it over a dial in connection. Do any of your users dial in to update their databases? If so I would be interested in how you set it up. Thanks. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 31 13:38:41 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 31 Mar 2003 14:38:41 -0500 Subject: [AccessD] IIf in query discussion Message-ID: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2412 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 13:42:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 11:42:52 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 31 13:45:55 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 13:45:55 -0600 Subject: [AccessD] IIf in query discussion Message-ID: References please! Unless we know what this "Access expert" said, it is hard to comment on it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Monday 2003 Mar 31 13:39 To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:51:44 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:51:44 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049140304.3e889c509e97e@hosea.qub.ac.uk> Does this help http://msdn.microsoft.com/library/default.asp?url=/library/en- us/dnacbk02/html/odc_4009c15.asp Martin Quoting Charlotte Foust : > Actually, we're talking about SQL DDL as opposed to manipulating > objects > with DAO or ADO. > > Charlotte Foust > > -----Original Message----- > From: Francisco H Tapia [mailto:my.lists at verizon.net] > Sent: Monday, March 31, 2003 10:58 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] SQL vs DAO -- rattling cages > > > Speaking MDB's, and SQL as in SQL code, then you're tapping the JET > engine in all 3 cases be it by query or 2 diffrent forms of code. > When > access an MDB via code, DAO is always faster, but ADO is more suitable > if you will also be tapping into other data stores such as SQL Server > or > Oracle. In reguards to database bloat, an MDB will bloat because of > the > required database space to store a temporary file be it sql or code. > > IF you mean SQL as in SQL Server, then the advantages are many, but > one > that comes to mind is the tempdb which is very useful because it holds > all the data temorarily when using groupby's or order by's in your SQL > code, of course you can't access this via DAO unless of course you > have > the table linked to a MDB. > > -Francisco > http://rcm.netfirms.com > > On Monday, March 31, 2003 9:26 AM [GMT-8], > Susan Harkins wrote: > > : Charlotte and I are having a brief discussion off list of how SQL > can > : solve some bloat problems. Now, I find SQL superior to DAO/ADO > almost > : everytime and would rather work in SQL if given the choice. However, > : I have seen discussions about performance right here on this list -- > : do any of you think DAO/ADO performs faster than SQL? If so, can you > : provide some statistics? > : > : 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 CWortz at tea.state.tx.us Mon Mar 31 13:53:31 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 13:53:31 -0600 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Charlotte, DDL - Data Definition Language; define tables, fields, etc. DML - Data Manipulation Language; Select, Update, etc. So if you are creating recordsets, then DAO and ADO are comparable to DDL. If you are selecting or updating data, then DAO and ADO are comparable to DML. Which is your discussion about? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday 2003 Mar 31 13:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. From Lambert.Heenan at AIG.com Mon Mar 31 10:13:19 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 11:13:19 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DB@xlivmbx12.aig.com> Well, whenever I start getting inconsistent behavior such as you describe, I'm, inclined to backup the Db and then decompile it, compact it and repair it. With luck that will sort it out. SP2 is the latest for A97, AFIK. Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 11:01 AM > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > but > is really a long int, i.e. no decimal points. I am linking the > spreadsheet, > whereupon I see that the datatype of the field is dbl. I build a base > query > that runs these fields through a clng() to convert them to long integers. > I > then append the data into a table. The append process works the first > time > it is run, then the second time, I get a Numeric Overflow. I get the > overflow between the "you are about to..." warning and the "X records did > not append..." error. In fact that second error never occurs. Once the > error occurs, I have to shut down the db and re-open it, whereupon the > query > will run successfully one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:59:40 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:59:40 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> DDL - Data Definition Language; define tables, fields, etc. So hows does this cause bloat?? Martin From john at winhaven.net Mon Mar 31 14:14:43 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 14:14:43 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Message-ID: MessageYou probably need to give us more details but I tend to agree in philosophy with the idea that IIF should not be used unless necessary. But in practice it is sometimes necessary. I have it used it mostly when querying a pre-existing database which is poorly normalized (hmmm, that might be an oxy-moron). I use it as a guideline not a rule though, the only "rule" I tend to have is to never rule out anything. I think the biggest drawback beyond speed is that its Access specific and they can be difficult to read. I think "spreadsheet people" love it though. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1024 bytes Desc: not available URL: From patrickh at parkindustries.com Mon Mar 31 14:06:36 2003 From: patrickh at parkindustries.com (Patrick Hollermann) Date: Mon, 31 Mar 2003 14:06:36 -0600 Subject: [AccessD] Printing record set displayed in from in a report Message-ID: Hello All, I have had a database given to me that is split into a FE of Access XP and a BE of SQL. There is a form that is bound to a table and presents the record data to the screen through the selected form. The user wants to print the current record set through a report from a button on the form. The form displays the complete record but the report will print about half of the information from the screen. The problem I am running into is that when I call the report from the form I get more than just the current record, Access wants to print the entire table. I think I am missing the connection between the SQL record set presented in the form and the Report. My starting question is how do I refer to the record set, currently displayed on the form, as I get the report open. The Report is currently bound to the same SQL table the form is bound to. Can you refer to a form's record set in the report property? This selective printing thing is new to me and any direction or helpful hints are greatly appreciated. Thanks! Patrick L. Hollermann Park Industries, Inc. PO Box 188 St. Cloud MN 56302 Phone 320-229-3384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Mon Mar 31 14:08:09 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 31 Mar 2003 15:08:09 -0500 Subject: [AccessD] IIf in query discussion References: Message-ID: <004201c2f7c1$414624e0$6401a8c0@default> I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Mar 31 14:11:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:11:05 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D0@main2.marlow.com> You definitely can't sacrifice happiness for money. Too many people put faith in money over happiness, and look where it leads them. (Okay, they're rich, bad example...). Just kidding. I personally love my job too, and definitely consider myself underpaid. Even though I love my job, I still want to move, because I am getting EXTREMELY annoyed with the people I work for. Drew -----Original Message----- From: Ron Allen [mailto:chizotz at charter.net] Sent: Sunday, March 30, 2003 12:57 PM To: paul.hartland at fsmail.net Subject: Re: [AccessD] OT:Building your business was... Rate for first tim e John, jm, Drew, Paul, all the others, thank you for your replies to my questions. I had the feeling that the monetary compensation side of my arrangement was a bit on the low side. I don't think that all the other benefits I get can be topped, though, and the overriding concern for me is that I am happy working for and with the people I do. I enjoy my job, and normally get out of bed looking forward to the day. I have worked at places where I dreaded the alarm because it meant another day in hell was starting, and that is no way to live. So for the moment at least I'm satisfied, all things considered. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:13:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:13:04 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> From john at winhaven.net Mon Mar 31 14:27:32 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 14:27:32 -0600 Subject: [AccessD] Reports - No Data Message-ID: How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB From DWUTKA at marlow.com Mon Mar 31 14:15:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:15:35 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D2@main2.marlow.com> The latest SP was 2b. Not sure why you are having this problem though. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 31, 2003 10:01 AM To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Mon Mar 31 14:22:20 2003 From: chris at denverdb.com (Chris Mackin) Date: Mon, 31 Mar 2003 13:22:20 -0700 Subject: [AccessD] IIf in query discussion In-Reply-To: <004201c2f7c1$414624e0$6401a8c0@default> Message-ID: One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 14:23:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:23:54 -0500 Subject: [AccessD] VBE In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that looks and feels like the one in Excel / Word / VB. That is an entire environment, completely different from the one that came with A97 and before. The one that comes with A2K and later (and VB) is an object with properties that can be manipulated, methods that can be called etc. The one in A97 is an editor, and it edits VBA, but it in no way resembles what comes after. Or maybe I read her question wrong. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2580 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 14:20:33 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:20:33 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> Message-ID: <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> I'm not really concerned about bloat at this point -- I'm just interested in opinions about which performs faster: DAO or SQL. Susan H. > Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine > in all 3 cases be it by query or 2 diffrent forms of code. When access an > MDB via code, DAO is always faster, but ADO is more suitable if you will > also be tapping into other data stores such as SQL Server or Oracle. In > reguards to database bloat, an MDB will bloat because of the required > database space to store a temporary file be it sql or code. > > IF you mean SQL as in SQL Server, then the advantages are many, but one that > comes to mind is the tempdb which is very useful because it holds all the > data temorarily when using groupby's or order by's in your SQL code, of > course you can't access this via DAO unless of course you have the table > linked to a MDB. > > -Francisco > http://rcm.netfirms.com > > On Monday, March 31, 2003 9:26 AM [GMT-8], > Susan Harkins wrote: > > : Charlotte and I are having a brief discussion off list of how SQL can > : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost > : everytime and would rather work in SQL if given the choice. However, > : I have seen discussions about performance right here on this list -- > : do any of you think DAO/ADO performs faster than SQL? If so, can you > : provide some statistics? > : > : SUsan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Mon Mar 31 14:24:58 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:24:58 -0500 Subject: [AccessD] IIf in query discussion References: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Message-ID: <006101c2f7c3$c632b310$dae6ffcc@SusanOne> Rookie mistake? I don't know if I'd call it that. Data's unique and the situation matters as much as anything else. An Iif might slow things down, BUT if you're not working with tons of data and it's the solution you think of first and there's no perception of a performance hit, what's rookie about it? Susan H. Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Mon Mar 31 14:25:50 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:25:50 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages References: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> Message-ID: <006401c2f7c3$c706f300$dae6ffcc@SusanOne> SQL doesn't. Susan H. > DDL - Data Definition Language; define tables, fields, etc. > > > So hows does this cause bloat?? > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at ColbyConsulting.com Mon Mar 31 14:27:31 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:27:31 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: Nope, just starting to append records. And where did you get 65K records maximum? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi John: You have not exceeded the maximum of 65000 records by any chance? Just a thought Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow In fact I was just appending the same data twice. I have a unique index on a combination of fields that should prevent the data from going in a second time. This was just a test of that index to make sure the data would not go in again. In fact though the user may end up importing several different files, one after another. The entire process is to ask the user to find the file, copy it to a specific file name in a specific directory so that the link works correctly, copy the original to a backup directory, then run the append queries to get the data out of the spreadsheets and into the table. From there a "all records in the previous" and "all records NOT in the previous" will be run for reporting purposes. It shouldn't matter what I am doing though. If it runs once, it should run a million times. It may very well come back and say "X records could not be appended..." because of the unique index, but it should NOT give me this "numeric overflow" error. According to help that means that "the data is too big for a btrieve field" or some such. IOW, one of those useless error messages. The fact that the data actually imports makes it even more suspicious. I just don't want to send out work that pops up useless error messages and has to be exited and reloaded in order to work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 31, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: ATT00097.txt >> ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3720 bytes Desc: not available URL: From dwaters at usinternet.com Mon Mar 31 14:33:56 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Mar 2003 14:33:56 -0600 Subject: [AccessD] Reports - No Data In-Reply-To: Message-ID: <000b01c2f7c4$da33e540$de1811d8@DanWaters> John, I often setup up a recordset using the same criteria that the report uses. If the recordset has no records, then I display a useful message, otherwise the report displays. One of my reports will print out a full sheet 'form' for each record in the recordset. It could be that many records will be printed. In that case, I use the number of records in the recordset to report to the user how many sheets will be printed, and they can push Yes or No to say if they really want to print that many. (i.e. There are 132 records based on your search criteria. Do you want to print a sheet for each record?) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, March 31, 2003 2:28 PM To: AccessD Subject: [AccessD] Reports - No Data How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Mar 31 14:35:10 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Mar 2003 14:35:10 -0600 Subject: [AccessD] VBE In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: <000c01c2f7c5$093261f0$de1811d8@DanWaters> I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 14:36:25 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:36:25 -0500 Subject: [AccessD] VBE References: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: <00b401c2f7c5$7063c580$dae6ffcc@SusanOne> I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? From harkins at iglou.com Mon Mar 31 14:38:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:38:01 -0500 Subject: [AccessD] Printing record set displayed in from in a report References: Message-ID: <00b501c2f7c5$714fd330$dae6ffcc@SusanOne> Printing record set displayed in from in a reportYou have a report already -- and you just want to pass that one record to the report? Try OpenReport's WHERE argument to pass the record's primary key. Susan H. Hello All, I have had a database given to me that is split into a FE of Access XP and a BE of SQL. There is a form that is bound to a table and presents the record data to the screen through the selected form. The user wants to print the current record set through a report from a button on the form. The form displays the complete record but the report will print about half of the information from the screen. The problem I am running into is that when I call the report from the form I get more than just the current record, Access wants to print the entire table. I think I am missing the connection between the SQL record set presented in the form and the Report. My starting question is how do I refer to the record set, currently displayed on the form, as I get the report open. The Report is currently bound to the same SQL table the form is bound to. Can you refer to a form's record set in the report property? This selective printing thing is new to me and any direction or helpful hints are greatly appreciated. Thanks! Patrick L. Hollermann Park Industries, Inc. PO Box 188 St. Cloud MN 56302 Phone 320-229-3384 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 14:38:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 14:38:01 -0600 Subject: [AccessD] Reports - No Data Message-ID: John, For those of my users that want to have a piece of paper to file, I print the first page of the report with a big message that there was no data for that time period. Have a hidden message that you unhide on the OnNoData event. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday 2003 Mar 31 14:28 To: AccessD Subject: [AccessD] Reports - No Data How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB From BBarabash at TappeConstruction.com Mon Mar 31 14:46:42 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 31 Mar 2003 14:46:42 -0600 Subject: [AccessD] IIf in query discussion Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 14:39:29 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:39:29 -0500 Subject: [AccessD] VBE References: Message-ID: <00ec01c2f7c6$8b726330$dae6ffcc@SusanOne> No, that's the question I asked. It's been a long time since I used 97 JC -- I just really don't remember. Susan H. > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that > looks and feels like the one in Excel / Word / VB. That is an entire > environment, completely different from the one that came with A97 and > before. The one that comes with A2K and later (and VB) is an object with > properties that can be manipulated, methods that can be called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way resembles > what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Mon Mar 31 14:46:28 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:46:28 -0500 Subject: [AccessD] VBE In-Reply-To: <00b401c2f7c5$7063c580$dae6ffcc@SusanOne> Message-ID: Susan, I am working in A97 right now. the editor in A97 is just a window under the Access database (a child window). In A2K and above, the VBE is a separate "program" that opens and is in the toolbar. That editor had child windows which can display all kinds of different things. The windows can be docked or undocked etc. I never worked in A95 so I can't help you there and A2 is just a vague memory. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2368 bytes Desc: not available URL: From Jdemarco at hshhp.org Mon Mar 31 14:46:51 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 15:46:51 -0500 Subject: [AccessD] IIf in query discussion Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8574B@TTNEXCHSRV1.hshhp.com> True that sometimes Iif is the tool for the job but: IIf is also available in VB/VBA so it's not necessarily Access specific. I attended a Ken Getz demo last year and he showed some performance analyses one of which was a comparison of IIf vs. If...End If used in functions in standard code modules. The If...End If was 50-70% faster than IIf depending on the conditions being evaluated. Don't forget that an Iif statement evaluates all conditions which can also degrade performance. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, March 31, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion You probably need to give us more details but I tend to agree in philosophy with the idea that IIF should not be used unless necessary. But in practice it is sometimes necessary. I have it used it mostly when querying a pre-existing database which is poorly normalized (hmmm, that might be an oxy-moron). I use it as a guideline not a rule though, the only "rule" I tend to have is to never rule out anything. I think the biggest drawback beyond speed is that its Access specific and they can be difficult to read. I think "spreadsheet people" love it though. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 31 14:52:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:52:15 -0600 Subject: [AccessD] IIf in query discussion Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8252F@main2.marlow.com> Completely agree. I would add to that, however, that if you are going to Nest IIF statements, to instead use an If Then Else structure within a function, because nested IIF's can be a REAL pain to backtrack through. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 2:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion Rookie mistake? I don't know if I'd call it that. Data's unique and the situation matters as much as anything else. An Iif might slow things down, BUT if you're not working with tons of data and it's the solution you think of first and there's no perception of a performance hit, what's rookie about it? Susan H. Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:54:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:54:11 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82530@main2.marlow.com> I thought that you could talk to the VBE in 97. (Honestly never tried it, so I could very easily have been mistaken). Hmmmmm.... Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:24 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that > looks and feels like the one in Excel / Word / VB. That is an entire > environment, completely different from the one that came with A97 and > before. The one that comes with A2K and later (and VB) is an object with > properties that can be manipulated, methods that can be called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way resembles > what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119689.txt >> From DWUTKA at marlow.com Mon Mar 31 14:54:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:54:55 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82531@main2.marlow.com> That's Excel's limit to the number of 'rows' it can have. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119699.txt >> From DWUTKA at marlow.com Mon Mar 31 14:57:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:57:14 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82532@main2.marlow.com> Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:58:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:58:44 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82533@main2.marlow.com> Quite honestly, no. I have seen 'screen shots' of Access 2. (Have a book on it...don't know where I found it, but I perused it one day). I would still call 97's a VBE. It just doesn't have a 'project viewer'. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 2:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 31 15:00:07 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 16:00:07 -0500 Subject: [AccessD] VBE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8574C@TTNEXCHSRV1.hshhp.com> I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Mon Mar 31 15:06:20 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:06:20 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82531@main2.marlow.com> Message-ID: Ohhh. No, nothing like that many rows. A few hundred. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow That's Excel's limit to the number of 'rows' it can have. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119699.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4060 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Mon Mar 31 15:07:35 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:07:35 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DB@xlivmbx12.aig.com> Message-ID: Interestingly, I imported the data into A2K and the problem exists there as well. Truly weird. In A2K I am at SP3 so I know I am up to date. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Monday, March 31, 2003 11:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Well, whenever I start getting inconsistent behavior such as you describe, I'm, inclined to backup the Db and then decompile it, compact it and repair it. With luck that will sort it out. SP2 is the latest for A97, AFIK. Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 11:01 AM > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > but > is really a long int, i.e. no decimal points. I am linking the > spreadsheet, > whereupon I see that the datatype of the field is dbl. I build a base > query > that runs these fields through a clng() to convert them to long integers. > I > then append the data into a table. The append process works the first > time > it is run, then the second time, I get a Numeric Overflow. I get the > overflow between the "you are about to..." warning and the "X records did > not append..." error. In fact that second error never occurs. Once the > error occurs, I have to shut down the db and re-open it, whereupon the > query > will run successfully one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2860 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 15:13:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:13:37 -0800 Subject: [AccessD] VBE Message-ID: I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:16:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:16:17 -0800 Subject: [AccessD] VBE Message-ID: You could talk to it with a reference to the extensibility library, I believe. Didn't The Access Web have a class wizard that used the VBE reference? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 12:54 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I thought that you could talk to the VBE in 97. (Honestly never tried it, so I could very easily have been mistaken). Hmmmmm.... Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:24 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor > that looks and feels like the one in Excel / Word / VB. That is an > entire environment, completely different from the one that came with > A97 and before. The one that comes with A2K and later (and VB) is an > object with properties that can be manipulated, methods that can be > called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way > resembles what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119689.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:17:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:17:55 -0800 Subject: [AccessD] VBE Message-ID: Someone I know used to refer to it as the IDE (Integrated Development Environment) in 97. I've never understood the real distinction, but the interface changed between 97 and 2000. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 12:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE No, that's the question I asked. It's been a long time since I used 97 JC -- I just really don't remember. Susan H. > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor > that looks and feels like the one in Excel / Word / VB. That is an > entire environment, completely different from the one that came with > A97 and before. The one that comes with A2K and later (and VB) is an > object with properties that can be manipulated, methods that can be > called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way > resembles what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > ------------------------------------------------------------------------ ---- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 15:21:51 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 13:21:51 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: John: From someone on this list...need the archive. Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3908 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 15:20:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:20:08 -0800 Subject: [AccessD] VBE Message-ID: Susan, As I recall, Access 2.0 and Access 95 had similar code editing to 97. The big difference there was that the language was no longer AccessBasic and I believe intellisense got introduced in 95. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 15:18:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 16:18:51 -0500 Subject: [AccessD] VBE References: Message-ID: <016301c2f7cb$7a816f80$dae6ffcc@SusanOne> I trust you. :) That 'window' is basically the same all the earlier versions were -- just a window into the code module. FWIW, it took me forever to adjust to the VBE. :) Susan H. > Susan, > > I am working in A97 right now. the editor in A97 is just a window under the > Access database (a child window). In A2K and above, the VBE is a separate > "program" that opens and is in the toolbar. That editor had child windows > which can display all kinds of different things. The windows can be docked > or undocked etc. I never worked in A95 so I can't help you there and A2 is > just a vague memory. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, March 31, 2003 3:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. Have > you seen 95 and before -- there's a huge difference in the way you interact > with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You get > > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > > like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you call > > the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kenneth.Stoker at pnl.gov Mon Mar 31 15:22:38 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Mon, 31 Mar 2003 13:22:38 -0800 Subject: [AccessD] VBE Message-ID: <249C1CB246997C48BB74963CCD361C1B69B6F5@pnlmse28.pnl.gov> I have to agree. But I also have dual monitors, which I know many don't have. It is really nice to have the VBE on one screen and my form/report/query etc on my main screen. If I had a single monitor setup, I probably wouldn't be as keen on it. Ken Stoker Technology Commercialization Information Systems Administrator PH: (509) 375-3758 FAX: (509) 375-6731 E-mail: Kenneth.Stoker at pnl.gov -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 1:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:24:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:24:24 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Neither. I was talking about manipualating objects (i.e., CREATE TABLE), not creating recordsets or manipulating data. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, March 31, 2003 11:54 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Charlotte, DDL - Data Definition Language; define tables, fields, etc. DML - Data Manipulation Language; Select, Update, etc. So if you are creating recordsets, then DAO and ADO are comparable to DDL. If you are selecting or updating data, then DAO and ADO are comparable to DML. Which is your discussion about? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday 2003 Mar 31 13:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 15:26:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:26:54 -0500 Subject: [AccessD] VBE In-Reply-To: <016301c2f7cb$7a816f80$dae6ffcc@SusanOne> Message-ID: FWIW, me too! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 4:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I trust you. :) That 'window' is basically the same all the earlier versions were -- just a window into the code module. FWIW, it took me forever to adjust to the VBE. :) Susan H. > Susan, > > I am working in A97 right now. the editor in A97 is just a window under the > Access database (a child window). In A2K and above, the VBE is a separate > "program" that opens and is in the toolbar. That editor had child windows > which can display all kinds of different things. The windows can be docked > or undocked etc. I never worked in A95 so I can't help you there and A2 is > just a vague memory. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, March 31, 2003 3:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. Have > you seen 95 and before -- there's a huge difference in the way you interact > with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You get > > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > > like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you call > > the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2688 bytes Desc: not available URL: From davide at dalyn.co.nz Mon Mar 31 15:26:20 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 01 Apr 2003 09:26:20 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.c om> Message-ID: <5.2.0.9.0.20030401091330.00b38828@mail.dalyn.co.nz> A97 replication works over the internet but you need to allow anonymous users to log in - this opens the server to all and sundry who will do all sorts of undesirable things to it. We use VPN over a dial up network and it works ok. We use indirect synchronization to protect the data files from corruption over the lines. David Emerson Dalyn Software New Zealand At 31/03/2003, you wrote: >I believe we couldn't get A97 to replicate over the Internet at all so we >tried converting the app to A2K2 and that would only work over VPN. We >had a developer talk to M$ on the phone or via e-mail for a week or two >and the VPN was the only way it would work (M$ could not get replication >to work over the Internet either, FYI). If you had a non-VPN replication >working do you have any "secrets" to share? > >Thanks, > >Jim DeMarco >-----Original Message----- >From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >Sent: Monday, March 31, 2003 11:36 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Hi Jim: > >No, the Access97 replication is done straight through the phone lines. The >government has been using it's own internal network, first through fast >dedicated phone lines and finally an 'Ubiquity' fiber-optic connection >that now covers most of the province. I have ran Access97 through the net >and noticed no major problems but it was only a test and not under full load. > >It should be stable in the current versions of Access, even running across >the net. VPN would be good to secure the connections but I am not sure >that it would be any more or less stable than a standard internet connection. > >Jim > > ---Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Monday, March 31, 2003 5:38 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Jim are you doing Internet replication then? If so are you using a >VPN? We've encountered some difficulties in running replication over the >Net on A97. Which version are you using? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan >-----Original Message----- >From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >Sent: Saturday, March 29, 2003 7:03 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Hi John: > >I have been running a Access replication application for five years. There >are basically three government offices with about forty total individuals. >The program has both an automatic and manual replication process >programmed in. I have one BE db with one table that is centeral to the >process. This is the file that supplies all the invoice numbers. It is >linked to each site by its URL address. As soon as a ne record is created, >the program goes looking for the next number. If the lines are glogged, >that can take about 30 seconds. > >I come in every so often and clean up any duplications because sometimes >the timing is off. The issue only comes up once every couple months or so. >The cost to permentantly resolve the problem, with a nice SQL BE, is >prohibitive so the clients have settled on this type of solution. > >There simply is no other inexpensive solution. The cost is either on a >expensive product or an expensive programming process. > >HTH >Jim >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby >Sent: Friday, March 28, 2003 8:29 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >And perhaps the situation is simply different. People don't call to file >claims, they fill out paperwork and submit it. Not that your situation >won't occur, of course it will. I can certainly ask how often it occurs >but having spent 8 months on site I didn't get that it happened "several >times a day". People call to "check" on their claim that is already in >the system - having been entered from a claim form. The folks handling >the phones do take info over the phone, but mostly it is "fill out this >form and mail it in", or "get your doctor to fill out this form and mail >it in" or "get your employer to fill out this form and send it in". No >paperwork, no claim! So people "calling back with info" simply isn't a >common occurrence since they don't ask for verbal information other than >current address and the likes. > >I will certainly advise them of the facts behind the synchronization of >course. I get the feeling they will live with the occasional "out of >sync" info in order to get a doubling of effective speed. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles >Sent: Friday, March 28, 2003 11:10 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >John, > >I'm not saying your solution doesn't work. I pointed out a situation that >will arise and that they need to have some procedure in place to handle >it. Whether that procedure is within your solution or something they will >have to handle manually is for them to decide. > >As to how often such calls occur, all I can say is when I worked for my >Dad in his insurance agency it happened several times a day that somebody >would call to file a claim but didn't have all the information the agent >needed so they would have to call back later with the additional >information. I doubt that human nature has changed much in the >intervening years. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > -----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] >On Behalf Of John W. Colby >Sent: Friday 2003 Mar 28 09:21 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >They need an answer, and can't afford SQL Server. This is an answer. To >not look at the realistic options because of the 1 in 1000 (or whatever) >occurrence is not realistic. > >I am certainly open to other options. However they just spent 8 months >moving an old creaky flat file to a relational MDB FE/BE. They don't have >a budget for a $10,000 solution at the moment. What solution can they get >for $500? Moving to SQl Server will be $5k or more. They don't have >that, they have said so. I have done all of the typical "make sure the >fields are indexed" things. > >So rather than saying "this solution doesn't work", why don't you suggest >a solution that does? > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On >Behalf Of Wortz, Charles >Sent: Friday, March 28, 2003 8:33 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >John, > >But what about the situation where a customer calls back five minutes >later with additional information and gets a different examiner? How is >the second examiner going to be able to get to the customer's data if >you replicate on a 15 minute schedule? This may not be a common >occurrence, but it does happen and you need to be able to handle it. >And don't expect the customer to remember the name of the first >examiner, that solution is a non-starter. > >Charles Wortz > > >---------- >Is email taking over your day? Manage your time with eMailBoss. Try it >free! http://www.eMailBoss.com > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health >Plan (HS/HHP) that is confidential or privileged. If you are not the >intended recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HS/HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************************** > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health >Plan (HS/HHP) that is confidential or privileged. If you are not the >intended recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HS/HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************************** >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Mon Mar 31 15:33:40 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 16:33:40 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Ok. I think it's time now to see the SQL your using for the append, and perhaps a sample of the data that is resulting in the overload error. Have you tried importing just one row or data each time? Importing one half of the rows and then the other half? i.e. can you pin it down to a real error of some sort in the data, like a double that is greater 2^16? Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 4:08 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Interestingly, I imported the data into A2K and the problem exists there > as well. Truly weird. > > In A2K I am at SP3 so I know I am up to date. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Monday, March 31, 2003 11:13 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > Well, whenever I start getting inconsistent behavior such as you describe, > I'm, inclined to backup the Db and then decompile it, compact it and > repair > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 11:01 AM > > To: AccessD > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > Guys, > > > > It's been awhile since I have dealt with A97. I am doing an import of > > data > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > but > > is really a long int, i.e. no decimal points. I am linking the > > spreadsheet, > > whereupon I see that the datatype of the field is dbl. I build a base > > query > > that runs these fields through a clng() to convert them to long > integers. > > I > > then append the data into a table. The append process works the first > > time > > it is run, then the second time, I get a Numeric Overflow. I get the > > overflow between the "you are about to..." warning and the "X records > did > > not append..." error. In fact that second error never occurs. Once the > > error occurs, I have to shut down the db and re-open it, whereupon the > > query > > will run successfully one time, then the error again. > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > Has anyone ever seen this problem? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > From harkins at iglou.com Mon Mar 31 15:37:33 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 16:37:33 -0500 Subject: [AccessD] VBE References: Message-ID: <01ae01c2f7cd$bea78080$dae6ffcc@SusanOne> That's probably it Charlotte -- the switch from AB to VBA -- I expect that's what I'm thinking of. Susan H. > Susan, > > As I recall, Access 2.0 and Access 95 had similar code editing to 97. > The big difference there was that the language was no longer AccessBasic > and I believe intellisense got introduced in 95. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. > Have you seen 95 and before -- there's a huge difference in the way you > interact with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You > > > get VB like menus, it is a VB environment. Sure, it doesn't show up > > exactly like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you > > call the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Mon Mar 31 15:46:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:46:06 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82534@main2.marlow.com> I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 15:46:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:46:50 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82535@main2.marlow.com> Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Mon Mar 31 15:50:08 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon, 31 Mar 2003 15:50:08 -0600 Subject: [AccessD] Access 97 - Numeric field overflow References: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Message-ID: <000f01c2f7cf$805e4d70$6400000a@dogbert2k> Also check the table you're imporing into. I've had a corrupt table/Autonumber that went off the charts and gave this error. ----- Original Message ----- From: "Heenan, Lambert" To: Sent: Monday, March 31, 2003 3:33 PM Subject: RE: [AccessD] Access 97 - Numeric field overflow > Ok. I think it's time now to see the SQL your using for the append, and > perhaps a sample of the data that is resulting in the overload error. Have > you tried importing just one row or data each time? Importing one half of > the rows and then the other half? i.e. can you pin it down to a real error > of some sort in the data, like a double that is greater 2^16? > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 4:08 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > > Interestingly, I imported the data into A2K and the problem exists there > > as well. Truly weird. > > > > In A2K I am at SP3 so I know I am up to date. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > > Lambert > > Sent: Monday, March 31, 2003 11:13 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > > > > Well, whenever I start getting inconsistent behavior such as you describe, > > I'm, inclined to backup the Db and then decompile it, compact it and > > repair > > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > > > Lambert > > > > > -----Original Message----- > > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > > Sent: Monday, March 31, 2003 11:01 AM > > > To: AccessD > > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > > > Guys, > > > > > > It's been awhile since I have dealt with A97. I am doing an import of > > > data > > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > > but > > > is really a long int, i.e. no decimal points. I am linking the > > > spreadsheet, > > > whereupon I see that the datatype of the field is dbl. I build a base > > > query > > > that runs these fields through a clng() to convert them to long > > integers. > > > I > > > then append the data into a table. The append process works the first > > > time > > > it is run, then the second time, I get a Numeric Overflow. I get the > > > overflow between the "you are about to..." warning and the "X records > > did > > > not append..." error. In fact that second error never occurs. Once the > > > error occurs, I have to shut down the db and re-open it, whereupon the > > > query > > > will run successfully one time, then the error again. > > > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > > > Has anyone ever seen this problem? > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 15:51:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:51:20 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82536@main2.marlow.com> Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> From DWUTKA at marlow.com Mon Mar 31 15:52:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:52:44 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82537@main2.marlow.com> I have dual monitors, and I like have VB 6 in one screen, Access (97) in another, and my HTML editor in the last. That's handy. However, I use 97 WAY more then I use A2k, so I can't remember if I have ever even bothered to move the VBE in A2k to another screen. Drew -----Original Message----- From: Stoker, Kenneth E [mailto:Kenneth.Stoker at pnl.gov] Sent: Monday, March 31, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I have to agree. But I also have dual monitors, which I know many don't have. It is really nice to have the VBE on one screen and my form/report/query etc on my main screen. If I had a single monitor setup, I probably wouldn't be as keen on it. Ken Stoker Technology Commercialization Information Systems Administrator PH: (509) 375-3758 FAX: (509) 375-6731 E-mail: Kenneth.Stoker at pnl.gov -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 1:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 15:56:57 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:56:57 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Message-ID: No, I haven't gotten that far, though that will be next. I defined the fields that were double as long int, not int so anything up to +/- 2 billion should go and I have visually looked at the data to make user none of the fields exceed that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Monday, March 31, 2003 4:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Ok. I think it's time now to see the SQL your using for the append, and perhaps a sample of the data that is resulting in the overload error. Have you tried importing just one row or data each time? Importing one half of the rows and then the other half? i.e. can you pin it down to a real error of some sort in the data, like a double that is greater 2^16? Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 4:08 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Interestingly, I imported the data into A2K and the problem exists there > as well. Truly weird. > > In A2K I am at SP3 so I know I am up to date. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Monday, March 31, 2003 11:13 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > Well, whenever I start getting inconsistent behavior such as you describe, > I'm, inclined to backup the Db and then decompile it, compact it and > repair > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 11:01 AM > > To: AccessD > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > Guys, > > > > It's been awhile since I have dealt with A97. I am doing an import of > > data > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > but > > is really a long int, i.e. no decimal points. I am linking the > > spreadsheet, > > whereupon I see that the datatype of the field is dbl. I build a base > > query > > that runs these fields through a clng() to convert them to long > integers. > > I > > then append the data into a table. The append process works the first > > time > > it is run, then the second time, I get a Numeric Overflow. I get the > > overflow between the "you are about to..." warning and the "X records > did > > not append..." error. In fact that second error never occurs. Once the > > error occurs, I have to shut down the db and re-open it, whereupon the > > query > > will run successfully one time, then the error again. > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > Has anyone ever seen this problem? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3288 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 16:07:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 14:07:14 -0800 Subject: [AccessD] VBE Message-ID: To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 16:07:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 14:07:52 -0800 Subject: [AccessD] VBE Message-ID: Because if you close an object in 97, then its code module is also closed. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Mar 31 16:33:39 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 16:33:39 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <004201c2f7c1$414624e0$6401a8c0@default> Message-ID: SQL can usually handle the things I work on so typically good SQL works in a normalized DB. Other wise I would create a function with a if-then or select case. I can't remember using a parameter to replace an IIF buts whatever fits the bill. In the long run its something you have to decide on. It really depends on the situation and a lot of what people do is just personal preference. If it works for you its OK by me! BTW, I responded quickly and I didn't notice the "rookie" part. That's kind of harsh. I guess I'll aways be a rookie :o) I just meant that IIFs are cludgy to read and slow to operate (which of course doesn't really matters a lot with today's PCs). JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 2:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:22:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:22:53 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82538@main2.marlow.com> The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:23:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:23:22 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82539@main2.marlow.com> Oh, I see what you mean there. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE Because if you close an object in 97, then its code module is also closed. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 16:28:12 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 14:28:12 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82536@main2.marlow.com> Message-ID: Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:42:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:42:25 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253A@main2.marlow.com> Sure. When I get it setup to work on wolfwares, I'll make that change. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 17:03:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 17:03:30 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253B@main2.marlow.com> Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:26:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:26:34 -0500 Subject: [AccessD] IIf in query discussion In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> Message-ID: Brett, 100% Agreement here. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, March 31, 2003 3:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] IIf in query discussion I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 17:27:21 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 15:27:21 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8253B@main2.marlow.com> Message-ID: Drew: Yes I am... here is the code fragment from the search Form tag: ...

... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:32:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:32:41 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> Message-ID: Bugs ACC2000: Manipulating Objects with DAO May Cause Database Bloat http://support.microsoft.com/default.aspx?scid=kb;en-us;197953 Same true for ADO. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages DDL - Data Definition Language; define tables, fields, etc. So hows does this cause bloat?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:38:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:38:54 -0500 Subject: [AccessD] VBE In-Reply-To: <01ae01c2f7cd$bea78080$dae6ffcc@SusanOne> Message-ID: Susan, Charles and Charlotte are correct. A2 was Access Basic and was still written mostly in Assembler. VBA was introduced in A95, continued through A97. The VBA in Access was not the same as in Word and Excel. VBE was introduced with A2000 and up, and is the same flavor of VBA for all Office Products. I have all versions of Access installed currently (including 1.1). If you need any screen shots, let me know. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE That's probably it Charlotte -- the switch from AB to VBA -- I expect that's what I'm thinking of. Susan H. > Susan, > > As I recall, Access 2.0 and Access 95 had similar code editing to 97. > The big difference there was that the language was no longer AccessBasic > and I believe intellisense got introduced in 95. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. > Have you seen 95 and before -- there's a huge difference in the way you > interact with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You > > > get VB like menus, it is a VB environment. Sure, it doesn't show up > > exactly like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you > > call the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 31 17:35:27 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 Apr 2003 09:35:27 +1000 Subject: [AccessD] IIf in query discussion In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8252F@main2.marlow.com> Message-ID: <3E895D5F.15012.29620F@localhost> Me 3. I quite often use a number of SUM(IIF(condition,1,0)) in totalling queries to give several different count results in one run Also, if you need to nest IIF statements, functions are definitely more appropriate. I personally find IF THEN ELSEIF... a pain in the *rse to debug/maintain. SELECT CASE is a much more elegant structure. > Completely agree. I would add to that, however, that if you are going to > Nest IIF statements, to instead use an If Then Else structure within a > function, because nested IIF's can be a REAL pain to backtrack through. > > Drew > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] IIf in query discussion > > > Rookie mistake? I don't know if I'd call it that. Data's unique and the > situation matters as much as anything else. An Iif might slow things down, > BUT if you're not working with tons of data and it's the solution you think > of first and there's no perception of a performance hit, what's rookie about > it? > > Susan H. > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, does > it have more substantial consequences? > > TIA, > Myke > > > > > ---------------------------------------------------------------------------- > ---- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Mon Mar 31 17:47:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 17:47:56 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253C@main2.marlow.com> Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...
... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Mar 31 18:02:18 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 18:02:18 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> Message-ID: Well said. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, March 31, 2003 2:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] IIf in query discussion I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 18:40:55 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 16:40:55 -0800 Subject: [AccessD] GET an POST In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8253C@main2.marlow.com> Message-ID: Thanks Drew: I will set it up appropriately and test it on Wednesday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:48 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...
... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 18:44:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 16:44:59 -0800 Subject: [AccessD] VBE Message-ID: That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 18:53:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 19:53:27 -0500 Subject: [AccessD] VBE In-Reply-To: Message-ID: well... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 31, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4136 bytes Desc: not available URL: From DWUTKA at marlow.com Mon Mar 31 18:55:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 18:55:03 -0600 Subject: [AccessD] GET an POST Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253E@main2.marlow.com> Okay. (It should actually work now, it just is only going to get results up until mid to late 2001 (as the indexer catches up....)). Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] GET an POST Thanks Drew: I will set it up appropriately and test it on Wednesday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:48 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...
... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 18:57:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 18:57:52 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253F@main2.marlow.com> It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Mon Mar 31 19:01:19 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Mar 2003 20:01:19 -0500 Subject: [AccessD] VBE In-Reply-To: Message-ID: <3E889E8F.17343.28FDE18@localhost> On 31 Mar 2003 at 16:44, Charlotte Foust wrote: > That's like saying that programming Word and Access is the same, you > just have a different object model to deal with! Ther are. H*ll, If I can figure it out.... :-)) -- Bryan Carbonnell - carbonnb at sympatico.ca Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe producing bigger and better idiots. So far, the Universe is winning. - Mark Mischler. From DMcAfee at haascnc.com Mon Mar 31 19:41:17 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 17:41:17 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee From cfoust at infostatsystems.com Mon Mar 31 19:45:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 17:45:32 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: Loop through the CurrentProject.AllForms collection. Charlotte Foust -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Monday, March 31, 2003 5:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 19:46:39 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 17:46:39 -0800 Subject: [AccessD] VBE Message-ID: But when you program Word from within Access, you still have to use the Word object model. You aren't programming Access, you're programming Word. It isn't the same thing at all. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 4:58 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 19:55:19 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 20:55:19 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> Message-ID: <027201c2f7f1$c16a3fa0$dae6ffcc@SusanOne> Dim frm As Form Dim ctl As ComboBox Dim strObject As String Dim strList As String Dim aob As AccessObject Dim obj As Object Set frm = formname Set ctl = comboboxname strObject = ctl.ListIndex Set obj = CurrentData.AllForms On Error Resume Next For Each aob In obj strList = aob & ";" & strList Next ctl.RowSource = strList should list the forms in a combo box -- but it won't be sorted in any particular order -- and I'm not sure about that strList statement -- had margueritas for supper. :) Ah crap - -you're using 97 -- I don't think this will work in 97 -- AllForms is new to 2000 isn't it? In that case, try Dim db As DAO.Database Dim cnt As DAO.Container Dim doc As DAO.Document Dim strTemp as String Dim strList As STring Set db = CurrentDB Set cnt = db.Containers!Forms For Each doc In cnt.Documents strTemp = doc.Name & ";" & strTemp Next combobox.RowSource = strList Susan H. > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Mon Mar 31 19:57:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 20:57:07 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In-Reply-To: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> Message-ID: <016401c2f7f1$ffff5de0$8e01a8c0@Rock> Public Sub ListForms() Dim i As Integer Dim Frm As AccessObject For Each Frm In CurrentProject.AllForms i = i + 1 Debug.Print i, Frm.Name Next Set Frm = Nothing End Sub "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: March 31, 2003 8:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Mar 31 20:16:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 18:16:00 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D799A@EXCHMAIL> Thanks :) for the archives (from Help): Sub AllForms() Dim obj As AccessObject, dbs As Object Set dbs = Application.CurrentProject ' Search for open AccessObject objects in AllForms collection. For Each obj In dbs.AllForms If obj.IsLoaded = TRUE then ' Print name of obj. Debug.Print obj.Name End If Next obj End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 31, 2003 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How do I list all forms in an ADP (no MSysObjects) Loop through the CurrentProject.AllForms collection. Charlotte Foust -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Monday, March 31, 2003 5:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2661 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 20:12:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 21:12:09 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <016401c2f7f1$ffff5de0$8e01a8c0@Rock> Message-ID: <029a01c2f7f4$1be7eb60$dae6ffcc@SusanOne> Guys I don't think 97 supports AllForms, does it? Susan H. > Public Sub ListForms() > Dim i As Integer > Dim Frm As AccessObject > For Each Frm In CurrentProject.AllForms > i = i + 1 > Debug.Print i, Frm.Name > Next > Set Frm = Nothing > End Sub > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: March 31, 2003 8:41 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) > > > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DMcAfee at haascnc.com Mon Mar 31 20:26:28 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 18:26:28 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D799B@EXCHMAIL> No I am actually using A2K (ADP). I originally did something similar in an A97 MDB. Couldn't I create an ADO recordset (or Array) and add the obj.Name to it as I loop, then sort it (ascending) prior to assigning the recordset to a listbox? PS You have to try one of my margaritas one day (maybe the next US Access-D conference). I make a great strawberry and raspberry (fresh from the garden) blended margarita! TIA David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How do I list all forms in an ADP (no MSysObjects) should list the forms in a combo box -- but it won't be sorted in any particular order -- and I'm not sure about that strList statement -- had margueritas for supper. :) Ah crap - -you're using 97 -- I don't think this will work in 97 -- AllForms is new to 2000 isn't it? In that case, try Dim db As DAO.Database Dim cnt As DAO.Container Dim doc As DAO.Document Dim strTemp as String Dim strList As STring Set db = CurrentDB Set cnt = db.Containers!Forms For Each doc In cnt.Documents strTemp = doc.Name & ";" & strTemp Next combobox.RowSource = strList Susan H. > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhalljr at starpower.net Mon Mar 31 20:18:17 2003 From: rjhalljr at starpower.net (Bob Hall) Date: Mon, 31 Mar 2003 21:18:17 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> Message-ID: <20030401021817.GA1198@sten.alder.net> On Mon, Mar 31, 2003 at 03:20:33PM -0500, Susan Harkins wrote: > I'm not really concerned about bloat at this point -- I'm just interested in > opinions about which performs faster: DAO or SQL. Susan, Optimized, compiled SQL is *much* faster than DAO for processing large counts of rows. Unoptimized SQL still seems to be faster on the few occasions when I've bothered to time it. My rule of thumb is to go ahead & use ADO or DAO if I already have a recordset open and I'm only working with a few rows. Otherwise, I go with SQL. The difference between optimized and unoptimized SQL is important. A sufficiently complex SQL statement operating on reasonably large tables may take all night to run if it is executed with the database Execute method or in a temporary TableDef. Put the same SQL statement in a query so the Rushmore optimizer can tweak it, and it will take about ten minutes. SQL is a specialized sub-language that does only a few things, and has been bummed to do them well and fast. VBA, in combination with the object hierarchy of your choice, is a general purpose language that would probably break if it were as tense as SQL. SQL is like a Peterbilt, good for hauling lots a data long distances over open roads but awkward for narrow streets and tight corners. VBA is like a Mitsubishi; not as efficient as a Peter for long hauls, but able to take smaller amounts of data more places and do more things with it. Bob Hall From artful at rogers.com Mon Mar 31 20:32:28 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 21:32:28 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In-Reply-To: <029a01c2f7f4$1be7eb60$dae6ffcc@SusanOne> Message-ID: <016d01c2f7f6$f0d399d0$8e01a8c0@Rock> Too many tequilas there Susan. ADP was previously declared :-) A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 31, 2003 9:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How do I list all forms in an ADP (no MSysObjects) Guys I don't think 97 supports AllForms, does it? Susan H. From harkins at iglou.com Mon Mar 31 20:38:49 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 21:38:49 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <657FB70438B7D311AF320090279C1801026D799B@EXCHMAIL> Message-ID: <004401c2f7f7$ed6e8060$aee6ffcc@SusanOne> > > Couldn't I create an ADO recordset (or Array) and add the obj.Name to it as > I loop, then sort it (ascending) prior to assigning the recordset to a > listbox? =======I seem to recall a sorting solution, but off the top of my head, I can't recall what it was or where I saw it -- I'll try to remember in the morning -- remind me if I forget. > > PS You have to try one of my margaritas one day (maybe the next US Access-D > conference). I make a great strawberry and raspberry (fresh from the garden) > blended margarita! =======I just like them plan -- but would certainly be willing to try something new! ;) Susan H. From DWUTKA at marlow.com Mon Mar 31 20:47:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 20:47:35 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82540@main2.marlow.com> Actually, you're still using VBA. The language is still the same. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 7:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE But when you program Word from within Access, you still have to use the Word object model. You aren't programming Access, you're programming Word. It isn't the same thing at all. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 4:58 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Mar 1 01:52:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat Mar 1 01:52:00 2003 Subject: [AccessD] Daterange Withevents demo Message-ID: Some of you might remember Julie Schwalm's Date Range tool. It is an option group driven set of radio buttons that allow you to select one of 12 date ranges such as month to date, year to date etc. and the code then fills in two text boxes with the from date and to date. I just got through overhauling my reporting form in my Client Billing app. I used her date range selector, and moved that to a withevents class. One of the things that I never particularly liked was the size required to have an option group. I have changed the option group to a combo box. Otherwise, it is identical to the original. It is on my site under the Withevents demo button. DateRangeWithEvents. Open the demo and the date range form opens. Select a date range and watch the text boxes change. This is a classic example of actual useful Withevents programming. All you have to do to actually use the code in your projects is copy the class to your project, cut and paste the three controls to your form and cut and paste the form's class initialization code. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From subs at solution-providers.ie Sat Mar 1 04:14:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Sat Mar 1 04:14:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland From gustav at cactus.dk Sat Mar 1 06:25:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 06:25:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> Message-ID: <13312369686.20030301132446@cactus.dk> Hi Drew > .. but somehow fate kicked me to Dallas...go figure! A woman! /gustav From gustav at cactus.dk Sat Mar 1 06:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 06:37:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: References: Message-ID: <813044456.20030301133601@cactus.dk> Hi John Try running this command: winword.exe /a That should reset all registry settings of Word. /gustav > We have a user in our Probation department that has completely lost her > menu bar in MS Word. I cannot recreate the problem, and I have never > seen it before. This is the "main menu" bar...the one with "File", > "Edit", etc. From carbonnb at sympatico.ca Sat Mar 1 07:22:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sat Mar 1 07:22:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <813044456.20030301133601@cactus.dk> References: Message-ID: <3E606D75.16699.2210D2D@localhost> On 1 Mar 2003 at 13:36, Gustav Brock wrote: > Try running this command: > > winword.exe /a > > That should reset all registry settings of Word. winword.exe /a doesn't actually reset anything. It just loads Word without loading the normal.dot, any of the startup templates. I think the switch you are thinking of is /r, but don't quote me on that. It's not listed in the help file, so I think it's an undocumented switch -- Bryan Carbonnell - carbonnb at sympatico.ca RAM Disk is not an installation technique! From artful at rogers.com Sat Mar 1 07:58:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 1 07:58:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Message-ID: <042701c2dffa$76817990$8e01a8c0@Rock> Another approach that does not require moving to SQL and yet delivers all the speed of a one-MDB solution is to use Replication Manager and place a local replica on each PC using the app. Then on the server you place the Replication manager itself and synchronize the local replicas with the "server" replica every 5 minutes or every hour or whatever interval is appropriate to your app. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 1, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 1 08:12:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 08:12:00 2003 Subject: [AccessD] Can't Open the Mail Session In-Reply-To: <001001c2dea2$572d73e0$0c21fea9@OneVoiceLaptop> References: <001001c2dea2$572d73e0$0c21fea9@OneVoiceLaptop> Message-ID: <19318744723.20030301151101@cactus.dk> Hi Stephen Have you checked the registry setting: HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Run/OptionalComponents/MAPI/Installed Should be 1. /gustav > I'm having a problem with the SendObject function. I keep getting the > following error: "Microsoft Access Can't Open the Mail Session. Check Your > Mail Application to Make Sure That It's Working Properly." > I found the following KB Article on MS > (http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b283173) which > is the exact problem I'm having. Unfortunately the resolution does not work > for me since I do not have the registry key referenced by the article. I am > developing in Access 97 on a Windows XP Pro machine. From gustav at cactus.dk Sat Mar 1 08:19:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 1 08:19:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <3E606D75.16699.2210D2D@localhost> References: <3E606D75.16699.2210D2D@localhost> Message-ID: <17719165097.20030301151802@cactus.dk> Hi Bryan Hmmm .. you are probably right - I may recall that incorrectly, sorry. /gustav >> Try running this command: >> >> winword.exe /a >> >> That should reset all registry settings of Word. > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch From DWUTKA at marlow.com Sat Mar 1 08:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 1 08:51:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linke d tables Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821DA@main2.marlow.com> Did you find and follow the Opportunistic Locking issue, with Windows 2000 Servers? There is an article or two about it on the Knowledge Base. Drew -----Original Message----- From: Mark L. Breen To: accessd at databaseadvisors.com Sent: 3/1/03 4:25 AM Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Mar 1 08:51:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 1 08:51:08 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821DB@main2.marlow.com> Nope worse...a job! Drew -----Original Message----- From: Gustav Brock To: Drew Wutka Sent: 3/1/03 6:24 AM Subject: Re: [AccessD] OT Friday: Ice Adventure! Hi Drew > .. but somehow fate kicked me to Dallas...go figure! A woman! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Mar 1 09:58:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat Mar 1 09:58:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <001d01c2dfdc$edba3d80$356da8c0@IEW001> Message-ID: Mark, This is a known issue. Part of the problems is OPLOCKS or opportunistic locking as Drew already mentioned. The other is the lock manager, which under NT/Win 2000 performs poorly. The simple fix is that as soon as the app opens, open a reference to the BE and close this reference when the app completes. This can be as simple as opening a hidden form bound to a dummy table in the BE. The other issue here is virus scanners that check a file each time it's opened. When all references on a BE go out of scope, it's closed. Next time it's needed it's reopened and this sometimes causes a virus scan to occur. Make sure your virus scanner is not checking MDB files. Take a look at the following MSKB article which also offers some other pointers: Q300216 - HOW TO Keep a Jet 4.0 Database in Top Working Condition http://support.microsoft.com/default.aspx?scid=kb;[LN];Q300216 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Saturday, March 01, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.nu Sat Mar 1 10:00:00 2003 From: conny at qad.nu (Conny Johansson) Date: Sat Mar 1 10:00:00 2003 Subject: SV: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <3E606D75.16699.2210D2D@localhost> Message-ID: <000f01c2e00b$9360c550$0200a8c0@pappa> It's documeted here http://support.microsoft.com/?kbid=210565 Conny -----Ursprungligt meddelande----- Fr?n: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] F?r Bryan Carbonnell Skickat: den 1 mars 2003 14:21 Till: accessd at databaseadvisors.com ?mne: Re: [AccessD] OT - Menu bar missing in MS Word On 1 Mar 2003 at 13:36, Gustav Brock wrote: > Try running this command: > > winword.exe /a > > That should reset all registry settings of Word. winword.exe /a doesn't actually reset anything. It just loads Word without loading the normal.dot, any of the startup templates. I think the switch you are thinking of is /r, but don't quote me on that. It's not listed in the help file, so I think it's an undocumented switch -- Bryan Carbonnell - carbonnb at sympatico.ca RAM Disk is not an installation technique! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound meddelandet ?r kontrollerat och inneh?ller inga virus Virus Database (VPS): 2003-02-28 Testat den: 2003-03-01 16:59:34 avast! ?r copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From martyconnelly at shaw.ca Sat Mar 1 11:40:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 11:40:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! References: <2F8793082E00D4119A1700B0D0216BF801D821D9@main2.marlow.com> Message-ID: <3E60F05E.90308@shaw.ca> Doesn't anyone use tire chains anymore, they have quick strap ons now, not the old leather belt strap ons. They won't let you over some passes at times in washington state without them. Worthwhile in winter to keep a set in the trunk, along with a big bag of kitty litter, shovel,space blankets and a couple of candles. Kitty litter provides better traction than salt (salt only works at certain temperatures) and a 30 lb bag gives a little extra rearend traction. Candles (windows cranked down slightly) when lit will keep the internal heat in a car slightly above freezing even at 30 below so you don't have to run out of gas keeping the car heated or even worse if the exhaust gets plugged by snow. Drew Wutka wrote: >Maybe it's the weight distribution of that Caprice that makes it feel much >better on the ice. I spent some time in Idaho...early driving years...which >definitely gets the winter roads. In fact, the truck I had then was a >snowplow for most of it's life...however, the guy I bought it from put a >brand new engine in it, along with all sorts of other tweaks...including >putting 38" Mudders (can't remember the brand anymore) on. Man, I loved >that truck. It got great traction in the mud (obviously), pretty good on >road, excellent off road, and snow wasn't too bad either. But ice and >rain...LOOK OUT! (I usually drove my roommates car in the icy weather, >because those mudders had close to 0 traction on ice.). When I moved to >california later with that truck, that's when I learned how horrible mudders >do in wet weather (well wet with a little sprinkling of engine oil) . > >I have to admit my current 'new(er)' car has a decent traction system, Front >wheel drive, and it drive quite nicely with this weeks weather. Though it's >a small 'mid sized' car, and the Caprice is a monster car. So even though >both handle themselves well, I would have still have prefered driving my >Caprice...with that much more room and steel between me and the other >'drivers'. > >Personally, I swore I would never live in a 'hot' state (not after 2 tours >in the Persian Gulf....inside an engine room....) I wanted to stay in >Washington...but somehow fate kicked me to Dallas...go figure! > >Drew > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Friday, February 28, 2003 10:46 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT Friday: Ice Adventure! > > >With boats the steering is generally done at the propulsion end. Same is >true of most jet propelled aircraft. How many semi tractor trailers have >propulsion at the back trailer wheels. You really can't compare apples and >marshmallows or cars and ski doos. > >Where I live we often have snow for six months of the year. Generally >speaking, it is far more important to be able to stop or turn than to >accelerate. Traction at the drive wheels in the direction of propulsion is >necessary for getting in motion but, like flying, if you can't land, then >you had better not be taking off. > >Where the rubber meets the road is the prime consideration. Proper tires >will give you traction forward, backwards and lateral. Any attempt to >exceed the coefficient of friction will yeild a skid. If this happens while > >a vehicle is in motion in a turn, that end of the vehicle where traction is >lost will slip sideways with the centrifugal aceleration. If it's rear >wheel drive, the back whips around since the lateral forces are in addition >to the propulsive forces and they exceed forces on the passive wheels. Once > >the skid starts, the motion is lateral to the direction of travel and after >it exceeds 10 or 15 degrees, there is progressively less chance of stopping >the skid by steering into it. > >On a front drive vehicle, it is trivial to regain control. The centrifugal >forces slide the front end of the car in its direction of travel. The car >doesn't turn as well but you don't need to turn into the skid nearly as much > >as with a rear drive vehicle to maintain control. Sure you're going to >drift wide of your intended course but the same is even more true of a rear >wheel drive vehicle. In either case, if you have better tires, it benefits >both front and rear drive vehicles. > >One additional factor which makes all the difference in getting a car in >motion is the fact that the weight distribution of rear drive and front >drive cars is such that front wheel drives have, in the vast majority of >cases, a greater proportion of the weight over the drive wheels. The 50/50 >of a BMW is brilliant for dry pavement high G manouvering but in snow, the >61/39 of a VW Golf means that when acceleration is traction limited, with >equal tires, the Golf is going to leave the BMW in the flurries. The old >Beetles with their rear engine rear drive were acceleration monsters but, >that heavy rear end was a weather vane in a skid. Don't be going there. > >I've driven front and rear drive cars and my current commuter vehicle has 4 >wheel drive capability. When it gets real slick, I get out and lock the >front hubs. The last time I engaged them during a commute was last winter. > >I find that the biggest advantage of driving in 4wd mode is that I can get >out of the way of all the incompetent drivers. Although 4 times 0 traction >is 0 acceleration, 4 times 20 foot pounds acceleration is double 2 times 20 >foot pounds. A four wheel drive can out accelerate and out climb any two >wheel drive vehicle with similar tires. In a skid you get a relatively >controllable four wheel drift and, if you have a manual transmission, you >have very smooth engine braking signficantly superior to that which you get >with an automatic. Absolute best is AWD with electronic traction control >(braking on spinning wheels). I've driven for over 33 years of 6 month >winter and have never had a traction loss induced accident. The most >driving fun I ever had was an 81 Tercel front drive sub compact. In reverse > >at speed, blip the throttle when you haul on the wheel and the heavy front >weather vanes around like an arrow. Hit the clutch and throw her into 2nd >and you're off like a bullet in exactly the direction you were headed in >reverse. Going forward, haul on the park brake and your back will whip any >direction you please because your front wheels are still pulling and in >control. Great for sliding sideways into that parking spot that you >couldn't parallel park into. > >The worst snow drivers I ever met are warm climate immigrants who grew up >without learning to drive until later in life. Next are people who lack >winter driving experience. I remember driving through northern California >and once over Denver. The roads were closed because people were all over >the road, in ditches and slid against guard rails on those fancy steep >banked mountain roads. In Denver, we told them we're from Canada and they >let us pass through after turning around several thousand cars. In >California, I just ran the road block because they insisted we put on chains > >and I didn't have any and have never had the need for them driving a >passenger vehicle. It was no worse than conditions we experience driving >across town several months of every year. I suppose they truly believed >they were saving us from certain death but I couldn't allow myself to be >governed by a bunch of misguided lunatics. I'm very pleased not to be in >the DFW region this week because it would have seriously tried my patience. > >Hen > > > > >>From: Drew Wutka >>Reply-To: accessd at databaseadvisors.com >>To: "'accessd at databaseadvisors.com'" >>Subject: RE: [AccessD] OT Friday: Ice Adventure! >>Date: Fri, 28 Feb 2003 19:53:40 -0600 >> >>I live in Mckinney, and work in Dallas, so I know what you are talking >>about. I drove home Monday night at around 1 am. It took over 2 hours to >>get home, however, at least most of the road was 'ice chunks', it hadn't >>glazed over yet. >> >>However, one thing is for sure, Texans don't know how to drive in rain, >>snow, or ice. Especially ice. Somehow, a texan in a 4WD vehicle thinks >>they have more traction by having four wheel drive. Not quite, you just >>have a vehicle that has 4 powered wheels with no traction! I even >>heard a newsperson tell people that they better use front wheel drive >>vehicles. Why? Have you even seen a snow mobile with it's 'skis' in the >>back? No, the tread is in the back, and the skis are up front steering. >>When you have slippery terrain, the last thing you want is the 'turning' >>mechanism trying to 'pull' your vehicle. That just causes your back wheels >>to spin out behind you. You need a rear wheel drive vehicle, that is >>pushing your front wheels/skis. >> >>Just my observation. I stayed home Tuesday, spending most of the day >>badgering my DSL company...hehehehe Then Wednesday I had to find a doctor >>who was open, so I could get a sinus infection cleared up. Hot cold hot >>cold...means Drew is gonna have his teeth hurting from a sinus infection! >> >> >>I must say, I will treasure Tuesday for some time to come. My 4 year old >>daughter and I went to check our mail (which is up a pretty big hill....) >>on >>Tuesday, and she just had the time of her life slipping and sliding all >>over >>the ice (none of her shoes have 'rugged' soles, they're all pretty 'flat', >>I >>have a good pair of hiking sneakers with almost cleat like tread.). Not >>too >>mention I ice skated a lot as a kid, and my late teens (bet none of you >>knew >>I got 2 silver medals for figure skating in the junior olympics (I think it >>was in Calgary...but I was between 8 and 10, so geography wasn't my strong >>point then.....)). >> >>Personally, I think the snow storm was a plot to keep me from getting my >>flat screen monitor this weekend. (It is now 'marked' for Monday). It was >>probably sitting on I-35 since Tuesday......it better not have cracked in >>the cold! >> >>Drew >>-----Original Message----- >>From: Elam, Debbie [mailto:DElam at jenkens.com] >>Sent: Friday, February 28, 2003 6:05 PM >>To: 'accessd at databaseadvisors.com' >>Subject: [AccessD] OT Friday: Ice Adventure! >> >> >>Since it is Friday, I thought all of you might be entertained by my ice >>storm mishaps. >> >>As many of you probably heard, Monday night the DFW area was hit with a >>winter mix storm. This one was almost entirely sleet, but enough freezing >>rain to weld it together and give it a slick crust. >> >>I have a VBA training class this week. The trainer came into town for this >>week only so there was no way to make the class up. I was determined then >>to make it in to work despite the ice. >> >>Tuesday morning was not bad in spite of the layer of ice on the streets. >>Only a few spots were so slippery that driving slow was not enough to >>compensate. I drove to the park and ride and got on the bus and made it in >>just about double normal driving time. Coming home was a different story. >> >>First, I arrived at the bus stop around 5:00. Another woman had been >>waiting since 4:00, but no busses had come by. She called Dart (Dallas >>Area >>Rapid Transit) and discovered there were fewer than normal busses due to >>driver absences and the first bus had gotten stuck on another street. >>Eventually the bus after showed up. We got stuck with the wheels spinning >>a >>couple of times in downtown, but the driver managed to get us started again >>in a few minutes. >> >>On the freeway home, 3 18 wheelers had slid slightly sideways and one after >>the other blocking the entire freeway. Forced to exit we got stuck on the >>service road. A roving band of helpful men were walking the area with >>shovels and broke the ice under the wheels of our bus and other stuck >>vehicles. We were on the way again. >> >>We stopped again when the driver realized the side street she had chosen >>ran >>through a large gully. The bus would never had made it up the other side. >>Turning around was hampered by drivers going ahead of the bus then behind >>it, then ahead. Because of this we were stuck across several lanes or >>traffic when letting us go would have gotten us out of everyone's way in 5 >>minutes if traffic had stopped for us. >> >>Once turned around we make good progress for awhile. Then about 2 miles >> >> >>from the park and ride we come upon a handicap bus stuck near the top of a > > >>low incline. Breaking our momentum was deadly we got stuck at the bottom. >>I considered walking to the park and ride, but did not get desperate enough >>to do it until we had been there for nearly 2 hours. At this point my >>normally less than 1 hour bus ride had taken over 5 hours. >> >>I bailed from the bus, intending to walk to the park and ride and get my >>truck. It was slippery enough I chose to walk in the grass. It was harder >>and I had to stomp a little to break through the ice crust, but I only fell >>down twice. >> >>On the walk I encountered cars that had either slid into drainage ditches, >>or were unable to get enough traction to move every 200 yards or so. This >>was demoralizing enough that I decided, if I tried to drive home, I would >>end up abandoning the truck or sleeping in it. The park and ride was a >>much >>better place to abandon and I decided to try to walk the rest of the way >>home. Unfortunately this is another 5 miles. Do-able, but tough. >> >>I called Hunter to tell him of my decision. He talked about coming to get >>me, but we discarded that idea since he would likely just end up abandoning >>or wrecking our other car too. Then he realized we have an ATV that could >>make the short trip if anything could. We agreed to meet partway. He had >>one bad spot getting to me. He yielded to a truck coming the other >>direction (it needed the momentum a lot more than the ATV) and ended up >>sliding into a ditch that was deep enough to have liquid water in it. So >>Hunter, rather wet and cold by that time, finds me at the agreed meeting >>place. I get on the back of the ATV, hold on tight and see a blur because >>my helmet visor fogs up. we make it home with no more incident, just a few >>slightly slippery corners. We made it home about 1:00 AM. >> >>To top all of this off, I had lost my voice due to the crud going around, >>and I was hacking up some really disgusting stuff. Everyone was very >>concerned that I had gotten too cold while walking, but actually I was too >>hot. The stomping gait was so energetic that I was sweating for much of >>the >>walk. The only really cold part was on the ATV. For the most part, the >>drive just cooled me down to normal. There was ice on the back of the seat >> >> >>from the storm and my rear melted it during the drive. Needless to say > > >>this >>got my rear soaked and THAT was cold. >> >>I did not even attempt to leave the house until 5:00 PM the next day when >>we >>could finally see the road where the 34 degree temperatures and a little >>traffic had melted it. The driveway still nearly trapped us though. >> >>I found out yesterday that the bus never made it to the park and ride. >>They >>got out of the spot where they were stuck, but had to turn around and only >>got a little closer before they gave up at 11:00. A few brave souls gave >>the others rides the rest of the way to the park and ride. everyone I >>spoke >>to had not made it home in their cars. They had to abandon them along the >>way as they got stuck too. One woman nearly slid into a creek, and >>abandoned the car rather than take the chance of sliding off the bridge >>while she tried to get unstuck. She had a tow-truck pull it to a melted >>spot late Wednesday and drove it home then. >> >>Debbie >> >> >>- JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject >>to the Attorney-Client Privilege, (2) an attorney work product, or (3) >>strictly confidential. If you are not the intended recipient of this >>message, you may not disclose, print, copy or disseminate this information. >>If you have received this in error, please reply and notify the sender >>(only) and delete the message. Unauthorized interception of this e-mail is >>a >>violation of federal criminal law. >> >> This communication does not reflect an intention by the sender or the >>sender's client or principal to conduct a transaction or make any agreement >>by electronic means. Nothing contained in this message or in any >>attachment >>shall satisfy the requirements for a writing, and nothing contained herein >>shall constitute a contract or electronic signature under the Electronic >>Signatures in Global and National Commerce Act, any version of the Uniform >>Electronic Transactions Act or any other statute governing electronic >>transactions. >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 1 11:53:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 11:53:01 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E60F352.5090909@shaw.ca> Windows 2000 SP3 has the necessary fix for this OPLOCKS problem. However it must be loaded on both the server and the workstations. http://support.microsoft.com/default.aspx?scid=KB;EN-US;q260910& Jim Dettman wrote: >Mark, > > This is a known issue. Part of the problems is OPLOCKS or opportunistic >locking as Drew already mentioned. > > The other is the lock manager, which under NT/Win 2000 performs poorly. >The simple fix is that as soon as the app opens, open a reference to the BE >and close this reference when the app completes. This can be as simple as >opening a hidden form bound to a dummy table in the BE. > > The other issue here is virus scanners that check a file each time it's >opened. When all references on a BE go out of scope, it's closed. Next >time it's needed it's reopened and this sometimes causes a virus scan to >occur. Make sure your virus scanner is not checking MDB files. > > Take a look at the following MSKB article which also offers some other >pointers: > >Q300216 - HOW TO Keep a Jet 4.0 Database in Top Working Condition >http://support.microsoft.com/default.aspx?scid=kb;[LN];Q300216 > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen >Sent: Saturday, March 01, 2003 5:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access & Windows 2000 Performance issues with linked >tables > > >Hello All, > >I was asked recently to move a database that I created three years ago from >a Win NT 4.0 Server server to a new Windows 2000 Server server. > >The database application that I developed is built on a FE, a BE and a MDA >file and also a .mdw file. > >When the backend is on the NT server, performance is fine, but when I move >it to the new Windows 2000 server ( a super duper server with loads of disk >/ ram / processor ), it grinds to a halt. > >To make a long story short, it appears that Microsoft have introduced >something to the Win2K and WinXP OS's that cause linked tables to perform >very slowly. There is an article in the KB about this. > >Their suggestion (as opposed to the fix) is instead of talking to the >properties of the linked tables, to programatically open the backend and >talk directly to the properties of the source tables. > >In my case, I would have to re-write the entire application and it is not >ecomomical to do so, a better alternative to that would be simply to rebuild >the app in SQL and use ADO. > >However, I had another idea which was to bring the BE back into the FE and >leave it as one .mdb file. When I tried that it solved my problem. > >The purpose of this email is to share the information with you guys and ask >if you have experienced this also. > >Incidently, the 'normal' operations such as reading data, querying etc, was >never impaired, it was only when talking to linked tables, > >If you wish to demonstrate this for yourself, create a db with one table and >with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win >2k machine, it can be Pro or Server. Then create another db and link to >Somename_BE.mdb. Finally, let the form wizard create a new form and pull >all the fields in. The form creatation should talk you about ten seconds or >so. If you do the same thing on a Win NT Server, it happens in one second. > >I do not know if this will help anyone, but hopefully it might. > >Best Regards > > >Mark L. Breen >Solution Providers Ltd >Ireland > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 1 12:02:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 1 12:02:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E60F4DE.4070602@shaw.ca> Here is an article on Opportunistic Locking (OPLOCK) and Read Caching on Microsoft Windows Networks Although it is for DataFlex databases applies to Access too. http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html From hsimpson88 at hotmail.com Sat Mar 1 12:37:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sat Mar 1 12:37:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: I always used the old metal chains and only ever needed them for trailer towing in the mountains in severe winter conditions. Put them on driving through the western USA to Mexico in the late 60's or early 70's. Maximum speed was only about 20 kph or they would tear apart the inside of the wheel wells. Still, better than spending the night on the road. You give good advice and I'd like to add that a cell phone can be a life saver. I often drove in -40 weather in Northern Alberta. The distance between towns like Wandering River and Ft. McMurray is 63 miles and until recently it was a no shoulder two lane. Not one farm or building or human habitation of any kind between these and many other points. I never needed it to get help for myself or others but it is a potential emergency response time life saver. What kills in winter driving is excessive speed. The biggest factors are visibility (worst chain reaction accidents in history are due to sand storms, fog and blowing snow), and traction. When visiblity goes down, and it also goes down due to uncleared or fogged windows (Windows may have flaws but we can't blame Microsoft for these), then many people drive too fast for the conditions and they overreact when they abruptly encounter a situation and their vehicle can not respond adequately with the reduced traction and warning time. If you don't want to be hit, please make sure you have your lights on even during daylight. The other drivers are often too lazy to clear his windows of ice or fog. Highbeams mostly light up fog and blowing snow and reduce a driver's ability to see a distance but low beams and tail lights are important and let others see you. Hen >From: MartyConnelly >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT Friday: Ice Adventure! >Date: Sat, 01 Mar 2003 09:39:42 -0800 > >Doesn't anyone use tire chains anymore, they have quick strap ons now, not >the old leather belt >strap ons. They won't let you over some passes at times in washington state >without them. >Worthwhile in winter to keep a set in the trunk, along with a big bag of >kitty litter, shovel,space blankets and a couple of candles. >Kitty litter provides better traction than salt (salt only works at certain >temperatures) and a 30 lb bag >gives a little extra rearend traction. Candles (windows cranked down >slightly) when lit will keep the internal heat in a car slightly above >freezing even at 30 below so you don't have to run out of gas keeping the >car heated or even worse if the exhaust gets plugged by snow. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jhale at houston.rr.com Sat Mar 1 14:04:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 1 14:04:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C670@TAPPEEXCH01> Message-ID: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> I have found that many of these products don't handle a mixture of portrait and landscape pages in the same report. Jim H -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Friday, February 21, 2003 8:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] PDF for word ... I tested PDF995 with our Access based quoting system, and the results were identical to that of Acrobat. The quotes produced by this application range between 20 and 100 pages, and contain embedded graphics (logos), lines and boxes. I noticed that the files produced were larger, but still we're talking KB not MB or GB! I guess the burning question is this: Is it really necessary to have output that is IDENTICAL to Acrobat? After all, I have seen Acrobat mangle up certain documents, so is it really necessary to have a competing product emulate that result? I would like to hear the differences, though. We are about to purchase licenses for all of our workstations (~50), and it would be nice to know about any limitations before purchasing it. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, February 21, 2003 7:23 AM To: Brett Barabash Subject: Re: [AccessD] PDF for word ... Hi Brett and Tom et al Be careful with these. I did a test some months ago and none of them (nor Win2pdf) created output identical to that from Acrobat. For some cases any pdf is fine, I know, but for critical jobs it is not. /gustav > How about PDF995 (www.pdf995.com)? Installs like any other Windows print > driver, so you can create PDF files from any document just by printing to > it. And under $10 bucks to boot! > FYI - low price - $35 & $40. > http://www.docauto.com/MakePDF.htm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbcfour at triad.rr.com Sat Mar 1 14:26:01 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:01 2003 Subject: [AccessD] Access 2002 database format Message-ID: <001301c33dac$187eac90$9865fea9@cook> Posted on behalf of William Hindman, who's posts don't appear to be making it through. Donna ...there is a problem with bloating in the XP storage format ...creating an empty mdb and importing everything into it will get rid of the bloat ...MS will get around to fixing this sooner or later :( ...in the meantime, since I do require mdes, I'm stuck with the XP format ...so far the bloating, now that I can fix it easily, isn't a major problem ...but if I didn't require mdes I'd be using the 2K format. ...there appears to be VERY little information available on the differences other than some vague reference to the XP format having some features applicable to future Access versions and supposedly more efficient storage ...considering the definite bloat problem, I have issues with the MS definition of "efficient" :( William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Wednesday, February 26, 2003 9:54 AM Subject: RE: [AccessD] Access 2002 database format Charlotte - Here is something to be aware of. Microsoft Knowledge Base Article - 810415 Access 2002 Format Database Bloat Is Not Stopped by Compacting The KB article describes a system table in XP that is not compacted when it should be. Microsoft confirms that this is a problem and they recommend developing using the 2000 format when you can. I was developing an ~ 15 Mb database in 2002 format, but it bloated to 3 - 4 times this size, and decompiling/compacting didn't shrink it. I moved all the objects to a 2000 db file, and then was able to get it back down to the normal size. Dan Waters --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:23 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:23 2003 Subject: [AccessD] Test Message-ID: <001401c33dac$19ffa740$9865fea9@cook> Message Donna --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:35 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:35 2003 Subject: [AccessD] .NET Message-ID: <001501c33dac$289af8e0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna ...fwiw, Mike Gunderloy has a pretty good synopsis of the next Access in his latest newsletter ...you can read it at www.larkware.com William Hindman ----- Original Message ----- From: > To: > Sent: Monday, February 24, 2003 12:43 PM Subject: RE: [AccessD] .NET > Stuff it > > Office 11 contains a lot of XML related stuff. Access has little of Interest > but some improvements to XML exports and a few other minor things. > > Access 12 may see major changes towardds .NET They are already working on it. > > Major disappointment awaits the ADP people with the new version of SQL Server. > > Martin > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:36 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:36 2003 Subject: [AccessD] .NET Message-ID: <001601c33dac$29f2c0b0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna > > > Sent: 23 February 2003 00:42 > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] .NET > > > > > > > > > I think that it's time we created a .Net list. Clearly many of us are > > > > > interested, but it has little or nothing to do with Access, so let's > > > > > take these threads elsewhere, to spare the pure-Access folk. A. ...there is a problem with bloating in the XP storage format ...creating an empty mdb and importing everything into it will get rid of the bloat ...MS will get around to fixing this sooner or later :( ...in the meantime, since I do require mdes, I'm stuck with the XP format ...so far the bloating, now that I can fix it easily, isn't a major problem ...but if I didn't require mdes I'd be using the 2K format. ...there appears to be VERY little information available on the differences other than some vague reference to the XP format having some features applicable to future Access versions and supposedly more efficient storage ...considering the definite bloat problem, I have issues with the MS definition of "efficient" :( William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Wednesday, February 26, 2003 9:54 AM Subject: RE: [AccessD] Access 2002 database format Charlotte - Here is something to be aware of. Microsoft Knowledge Base Article - 810415 Access 2002 Format Database Bloat Is Not Stopped by Compacting The KB article describes a system table in XP that is not compacted when it should be. Microsoft confirms that this is a problem and they recommend developing using the 2000 format when you can. I was developing an ~ 15 Mb database in 2002 format, but it bloated to 3 - 4 times this size, and decompiling/compacting didn't shrink it. I moved all the objects to a 2000 db file, and then was able to get it back down to the normal size. Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, February 25, 2003 2:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access 2002 database format Does anyone know of reasons to chose the 2002 format over the default 2000 format, or vice versa, in AXP? I can't think of any reason except to be able to create an mde, which we can't do with our app anyhow because of the design changes it makes to itself at runtime. Charlotte Foust --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:26:48 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:26:48 2003 Subject: [AccessD] more on printing Message-ID: <001701c33dac$2b5e5ea0$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be getting through. Donna Susan ...if you do this from code then you may need to look into using three methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the default printer if none is specified in the report properties ...but you can use OpenReport to preview the report, PrtDevNames to select an available printer, and PrintOut to select its properties such as copies to print, print range, print quality, etc. ...in other words it is possible to use the full range of available printers and their capabilities from code ...HTH :) William Hindman ----- Original Message ----- From: "Susan Harkins" > To: > Sent: Thursday, February 27, 2003 11:34 PM Subject: [AccessD] more on printing > After setting all the appropriate Printer properties and choosing a > nondefault printer, how do you actually print a report? Will the OpenReport > method print to the set printer or always print to the default printer? > > Susan H. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From dbcfour at triad.rr.com Sat Mar 1 14:27:00 2003 From: dbcfour at triad.rr.com (D Cook) Date: Sat Mar 1 14:27:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <001801c33dac$2cb7d420$9865fea9@cook> On behalf of William Hindman, who's posts don't seem to be making it through. Bryan ...the /a loads Word without any of the template settings, startup macros, add-ins, or registry data key settings ...basically it tosses anything the user could have done ...if the menu bar loads correctly, it greatly simplifies finding the problem. William Hindman ----- Original Message ----- From: "Bryan Carbonnell" > To: > Sent: Saturday, March 01, 2003 8:21 AM Subject: Re: [AccessD] OT - Menu bar missing in MS Word > On 1 Mar 2003 at 13:36, Gustav Brock wrote: > > > Try running this command: > > > > winword.exe /a > > > > That should reset all registry settings of Word. > > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > RAM Disk is not an installation technique! > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 From jhale at houston.rr.com Sat Mar 1 14:48:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 1 14:48:00 2003 Subject: [AccessD] Daterange Withevents demo In-Reply-To: Message-ID: <01b201c2e033$f18dc830$2602a8c0@D4MXWR01> Cool. Thanks. Jim H -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Saturday, March 01, 2003 1:52 AM To: AccessD Subject: [AccessD] Daterange Withevents demo Some of you might remember Julie Schwalm's Date Range tool. It is an option group driven set of radio buttons that allow you to select one of 12 date ranges such as month to date, year to date etc. and the code then fills in two text boxes with the from date and to date. I just got through overhauling my reporting form in my Client Billing app. I used her date range selector, and moved that to a withevents class. One of the things that I never particularly liked was the size required to have an option group. I have changed the option group to a combo box. Otherwise, it is identical to the original. It is on my site under the Withevents demo button. DateRangeWithEvents. Open the demo and the date range form opens. Select a date range and watch the text boxes change. This is a classic example of actual useful Withevents programming. All you have to do to actually use the code in your projects is copy the class to your project, cut and paste the three controls to your form and cut and paste the form's class initialization code. Enjoy. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 1 16:53:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 1 16:53:00 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> Message-ID: <06b701c2e045$3cc628e0$e1ecffcc@SusanOne> I think my main problem has been the definite separation between setting the default printer for the session and setting the printer for a particular form and report -- I think I'm OK now. :) Thanks everyone for your help and hope you don't hear from me again on the subject! ;) Susan H. > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > default printer if none is specified in the report properties ...but you can > use OpenReport to preview the report, PrtDevNames to select an available > printer, and PrintOut to select its properties such as copies to print, > print range, print quality, etc. ...in other words it is possible to use the > full range of available printers and their capabilities from code ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From budge at magicaldesk.com Sat Mar 1 20:48:00 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Sat Mar 1 20:48:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Mar 2 00:06:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 2 00:06:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sun Mar 2 01:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 2 01:56:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> References: <01af01c2e02d$c258e0f0$2602a8c0@D4MXWR01> Message-ID: <75583729.20030302085523@cactus.dk> Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. From gustav at cactus.dk Sun Mar 2 03:19:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 2 03:19:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> References: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <1235584409.20030302101843@cactus.dk> Hi Rocky At that price one would expect a brand name slightly-over-entry level server machine (IBM, HP) at 1.6 to 2.0 GHz P4 and an 18 GB SCSI drive with three years warranty with at least the first year as on-site warranty. It's true that a work machine can act as a server but it doesn't make it a server machine. These are built for continuos run and have better cooling and space for drives - and often they have server monitoring facilities. However, there is a "grey zone" of entry level servers with IDE disks and often these are little more than renamed tower cased work machines. This would be an upgrade of your client's setting - a working shared Win98 machine is pure luck - it's proved but still pure luck. A real server can be expected to work without luck. This does cost some more money. What is certainly missing from the budget is a backup solution. Don't go without it. The budget for hours is too low. Aside from the server installation all service packs must be applied, data moved, printers installed and tested - and all the work machines will need a walk through. It will take some hours just to test a backup not to mention if the client wants proof of a true and complete restore from the tape. Two days for a skilled guy is more appropriate. If your client wants to go for a Windows server, consider the small business OEM pack which carries a cut down SQL Server as well. But why five licenses? Ten will be needed - where did this supplier earn his reputation? Or didn't your client provide full needed specs? The cost for a Novell NetWare Small Business pack will be much smaller and the client will need only six licenses as they count for concurrent users (not by seat). If budget is tight consider Linux, say a Red Hat or Caldera server distribution, which are at zero cost in licensing and a small amount for the package. Also, processor requirement for Novell and Linux is about 50% of that for a Windows server which means that your client will be fine with a good machine on sale with as little as 500 MHz processor speed. For current models, your client can do with an entry level server. But given the additional costs for software, backup solution and installation the difference in the total budget may be of minor importance. But no matter what, go for a brand name machine (yes, I know, there are bunches of fine white boxes. But this is not you but your client). /gustav > I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with > 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. > A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that > is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. > Right now his "server" is an old Win98 box, slow, but effective. > My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? From ralphb at cwgsy.net Sun Mar 2 08:48:00 2003 From: ralphb at cwgsy.net (Ralph Bryce) Date: Sun Mar 2 08:48:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> Hi Rocky At 22:06 1/3/2003 -0800, you wrote: >I have a client who wants to upgrade the server on his network. There's >about 10 seats on his network, of which maybe 6 are being used. Seems to >me that he could use any good, fast P4 box with 1/2 gig of RAM , >etc. Which is well under $1000 these days from dell, or gateway, with >three years on-site. >A local, old, fairly reputable company in San Diego - Datel - is quoting >him $1457 for and Intel entry level server with a P4 (speed unknown), >512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another >$775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 >and 10 hours of installation charged at a price unspecified in the quote. > >My question is, what is the difference between a box that someone like >Dell calls a server and an ordinary computer? Does he need a server? Buy a "proper" server - check out the prices of Dell servers these days (the 1600SC comes to mind); they're excellent value and come with 2GHz Xeons, ECC RAM (error checking RAM - very important in my view), better cooling, the ability to expand to dual power supplies, multiple hard disks and RAID arrays for data mirroring. The base machines are not that much more than a decent PC. You will need ten client access licenses (CALs) for between 5 and 10 users (CALs come in blocks of five). You should also thoroughly verify your server hard disk integrity before committing data to it. Something like Steve Gibson's Spinrite should do the trick - that will take some considerable time to run a thorough test on your drive - don't underestimate the time for installation and setup (5-10 hours is pretty conservative). And don't forget the UPS and the backup - some backup solutions can cost almost as much as the server, but consider the cost of lost data... HTH Ralph Bryce From jcolby at colbyconsulting.com Sun Mar 2 10:10:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 2 10:10:00 2003 Subject: [AccessD] Record Selector Withevents Demo Message-ID: I have added another withevents demo class to my site that is actually useful if you like the technique. This class creates a combo box that is used as a record selector for finding records in bound forms. The class is initialized passing in the form, the record selector combo and a text box bound to the autonumber PK field. When the user selects a record in the combo, the AfterUpdate event handler in the class is activated. It finds the record in the form and sets the form's bookmark to that record so that the form "moves to" that record. The class exposes a public method that the form's current event calls that keeps the record selector combo pointing to the same record that the form is on if the user moves through the records manually by page down etc. This class is fully functional, and can be used in your projects simply by importing the class, cutting and pasting the combo and text box onto your form, binding the text box to the PK field for that form, and setting the combo's SQL to the recID and one or more fields that allow the user to choose a record. Cut and paste the code in the demo form and you are up and running with a record selector on any bound form. The demo is fully functional and demonstrates this technique. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,208 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 2 13:25:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun Mar 2 13:25:00 2003 Subject: [AccessD] Iraq In-Reply-To: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> References: <5.2.0.9.0.20030302142410.01e8afd0@mail.cwgsy.net> Message-ID: <1046633074.3e625a722fd59@hosea.qub.ac.uk> http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm More on the destruction of rockets Martin From andy at minstersystems.co.uk Sun Mar 2 13:35:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 2 13:35:00 2003 Subject: [AccessD] Iraq In-Reply-To: <1046633074.3e625a722fd59@hosea.qub.ac.uk> Message-ID: <006201c2e0f2$5c8f5540$b274d0d5@andypc> Was that perhaps meant to go to the OT list Martin? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Mwp.Reid at queens-belfast.ac.uk > Sent: 02 March 2003 19:25 > To: accessd at databaseadvisors.com > Subject: [AccessD] Iraq > > > http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm > > More on the destruction of rockets > > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 2 13:43:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun Mar 2 13:43:00 2003 Subject: [AccessD] Iraq In-Reply-To: <006201c2e0f2$5c8f5540$b274d0d5@andypc> References: <006201c2e0f2$5c8f5540$b274d0d5@andypc> Message-ID: <1046634174.3e625ebe901a0@hosea.qub.ac.uk> Opps. Was indeed Andy. Sorry folks. Spent all day rebuilding a machine and am shattered. Martin Quoting Andy Lacey : > Was that perhaps meant to go to the OT list Martin? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Mwp.Reid at queens-belfast.ac.uk > > Sent: 02 March 2003 19:25 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Iraq > > > > > > http://news.bbc.co.uk/1/hi/world/middle_east/2813433.stm > > > > More on the destruction of rockets > > > > > > Martin > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mastercafe at ctv.es Sun Mar 2 15:11:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 15:11:00 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <1046633074.3e625a722fd59@hosea.qub.ac.uk> Message-ID: Hi all... I have a problem creating a new data structure. How to create an Autonumber field?? We check the help of Access and there isn't any help of this. In the begining we use a Long digit, but this isn't enough. Some ideas?? Thanks Juan Menendez Mastercafe SL www.mastercafe.com From bchacc at san.rr.com Sun Mar 2 15:28:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 2 15:28:00 2003 Subject: [AccessD] AUTONUMBER References: Message-ID: <012801c2e102$8764a760$6601a8c0@HAL9002> In the design view of the table the combo box under the data type for the field has Autonumber as an option. Rocky Smolin Beach Access Software ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 1:10 PM Subject: [AccessD] AUTONUMBER > Hi all... I have a problem creating a new data structure. > > How to create an Autonumber field?? > We check the help of Access and there isn't any help of this. In the > begining we use a Long digit, but this isn't enough. > > Some ideas?? > > Thanks > > Juan Menendez > Mastercafe SL > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sun Mar 2 15:45:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 2 15:45:00 2003 Subject: [AccessD] Combo DblClick and NotInList handlers using WithEvents Message-ID: I have added another demo to the Withevents web page demonstrating handling the DblClick of a combo to open a list form modal to edit the data behind the combo. The list form opens modally, then when the edits are done, the combo requeries to display the edited data. Likewise in the same class a NotInList demo to show how to automatically add data to a field in a table if it is not in the combo's list data. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,211 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From dbcfour at triad.rr.com Sun Mar 2 16:20:01 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Sun Mar 2 16:20:01 2003 Subject: [AccessD] Re: OT Server Needed In-Reply-To: <1811357081.20030302090816@cactus.dk> Message-ID: <000001c2e109$d6c3b2e0$1508a8c0@CookLT> In case William is still not making it through. Donna ************************************************************************ *********** ...unfortunately Spinrite doesn't work on NTFS formatted drives :( ...but Dell includes utilities that are more than adequate. William Hindman ----- Original Message ----- From: "Ralph Bryce" To: Sent: Sunday, March 02, 2003 9:47 AM Subject: Re: [AccessD] OT: Server Needed > Hi Rocky > > At 22:06 1/3/2003 -0800, you wrote: > > >I have a client who wants to upgrade the server on his network. There's > >about 10 seats on his network, of which maybe 6 are being used. Seems to > >me that he could use any good, fast P4 box with 1/2 gig of RAM , > >etc. Which is well under $1000 these days from dell, or gateway, with > >three years on-site. > > >A local, old, fairly reputable company in San Diego - Datel - is quoting > >him $1457 for and Intel entry level server with a P4 (speed unknown), > >512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another > >$775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 > >and 10 hours of installation charged at a price unspecified in the quote. > > > >My question is, what is the difference between a box that someone like > >Dell calls a server and an ordinary computer? Does he need a server? > > Buy a "proper" server - check out the prices of Dell servers these days > (the 1600SC comes to mind); they're excellent value and come with 2GHz > Xeons, ECC RAM (error checking RAM - very important in my view), better > cooling, the ability to expand to dual power supplies, multiple hard disks > and RAID arrays for data mirroring. > The base machines are not that much more than a decent PC. > > You will need ten client access licenses (CALs) for between 5 and 10 users > (CALs come in blocks of five). > > You should also thoroughly verify your server hard disk integrity before > committing data to it. > Something like Steve Gibson's Spinrite should do the trick - that will take > some considerable time to run a thorough test on your drive - don't > underestimate the time for installation and setup (5-10 hours is pretty > conservative). > > And don't forget the UPS and the backup - some backup solutions can cost > almost as much as the server, but consider the cost of lost data... > > HTH > > Ralph Bryce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From dbcfour at triad.rr.com Sun Mar 2 16:27:00 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Sun Mar 2 16:27:00 2003 Subject: [AccessD] RE: OT Server Needed In-Reply-To: <20030302180000.18510.689.Mailman@databaseadvisors.com> Message-ID: <000101c2e10a$dab5df30$1508a8c0@CookLT> One more from William, just in case. Donna ----- Original Message ----- From: "William Hindman" To: > Rocky > > ...ditto on most of gustav's points ...except of course the novell or Linux > comments :) > > ...Novell reported another quarterly loss ...the last thing you want to > recommend to your client is a server software without support behind it > ...and even if Novell does avoid bankruptcy, it has not put any real > resources into its server products in quite some time :( > > ...Linux is more interesting ...its essentially freeware upfront and has > proven to be very reliable in server environments ...but its much more > technically demanding than current MS products to install and maintain, > especially if you make frequent changes ...and while you can train a client > power user to be a reasonable Windows 2000 Server Administrator (wizards > will help him/her do most maintenance tasks) the same cannot be said of any > Linux version I've yet seen. > > ...so while either Novell or Linux are certainly lower in > "out-of-the-box-costs", your client's total cost of operation (and > frustration) may well be much higher with either unless he has a resident > notwork geek ...and if he did, he wouldn't be asking you. > > ...stay with well tested server software ...Win2K SP3 is highly reliable > ...unlike its NT4 predecessor, I've not had to reboot a client system in > ages because of server software problems. On the other hand, it will be at > least two years before MS's Windows 2003 Server due for release any time now > will reach the same level of reliability ...its far too complex a piece of > software to be fully debugged in beta trials ...inevitably the user > marketplace along with hackers find bugs that the most intensive beta trials > don't ...and there is nothing in W2003S that your client will need today > ...so stick with W2K Server, making sure SP3 is installed. > > ...on the other hand, while a lot of the server installation complexity > depends upon your client's internet configuration and security, two days for > an MS W2K Server install, configuration, and training is minimum ...any > installer telling you otherwise is simply low-balling you ...waiting for > your client to ask the first question ..."Oh, you didn't tell me you wanted > me to do the client setups ...or software updates (hours upon hours upon > hours, even with SP3, trust me) ...or "simple" security setup, etc, etc, ad > infinitum :( > > ...I usually recommend MS's Small Business Server for client's similar to > yours but again that takes an assessment of your client's actual needs > ...does he actually need SQL Server and Exchange Server ...bang for the buck > though, it is the best all-in-one solution going ...and contrary to gustav's > comment, its SQL Server implementation is the real thing :) > > ...as for CALS, count the client computers and any print servers and buy the > next higher CAL pack ...a 5 pak is the standard included with your W2K > Server but your client will need at least another 5 pak ...and if you or the > client intends to do any server maintenance themselves, the Resource Kits > are cheap insurance. > > ...as for hardware, the three major hardware brands simply can't be beat > when it comes to server quality vs price vs support ...its no longer > possible for local builders to compete with them on any of those points > ...no matter what the local guys say ...nor can they come close to providing > the configuration and maintenance software the major brands do which is no > small consideration when you're up to your ass in network alligators. > > ...Gateway is about to go under and who knows what will come out of > bankruptcy ...they are so desperate for sales that their boxes are starting > to turn up in computer flea markets ...and they still can't go head to head > with Dell. > > ...Compaq/HP build good stuff which is well supported ...while higher priced > than Dell, they've been in the server business a lot longer ...my major beef > with them is that they use proprietary parts which lock you into them for > support ...and then charge you enormously inflated prices when you need > replacements ...if you can find the parts in the first place ...and having a > client with a dead server waiting more than a week while Compaq finds a part > can be wearing on any client relationship where you made the server > recommendation ...it doesn't happen often but once was more than enough for > me. > > ...so I now spec Dell servers with their 3 year warranty ...and make damn > sure if you buy the server software from them that you also buy their > software support up front ...MS won't even talk to you about a Dell > purchased W2K Server for instance without you giving them $250 upfront on > your credit card ...for EACH problem you have ...thus I no longer recommend > that my clients buy the server software preinstalled (another misleading > phrase since its not actually anything more than imaged onto a partition on > your disk ...trust me, server installation is a LOT more than that) ...your > client can get the same software in the market place with full MS support > for less money. > > ...the most important factors in a server are reliability and speed ...and > that means at the very least a RAID 1 configuration with SCSI disks > (mirrored disks) for pure reliability ...or, if your client can afford it, a > RAID 5 configuration (striped disks) for both reliability and speed ...the > cpu in your type of file server installation is much less important than the > disks and ram ...again, if your client can afford it, go with a hardware > RAID controller rather than using W2K's software RAID (for people who don't > read the small print, a software RAID 5 requires its own disk which money > could have been better spent on a HW controller) ...better to pay for a HW > RAID controller than to pay for a 2.6Ghz cpu over a 1.6GHz cpu since the cpu > has far less impact than disk access speed in your client's configuration. > > ...buy the 10K scsi disks rather than the new 15K ones ...despite the pitch > their sales people give, the techs will tell you the 15Ks still have heat > build-up and reliability problems. > > ...buy as much fast ram as your client can afford ...512 is the absolute > minimum and I use 1Gb as my minimum ...lots of ram will cure a host of > server problems that nothing else will. > > ...besides the RAID hardware, a real server will give you hot swappable HDs > which means in a RAID 5 configuration you can pull a failed disk and replace > it without interrupting server operation (ok, it WILL slow down but it will > still work) ...and at least dual hot swappable power supplies ...Dell gives > you three on all of its servers ...and multiple fans to ensure continuous > operations, high availability, and long life ...and a well engineered > component layout designed for maximum airflow and reliability. > > ...be sure to spec two identical nics, one for your internal network and one > for the internet ...any single nic configuration has high security problems > even with h/w nat routers. > > ...and one last consideration ...Dell has its net based refurbished systems > outlet where you can pick up a new, 3 year warranted server for as much as > 40% off their retail list price ...I say new because its exactly the same as > a new server except that a client returned it because something failed on > initial install ...Dell replaced the defective part but cannot sell it as > new any more ...so they put it up for sale on their refurbished outlet > ...but its exactly the same box and warranty as that being sold as new on > their retail pages. > > ...all in all, $4-6K is imnsho, a more reasonable price range for a viable > server and software configuration ...plus installation costs ...but when it > comes to servers, everyone has their opinions ...this is mine ...others will > certainly differ ...take it for what it cost you :) > > William Hindman --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From mastercafe at ctv.es Sun Mar 2 16:54:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 16:54:00 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <012801c2e102$8764a760$6601a8c0@HAL9002> Message-ID: Excuse me... I explain very bad... sorry. This is the main code Dim ws As Workspace Dim db As Database Dim dbdest As Database Dim tdf As TableDef Set db = CurrentDb Set ws = DBEngine.Workspaces(0) Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) Set tdf = dbdest.CreateTableDef("Base Clientes") With tdf .Fields.Append .CreateField("Cliente", dbText, 15) .Fields.Append .CreateField("ClteNombre", dbText, 50) .Fields.Append .CreateField("ClteFnac", dbDate) .Fields.Append .CreateField("acumcompra", dbSingle) .Fields.Append .CreateField("transmit", dbBoolean) .Fields.Append .CreateField("modif", dblong) End With dbdest.TableDefs.Append tdf The problem is how generate a CreateField Autonumber?? Thanks Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Rocky Smolin - Beach Access Software Enviado el: domingo, 02 de marzo de 2003 22:27 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] AUTONUMBER In the design view of the table the combo box under the data type for the field has Autonumber as an option. Rocky Smolin Beach Access Software ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 1:10 PM Subject: [AccessD] AUTONUMBER > Hi all... I have a problem creating a new data structure. > > How to create an Autonumber field?? > We check the help of Access and there isn't any help of this. In the > begining we use a Long digit, but this isn't enough. > > Some ideas?? > > Thanks > > Juan Menendez > Mastercafe SL > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbusergroups at optushome.com.au Sun Mar 2 16:59:00 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Sun Mar 2 16:59:00 2003 Subject: [AccessD] AUTONUMBER Message-ID: <200303022258.h22MwqT20872@mail013.syd.optusnet.com.au> Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 From mastercafe at ctv.es Sun Mar 2 17:15:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sun Mar 2 17:15:01 2003 Subject: [AccessD] AUTONUMBER In-Reply-To: <200303022258.h22MwqT20872@mail013.syd.optusnet.com.au> Message-ID: Really very simple, many thanks with this.... Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B Enviado el: domingo, 02 de marzo de 2003 23:59 Para: accessd at databaseadvisors.com Asunto: Re: RE: [AccessD] AUTONUMBER Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at achmea.nl Mon Mar 3 03:15:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon Mar 3 03:15:01 2003 Subject: [AccessD] Integration IPAQ and Telephone Message-ID: Dear group, I am looking for information, tips, trics or sample applications for the following - Integrate compaqs Ipaq with an access application. So export data from the access database to the ipaq - Integrate a telephone service in Access. For example if you put in the phoneline into a modem in the pc. Can I read out the telephone number?. Any help, suggestions are welcom, Thanks, marcel "MastercafeCTV" @databaseadvisors.com op 03-03-2003 00:13:09 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: cc: Onderwerp: RE: RE: [AccessD] AUTONUMBER Really very simple, many thanks with this.... Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B Enviado el: domingo, 02 de marzo de 2003 23:59 Para: accessd at databaseadvisors.com Asunto: Re: RE: [AccessD] AUTONUMBER Hello MastercafeCTV, .Fields.Append .CreateField("MyAutoNumber", dbLong) .Fields("MyAutoNumber").Attributes = dbAutoIncrField ======= At 2003-03-02, 23:52:00 you wrote: ======= >Excuse me... I explain very bad... sorry. > >This is the main code > >Dim ws As Workspace >Dim db As Database >Dim dbdest As Database >Dim tdf As TableDef > >Set db = CurrentDb >Set ws = DBEngine.Workspaces(0) >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) >Set tdf = dbdest.CreateTableDef("Base Clientes") >With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) >End With >dbdest.TableDefs.Append tdf > >The problem is how generate a CreateField Autonumber?? > >Thanks > >Juan Menendez >Mastercafe SL > > Best regards. Joshua B jbusergroups at optushome.com.au 2003-03-03 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From j.r.porter at strath.ac.uk Mon Mar 3 04:19:01 2003 From: j.r.porter at strath.ac.uk (John R. Porter) Date: Mon Mar 3 04:19:01 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables In-Reply-To: <042701c2dffa$76817990$8e01a8c0@Rock> Message-ID: Do you have the address of the KB article? John R. Porter I.T.Services University of Strathclyde Jordanhill Campus 76 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel. 0141 950 3289 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: 01 March 2003 13:57 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access & Windows 2000 Performance issues with linked tables Another approach that does not require moving to SQL and yet delivers all the speed of a one-MDB solution is to use Replication Manager and place a local replica on each PC using the app. Then on the server you place the Replication manager itself and synchronize the local replicas with the "server" replica every 5 minutes or every hour or whatever interval is appropriate to your app. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 1, 2003 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables Hello All, I was asked recently to move a database that I created three years ago from a Win NT 4.0 Server server to a new Windows 2000 Server server. The database application that I developed is built on a FE, a BE and a MDA file and also a .mdw file. When the backend is on the NT server, performance is fine, but when I move it to the new Windows 2000 server ( a super duper server with loads of disk / ram / processor ), it grinds to a halt. To make a long story short, it appears that Microsoft have introduced something to the Win2K and WinXP OS's that cause linked tables to perform very slowly. There is an article in the KB about this. Their suggestion (as opposed to the fix) is instead of talking to the properties of the linked tables, to programatically open the backend and talk directly to the properties of the source tables. In my case, I would have to re-write the entire application and it is not ecomomical to do so, a better alternative to that would be simply to rebuild the app in SQL and use ADO. However, I had another idea which was to bring the BE back into the FE and leave it as one .mdb file. When I tried that it solved my problem. The purpose of this email is to share the information with you guys and ask if you have experienced this also. Incidently, the 'normal' operations such as reading data, querying etc, was never impaired, it was only when talking to linked tables, If you wish to demonstrate this for yourself, create a db with one table and with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win 2k machine, it can be Pro or Server. Then create another db and link to Somename_BE.mdb. Finally, let the form wizard create a new form and pull all the fields in. The form creatation should talk you about ten seconds or so. If you do the same thing on a Win NT Server, it happens in one second. I do not know if this will help anyone, but hopefully it might. Best Regards Mark L. Breen Solution Providers Ltd Ireland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 3 05:29:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 05:29:00 2003 Subject: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: <000f01c2e00b$9360c550$0200a8c0@pappa> References: <000f01c2e00b$9360c550$0200a8c0@pappa> Message-ID: <1616332745.20030303122841@cactus.dk> Hi Bryan Well, I checked with my colleague again, and - yes - it may not reset anything but nevertheless it does something to Word. He has used this switch with success several times for exactly this purpose. /gustav >> Try running this command: >> >> winword.exe /a >> >> That should reset all registry settings of Word. > winword.exe /a doesn't actually reset anything. It just loads Word > without loading the normal.dot, any of the startup templates. > I think the switch you are thinking of is /r, but don't quote me on > that. It's not listed in the help file, so I think it's an undocumented > switch From Lembit.Soobik at t-online.de Mon Mar 3 05:32:00 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon Mar 3 05:32:00 2003 Subject: [AccessD] Integration IPAQ and Telephone References: Message-ID: <051d01c2e178$aafc45e0$0300a8c0@S856> marcel on your second point, there is software which will display the number (and name) of a caller on an ISDN line. Do not know how to do it with Analog lines. I am using a free software called power ISDN Monitor (German, so dont know whether that helps). The software writes a log of callers which you might be able to import into Access. the web site is www.powerisdnmonitor.de Lembit Soobik ----- Original Message ----- From: To: Sent: Monday, March 03, 2003 10:14 AM Subject: [AccessD] Integration IPAQ and Telephone > > Dear group, > > I am looking for information, tips, trics or sample applications for the > following > > - Integrate compaqs Ipaq with an access application. So export data from > the access database to the ipaq > - Integrate a telephone service in Access. For example if you put in the > phoneline into a modem in the pc. Can I read out the telephone number?. > > > Any help, suggestions are welcom, Thanks, > > marcel > > > > > > > > "MastercafeCTV" @databaseadvisors.com op 03-03-2003 > 00:13:09 > > Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-admin at databaseadvisors.com > > > Aan: > cc: > > Onderwerp: RE: RE: [AccessD] AUTONUMBER > > > Really very simple, many thanks with this.... > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B > Enviado el: domingo, 02 de marzo de 2003 23:59 > Para: accessd at databaseadvisors.com > Asunto: Re: RE: [AccessD] AUTONUMBER > > > Hello MastercafeCTV, > > .Fields.Append .CreateField("MyAutoNumber", dbLong) > .Fields("MyAutoNumber").Attributes = dbAutoIncrField > > > ======= At 2003-03-02, 23:52:00 you wrote: ======= > > >Excuse me... I explain very bad... sorry. > > > >This is the main code > > > >Dim ws As Workspace > >Dim db As Database > >Dim dbdest As Database > >Dim tdf As TableDef > > > >Set db = CurrentDb > >Set ws = DBEngine.Workspaces(0) > >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", > dbLangGeneral) > >Set tdf = dbdest.CreateTableDef("Base Clientes") > >With tdf > > .Fields.Append .CreateField("Cliente", dbText, 15) > > .Fields.Append .CreateField("ClteNombre", dbText, 50) > > .Fields.Append .CreateField("ClteFnac", dbDate) > > .Fields.Append .CreateField("acumcompra", dbSingle) > > .Fields.Append .CreateField("transmit", dbBoolean) > > .Fields.Append .CreateField("modif", dblong) > >End With > >dbdest.TableDefs.Append tdf > > > >The problem is how generate a CreateField Autonumber?? > > > >Thanks > > > >Juan Menendez > >Mastercafe SL > > > > > > > > Best regards. > Joshua B > jbusergroups at optushome.com.au > 2003-03-03 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at achmea.nl Mon Mar 3 06:12:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon Mar 3 06:12:01 2003 Subject: Betreft: Re: [AccessD] Integration IPAQ and Telephone Message-ID: Hi Lembit, Tnx. I have a similar tool with my isdn cart as a logging programming on the CAPI drivers. But what I am looking for is the following I would like that my CRM software, written in Access, responded with a telephone call. That is when the ?phone rings, automaticly the access applications pops up with the client information in the database. My link is the phonenumber but that should not be the problem. I have found some vb code which acts like an digital answering machine so I could distract the code I needed and then develop from there. I have to now how to put an application (in my case an access app) to pop up on activitity on a phoneline. Gr. marcel Lembit.Soobik at t-online.de (Lembit Soobik)@databaseadvisors.com op 03-03-2003 12:33:09 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: cc: Onderwerp: Re: [AccessD] Integration IPAQ and Telephone marcel on your second point, there is software which will display the number (and name) of a caller on an ISDN line. Do not know how to do it with Analog lines. I am using a free software called power ISDN Monitor (German, so dont know whether that helps). The software writes a log of callers which you might be able to import into Access. the web site is www.powerisdnmonitor.de Lembit Soobik ----- Original Message ----- From: To: Sent: Monday, March 03, 2003 10:14 AM Subject: [AccessD] Integration IPAQ and Telephone > > Dear group, > > I am looking for information, tips, trics or sample applications for the > following > > - Integrate compaqs Ipaq with an access application. So export data from > the access database to the ipaq > - Integrate a telephone service in Access. For example if you put in the > phoneline into a modem in the pc. Can I read out the telephone number?. > > > Any help, suggestions are welcom, Thanks, > > marcel > > > > > > > > "MastercafeCTV" @databaseadvisors.com op 03-03-2003 > 00:13:09 > > Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-admin at databaseadvisors.com > > > Aan: > cc: > > Onderwerp: RE: RE: [AccessD] AUTONUMBER > > > Really very simple, many thanks with this.... > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Joshua B > Enviado el: domingo, 02 de marzo de 2003 23:59 > Para: accessd at databaseadvisors.com > Asunto: Re: RE: [AccessD] AUTONUMBER > > > Hello MastercafeCTV, > > .Fields.Append .CreateField("MyAutoNumber", dbLong) > .Fields("MyAutoNumber").Attributes = dbAutoIncrField > > > ======= At 2003-03-02, 23:52:00 you wrote: ======= > > >Excuse me... I explain very bad... sorry. > > > >This is the main code > > > >Dim ws As Workspace > >Dim db As Database > >Dim dbdest As Database > >Dim tdf As TableDef > > > >Set db = CurrentDb > >Set ws = DBEngine.Workspaces(0) > >Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", > dbLangGeneral) > >Set tdf = dbdest.CreateTableDef("Base Clientes") > >With tdf > > .Fields.Append .CreateField("Cliente", dbText, 15) > > .Fields.Append .CreateField("ClteNombre", dbText, 50) > > .Fields.Append .CreateField("ClteFnac", dbDate) > > .Fields.Append .CreateField("acumcompra", dbSingle) > > .Fields.Append .CreateField("transmit", dbBoolean) > > .Fields.Append .CreateField("modif", dblong) > >End With > >dbdest.TableDefs.Append tdf > > > >The problem is how generate a CreateField Autonumber?? > > > >Thanks > > > >Juan Menendez > >Mastercafe SL > > > > > > > > Best regards. > Joshua B > jbusergroups at optushome.com.au > 2003-03-03 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From RGeldart at detma.org Mon Mar 3 07:45:01 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Mon Mar 3 07:45:01 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: Catching up on Friday's mail, but a quick tip... I used to use those car seat mats in summer--plastic webbing around thin wire coil springs. When they wear out in the winter throw them in the trunk. When you get stuck, just throw it under the driving wheel and pull away, leaving it behind. Found that old imitation grass door mats (Astro-Turf) will also work well. -----Original Message----- Subject: Re: [AccessD] OT Friday: Ice Adventure! Chains are required in many of the western mountain passes in the winter. Utah still sets up road blocks up a number of canyons and won't let anybody up without them on the idea that it's cheaper to pay the trooper to make sure only those who are prepared go up than it is to go in after the fact. However, in places like Minnesota, they're not only not used, but are illegal. From Lambert.Heenan at AIG.com Mon Mar 3 08:16:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon Mar 3 08:16:00 2003 Subject: [AccessD] OT Friday: Ice Adventure! Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038973FC@xlivmbx12.aig.com> And as any fan of "That 70's Show' knows, a bag of kitty litter makes an even more portable get-out-of-that-show-bank addition to your truck contents. > -----Original Message----- > From: Geldart, Robert [SMTP:RGeldart at detma.org] > Sent: Monday, March 03, 2003 8:44 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT Friday: Ice Adventure! > > Catching up on Friday's mail, but a quick tip... > > I used to use those car seat mats in summer--plastic webbing around thin > wire coil springs. When they wear out in the winter throw them in the > trunk. > When you get stuck, just throw it under the driving wheel and pull away, > leaving it behind. Found that old imitation grass door mats (Astro-Turf) > will also work well. > > > -----Original Message----- > Subject: Re: [AccessD] OT Friday: Ice Adventure! > > > Chains are required in many of the western mountain passes in the winter. > Utah still sets up road blocks up a number of canyons and won't let > anybody > up without them on the idea that it's cheaper to pay the trooper to make > sure only those who are prepared go up than it is to go in after the fact. > However, in places like Minnesota, they're not only not used, but are > illegal. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From subs at solution-providers.ie Mon Mar 3 08:21:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Mon Mar 3 08:21:00 2003 Subject: [AccessD] AUTONUMBER References: Message-ID: <002b01c2e191$d0f65fb0$356da8c0@IEW001> Hello Juan, The autonumber is actually a normal long field with an attribute set the way that you do it is fld.Attributes = dbAutoIncrField You can rework you code below to handle that and it will work perfectly. Hope that helps, Best Regards Mark L. Breen Solution Providers Ltd Ireland ----- Original Message ----- From: "MastercafeCTV" To: Sent: Sunday, March 02, 2003 10:52 PM Subject: RE: [AccessD] AUTONUMBER > Excuse me... I explain very bad... sorry. > > This is the main code > > Dim ws As Workspace > Dim db As Database > Dim dbdest As Database > Dim tdf As TableDef > > Set db = CurrentDb > Set ws = DBEngine.Workspaces(0) > Set dbdest = ws.CreateDatabase(cteTickets & "\actualiza.mdb", dbLangGeneral) > Set tdf = dbdest.CreateTableDef("Base Clientes") > With tdf > .Fields.Append .CreateField("Cliente", dbText, 15) > .Fields.Append .CreateField("ClteNombre", dbText, 50) > .Fields.Append .CreateField("ClteFnac", dbDate) > .Fields.Append .CreateField("acumcompra", dbSingle) > .Fields.Append .CreateField("transmit", dbBoolean) > .Fields.Append .CreateField("modif", dblong) > End With > dbdest.TableDefs.Append tdf > > The problem is how generate a CreateField Autonumber?? > > Thanks > > Juan Menendez > Mastercafe SL > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Rocky Smolin - > Beach Access Software > Enviado el: domingo, 02 de marzo de 2003 22:27 > Para: accessd at databaseadvisors.com > Asunto: Re: [AccessD] AUTONUMBER > > > In the design view of the table the combo box under the data type for the > field has Autonumber as an option. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "MastercafeCTV" > To: > Sent: Sunday, March 02, 2003 1:10 PM > Subject: [AccessD] AUTONUMBER > > > > Hi all... I have a problem creating a new data structure. > > > > How to create an Autonumber field?? > > We check the help of Access and there isn't any help of this. In the > > begining we use a Long digit, but this isn't enough. > > > > Some ideas?? > > > > Thanks > > > > Juan Menendez > > Mastercafe SL > > www.mastercafe.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Mon Mar 3 08:44:02 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 3 08:44:02 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark From DWUTKA at marlow.com Mon Mar 3 09:21:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 09:21:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 3 09:36:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 09:36:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821E7@main2.marlow.com> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Mar 3 10:00:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 3 10:00:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. >>> DWUTKA at marlow.com 03/03/03 10:35AM >>> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 3 10:25:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 10:25:00 2003 Subject: [AccessD] OT: Server Needed References: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Message-ID: <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From nkling at co.montgomery.ny.us Mon Mar 3 10:27:00 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon Mar 3 10:27:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302098DB4@elmo.co.montgomery.ny.us> Here's a thought: The Menu is dockable. Perhaps it has been dragged to the bottom of the MDI. Then it would still respond to Alt keystrokes, but might be missed when looking for it. Neal Kling -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 10:55 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. From wdhindman at bellsouth.net Mon Mar 3 10:33:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 3 10:33:01 2003 Subject: [AccessD] Test ...do not reply Message-ID: <007901c2e1a2$87c52130$6101a8c0@amd2k512> ...testing William Hindman From dmart06 at emory.edu Mon Mar 3 10:42:01 2003 From: dmart06 at emory.edu (Donna Martin) Date: Mon Mar 3 10:42:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: <0EAA9F4906BA554FA26E6F9F2C540302098DB4@elmo.co.montgomery.ny.us> Message-ID: <3E6385D2.72E076E0@emory.edu> I know you've probably already tried this, but if not, use Alt + C. Just thought I'd mention it. Donna Martin Neal Kling wrote: > Here's a thought: > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > MDI. Then it would still respond to Alt keystrokes, but might be missed > when looking for it. > > Neal Kling > > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Monday, March 03, 2003 10:55 AM > To: accessd at databaseadvisors.com > Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word > > I guess they are shortcuts, but pressing Alt w/out another key will > activate the menu bar, with nothing dropping down, until you press the > down arrow. I am not 100% sure though...maybe she has memorized that > Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. > > This user is in Niagara Falls, and I am 25 miles east, so I really > can't pop in and see her. I could, but with the drive and everything, it > turns into a half-day job, at least, and I really do not have time for > this, especially if I don't have a ready solution for the problem. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 3 10:49:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 10:49:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Nope, you don't need a hefty machine at all. You app isn't going to use many resources at all, just file sharing. I would recommend, if they are concerned about money, for them to just get a Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.) If you don't want to setup a domain, then you can stick with Windows 2000 Pro. If you want to setup a domain, then you'll need Windows 2000 (which ups the price, but you already knew that). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 03, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Server Needed Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 3 10:50:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 10:50:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: ALT+C? What's that for? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> dmart06 at emory.edu 03-Mar-03 11:41:54 AM >>> I know you've probably already tried this, but if not, use Alt + C. Just thought I'd mention it. Donna Martin Neal Kling wrote: > Here's a thought: > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > MDI. Then it would still respond to Alt keystrokes, but might be missed > when looking for it. From gustav at cactus.dk Mon Mar 3 11:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 11:00:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> References: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> <005e01c2e1a1$5f2e4f90$6601a8c0@HAL9002> Message-ID: <6636165202.20030303175913@cactus.dk> Hi Rocky For that scenario "anything" will do. I would recommend a brand name entry level server with onboard SCSI controller which allows for direct mounting of a tape drive for backup. These machines comes with a three year on-site warranty which will bring relief to your client while covering your .ss. Some of the newer models (HP ML 310) comes as standard with Gigabit network adapter, very nice. Drew is correct that close to any machine can run this. We have a client who runs a FileMaker database for 20 users off a 300 MHz HP notebook. It works and backup is to a DLT drive on an IBM NetWare server. But it doesn't mean that this is the first choice solution to recommend for anyone else. As a pro you have to start at a pro level, then - out of necessity - the client may have to decide for a lower level; this, however, wasn't your decision, that's the difference. /gustav > This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client > machines. Change anything in your opinion? From DWUTKA at marlow.com Mon Mar 3 11:00:12 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 11:00:12 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821F0@main2.marlow.com> Okay, well check out my post, with the link I had in my List post. That thread explains the shortcut issue. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 9:55 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I guess they are shortcuts, but pressing Alt w/out another key will activate the menu bar, with nothing dropping down, until you press the down arrow. I am not 100% sure though...maybe she has memorized that Alt+F get you the file menu, Alt+E opens the Edit menu, etc.. This user is in Niagara Falls, and I am 25 miles east, so I really can't pop in and see her. I could, but with the drive and everything, it turns into a half-day job, at least, and I really do not have time for this, especially if I don't have a ready solution for the problem. >>> DWUTKA at marlow.com 03/03/03 10:35AM >>> On the Alt key issue, are you talking about the menus, or the underlines showing the shortcut keys? I posted on Woody's lounge about the underlines not showing up until the Alt key is pressed. There is an accessibility option that covers that issue...and a display setting to. Here's the thread: http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page =5&view=collapsed&sb=5&o=0&fpart= Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Monday, March 03, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. I did find out from the technician that the menu bar's drop-down menus do appear, when the Alt key is pressed...actually, you must press Alt+F or Alt and then the down arrow, but in either event, this means that there is a menu present...it is just "invisible." I'll let y'all know how it turns out. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmart06 at emory.edu Mon Mar 3 11:00:24 2003 From: dmart06 at emory.edu (Donna Martin) Date: Mon Mar 3 11:00:24 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: Message-ID: <3E6389FF.55379C3F@emory.edu> I by chance the 'full screen' command has been executed, the Alt + C is 'Close Full Screen'. ...was just a thought... Donna Bryan Carbonnell wrote: > ALT+C? What's that for? > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> dmart06 at emory.edu 03-Mar-03 11:41:54 AM >>> > I know you've probably already tried this, but if not, use Alt + C. Just > thought I'd mention it. > > Donna Martin > > Neal Kling wrote: > > > Here's a thought: > > > > The Menu is dockable. Perhaps it has been dragged to the bottom of the > > MDI. Then it would still respond to Alt keystrokes, but might be missed > > when looking for it. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Mar 3 11:01:00 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon Mar 3 11:01:00 2003 Subject: [AccessD] Suppress Messages Message-ID: <008c01c2e1a6$f344fa80$a2c50a44@hr.cox.net> In an Access 97 application, I am creating multiple snapshot report files (using Docmd.OutputTo). I would like to supress the messages that are displayed saying "Now outputting page 1....". I tried using Docmd.Setwarnings false without any luck. Any ideas? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 3 11:04:01 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 11:04:01 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: AH!! OK. I never use full screen mode. That's why I didn't know what it was for. Thanks, Bryan Carbonnell bryan_carbonnell at cbc.ca >>> dmart06 at emory.edu 03-Mar-03 11:59:43 AM >>> I by chance the 'full screen' command has been executed, the Alt + C is 'Close Full Screen'. ...was just a thought... Donna Bryan Carbonnell wrote: > ALT+C? What's that for? > > Bryan Carbonnell > bryan_carbonnell at cbc.ca From gustav at cactus.dk Mon Mar 3 11:20:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 3 11:20:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Message-ID: <10337395081.20030303181943@cactus.dk> Hi Drew I like such cute non-hefty desktops stuffed with three SCSI drives, SCSI controller, insufficient cooling and no room for a tape drive. /gustav > Nope, you don't need a hefty machine at all. You app isn't going to use > many resources at all, just file sharing. > I would recommend, if they are concerned about money, for them to just get a > Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get > three hard drives. (SCSI...but that may be a bit expensive....), Mirror the > OS, and RAID a data drive (you can do all of that in Disk Management...with > Windows 2000, no RAID controller necessary.) If you don't want to setup a > domain, then you can stick with Windows 2000 Pro. If you want to setup a > domain, then you'll need Windows 2000 (which ups the price, but you already > knew that). From DWUTKA at marlow.com Mon Mar 3 11:35:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 11:35:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821F3@main2.marlow.com> Hey....I didn't say ANYTHING about stuffing them! Actually, if you remove the CD-Rom (after the installation)...then there is plenty of room for 3 SCSI drives...and you don't even need to add more fans if you don't want to....though it would be wise to add another case fan at least. What I love, is the people that want to order a 'server' just shy of a Cray Super computer, that they want to run a webserver on, through a 128k ISDN line. It's like putting a Chevy 350 V8 into a HotWheels matchbox car. Drew (Rocky, if you are reading this...just an FYI, Gustav is making a good point, keep the machine cool no matter what. If they go with a set of SCSI drives, you can get decent DAT tapes that run on the external SCSI port. We got one a year ago, for my work machine, I think it ball parked around 2 or 3 hundred...I could be off on that though. As far as cooling, I am running 4 IDE Hard drives in my Pentium III 500 mhz machine at home, and for a few bucks, I was able to put a PCI slot fan, and a 5 and 1/4" hard drive bay fan into it. No heat problems at all.) -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, March 03, 2003 11:20 AM To: Drew Wutka Subject: Re: [AccessD] OT: Server Needed Hi Drew I like such cute non-hefty desktops stuffed with three SCSI drives, SCSI controller, insufficient cooling and no room for a tape drive. /gustav > Nope, you don't need a hefty machine at all. You app isn't going to use > many resources at all, just file sharing. > I would recommend, if they are concerned about money, for them to just get a > Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get > three hard drives. (SCSI...but that may be a bit expensive....), Mirror the > OS, and RAID a data drive (you can do all of that in Disk Management...with > Windows 2000, no RAID controller necessary.) If you don't want to setup a > domain, then you can stick with Windows 2000 Pro. If you want to setup a > domain, then you'll need Windows 2000 (which ups the price, but you already > knew that). _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Mon Mar 3 11:35:45 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 3 11:35:45 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: John, Have the tech (or user) remove all the .dot's from Word's startup directory. Add one back at a time and restart Word to see which one is hiding the Menu Bar. Word's startup folder is generally: C:\Program Files\Microsoft Office\Office\Startup Bryan Carbonnell bryan_carbonnell at cbc.ca >>> John.Clark at niagaracounty.com 03-Mar-03 9:42:28 AM >>> Hello everyone! I was away from my Email all weekend, but now I am back to work, which means back to the problems that I was working on Friday. First on my plate, is this "missing menu bar" problem. I had a technician, who was nearby the user, try the "/a" parameter, and this worked. But I thought that this meant that the normal.dot file needed to be replaced, so we tried deleting it and copying one from another nearby, and similar, PC, and it did not work. This user actually sounds to be a little more tech savvy than our average user, so I am going to have her try the "/r" and see where that puts us. From cfoust at infostatsystems.com Mon Mar 3 11:41:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 11:41:00 2003 Subject: [AccessD] more on printing Message-ID: In case you haven't discovered it, using page setup will set the PrtDevMode and override you report.Printer settings. Not only that, it appears to override the report.PrtDevMode settings as well. We gave up on the Printer and PrtDevMode methods and went back to API calls. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Saturday, March 01, 2003 2:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] more on printing I think my main problem has been the definite separation between setting the default printer for the session and setting the printer for a particular form and report -- I think I'm OK now. :) Thanks everyone for your help and hope you don't hear from me again on the subject! ;) Susan H. > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use > the default printer if none is specified in the report properties > ...but you can > use OpenReport to preview the report, PrtDevNames to select an > available printer, and PrintOut to select its properties such as > copies to print, print range, print quality, etc. ...in other words it > is possible to use the > full range of available printers and their capabilities from code > ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default > > printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Mar 3 11:48:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 11:48:00 2003 Subject: [AccessD] Test ...do not reply In-Reply-To: <007901c2e1a2$87c52130$6101a8c0@amd2k512> Message-ID: Hey, is that you? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,228 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Monday, March 03, 2003 11:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Test ...do not reply ...testing William Hindman _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1872 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 3 11:57:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 3 11:57:00 2003 Subject: [AccessD] more on printing References: Message-ID: <000701c2e1ae$313e22b0$d2e6ffcc@SusanOne> I didn't know that -- that's kind of a problem, isn't it? ;) But, if the Page Setup dialog is available to the user, it kind of negates the need to customize the process anyway -- I would think for most apps anyway. It's good to know though -- thanks Charlotte. Some of us are API challenged -- in my case that's a euphemism for lazy. :) Susan H. > In case you haven't discovered it, using page setup will set the > PrtDevMode and override you report.Printer settings. Not only that, it > appears to override the report.PrtDevMode settings as well. We gave up > on the Printer and PrtDevMode methods and went back to API calls. > > Charlotte Foust From jbartow at earthlink.net Mon Mar 3 12:06:01 2003 From: jbartow at earthlink.net (John Bartow) Date: Mon Mar 3 12:06:01 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821EC@main2.marlow.com> Message-ID: Hi Rocky, Based on Drew's advice you might want to check out the (HP)Compaq W4000 (P4 2.4G, 512DDR, 18GB SCSI, CD/DVD). Its not a server but is SCSI based and has an open slot and external SCSI port open (for a tape backup, etc.). I picked one up for less than $900 a couple months ago. Includes (ships with) the option of Windows 2k or XPpro. I benchmarked it and it is a screamer (which you obviously don't need - but its hard to get a SCSI system at this price). My server is about 3 years old and I have never had a problem with it. Its a Dell PowerEdge Server (SCSI) and I added extra drive capacity and a 50 GB OnStream Tape backup system. HTH John B a good place to find the lowest price: http://w2knews.pricegrabber.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 03, 2003 10:49 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Nope, you don't need a hefty machine at all. You app isn't going to use many resources at all, just file sharing. I would recommend, if they are concerned about money, for them to just get a Pentium III or IV desktop. (I'd say at least 256 to 512 megs of RAM). Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.) If you don't want to setup a domain, then you can stick with Windows 2000 Pro. If you want to setup a domain, then you'll need Windows 2000 (which ups the price, but you already knew that). Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 03, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Server Needed Drew: This site will have no web or domain function. Email is through an ISP. Little hard data crunching. My app is the main app on the system and it is FE/BE (A2K) with the FEs on the client machines. Change anything in your opinion? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 03, 2003 7:20 AM Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Mar 3 12:11:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 3 12:11:00 2003 Subject: [AccessD] Access & Windows 2000 Performance issues with linked tables References: Message-ID: <3E639A9D.10508@shaw.ca> One other thing that can cause slowness in Win2000 client to Win2000 server. You should try turning off opportunistic locking (OPLOCKS), which allows client side caching of files. Here is two of the links to the info: Configuring Opportunistic Locking in Windows 2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;q296264 Things that slow Jet 4.0 http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B303528#11 MSFT has released a couple of patches for NT/2000 that fix the bugs, but I'd try turning it off before applying them, as it's much simpler. Or apply the latest Win2000 service pack SP-3 This doesn't affect Win9x client to Win2000 server. I believe you can set registry settings on either the client (to enable/disable it from 'asking' for opportunistic locking), or on the server (to enable/disable whether it allows it to be asked). John R. Porter wrote: >Do you have the address of the KB article? > >John R. Porter >I.T.Services >University of Strathclyde >Jordanhill Campus >76 Southbrae Drive >Glasgow >G13 1PP >e-mail: j.r.porter at strath.ac.uk >Tel. 0141 950 3289 > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller >Sent: 01 March 2003 13:57 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access & Windows 2000 Performance issues with >linked tables > > >Another approach that does not require moving to SQL and yet delivers all >the speed of a one-MDB solution is to use Replication Manager and place a >local replica on each PC using the app. Then on the server you place the >Replication manager itself and synchronize the local replicas with the >"server" replica every 5 minutes or every hour or whatever interval is >appropriate to your app. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen >Sent: March 1, 2003 5:26 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access & Windows 2000 Performance issues with linked >tables > >Hello All, > >I was asked recently to move a database that I created three years ago from >a Win NT 4.0 Server server to a new Windows 2000 Server server. > >The database application that I developed is built on a FE, a BE and a MDA >file and also a .mdw file. > >When the backend is on the NT server, performance is fine, but when I move >it to the new Windows 2000 server ( a super duper server with loads of disk >/ ram / processor ), it grinds to a halt. > >To make a long story short, it appears that Microsoft have introduced >something to the Win2K and WinXP OS's that cause linked tables to perform >very slowly. There is an article in the KB about this. > >Their suggestion (as opposed to the fix) is instead of talking to the >properties of the linked tables, to programatically open the backend and >talk directly to the properties of the source tables. > >In my case, I would have to re-write the entire application and it is not >ecomomical to do so, a better alternative to that would be simply to rebuild >the app in SQL and use ADO. > >However, I had another idea which was to bring the BE back into the FE and >leave it as one .mdb file. When I tried that it solved my problem. > >The purpose of this email is to share the information with you guys and ask >if you have experienced this also. > >Incidently, the 'normal' operations such as reading data, querying etc, was >never impaired, it was only when talking to linked tables, > >If you wish to demonstrate this for yourself, create a db with one table and >with about eight fields or so. Save the db as Somename_BE.mdb on a > = Win >2k machine, it can be Pro or Server. Then create another db and link to >Somename_BE.mdb. Finally, let the form wizard create a new form and pull >all the fields in. The form creatation should talk you about ten seconds or >so. If you do the same thing on a Win NT Server, it happens in one second. > >I do not know if this will help anyone, but hopefully it might. > >Best Regards > > >Mark L. Breen >Solution Providers Ltd >Ireland > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From mwhittinghill at symphonyinfo.com Mon Mar 3 12:20:01 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Mon Mar 3 12:20:01 2003 Subject: [AccessD] CreateWorkspace Message-ID: <001801c2e1b1$e1a4cc50$0300000a@Pascal> Hi all, When creating a workspace object for a transaction, I used to always use: Set ws = DBEngine.Workspaces(0) Then when I began doing nested transactions, I used this for the inner transaction, as DBEngine.Workspaces(0) was already taken, and this inner workspace could possibly be DBEngine.Workspaces(0) from a different context: Set ws = CreateWorkspace("", "admin", "") (assumes Jet security not used) Is there any reason not to just always use the CreateWorkspace method? Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 From my.lists at verizon.net Mon Mar 3 12:36:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon Mar 3 12:36:01 2003 Subject: [AccessD] Database in an Unexpected state..., or Calling all DB minds, we have a suspect database... Message-ID: <006501c2e1b3$d9f93a20$b615010a@FHTAPIA> : A little background... : : The client is not mine (honestly he's not). A client of my brother in law, : who has a networking company, "had" a database who was built in Access 2000. : It was not broken up into the FE/BE method, instead each user (4 users in : all) had a link to the database and worked that way... I don't know the SR : version of Access or the SP's of their Windows OSes... :( sorry. Anyhow, : One Fine day (Saturday) the owner of the db went to open it from his machine : when it suddenly crashed. He called on my Brother in law to fix his PC and : get his database up and running the "EXACT" error word for word is this... : : xxxxxxxxxxxxxxxxxxxxxxxxxx : Microsoft Access : ------------------ : This database is in an unexpected state; Microsoft Access can't open it. : : This database has been converted from a prior version of Microsoft Access by : using the DAO CompactDatabase method instead of the Convert Database command : on the Tools menu (Database Utilities submenu). This has left the database : in a partially converted state. : : If you have a copy of the database in its original format, use the Convert : Database command on the Tools menu (Database Utilities submenu) to convert : it. If the original database is no longer available, create a new database : and import your tables and queries to preserve your data. Your other : database objects can't be recovered. : : [OK] : xxxxxxxxxxxxxxxxxxxxxxxxxx : so what did we try?, : 1) /decompile (not successful) : 2) could not repair and compact from inside access because of the above : error : 3) jetcomp 4 utility (not successful) : 4) attempted to open it w/ AccessXP (curtesy of William), (Not successful) : 5) /repair from the command line (idea from John Colby) (Not successful). : : While the Database has now been restored from over 3 days ago (Wednesday : last week) I realize restoring this copy of the database seems moot, but in : many ways perhaps not... I'd like to know the solution in case I ever run : into it again... : : : -Francisco : http://rcm.netfirms.com : : From JHewson at karta.com Mon Mar 3 12:49:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 3 12:49:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim From jcolby at colbyconsulting.com Mon Mar 3 13:06:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 13:06:00 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Message-ID: Jim, AFAIK this is not possible using the built in controls of Access. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,230 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 03, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2160 bytes Desc: not available URL: From JHewson at karta.com Mon Mar 3 13:14:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 3 13:14:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A5E@NT04> Thanks. > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 03, 2003 1:05 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Colorful List Box Question > > Jim, > > AFAIK this is not possible using the built in controls of Access. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,230 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Monday, March 03, 2003 1:49 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Colorful List Box Question > > > > Folks, > > Is it possible to have a single row colored in a list box determined by > its > value? > For example: > Row 2 colored red > Row 3 colored green > Row 4 colored yellow > > Data would look like this > > A Obsolete > B Active > C Reserve (Not yet Obsolete) > D Active > E Restraint > F Obsolete > > Access 2000 > > TIA > > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 3 13:20:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 3 13:20:00 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: References: Message-ID: <1046719125.3e63aa95b770b@hosea.qub.ac.uk> www.lebans.com has a demo of something like this. Not sure excatly hpw it works or even if it meets your needs. Martin Quoting "John W. Colby" : > Jim, > > AFAIK this is not possible using the built in controls of Access. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,230 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Monday, March 03, 2003 1:49 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Colorful List Box Question > > > > Folks, > > Is it possible to have a single row colored in a list box determined by > its > value? > For example: > Row 2 colored red > Row 3 colored green > Row 4 colored yellow > > Data would look like this > > A Obsolete > B Active > C Reserve (Not yet Obsolete) > D Active > E Restraint > F Obsolete > > Access 2000 > > TIA > > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From StaRKeY at Wanadoo.nl Mon Mar 3 14:01:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon Mar 3 14:01:01 2003 Subject: [AccessD] Colorful List Box Question In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A5D@NT04> Message-ID: Jim, No control but if you feel a bit creative you could try a couple of textboxes placed on top of eachother combining to the look of a listbox and have all the 'row' props you want. Ofcourse the filling of each textbox would be a bit more tricky but hey, you win some you lose some;-) (Maybe someone can come up with a class, create your own index for the object and have some data manipulation feast:-)) Regards, Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: maandag 3 maart 2003 19:49 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is virus free Virus Database (VPS): 28-2-2003 Tested on: 3-3-2003 20:54:54 (c) 2000-2003 ALWIL Software. http://www.avast.com (Freeware) From hsimpson88 at hotmail.com Mon Mar 3 14:11:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon Mar 3 14:11:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Word will recreate Normal.dot if it is missing. There is never any need to copy it from another machine. Ordinarily, you may safely delete all copies of Normal.dot at any time. Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word >Date: Mon, 3 Mar 2003 09:35:52 -0600 > >On the Alt key issue, are you talking about the menus, or the underlines >showing the shortcut keys? > >I posted on Woody's lounge about the underlines not showing up until the >Alt >key is pressed. There is an accessibility option that covers that >issue...and a display setting to. > >Here's the thread: >http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=219818&page >=5&view=collapsed&sb=5&o=0&fpart= > >Drew > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Monday, March 03, 2003 8:42 AM >To: accessd at databaseadvisors.com >Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word > > >Hello everyone! > >I was away from my Email all weekend, but now I am back to work, which >means back to the problems that I was working on Friday. First on my >plate, is this "missing menu bar" problem. > >I had a technician, who was nearby the user, try the "/a" parameter, >and this worked. But I thought that this meant that the normal.dot file >needed to be replaced, so we tried deleting it and copying one from >another nearby, and similar, PC, and it did not work. > >This user actually sounds to be a little more tech savvy than our >average user, so I am going to have her try the "/r" and see where that >puts us. > >I did find out from the technician that the menu bar's drop-down menus >do appear, when the Alt key is pressed...actually, you must press Alt+F >or Alt and then the down arrow, but in either event, this means that >there is a menu present...it is just "invisible." > >I'll let y'all know how it turns out. > >Take care! > >John W Clark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From martyconnelly at shaw.ca Mon Mar 3 15:01:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 3 15:01:01 2003 Subject: [AccessD] more on printing References: <000701c2e1ae$313e22b0$d2e6ffcc@SusanOne> Message-ID: <3E63C273.20107@shaw.ca> On Ken Getz's site http://www.mcwtech.com try these two methods I used a variation on these to scan through all reports and identify what the original code was calling or had setup as a printer attached to ther report. I have an mdb that does this somewhere. Under Publications Download DefaultPRT.ZIP, a sample Access 97 project for changing your default printer at runtime. If you're printing, and want to change the output device simply, this code is for you. and Download a replacement for Ch10.MDB (Access 97 Developer's Handbook) containing the full set of forms (missing from the book's CD). Or you can try this alternate from Albert D. Kallal (kallal at msn.com) Printer settings in mde comp.databases.ms-access While you can't change the printer settings in a MDE, you actually don't want to store the printer with report anyway. In other words, you should NOT be storing the printer name with the report. If you leave all reports with NO printer name, then simple solution becomes to change the current windows default printer. The following code will do just that. This code is minimal, and is smaller than the daily FAQ posted in this newsgroup. Just paste the following into a module. Option Compare Database Option Explicit '************************ ' Printer setup module ' Set/retrieves the default printer - originaly for VB6 ' Works for A97/a2000 ' This is minimal code. ' Albert D.Kallal - 01/13/2002, kallal at msn.com ' Rev history: Date Who notes ' 01/13/2002 Albert D. kallal ' ' I wrote this after looking at some the code on the net. Some of the routines ' to change a printer were approaching 500 + of lines of code. Just the printer ' constant defs was over 100 lines of code! Yikes! (not mention the whole thing being ' 4 or more modules! How in heck is one supposed to add a simple printer change to ' ones app? The solution is below! ' In addition the code on dev's site has some bugs, and will cause windows to show ' *more* than one printer as the default. This is especially noticeable on windows ME. The ' code here does NOT have this problem. ' I have not had time to clean this code up...it is "as is" ' I use only TWO API's (the 3rd one is optional). There is a total of only 4 functions! ' KISS is the word. Keep it simple stupid. I don't care about device drivers, or the ' port number. All these routines just work with the simple printer name. If you do ' actually care about the device driver and port stuff..then use the one of many ' examples available on the net. Those other examples also deal with margins, orientation ' etc. ' ' You can paste this code into a module..and away you go ' '************************ ' How to use ' To get the default printer ' debug.print GetDefaultPrinter ' To set the default printer ' debug.print SetDefaultPrinter("HP Laser JET") ' above returns true if success. ' To get a list of printers suitable for a listbox, or combo ' debug.print GetPrinters (in forms on-load event you ' would use: ' Me.Combo0.RowSource = GetPrinters ' Me.Combo0 = GetDefaultPrinter ' the first line loads up the combo box, the 2nd sets ' the combo to the default. ' ' that is all there folks! ' ' Thus, when printing a report, you can: ' ' 1) save the default printer into a string ' strCurrentPtr = GetDefaultPrinter ' 2) switch to your report printer ' SetDefaultPrinter strReportsPtr ' 3) print report ' 4) switch back to the default printer ' SetDefaultPrinter strCurrentPtr ' Private Const HWND_BROADCAST As Long = &HFFFF& Private Const WM_WININICHANGE As Long = &H1A ' The following code allows one to read, and write to the WIN.INI files ' In win 2000 the printer settings are actually in the registry. However, windows ' handles this correctly ' Private Declare Function GetProfileString Lib "kernel32" _ Alias "GetProfileStringA" _ (ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As String, _ ByVal nSize As Long) As Long Private Declare Function WriteProfileString Lib "kernel32" _ Alias "WriteProfileStringA" _ (ByVal lpszSection As String, _ ByVal lpszKeyName As String, _ ByVal lpszString As String) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" _ (ByVal hwnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ lparam As Any) As Long Private Function fstrDField(mytext As String, delim As String, groupnum As Integer) As String ' this is a standard delimiter routine that every developer I know has. ' This routine has a million uses. This routine is great for splitting up ' data fields, or sending multiple parms to a openargs of a form ' ' Parms are ' mytext - a delimited string ' delim - our delimiter (usually a , or / or a space) ' groupnum - which of the delimited values to return ' Dim startpos As Integer, endpos As Integer Dim groupptr As Integer, chptr As Integer chptr = 1 startpos = 0 For groupptr = 1 To groupnum - 1 chptr = InStr(chptr, mytext, delim) If chptr = 0 Then fstrDField = "" Exit Function Else chptr = chptr + 1 End If Next groupptr startpos = chptr endpos = InStr(startpos + 1, mytext, delim) If endpos = 0 Then endpos = Len(mytext) + 1 End If fstrDField = Mid$(mytext, startpos, endpos - startpos) End Function Function SetDefaultPrinter(strPrinterName As String) As Boolean Dim strDeviceLine As String Dim strBuffer As String Dim lngbuf As Long ' get the full device string ' strBuffer = Space(1024) lngbuf = GetProfileString("PrinterPorts", strPrinterName, "", strBuffer, Len(strBuffer)) 'Write out this new printer information in ' WIN.INI file for DEVICE item If lngbuf > 0 Then strDeviceLine = strPrinterName & "," & _ fstrDField(strBuffer, Chr(0), 1) & "," & _ fstrDField(strBuffer, Chr(0), 2) Call WriteProfileString("windows", "Device", strDeviceLine) SetDefaultPrinter = True ' Below is optional, and should be done. It updates the existing windows ' so the "default" printer icon changes. If you don't do the below..then ' you will often see more than one printer as the default! The reason *not* ' to do the SendMessage is that many open applications will now sense the change ' in printer. I vote to leave it in..but your case you might not want this. ' Call SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, ByVal "windows") Else SetDefaultPrinter = False End If End Function Function GetDefaultPrinter() As String Dim strDefault As String Dim lngbuf As Long strDefault = String(255, Chr(0)) lngbuf = GetProfileString("Windows", "Device", "", strDefault, Len(strDefault)) If lngbuf > 0 Then GetDefaultPrinter = fstrDField(strDefault, ",", 1) Else GetDefaultPrinter = "" End If End Function Function GetPrinters() As String ' this routine returns a list of printers, separated by ' a ";", and thus the results are suitable for stuffing into a combo box Dim strBuffer As String Dim strOnePtr As String Dim intPos As Integer Dim lngChars As Long strBuffer = Space(2048) lngChars = GetProfileString("PrinterPorts", vbNullString, "", strBuffer, Len(strBuffer)) If lngChars > 0 Then intPos = InStr(strBuffer, Chr(0)) Do While intPos > 1 strOnePtr = Left(strBuffer, intPos - 1) strBuffer = Mid(strBuffer, intPos + 1) If GetPrinters <> "" Then GetPrinters = GetPrinters & ";" GetPrinters = GetPrinters & strOnePtr intPos = InStr(strBuffer, Chr(0)) Loop Else GetPrinters = "" End If End Function Public Function testPrintersGet() Debug.Print GetDefaultPrinter Debug.Print GetPrinters End Function -------------------------------------------------------------------------------- Susan Harkins wrote: >I didn't know that -- that's kind of a problem, isn't it? ;) But, if the >Page Setup dialog is available to the user, it kind of negates the need to >customize the process anyway -- I would think for most apps anyway. It's >good to know though -- thanks Charlotte. > >Some of us are API challenged -- in my case that's a euphemism for lazy. :) > >Susan H. > > > > >>In case you haven't discovered it, using page setup will set the >>PrtDevMode and override you report.Printer settings. Not only that, it >>appears to override the report.PrtDevMode settings as well. We gave up >>on the Printer and PrtDevMode methods and went back to API calls. >> >>Charlotte Foust >> >> > > > From cfoust at infostatsystems.com Mon Mar 3 15:22:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 15:22:00 2003 Subject: [AccessD] more on printing Message-ID: That's more or less what we're using because we've found the Printer method and the PrtDevMode method of the report object to be not as robust as one might have been led to expect in Access 2002. Those methods weren't available in any of the earlier versions, so I had high hopes for them. But since Ctl+P is a Windows hotkey, I haven't found a way to prevent users from setting options that override the settings made using the report objects Printer or PrtDevMode methods. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 03, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] more on printing On Ken Getz's site http://www.mcwtech.com try these two methods I used a variation on these to scan through all reports and identify what the original code was calling or had setup as a printer attached to ther report. I have an mdb that does this somewhere. Under Publications Download DefaultPRT.ZIP, a sample Access 97 project for changing your default printer at runtime. If you're printing, and want to change the output device simply, this code is for you. and Download a replacement for Ch10.MDB (Access 97 Developer's Handbook) containing the full set of forms (missing from the book's CD). Or you can try this alternate from Albert D. Kallal (kallal at msn.com) Printer settings in mde comp.databases.ms-access While you can't change the printer settings in a MDE, you actually don't want to store the printer with report anyway. In other words, you should NOT be storing the printer name with the report. If you leave all reports with NO printer name, then simple solution becomes to change the current windows default printer. The following code will do just that. This code is minimal, and is smaller than the daily FAQ posted in this newsgroup. Just paste the following into a module. Option Compare Database Option Explicit '************************ ' Printer setup module ' Set/retrieves the default printer - originaly for VB6 ' Works for A97/a2000 ' This is minimal code. ' Albert D.Kallal - 01/13/2002, kallal at msn.com ' Rev history: Date Who notes ' 01/13/2002 Albert D. kallal ' ' I wrote this after looking at some the code on the net. Some of the routines ' to change a printer were approaching 500 + of lines of code. Just the printer ' constant defs was over 100 lines of code! Yikes! (not mention the whole thing being ' 4 or more modules! How in heck is one supposed to add a simple printer change to ' ones app? The solution is below! ' In addition the code on dev's site has some bugs, and will cause windows to show ' *more* than one printer as the default. This is especially noticeable on windows ME. The ' code here does NOT have this problem. ' I have not had time to clean this code up...it is "as is" ' I use only TWO API's (the 3rd one is optional). There is a total of only 4 functions! ' KISS is the word. Keep it simple stupid. I don't care about device drivers, or the ' port number. All these routines just work with the simple printer name. If you do ' actually care about the device driver and port stuff..then use the one of many ' examples available on the net. Those other examples also deal with margins, orientation ' etc. ' ' You can paste this code into a module..and away you go ' '************************ ' How to use ' To get the default printer ' debug.print GetDefaultPrinter ' To set the default printer ' debug.print SetDefaultPrinter("HP Laser JET") ' above returns true if success. ' To get a list of printers suitable for a listbox, or combo ' debug.print GetPrinters (in forms on-load event you ' would use: ' Me.Combo0.RowSource = GetPrinters ' Me.Combo0 = GetDefaultPrinter ' the first line loads up the combo box, the 2nd sets ' the combo to the default. ' ' that is all there folks! ' ' Thus, when printing a report, you can: ' ' 1) save the default printer into a string ' strCurrentPtr = GetDefaultPrinter ' 2) switch to your report printer ' SetDefaultPrinter strReportsPtr ' 3) print report ' 4) switch back to the default printer ' SetDefaultPrinter strCurrentPtr ' Private Const HWND_BROADCAST As Long = &HFFFF& Private Const WM_WININICHANGE As Long = &H1A ' The following code allows one to read, and write to the WIN.INI files ' In win 2000 the printer settings are actually in the registry. However, windows ' handles this correctly ' Private Declare Function GetProfileString Lib "kernel32" _ Alias "GetProfileStringA" _ (ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As String, _ ByVal nSize As Long) As Long Private Declare Function WriteProfileString Lib "kernel32" _ Alias "WriteProfileStringA" _ (ByVal lpszSection As String, _ ByVal lpszKeyName As String, _ ByVal lpszString As String) As Long Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" _ (ByVal hwnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ lparam As Any) As Long Private Function fstrDField(mytext As String, delim As String, groupnum As Integer) As String ' this is a standard delimiter routine that every developer I know has. ' This routine has a million uses. This routine is great for splitting up ' data fields, or sending multiple parms to a openargs of a form ' ' Parms are ' mytext - a delimited string ' delim - our delimiter (usually a , or / or a space) ' groupnum - which of the delimited values to return ' Dim startpos As Integer, endpos As Integer Dim groupptr As Integer, chptr As Integer chptr = 1 startpos = 0 For groupptr = 1 To groupnum - 1 chptr = InStr(chptr, mytext, delim) If chptr = 0 Then fstrDField = "" Exit Function Else chptr = chptr + 1 End If Next groupptr startpos = chptr endpos = InStr(startpos + 1, mytext, delim) If endpos = 0 Then endpos = Len(mytext) + 1 End If fstrDField = Mid$(mytext, startpos, endpos - startpos) End Function Function SetDefaultPrinter(strPrinterName As String) As Boolean Dim strDeviceLine As String Dim strBuffer As String Dim lngbuf As Long ' get the full device string ' strBuffer = Space(1024) lngbuf = GetProfileString("PrinterPorts", strPrinterName, "", strBuffer, Len(strBuffer)) 'Write out this new printer information in ' WIN.INI file for DEVICE item If lngbuf > 0 Then strDeviceLine = strPrinterName & "," & _ fstrDField(strBuffer, Chr(0), 1) & "," & _ fstrDField(strBuffer, Chr(0), 2) Call WriteProfileString("windows", "Device", strDeviceLine) SetDefaultPrinter = True ' Below is optional, and should be done. It updates the existing windows ' so the "default" printer icon changes. If you don't do the below..then ' you will often see more than one printer as the default! The reason *not* ' to do the SendMessage is that many open applications will now sense the change ' in printer. I vote to leave it in..but your case you might not want this. ' Call SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, ByVal "windows") Else SetDefaultPrinter = False End If End Function Function GetDefaultPrinter() As String Dim strDefault As String Dim lngbuf As Long strDefault = String(255, Chr(0)) lngbuf = GetProfileString("Windows", "Device", "", strDefault, Len(strDefault)) If lngbuf > 0 Then GetDefaultPrinter = fstrDField(strDefault, ",", 1) Else GetDefaultPrinter = "" End If End Function Function GetPrinters() As String ' this routine returns a list of printers, separated by ' a ";", and thus the results are suitable for stuffing into a combo box Dim strBuffer As String Dim strOnePtr As String Dim intPos As Integer Dim lngChars As Long strBuffer = Space(2048) lngChars = GetProfileString("PrinterPorts", vbNullString, "", strBuffer, Len(strBuffer)) If lngChars > 0 Then intPos = InStr(strBuffer, Chr(0)) Do While intPos > 1 strOnePtr = Left(strBuffer, intPos - 1) strBuffer = Mid(strBuffer, intPos + 1) If GetPrinters <> "" Then GetPrinters = GetPrinters & ";" GetPrinters = GetPrinters & strOnePtr intPos = InStr(strBuffer, Chr(0)) Loop Else GetPrinters = "" End If End Function Public Function testPrintersGet() Debug.Print GetDefaultPrinter Debug.Print GetPrinters End Function ------------------------------------------------------------------------ -------- Susan Harkins wrote: >I didn't know that -- that's kind of a problem, isn't it? ;) But, if >the Page Setup dialog is available to the user, it kind of negates the >need to customize the process anyway -- I would think for most apps >anyway. It's good to know though -- thanks Charlotte. > >Some of us are API challenged -- in my case that's a euphemism for >lazy. :) > >Susan H. > > > > >>In case you haven't discovered it, using page setup will set the >>PrtDevMode and override you report.Printer settings. Not only that, it >>appears to override the report.PrtDevMode settings as well. We gave up >>on the Printer and PrtDevMode methods and went back to API calls. >> >>Charlotte Foust >> >> > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 3 15:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 3 15:49:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D821E5@main2.marlow.com> Message-ID: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> I was reading some threads that suggested that a Linux box might be used as the server. I have no idea how to configure this. Boxes a-f hit a server which hitherto has been a winX box. If have read the thread correctly, I can subst a Linux box for any given server in the farm. Small company, say 4 servers. Can I build server Documents as a Linux box and hit it from the numerous WinX boxes like they didn't even know it was a Linux server? I tend to stay at one level, so forgive me if my questions reveal much ignorance. Could I put a huge number of documents mostly media and DWMX &c. files on a Linux box and transparently hit them from a local inst of DWMX, say, running on winXP and having no idea that the server in question is running Mandrake 9.x? Is this true? If so, way cool! And how do I build it? If so, how far can one push this scenario? Could an Access MDB live on a Linux server and be accessible from x, y and z users on win98, 2K and XP? I'm not an OS-level guy, hence these questions :-) Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 3, 2003 10:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Server Needed Rocky, it is a common misconception that you need a rocking CPU for a server. That is absolutely not true. There are a few 'purposes' of a server, and not all of them require massive processor speeds, or tons of memory. 1 - File Sharing 2 - Domain Control 3 - Network 'Service' Server (Proxy, Email Server, Web Server, etc). 4 - Server Computing (Hard data crunching) 5 - Server Side databases. You need to realize the real limiting factors on a server. First is network bandwidth. a 100 megabit line is roughly 12 megabytes per second. That is not a lot. It is a fraction of the speed of a typical IDE drive. If you go to a gigabit line, then you have a much larger data transfer rate (10x, so you are talking roughly 120 megabytes per second...which is faster then your typical IDE drive, but it is still less then a SCSI Raid configuration). So, if you are just setting up file transfers, then you don't need much of a machine to do it. It can have minimal CPU Speed (even Pentium or Pentium II....though I personally wouldn't go lower then a Pentium III to be on the safe side), and memory doesn't have to be whopping (256 megs would do). This is because the file sharing is going to be slower then actual file usage used locally (do to the pipe the data is going through). A faster CPU or more memory isn't going to push the data through faster. Domain Controllers don't need to be whoppers either. I think we are running a Pentium II (desktop) for a Primary Domain Controller here. No problems. It doesn't have to do all that much as far as processing goes. Network services. Well, it depends. We run everything but our mail server on Pentium III desktops. (Proxy, web, intranet, etc.). It all runs fine. Again, it is going to boil down to the network tunnel involved. With a webserver, a common misconception is that you need to have a huge machine to handle massive transactions. Absolutely not true. In a web server, you have an even smaller pipe (we have a T1 here), so the data is being sent through an even slower connection. Now, if you have a lot of Server Side scripting, where the server is creating pages on the fly, then you do need a decent CPU, and the more ram you have, the more pages that are 'cached'. But again, you don't need a Cray. Email servers can require a bit more power though. We use an Exchange Server. It's got a dual processor, with 2 gigs of RAM. The real catch is how heavy it is used internally. (for in house comms). Server Computing. This is where the most power is needed. There are software packages out there that use server CPU time pretty heavily. For example, we have a package called FlowTherm, and FlowStress. These packages perform massive heat calculations, over and over and over. If you run this software on a server, obviously the more CPU and memory you have the better. Server Side Databases. You do need power on these. But again, you are limitted by your network speed. However, your processor is going to do a lot of work independant of the network traffic, so it probably should be pretty fast, with lots of memory to boot. Just my two cents. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, March 02, 2003 12:06 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 3 16:07:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 3 16:07:00 2003 Subject: [AccessD] OT: Server Needed Message-ID: <2F8793082E00D4119A1700B0D0216BF801D821FC@main2.marlow.com> From ralphb at cwgsy.net Mon Mar 3 16:24:00 2003 From: ralphb at cwgsy.net (Ralph Bryce) Date: Mon Mar 3 16:24:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word In-Reply-To: Message-ID: <5.2.0.9.0.20030303221021.038c1910@mail.cwgsy.net> >Word will recreate Normal.dot if it is missing. That's true, but it's a brand new "blank" template created from Word default settings. >There is never any need to copy it from another machine. Ordinarily, you >may safely delete all copies of Normal.dot at any time. Bear in mind, though, that Normal.dot may (and probably will) contain user-defined Autotext entries, styles, macros and toolbars (i.e. much of the user's environment) which all disappear if normal.dot is deleted. So save a copy before deleting, then if you do have a corrupt normal template (a not uncommon occurrence) you can use Word's Organiser to copy stuff back selectively to the new normal.dot and reconstruct the environment. HTH Ralph B From cfoust at infostatsystems.com Mon Mar 3 16:42:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 16:42:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Mon Mar 3 16:59:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 3 16:59:00 2003 Subject: [AccessD] OT: Server Needed In-Reply-To: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> References: <006801c2e1ce$96b5e1d0$8e01a8c0@Rock> Message-ID: <1046732525.4784.63.camel@sgsax-th4022c> Arthur, The tool that does this is samba. See this URL: http://us1.samba.org/samba/samba.html for full info. Samba is a cross-platform implementation of the SMB protocol. When you run samba, the box you run it on shows up in your Windows workgroup as an NT server. You can set folders and printers to be shared just like on a windows machine, which can be browsed transparently through the Network Neighborhood. I've never tried it, but the documentation claims you can even set the machine running samba as the PDC for the domain. I have used samba on linux and it works quite nicely. There is now way you would know that you are not browsing a Windows machine. Performance is as good as browsing any other share on the domain. The file type and file system doesn't matter. Samba makes it all transparent. Seth On Mon, 2003-03-03 at 15:48, Arthur Fuller wrote: > I was reading some threads that suggested that a Linux box might be used as > the server. I have no idea how to configure this. Boxes a-f hit a server > which hitherto has been a winX box. If have read the thread correctly, I can > subst a Linux box for any given server in the farm. Small company, say 4 > servers. Can I build server Documents as a Linux box and hit it from the > numerous WinX boxes like they didn't even know it was a Linux server? I tend > to stay at one level, so forgive me if my questions reveal much ignorance. > Could I put a huge number of documents mostly media and DWMX &c. files on a > Linux box and transparently hit them from a local inst of DWMX, say, running > on winXP and having no idea that the server in question is running Mandrake > 9.x? Is this true? If so, way cool! And how do I build it? > > > > If so, how far can one push this scenario? Could an Access MDB live on a > Linux server and be accessible from x, y and z users on win98, 2K and XP? > I'm not an OS-level guy, hence these questions :-) > > > > Arthur > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bchacc at san.rr.com Mon Mar 3 17:52:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 17:52:00 2003 Subject: [AccessD] Record Selector Withevents Demo References: Message-ID: <01d901c2e1df$d0ae5dc0$6601a8c0@HAL9002> John: I do something similar, ala carte, in my (fabulously) bound forms: Private Sub cboAgreements_AfterUpdate() Me.RecordsetClone.FindFirst "[fldRAHID] = " & cboAgreements.Value If Me.RecordsetClone.NoMatch Then MsgBox "Agreement Number not found.", vbExclamation Else Me.Bookmark = Me.RecordsetClone.Bookmark End If cmdExit.SetFocus cboAgreements.Visible = False End Sub which displays a rental agreement selected from the combo box. (Of course the "Agreement Number not found.", code should never execute.) What is the advantage of what you've done vs. this? Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Sunday, March 02, 2003 8:10 AM Subject: [AccessD] Record Selector Withevents Demo > I have added another withevents demo class to my site that is actually > useful if you like the technique. This class creates a combo box that is > used as a record selector for finding records in bound forms. The class is > initialized passing in the form, the record selector combo and a text box > bound to the autonumber PK field. When the user selects a record in the > combo, the AfterUpdate event handler in the class is activated. It finds > the record in the form and sets the form's bookmark to that record so that > the form "moves to" that record. The class exposes a public method that the > form's current event calls that keeps the record selector combo pointing to > the same record that the form is on if the user moves through the records > manually by page down etc. > > This class is fully functional, and can be used in your projects simply by > importing the class, cutting and pasting the combo and text box onto your > form, binding the text box to the PK field for that form, and setting the > combo's SQL to the recID and one or more fields that allow the user to > choose a record. Cut and paste the code in the demo form and you are up and > running with a record selector on any bound form. > > The demo is fully functional and demonstrates this technique. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,208 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Mon Mar 3 18:08:00 2003 From: papparuff at attbi.com (John Ruff) Date: Mon Mar 3 18:08:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: Message-ID: <004001c2e1e1$fb51f9e0$6401a8c0@papparuff> Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Mar 3 18:12:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 3 18:12:00 2003 Subject: [AccessD] OT: Server Needed References: <012b01c2e081$d69a13a0$6601a8c0@HAL9002> Message-ID: <01e301c2e1e2$9b9ecf90$6601a8c0@HAL9002> Thanks to all who replied to this thread. It was both educational for me and valuable for the client. is ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Saturday, March 01, 2003 10:06 PM Subject: [AccessD] OT: Server Needed Dear List: Excuse the OT please but I know someone will know the answer: I have a client who wants to upgrade the server on his network. There's about 10 seats on his network, of which maybe 6 are being used. Seems to me that he could use any good, fast P4 box with 1/2 gig of RAM , etc. Which is well under $1000 these days from dell, or gateway, with three years on-site. A local, old, fairly reputable company in San Diego - Datel - is quoting him $1457 for and Intel entry level server with a P4 (speed unknown), 512MB RAM, 80GB HD, with DUAL LAN RAID - whatever that is. Plus another $775 for "WIN 2000 SVR W/5 CLIENT SP3 OEM-CD". Plus something between 5 and 10 hours of installation charged at a price unspecified in the quote. Right now his "server" is an old Win98 box, slow, but effective. My question is, what is the difference between a box that someone like Dell calls a server and an ordinary computer? Does he need a server? MTIA, Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Mar 3 18:40:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 3 18:40:00 2003 Subject: [AccessD] Record Selector Withevents Demo In-Reply-To: <01d901c2e1df$d0ae5dc0$6601a8c0@HAL9002> Message-ID: There is no "Advantage" as such. Yours does exactly what mine does. the difference is that mine is a class, that uses two controls to "feed the process". Notice that since the text box txtRecID is bound, the name of the field that it is bound to is available to me in a property of the text box. I can simply read that property out to determine what the string should be for the filter. It's just exactly what you are doing but generic. Cut and paste the two controls (RecSel combo and RecID text box) into the form, bind the text box, set the SQL for the combo and init the class and you are done. Of course in my framework I do it slightly different. I use a naming convention to determine that the combo passed in is a record selector. If it is, I search for and grab a reference to the RecID control on my form. I always have one on every (bound) form anyway since it is useful for other control SQL statements etc. In the same class I do the NotInList and DblClick event handlers so I have a generic "do it all" combo class, pretty similar to merging the two combo classes that are on my site. I split them apart specifically to make them easier to understand. In my framework it is just a single class that does all of the above and more. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,237 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, March 03, 2003 6:52 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Record Selector Withevents Demo John: I do something similar, ala carte, in my (fabulously) bound forms: Private Sub cboAgreements_AfterUpdate() Me.RecordsetClone.FindFirst "[fldRAHID] = " & cboAgreements.Value If Me.RecordsetClone.NoMatch Then MsgBox "Agreement Number not found.", vbExclamation Else Me.Bookmark = Me.RecordsetClone.Bookmark End If cmdExit.SetFocus cboAgreements.Visible = False End Sub which displays a rental agreement selected from the combo box. (Of course the "Agreement Number not found.", code should never execute.) What is the advantage of what you've done vs. this? Rocky ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Sunday, March 02, 2003 8:10 AM Subject: [AccessD] Record Selector Withevents Demo > I have added another withevents demo class to my site that is actually > useful if you like the technique. This class creates a combo box that is > used as a record selector for finding records in bound forms. The class is > initialized passing in the form, the record selector combo and a text box > bound to the autonumber PK field. When the user selects a record in the > combo, the AfterUpdate event handler in the class is activated. It finds > the record in the form and sets the form's bookmark to that record so that > the form "moves to" that record. The class exposes a public method that the > form's current event calls that keeps the record selector combo pointing to > the same record that the form is on if the user moves through the records > manually by page down etc. > > This class is fully functional, and can be used in your projects simply by > importing the class, cutting and pasting the combo and text box onto your > form, binding the text box to the PK field for that form, and setting the > combo's SQL to the recID and one or more fields that allow the user to > choose a record. Cut and paste the code in the demo form and you are up and > running with a record selector on any bound form. > > The demo is fully functional and demonstrates this technique. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,208 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3800 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 3 19:07:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 3 19:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: Thanks for the suggestion, John. Unfortunately, in our case, Outlook doesn't hang, only Access. Interestingly enough, on some of our machines, if Outlook is minimized, the Access doesn't hang, but if it is open on the desktop, even if Access is on top, then Access hangs when it tries to reconnect to its own back end. I'm going to rewrite the code to reattach the tables and see if new code using DAO (there are reasons) but written entirely from scratch, will behave the same way. Charlotte Foust -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Monday, March 03, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastercafe at ctv.es Mon Mar 3 23:23:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon Mar 3 23:23:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: Message-ID: MessageWe use an external control to make SMTP with A2k, is the same using A2k and AXP with W2k or W98SE. In other side we check the hang and don't occur on machines who use only Microsoft applications, but if you install some another libraries then some problems with hang appear. Check Fath Software to see his SMTP control, is cheap and friendly to use in Access Juan Menendez -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Charlotte Foust Enviado el: martes, 04 de marzo de 2003 02:03 Para: accessd at databaseadvisors.com Asunto: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Thanks for the suggestion, John. Unfortunately, in our case, Outlook doesn't hang, only Access. Interestingly enough, on some of our machines, if Outlook is minimized, the Access doesn't hang, but if it is open on the desktop, even if Access is on top, then Access hangs when it tries to reconnect to its own back end. I'm going to rewrite the code to reattach the tables and see if new code using DAO (there are reasons) but written entirely from scratch, will behave the same way. Charlotte Foust -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Monday, March 03, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Charlotte, I had a similar problem when trying to send email with Access2K/XP under either Win2K or WinXP (with or without Redemption; it didn't matter if Outlook was open or not; but I didn't have the current db opened in a 2nd DAO worspace). I found that if there was an error in my send Email procedure that the instance of Outlook that was initiated through the send Email procedure was not closing. Consequently, two instances of Outlook was running. The next time I tried to send an email through the Email procedure, Access would sometimes hang, but Outlook would always hang. Using the Task Manager to stop all instances of Outlook and/or Access did not always make things right so I ended up doing a reboot to get everything to work properly. I found through trial and error that the Outlook resources initiated in the Email procedure were not being released. When I changed the procedure to insure that these resource were released, even if an error occured, my problem was resolved. Evidently, in my case anyway, Win2K and WinXP do not like two instances of Outlook running. If you are using the code I sent you, but you modified it so that the releasing of resources in not after the SendEmail_Exit Label, or that you've removed the error trapping portion, or you've modified the error trapping whereby you are bypassing the releasing of resources, that might be your culprit. John V. Ruff ? The Eternal Optimist J Always Looking For Contract Opportunities www.noclassroom.com Live software training Right over the Internet Home: 253.588.2139 Cell: 253.307/2947 9306 Farwest Dr SW Lakewood, WA 98498 ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, March 03, 2003 2:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcel.vreuls at achmea.nl Tue Mar 4 02:41:00 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue Mar 4 02:41:00 2003 Subject: Betreft: [AccessD] Colorful List Box Question Message-ID: Jim, I am looking for the samething but cannot find it. On lebans it is color each record in a differentcolor and after row 16 start again. Also stephen told me their is no standard control for this. I have found some 3rd party controls like vListbox mBox but they al cannot do it. Now I am looking at Janus Grid controls to make this happen. Let you know!! Gr. marcel Jim Hewson @databaseadvisors.com op 03-03-2003 19:48:44 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-admin at databaseadvisors.com Aan: "'accessd at databaseadvisors.com'" cc: Onderwerp: [AccessD] Colorful List Box Question Folks, Is it possible to have a single row colored in a list box determined by its value? For example: Row 2 colored red Row 3 colored green Row 4 colored yellow Data would look like this A Obsolete B Active C Reserve (Not yet Obsolete) D Active E Restraint F Obsolete Access 2000 TIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From mwp.reid at Queens-Belfast.AC.UK Tue Mar 4 03:04:00 2003 From: mwp.reid at Queens-Belfast.AC.UK (Martin Reid) Date: Tue Mar 4 03:04:00 2003 Subject: [AccessD] OT ADPS In-Reply-To: Message-ID: Someone was asking how Access stored Access specific properties when working with an ADP and SQL Server. Heres the answer The only access specific table is dtproperties. SQL SEM and VS tools use it too for storing database diagrams. All of the extended properties that access uses are saved in SQL 2000. Martin Martin WP Reid Information Services Queens University Belfast Tel: (02890) 273750 ---------------------- From marcel.vreuls at achmea.nl Tue Mar 4 04:35:01 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue Mar 4 04:35:01 2003 Subject: !!: [AccessD] Colorful List Box Question Message-ID: Jim, I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox. MB Extended ListBox Control version 1.0 Copyright 1999 Marco Bellinaso Download the latest version of the control on www.vb2themax.com Gr. marcel ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From CWortz at tea.state.tx.us Tue Mar 4 07:25:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 4 07:25:00 2003 Subject: [AccessD] RE: Deploying a database, Security and Network issues Message-ID: Wayne, Split first, secure second, move to network third. The .mdw can be located on the network or on your hard drive. Since I deal with multiple versions of Access, I always set up a shortcut to each Access application as such. "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "C:\Program Files\Common Files\System\ThisAppsSystem.mdw" "full path to ThisApp" Notice in the above that the version of Access is first specified, then the .mdw to use in trying to open the app, and finally the app itself. If you only have one version of Access, then you do not need the first part. If you have any other questions about securing your Access app, please come on back to the list and we will try to answer them. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Wayne Knox [mailto:wknox at cmaaccess.com] Sent: Monday 2003 Mar 03 15:47 To: Wortz, Charles Subject: RE: Deploying a database, Security and Network issues Thanks Charles, I have had a look at the Access Security FAQ but I have to admit that most of it is over my head at this time. I will keep at it though. I guess my main concern was whether I needed to secure the DB prior to splitting into FE/BE or after. Also when I set up the Workgroup with Wrkgadm.exe, is this done on the target network or prior to leaving my developing computer(not on the network)? Anyway thanks again! I will keep digging. Wayne Knox Senior Trooper District DRE Coordinator DRE/SFST Instructor Texas Department of Public Safety 243 S. College La Grange, TX 78945 979-968-8982 Work 979-968-3928 Home 979-968-4994 Fax 512-801-8188 Cell wknox at cmaaccess.com -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, March 03, 2003 7:17 AM To: Wayne Knox Subject: FW:Deploying a database, Security and Network issues Wayne, Here is a reply I made to a similar request a few days ago. The Access Security FAQ is the place to start. After you have read it a few times, feel free to come back to the list with all your questions. Charles Wortz From bob at renaissancesiding.com Tue Mar 4 08:33:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue Mar 4 08:33:00 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <01C2E230.F79C2BF0.bob@renaissancesiding.com> Since I had such a heck of a time finding the actual file on this site, I thought that I'd put the direct link here for the rest of you. http://www.vb2themax.com/Downloads/Files/MBListEx.zip Alternatively, this link goes to Marco's gallery, with screenshots! http://www.vb2themax.com/MBGallery/Controls.asp# Many thanks to Marcel for locating this code! Bob Gajewski On Tuesday, March 04, 2003 05:34 AM, marcel.vreuls at achmea.nl [SMTP:marcel.vreuls at achmea.nl] wrote: > > Jim, > > I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox > > MB Extended ListBox Control > version 1.0 > Copyright 1999 Marco Bellinaso > Download the latest version of the control on www.vb2themax.com > > > Gr. marcel > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From JHewson at karta.com Tue Mar 4 08:44:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 08:44:01 2003 Subject: [AccessD] Colorful List Box Question Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A61@NT04> Thanks, Bob. I too had difficulty finding the actual file. I have it installed but have not had the opportunity to try it. Thanks Marcel for finding it. Jim -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Tuesday, March 04, 2003 8:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Colorful List Box Question Since I had such a heck of a time finding the actual file on this site, I thought that I'd put the direct link here for the rest of you. http://www.vb2themax.com/Downloads/Files/MBListEx.zip Alternatively, this link goes to Marco's gallery, with screenshots! http://www.vb2themax.com/MBGallery/Controls.asp# Many thanks to Marcel for locating this code! Bob Gajewski On Tuesday, March 04, 2003 05:34 AM, marcel.vreuls at achmea.nl [SMTP:marcel.vreuls at achmea.nl] wrote: > > Jim, > > I found a free control from vb2themax. Tried it in Access and it worked. at the moment I am writing a class to make it generic for each listbox > > MB Extended ListBox Control > version 1.0 > Copyright 1999 Marco Bellinaso > Download the latest version of the control on www.vb2themax.com > > > Gr. marcel > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 09:10:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 09:10:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: References: Message-ID: <1046790788.6175.39.camel@sgsax-th4022c> Charlotte, We've been experiencing something like this as well. I start the app which launches the autolinker. Since the autolinker is especially slow on restoring connections to my BE that sits on my Novell server, I will click to another app while I wait. It almost invariably ends up locking the Access app. The only thing that restores the system to a usable state is to forcibly close Access. I've tried looking through the code, but there's nothing obvious (to me at least) in there that would cause this to happen. Relinking to a BE on Novell is panifully slow even on Win98 machines. I've tried optimizing it, but it still takes up to four seconds for each table on Win98, and even longer on 2K or XP machines. Unfortunately, the problem doesn't appear to be the relinker itself. Using the built-in Linked Table Manager is still painfully slow. As a result I am "this close" to moving everything to a real database server and using ODBC. Of course, ODBC is likely to introduce its own performance hit. I would love to have a discussion on this topic. Seth On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > We're beating our heads against this one. Under certain specific > circumstances, both Access XP and 97 will hang running under WinXP. The > circumstances are that Outlook is running (either 2000 or XP) and you > toggle to the Outlook application during a portion of the operation when > Access is trying to reattach files using an instance of the current > database opened in a second DAO workspace. I'm trying to track down > anything on this problem and haven't had much luck. There are articles > about the ODBC drivers in multithreaded environments, but they seem to > apply more to SQL Server links and are supposed to be fixed by the > latest installation of Jet 4.x. Not on my machine, they aren't. > > Does anyone have any more information on this issue? We're also getting > reported hangs after an email is sent by our application on a client's > WinXP machine, but we haven't been able to replicate that. The primary > suspect in both cases is Outlook, even though we use the Redemption > library to bypass the direct MAPI calls. > > Suggestions? > > Charlotte Foust > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Lembit.Soobik at t-online.de Tue Mar 4 09:10:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue Mar 4 09:10:23 2003 Subject: [AccessD] DBA Executive Team Message-ID: <088c01c2e260$586b4cc0$0300a8c0@S856> Database Advisors Board of Directors has during its meeting on March-02-2003 elected an Executive team consisting of: President: Lembit Soobik Vicepresident: Donna Cook Treasurer: Keith Williamson Secretary: Kathryn Bessett John Colby was apointed Technical Director We have in the meantime apointed: Susan Harkins Publications Director Martin Reid Education & Training Director Further assignments will be announced soon. Please support above people in their effort to keep this list and the whole organization a helpful tool for you all. thank you Lembit Lembit Soobik From Bryan_Carbonnell at cbc.ca Tue Mar 4 09:41:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 4 09:41:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I have to add my $0.02 here. You should never store macros or custom toolbars in Normal.dot, BECAUSE it corrupts quite easily. Move all that stuff over to a template in the startup directory and then there will be no worries of deleting the Normal.dor. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> ralphb at cwgsy.net 03-Mar-03 5:23:31 PM >>> >Word will recreate Normal.dot if it is missing. That's true, but it's a brand new "blank" template created from Word default settings. >There is never any need to copy it from another machine. Ordinarily, you >may safely delete all copies of Normal.dot at any time. Bear in mind, though, that Normal.dot may (and probably will) contain user-defined Autotext entries, styles, macros and toolbars (i.e. much of the user's environment) which all disappear if normal.dot is deleted. So save a copy before deleting, then if you do have a corrupt normal template (a not uncommon occurrence) you can use Word's Organiser to copy stuff back selectively to the new normal.dot and reconstruct the environment. From gustav at cactus.dk Tue Mar 4 09:42:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 09:42:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <1046790788.6175.39.camel@sgsax-th4022c> References: <1046790788.6175.39.camel@sgsax-th4022c> Message-ID: <327714160.20030304164118@cactus.dk> Hi Seth I can't believe you're still struggling with this. We have never encountered a scenario that comes even close to what you describe. Which protocol(s) are you running? Have you tried setting up an isolated test environment? (You can use a "Drew style" server for this!) Don't you have a nearby Novell/database guru to work with on this? /gustav > Relinking to a BE on Novell is panifully slow even on Win98 machines. > I've tried optimizing it, but it still takes up to four seconds for each > table on Win98, and even longer on 2K or XP machines. Unfortunately, > the problem doesn't appear to be the relinker itself. Using the > built-in Linked Table Manager is still painfully slow. As a result I am > "this close" to moving everything to a real database server and using > ODBC. Of course, ODBC is likely to introduce its own performance hit. > I would love to have a discussion on this topic. From cfoust at infostatsystems.com Tue Mar 4 10:24:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 10:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP Message-ID: In our case, we aren't using Novell, and we're seeing the problem relinking to a local back end in the same folder as the FE. We can't rewrite all our apps, especially when we don't know what the problem really is. This stuff has been a gradual migration from the earliest versions of Access, and my bosses don't want to have to go through and try and change every DAO declaration to specify the DAO model so we could use and ADO relink instead. Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 04, 2003 7:13 AM To: accessd Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP Charlotte, We've been experiencing something like this as well. I start the app which launches the autolinker. Since the autolinker is especially slow on restoring connections to my BE that sits on my Novell server, I will click to another app while I wait. It almost invariably ends up locking the Access app. The only thing that restores the system to a usable state is to forcibly close Access. I've tried looking through the code, but there's nothing obvious (to me at least) in there that would cause this to happen. Relinking to a BE on Novell is panifully slow even on Win98 machines. I've tried optimizing it, but it still takes up to four seconds for each table on Win98, and even longer on 2K or XP machines. Unfortunately, the problem doesn't appear to be the relinker itself. Using the built-in Linked Table Manager is still painfully slow. As a result I am "this close" to moving everything to a real database server and using ODBC. Of course, ODBC is likely to introduce its own performance hit. I would love to have a discussion on this topic. Seth On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > We're beating our heads against this one. Under certain specific > circumstances, both Access XP and 97 will hang running under WinXP. > The circumstances are that Outlook is running (either 2000 or XP) and > you toggle to the Outlook application during a portion of the > operation when Access is trying to reattach files using an instance of > the current database opened in a second DAO workspace. I'm trying to > track down anything on this problem and haven't had much luck. There > are articles about the ODBC drivers in multithreaded environments, but > they seem to apply more to SQL Server links and are supposed to be > fixed by the latest installation of Jet 4.x. Not on my machine, they > aren't. > > Does anyone have any more information on this issue? We're also > getting reported hangs after an email is sent by our application on a > client's WinXP machine, but we haven't been able to replicate that. > The primary suspect in both cases is Outlook, even though we use the > Redemption library to bypass the direct MAPI calls. > > Suggestions? > > Charlotte Foust > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 10:58:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 10:58:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" .... Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, March 04, 2003 9:41 AM To: Seth Galitzer Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Hi Seth I can't believe you're still struggling with this. We have never encountered a scenario that comes even close to what you describe. Which protocol(s) are you running? Have you tried setting up an isolated test environment? (You can use a "Drew style" server for this!) Don't you have a nearby Novell/database guru to work with on this? /gustav > Relinking to a BE on Novell is panifully slow even on Win98 machines. > I've tried optimizing it, but it still takes up to four seconds for each > table on Win98, and even longer on 2K or XP machines. Unfortunately, > the problem doesn't appear to be the relinker itself. Using the > built-in Linked Table Manager is still painfully slow. As a result I am > "this close" to moving everything to a real database server and using > ODBC. Of course, ODBC is likely to introduce its own performance hit. > I would love to have a discussion on this topic. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 11:07:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 11:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Message-ID: <1046797836.6175.104.camel@sgsax-th4022c> Just as long as it's not analogous to "Colby Style" user "education". :) Seth On Tue, 2003-03-04 at 10:57, Drew Wutka wrote: > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From sgsax at ksu.edu Tue Mar 4 11:12:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 11:12:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <327714160.20030304164118@cactus.dk> References: <1046790788.6175.39.camel@sgsax-th4022c> <327714160.20030304164118@cactus.dk> Message-ID: <1046798096.6329.111.camel@sgsax-th4022c> Gustav, Frankly, I can't believe it either. File access has always been slower on Win2K & XP machines, for all files not just Access files. No amount of tweaking has recitified this on those platforms. It's just been recently that we've seen similar lag on Win98 machines, but only with Access linking to a BE on the server. Other file access seems unaffected. Here's what we've been trying that seems to help a bit on the 2K/XP machines: Novell Client Properties: Advanced Settings File Caching: Off File Commit: Off Protocol Preferences Preferred Protocol: IPX Network Properties: NWLink IPX/SPX/NetBIOS Compatible Transport Protocol Frame Type: 802.3 Network Number: Registry: Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace It has multiple subkeys named with GUIDs. Find the one that has a value called "Scheduled Tasks". Delete that subkey. These tweaks appear to reduce latency in opening files somewhat, but to nowhere near that of previous Win9x performance. On my Win98 machine, I just now tried moving IPX up in the Protocol Order list under Protocol Preferences in the Client properties. Along with setting the frame type and network number in IPX settings, this seems to have resolved the problem in that platform. One thing I have not tried is to install the Client with IPX only instead of IP & IPX. I'll need to do some more checking first to make sure that this won't interfere with using our NDSP printers or Zenworks workstation management. I have not tried setting up a small test lan. I'm still convinced it's a problem with the Client itself and not the server configuration. I have talked to other Novell admins around here (we all get together for lunch once a week), and they don't have any answers either. Novell's KB is fruitless even if you can manage to find what you're looking for. I've seen many sites that list performance tweaks for this issue on Win2K/XP and tried most of them, but none have helped to any significant degree. I'm as big a Novell fan as you'll find on this list. But this problem is driving me absolutely nuts. Got any more tips for performance tweaking? Seth On Tue, 2003-03-04 at 09:41, Gustav Brock wrote: > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From wdhindman at bellsouth.net Tue Mar 4 11:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 11:16:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D82207@main2.marlow.com> Message-ID: <001c01c2e271$ab5e48e0$6101a8c0@amd2k512> ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scott.marcus at ae.ge.com Tue Mar 4 11:24:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Tue Mar 4 11:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D24@bwam02msx.ae.ge.com> Seth, I'm digging back to a few years ago... I remember an issue similar to yours, very slow Access file performance and sometimes even being locked out, on Netware. It had something to do with the server cleaning up some type of file lock. It was set to every 24 hours (used to be every 1/2 hour). Unfortunately, IM would not change the setting back to 1/2 hour because it was causing other performance issues when set that low. I don't remember the name of the setting, I just remember the issue. I hope you find your answer. Scott Marcus -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 04, 2003 12:15 PM To: accessd Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Gustav, Frankly, I can't believe it either. File access has always been slower on Win2K & XP machines, for all files not just Access files. No amount of tweaking has recitified this on those platforms. It's just been recently that we've seen similar lag on Win98 machines, but only with Access linking to a BE on the server. Other file access seems unaffected. Here's what we've been trying that seems to help a bit on the 2K/XP machines: Novell Client Properties: Advanced Settings File Caching: Off File Commit: Off Protocol Preferences Preferred Protocol: IPX Network Properties: NWLink IPX/SPX/NetBIOS Compatible Transport Protocol Frame Type: 802.3 Network Number: Registry: Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComp uter\NameSpace It has multiple subkeys named with GUIDs. Find the one that has a value called "Scheduled Tasks". Delete that subkey. These tweaks appear to reduce latency in opening files somewhat, but to nowhere near that of previous Win9x performance. On my Win98 machine, I just now tried moving IPX up in the Protocol Order list under Protocol Preferences in the Client properties. Along with setting the frame type and network number in IPX settings, this seems to have resolved the problem in that platform. One thing I have not tried is to install the Client with IPX only instead of IP & IPX. I'll need to do some more checking first to make sure that this won't interfere with using our NDSP printers or Zenworks workstation management. I have not tried setting up a small test lan. I'm still convinced it's a problem with the Client itself and not the server configuration. I have talked to other Novell admins around here (we all get together for lunch once a week), and they don't have any answers either. Novell's KB is fruitless even if you can manage to find what you're looking for. I've seen many sites that list performance tweaks for this issue on Win2K/XP and tried most of them, but none have helped to any significant degree. I'm as big a Novell fan as you'll find on this list. But this problem is driving me absolutely nuts. Got any more tips for performance tweaking? Seth On Tue, 2003-03-04 at 09:41, Gustav Brock wrote: > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 11:58:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 11:58:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> Easy, actually. My personal computer at work.... Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: C: (System Root) 6 gigs mirrored (both SCSI drives). D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one of my IDE drives (the permanent one...the other IDE is removable) P: (Program Files) 6 gigs on permanent IDE drive Z: (Backup Data) Entire 20 gig removable IDE drive. My 'server' at home: One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the remainder of the first 30 gig drive. E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. All of the above is done using Windows 2000 Disk Management. I would like to have a RAID5 at home, but I needed the space...I'm practically full on my storage drive. The problem with running a RAID 5 on IDE, is that typically you only have 2 IDE controllers. So running three disks for the same drive can work, but it's not practical, since you are sacrificing speed. However, you can buy a PCI IDE controller, so you can then have three IDE drives that are NOT on the same controllers. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 11:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 4 12:04:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 12:04:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <1046798096.6329.111.camel@sgsax-th4022c> References: <1046790788.6175.39.camel@sgsax-th4022c> <327714160.20030304164118@cactus.dk> <1046798096.6329.111.camel@sgsax-th4022c> Message-ID: <7636228323.20030304190313@cactus.dk> Hi Seth Which NOS version? /gustav > Here's what we've been trying that seems to help a bit on the 2K/XP > machines: > Novell Client Properties: > Advanced Settings > File Caching: Off > File Commit: Off > Protocol Preferences > Preferred Protocol: IPX > Network Properties: > NWLink IPX/SPX/NetBIOS Compatible Transport Protocol > Frame Type: 802.3 > Network Number: From wdhindman at bellsouth.net Tue Mar 4 12:17:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 12:17:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> Message-ID: <007301c2e27a$27f52560$6101a8c0@amd2k512> ...so you've implemented a software RAID5 in Win2K using only three drives? ...to the best of my knowledge the Win2K OS can't reside on any of the hard drives configured as RAID5 by its software ...lord knows it would save some nice change in controller costs :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 12:57 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Easy, actually. My personal computer at work.... > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > C: (System Root) 6 gigs mirrored (both SCSI drives). > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > of my IDE drives (the permanent one...the other IDE is removable) > P: (Program Files) 6 gigs on permanent IDE drive > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > My 'server' at home: > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > remainder of the first 30 gig drive. > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > All of the above is done using Windows 2000 Disk Management. I would like > to have a RAID5 at home, but I needed the space...I'm practically full on my > storage drive. > > The problem with running a RAID 5 on IDE, is that typically you only have 2 > IDE controllers. So running three disks for the same drive can work, but > it's not practical, since you are sacrificing speed. However, you can buy a > PCI IDE controller, so you can then have three IDE drives that are NOT on > the same controllers. > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 11:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > that may be a bit expensive....), Mirror the OS, and RAID a data drive (you > can do all of that in Disk > Management...with Windows 2000, no RAID controller necessary.)" ...this must > be a Drew style RAID configuration that would leave the people at MS gasping > in amazement! :)))) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 11:57 AM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > style" > > .... > > > > Drew > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Tuesday, March 04, 2003 9:41 AM > > To: Seth Galitzer > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > Hi Seth > > > > I can't believe you're still struggling with this. We have never > > encountered a scenario that comes even close to what you describe. > > > > Which protocol(s) are you running? > > Have you tried setting up an isolated test environment? > > (You can use a "Drew style" server for this!) > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > /gustav > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > I've tried optimizing it, but it still takes up to four seconds for each > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > the problem doesn't appear to be the relinker itself. Using the > > > built-in Linked Table Manager is still painfully slow. As a result I am > > > "this close" to moving everything to a real database server and using > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > I would love to have a discussion on this topic. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Mar 4 12:37:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 4 12:37:07 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <007301c2e27a$27f52560$6101a8c0@amd2k512> References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> <007301c2e27a$27f52560$6101a8c0@amd2k512> Message-ID: <3838248939.20030304193653@cactus.dk> Hi William Nice to see you back - as vivid as ever! /gustav > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) From wdhindman at bellsouth.net Tue Mar 4 12:43:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 12:43:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220A@main2.marlow.com> <007301c2e27a$27f52560$6101a8c0@amd2k512> <3838248939.20030304193653@cactus.dk> Message-ID: <00c901c2e27d$d6f31740$6101a8c0@amd2k512> ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Tue Mar 4 12:48:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 4 12:48:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: Agree totally. Word becomes horribly buggy with significant increases in document complexity. The furthest I go with Normal.dot is to change font and margin defaults to match corporate guidelines. Over 95% of staff created documents are based on other purpose specific templates. I would never place any significant investment in Normal.dot but by all means make backups if you do. None, and I mean 0, of the people I work with are even aware of the existence of this file and that serves to keep my job simple. If anyone ever complains about loss of their normal template, we have 2 weeks of server backup from which to restore. No complaints or restores needed... yet. Hen >From: "Bryan Carbonnell" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word >Date: Tue, 04 Mar 2003 10:39:55 -0500 > >I have to add my $0.02 here. > >You should never store macros or custom toolbars in Normal.dot, BECAUSE it >corrupts quite easily. > >Move all that stuff over to a template in the startup directory and then >there will be no worries of deleting the Normal.dor. > >Bryan Carbonnell >bryan_carbonnell at cbc.ca > > >>> ralphb at cwgsy.net 03-Mar-03 5:23:31 PM >>> > > >Word will recreate Normal.dot if it is missing. > >That's true, but it's a brand new "blank" template created from Word >default settings. > > >There is never any need to copy it from another machine. Ordinarily, you > >may safely delete all copies of Normal.dot at any time. > >Bear in mind, though, that Normal.dot may (and probably will) contain >user-defined Autotext entries, styles, macros and toolbars (i.e. much of >the user's environment) which all disappear if normal.dot is deleted. > >So save a copy before deleting, then if you do have a corrupt normal >template (a not uncommon occurrence) you can use Word's Organiser to copy >stuff back selectively to the new normal.dot and reconstruct the >environment. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Tue Mar 4 12:53:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 12:53:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220C@main2.marlow.com> Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be on the same physical disks as a RAID5. You are limited to only setting it to a Mirror (You can't get it striped too, which would be a RAID 5). Does that make sense William? Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...so you've implemented a software RAID5 in Win2K using only three drives? ...to the best of my knowledge the Win2K OS can't reside on any of the hard drives configured as RAID5 by its software ...lord knows it would save some nice change in controller costs :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 12:57 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Easy, actually. My personal computer at work.... > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > C: (System Root) 6 gigs mirrored (both SCSI drives). > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > of my IDE drives (the permanent one...the other IDE is removable) > P: (Program Files) 6 gigs on permanent IDE drive > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > My 'server' at home: > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > remainder of the first 30 gig drive. > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > All of the above is done using Windows 2000 Disk Management. I would like > to have a RAID5 at home, but I needed the space...I'm practically full on my > storage drive. > > The problem with running a RAID 5 on IDE, is that typically you only have 2 > IDE controllers. So running three disks for the same drive can work, but > it's not practical, since you are sacrificing speed. However, you can buy a > PCI IDE controller, so you can then have three IDE drives that are NOT on > the same controllers. > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 11:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > that may be a bit expensive....), Mirror the OS, and RAID a data drive (you > can do all of that in Disk > Management...with Windows 2000, no RAID controller necessary.)" ...this must > be a Drew style RAID configuration that would leave the people at MS gasping > in amazement! :)))) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 11:57 AM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > style" > > .... > > > > Drew > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Tuesday, March 04, 2003 9:41 AM > > To: Seth Galitzer > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > Hi Seth > > > > I can't believe you're still struggling with this. We have never > > encountered a scenario that comes even close to what you describe. > > > > Which protocol(s) are you running? > > Have you tried setting up an isolated test environment? > > (You can use a "Drew style" server for this!) > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > /gustav > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > I've tried optimizing it, but it still takes up to four seconds for each > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > the problem doesn't appear to be the relinker itself. Using the > > > built-in Linked Table Manager is still painfully slow. As a result I am > > > "this close" to moving everything to a real database server and using > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > I would love to have a discussion on this topic. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Mar 4 12:55:17 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 4 12:55:17 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tablesunder WinXP References: Message-ID: <3E64F5BB.1000500@shaw.ca> One hint on this, I have seen from Michael Kaplan in a news groups a few years back. For linked tables, there is a LOT of info cached by Jet in the link as an optimization. However, sometimes backend changes are made and that cached info is not invalidated as it should be, and it causes a huge perf hit as Jet tries things that fail (at which point I have seen cases where even RefreshLink would not totally make this work right). The fix? If this is the problem? You should completely delete the links in the frontend, then after making sure you have recently defraged then compacted the backend and frontend, relink all the tables. Charlotte Foust wrote: >In our case, we aren't using Novell, and we're seeing the problem >relinking to a local back end in the same folder as the FE. We can't >rewrite all our apps, especially when we don't know what the problem >really is. This stuff has been a gradual migration from the earliest >versions of Access, and my bosses don't want to have to go through and >try and change every DAO declaration to specify the DAO model so we >could use and ADO relink instead. > >Charlotte Foust > >-----Original Message----- >From: Seth Galitzer [mailto:sgsax at ksu.edu] >Sent: Tuesday, March 04, 2003 7:13 AM >To: accessd >Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked >tablesunder WinXP > > >Charlotte, > >We've been experiencing something like this as well. I start the app >which launches the autolinker. Since the autolinker is especially slow >on restoring connections to my BE that sits on my Novell server, I will >click to another app while I wait. It almost invariably ends up locking >the Access app. The only thing that restores the system to a usable >state is to forcibly close Access. I've tried looking through the code, >but there's nothing obvious (to me at least) in there that would cause >this to happen. > >Relinking to a BE on Novell is panifully slow even on Win98 machines. >I've tried optimizing it, but it still takes up to four seconds for each >table on Win98, and even longer on 2K or XP machines. Unfortunately, >the problem doesn't appear to be the relinker itself. Using the >built-in Linked Table Manager is still painfully slow. As a result I am >"this close" to moving everything to a real database server and using >ODBC. Of course, ODBC is likely to introduce its own performance hit. > >I would love to have a discussion on this topic. > >Seth > >On Mon, 2003-03-03 at 16:38, Charlotte Foust wrote: > > >>We're beating our heads against this one. Under certain specific >>circumstances, both Access XP and 97 will hang running under WinXP. >>The circumstances are that Outlook is running (either 2000 or XP) and >>you toggle to the Outlook application during a portion of the >>operation when Access is trying to reattach files using an instance of >> >> > > > >>the current database opened in a second DAO workspace. I'm trying to >>track down anything on this problem and haven't had much luck. There >>are articles about the ODBC drivers in multithreaded environments, but >> >> > > > >>they seem to apply more to SQL Server links and are supposed to be >>fixed by the latest installation of Jet 4.x. Not on my machine, they >>aren't. >> >>Does anyone have any more information on this issue? We're also >>getting reported hangs after an email is sent by our application on a >>client's WinXP machine, but we haven't been able to replicate that. >>The primary suspect in both cases is Outlook, even though we use the >>Redemption library to bypass the direct MAPI calls. >> >>Suggestions? >> >>Charlotte Foust >> >> >> From EdTesiny at oasas.state.ny.us Tue Mar 4 13:03:01 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue Mar 4 13:03:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 13:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 13:08:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220E@main2.marlow.com> Go figure! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Tue Mar 4 13:24:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 13:24:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP References: <2F8793082E00D4119A1700B0D0216BF801D8220C@main2.marlow.com> Message-ID: <010b01c2e283$9326c560$6101a8c0@amd2k512> ...had I not seen the screen you sent me off list, I'd not have believed it :) ...but now I have to go and do some experimenting to see if I can make this play in SBS2K as well ...thanks :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 1:52 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be > on the same physical disks as a RAID5. You are limited to only setting it > to a Mirror (You can't get it striped too, which would be a RAID 5). > > Does that make sense William? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 12:57 PM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Easy, actually. My personal computer at work.... > > > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > > > C: (System Root) 6 gigs mirrored (both SCSI drives). > > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > > of my IDE drives (the permanent one...the other IDE is removable) > > P: (Program Files) 6 gigs on permanent IDE drive > > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > > > > My 'server' at home: > > > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > > remainder of the first 30 gig drive. > > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > > > All of the above is done using Windows 2000 Disk Management. I would like > > to have a RAID5 at home, but I needed the space...I'm practically full on > my > > storage drive. > > > > The problem with running a RAID 5 on IDE, is that typically you only have > 2 > > IDE controllers. So running three disks for the same drive can work, but > > it's not practical, since you are sacrificing speed. However, you can buy > a > > PCI IDE controller, so you can then have three IDE drives that are NOT on > > the same controllers. > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday, March 04, 2003 11:16 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > > that may be a bit expensive....), Mirror the OS, and RAID a data drive > (you > > can do all of that in Disk > > Management...with Windows 2000, no RAID controller necessary.)" ...this > must > > be a Drew style RAID configuration that would leave the people at MS > gasping > > in amazement! :)))) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Tuesday, March 04, 2003 11:57 AM > > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > > under WinXP > > > > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > > style" > > > .... > > > > > > Drew > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Tuesday, March 04, 2003 9:41 AM > > > To: Seth Galitzer > > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > > tables under WinXP > > > > > > > > > Hi Seth > > > > > > I can't believe you're still struggling with this. We have never > > > encountered a scenario that comes even close to what you describe. > > > > > > Which protocol(s) are you running? > > > Have you tried setting up an isolated test environment? > > > (You can use a "Drew style" server for this!) > > > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > > > /gustav > > > > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > > I've tried optimizing it, but it still takes up to four seconds for > each > > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > > the problem doesn't appear to be the relinker itself. Using the > > > > built-in Linked Table Manager is still painfully slow. As a result I > am > > > > "this close" to moving everything to a real database server and using > > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > > > I would love to have a discussion on this topic. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Mar 4 14:25:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 4 14:25:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 14:37:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 14:37:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8220F@main2.marlow.com> Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 4 14:38:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 4 14:38:01 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit References: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <018401c2e28d$d584c6f0$6101a8c0@amd2k512> Rates: For-Profit vs. Non-ProfitDan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 4 14:42:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 4 14:42:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <000d01c2e28e$c22f2c20$6a310cd8@hargrove.internal> If it is a legitimate non-profit, I believe you can take a tax write-off of the difference between what you billed them and what your normal rate is as a charitable contribution if you get it in writing. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, March 04, 2003 03:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 14:43:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 14:43:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit References: <000001c2e28c$04b22dc0$de1811d8@DanWaters> Message-ID: <04af01c2e28e$89624f30$d2ecffcc@SusanOne> Rates: For-Profit vs. Non-ProfitThere are no tax implications. I don't think you can write off a reduced rate. However, what you can do, is charge your normal rate, then donate the reduction back to the organization. They get the reduced rate, you get the tax deduction. If you're incorporated, I have no idea how it works. Susan H. Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 14:45:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 14:45:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82210@main2.marlow.com> I was wondering why this was being balked at, because I have been running setups like this almost since Windows 2000 Server came out. (In fact, we have several 'servers' in this setup....all beefed up desktops. (Our 'real' servers have RAID controllers, so the mirrors are usually their own drives, same with the RAIDs.). (Of the top of my head...East (holds main buildings home folders), WebServer, Intranet, Domain Controller,BackupServer (runs Veratos Backup on our network),NameServer (DNS and WINS). Admittedly, with a minimum of 5 drives, (2 for mirrored OS and 3 for RAID5) you have a little more redundancy since you can loose 2 drives (one in the mirror, one in the RAID), and you're alright. However, you can't lose any two drives. (2 in either the mirror or RAID kills ya). So with 3 drives running both, you have 1 drive failure covered, but not 2 in any instance. Then again, the odds of losing 2 drives at the same time is pretty slim, unless you have an external catalyst...like a power surge (which should be 'protected'), or a fire/flood. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 1:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...had I not seen the screen you sent me off list, I'd not have believed it :) ...but now I have to go and do some experimenting to see if I can make this play in SBS2K as well ...thanks :) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 1:52 PM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Yes and No. The OS can't be on the RAID 5 itself. But it certainly can be > on the same physical disks as a RAID5. You are limited to only setting it > to a Mirror (You can't get it striped too, which would be a RAID 5). > > Does that make sense William? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, March 04, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > drives configured as RAID5 by its software ...lord knows it would save some > nice change in controller costs :) > > William Hindman > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Tuesday, March 04, 2003 12:57 PM > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > under WinXP > > > > Easy, actually. My personal computer at work.... > > > > Two 20 gig IDE drives and 2 18 gig SCSI drives. Configured as such: > > > > C: (System Root) 6 gigs mirrored (both SCSI drives). > > D: (My Data Drive) 22 gigs (11 gigs on both SCSI drives and 11 gigs on one > > of my IDE drives (the permanent one...the other IDE is removable) > > P: (Program Files) 6 gigs on permanent IDE drive > > Z: (Backup Data) Entire 20 gig removable IDE drive. > > > > > > My 'server' at home: > > > > One 16 gig IDE, two 30Gig IDE and one 60 gig IDE. > > > > C: (system root) 6 gigs mirrored on one of the 30 gigs and the 16 gig. > > D: (Storage)98 gigs spanned on the other 30 gig, the 60 gig, and the > > remainder of the first 30 gig drive. > > E: (Data) 20 gigs striped between the first 30 gig and the 16 gig. > > > > All of the above is done using Windows 2000 Disk Management. I would like > > to have a RAID5 at home, but I needed the space...I'm practically full on > my > > storage drive. > > > > The problem with running a RAID 5 on IDE, is that typically you only have > 2 > > IDE controllers. So running three disks for the same drive can work, but > > it's not practical, since you are sacrificing speed. However, you can buy > a > > PCI IDE controller, so you can then have three IDE drives that are NOT on > > the same controllers. > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday, March 04, 2003 11:16 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > tables under WinXP > > > > > > ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but > > that may be a bit expensive....), Mirror the OS, and RAID a data drive > (you > > can do all of that in Disk > > Management...with Windows 2000, no RAID controller necessary.)" ...this > must > > be a Drew style RAID configuration that would leave the people at MS > gasping > > in amazement! :)))) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Tuesday, March 04, 2003 11:57 AM > > Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables > > under WinXP > > > > > > > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew > > style" > > > .... > > > > > > Drew > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Tuesday, March 04, 2003 9:41 AM > > > To: Seth Galitzer > > > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > > > tables under WinXP > > > > > > > > > Hi Seth > > > > > > I can't believe you're still struggling with this. We have never > > > encountered a scenario that comes even close to what you describe. > > > > > > Which protocol(s) are you running? > > > Have you tried setting up an isolated test environment? > > > (You can use a "Drew style" server for this!) > > > > > > Don't you have a nearby Novell/database guru to work with on this? > > > > > > /gustav > > > > > > > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > > > I've tried optimizing it, but it still takes up to four seconds for > each > > > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > > > the problem doesn't appear to be the relinker itself. Using the > > > > built-in Linked Table Manager is still painfully slow. As a result I > am > > > > "this close" to moving everything to a real database server and using > > > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > > > > > I would love to have a discussion on this topic. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 4 14:51:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 14:51:00 2003 Subject: [AccessD] MDE Message-ID: <04c401c2e28f$aae796a0$d2ecffcc@SusanOne> Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save From cfoust at infostatsystems.com Tue Mar 4 14:51:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:51:59 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: There isn't much problem running AXP and A97 on the same drive because they use different dlls (for the most part) and are based on different versions of VB. It's AXP and A2k that create havoc when run together. Unfortunately, different drives don't solve the problems because the dlls are still installed on your system drive. Charlotte Foust -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: 4. o?ujak 2003 11:03 To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Tue Mar 4 14:53:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 4 14:53:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <018401c2e28d$d584c6f0$6101a8c0@amd2k512> Message-ID: <000a01c2e28f$e6e80040$de1811d8@DanWaters> Wow! Glad I asked - I didn't know any of this. Thanks William! Dan -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 14:56:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:56:01 2003 Subject: [AccessD] OT ADPS Message-ID: You mean the form info is stored in SQL Server?? The object Access uses in the interface are stored in SQL? In that case, how come you can open an adp with a bad SQL connection and still see forms? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] Sent: 4. o?ujak 2003 1:04 To: accessd at databaseadvisors.com Subject: [AccessD] OT ADPS Someone was asking how Access stored Access specific properties when working with an ADP and SQL Server. Heres the answer The only access specific table is dtproperties. SQL SEM and VS tools use it too for storing database diagrams. All of the extended properties that access uses are saved in SQL 2000. Martin Martin WP Reid Information Services Queens University Belfast Tel: (02890) 273750 ---------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 14:59:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 14:59:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 15:02:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:02:06 2003 Subject: [AccessD] MDE Message-ID: No, it doesn't. acCmdSaveRecord works but acCmdSave is to save changes to the object design and you can't do that in an MDE. You'll get an error if you try. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 4. o?ujak 2003 12:50 To: AccessD at databaseadvisors.com Subject: [AccessD] MDE Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Tue Mar 4 15:09:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 4 15:09:00 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <1046812331.6175.152.camel@sgsax-th4022c> Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 4 15:12:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 4 15:12:01 2003 Subject: [AccessD] OT ADPS In-Reply-To: References: Message-ID: <1046812289.3e6516817b7c0@hosea.qub.ac.uk> The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access uses > in the interface are stored in SQL? In that case, how come you can open > an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Tue Mar 4 15:16:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 15:16:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A67@NT04> Just an added caveat. Invoice the non-profit organization with your full rate. When you get the payment, write them a check for the amount of the discount. You then have proof that you did not donate your time, you donated money. Then the amount donated is fully deductable. DO talk it over with their accountant - they have been down this road before. Jim -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Tue Mar 4 15:20:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 4 15:20:01 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A68@NT04> I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim From DWUTKA at marlow.com Tue Mar 4 15:20:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:20:08 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82215@main2.marlow.com> I don't have XP and 97 (I have 97 and 2k though), and installing on different drives only solves 1 of the concerns about dual installations. When you install 'upwards', you can tell 2k and XP to keep previous versions, this prevents it from overwriting registry entries for previous versions. Even with that option, you need to install in a different directory (since the .exe's are named the same), and one other item, is you need to 'rename' the program folder (in your start menu, because the new version will overwrite the old versions shortcuts....I know that's cosmetic, but it's something to keep in mind). However, installing backwards, 97 is not aware of 2k or XP, so it can very easily write over registry settings it doesn't know need to be set a particular way. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions There isn't much problem running AXP and A97 on the same drive because they use different dlls (for the most part) and are based on different versions of VB. It's AXP and A2k that create havoc when run together. Unfortunately, different drives don't solve the problems because the dlls are still installed on your system drive. Charlotte Foust -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: 4. o?ujak 2003 11:03 To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 15:23:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:23:00 2003 Subject: [AccessD] OT ADPS Message-ID: Yes, but Microsoft doesn't explain statements like that, Martin. So we have to rely on your knowledge instead. :o} Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: 4. o?ujak 2003 13:11 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT ADPS The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access > uses in the interface are stored in SQL? In that case, how come you > can open an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 15:23:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:23:19 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82216@main2.marlow.com> Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 15:25:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 15:25:01 2003 Subject: [AccessD] MDE References: Message-ID: <04ff01c2e294$6a394310$d2ecffcc@SusanOne> Thanks Charlotte -- kind of what I guessed, but I don't ever work with mde's. Susan H. No, it doesn't. acCmdSaveRecord works but acCmdSave is to save changes to the object design and you can't do that in an MDE. You'll get an error if you try. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 4. o?ujak 2003 12:50 To: AccessD at databaseadvisors.com Subject: [AccessD] MDE Can anyone tell me if the Save method of the DoCmd object works in an mde file? SUsan H. DoCmd.Save _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 4 15:27:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 15:27:00 2003 Subject: [AccessD] Inside MS Access this month.... References: <1046812331.6175.152.camel@sgsax-th4022c> Message-ID: <051601c2e294$cb256d20$d2ecffcc@SusanOne> Thanks Seth -- I'm anxious to see Arthur's now. :) Susan H. > Just got my issue of "Inside Microsoft Access" this month. This one > should have been renamed the Susan and Arthur Show! All articles but > one were written by our very own Susan Harkins or Arthur fuller. As > usual, top-notch writing. > From DWUTKA at marlow.com Tue Mar 4 15:35:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:35:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82217@main2.marlow.com> I can't tell if that's a rib or a compliment! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...vivid! ...now there's a word I've never been called before ...at least not to my knowledge :) ...and wouldn't you know it, I'm back courtesy of Drew no less :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Tuesday, March 04, 2003 1:36 PM Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hi William > > Nice to see you back - as vivid as ever! > > /gustav > > > > ...so you've implemented a software RAID5 in Win2K using only three drives? > > ...to the best of my knowledge the Win2K OS can't reside on any of the hard > > drives configured as RAID5 by its software ...lord knows it would save some > > nice change in controller costs :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 15:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 15:43:00 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 15:57:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 15:57:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82219@main2.marlow.com> Yeah, I knew that.....but even installing 02K to different folders doesn't eliminate all of the problems. Because it's not the folders, but the registry that's the issue. From what you are saying, it seems that OXP uses a completely different set of registry settings. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 3:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 4 16:13:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue Mar 4 16:13:00 2003 Subject: [AccessD] first five dates per year Message-ID: <004301c2e29b$4e4b4840$f2c581d5@pedro> Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 16:26:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 16:26:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8221D@main2.marlow.com> Is there a criteria to determine the dates you don't want, or do you just want to skip the first 5 dates each year. Or the first 10 dates each year? Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 04, 2003 4:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 16:27:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:27:00 2003 Subject: [AccessD] default values for combos with lists Message-ID: I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From Jean.Fields at GDSENG.COM Tue Mar 4 16:28:00 2003 From: Jean.Fields at GDSENG.COM (Fields, Jean) Date: Tue Mar 4 16:28:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <3738CB351412D711A2CC0090272AC53B174147@mercury.gdshou> I believe you get the "reference not available" error when the app can't find the VBA dll on the client machine. Are the files on the intranet? The Internet Explorer error may be caused because the machines in question don't have access to the internal share your files are on. Some kind of network configuration. I'll see if I can find more info on it. HTH, -Jean Jean Fields GDS Engineers, Inc. 9009 West Loop South, Suite #800 Houston, TX 77096 Tel.: 713-667-9162 x1102 Fax: 713-667-9241 email: mailto:jean.fields at gdseng.com website: http://www.gdseng.com -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim From jcolby at colbyconsulting.com Tue Mar 4 16:37:10 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:37:10 2003 Subject: [AccessD] Passing the SQL Setting to a stored procedure Message-ID: I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From jcolby at colbyconsulting.com Tue Mar 4 16:42:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 16:42:01 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure Message-ID: I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 16:42:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 16:42:18 2003 Subject: [AccessD] default values for combos with lists Message-ID: Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 4 16:47:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 16:47:01 2003 Subject: [AccessD] Access 2002 and 97 on separate partitions Message-ID: All versions use different registry settings, unless you're talking about something besides HKEY_LOCAL_MACHINE\Microsoft\Office\ and HKEY_CURRENT_USER\Software\Microsoft\Office\, and anyhow it depends on which problems you're talking about. If you're talking about HKEY_LOCAL_MACHINE\Software\Classes\.mdb, then whichever one you installed last will be referenced, but that only applies if you double click the mdb file. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Yeah, I knew that.....but even installing 02K to different folders doesn't eliminate all of the problems. Because it's not the folders, but the registry that's the issue. From what you are saying, it seems that OXP uses a completely different set of registry settings. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 3:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Remember, I said *OXP* and 97. Office XP installs in different folders than earlier versions. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 04, 2003 1:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Really. Well I wonder why, because 97 and 2k are notoriously bad about going the other direction (2k first, then 97). Hmmmmm.... Won't be the first time...or last for that matter, that I've been surprised by something MS did! (Although it will be the third time they did something right! (Building Access 97 being the first, building Windows 2000 the second! ) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 04, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Actually, I've installed A97 after the fact on a machine with OXP installed, and it didn't cause any problems at all, unless you are referring to the file type associations. As soon as you've opened a database in one of the versions, it floats to the top anyhow, so that doesn't seem awfully important to me. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: 4. o?ujak 2003 12:36 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 2002 and 97 on separate partitions Look in the knowledge base for dual installations. It's easy to go 97 on up, but going backwards requires some special stuff. Drew -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, March 04, 2003 1:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 and 97 on separate partitions Hi All, My PC is partitioned into two drives C: & D: Access 2002 is installed on the C: and I would like to install Access 97 on the D: drive so I get get some decent Help back. Since two different drives are involved I don't think I need to take any special precautions, am I correct here? I know you have to be careful when installing different versions on the same drive. TIA Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmcafee at pacbell.net Tue Mar 4 16:48:03 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Tue Mar 4 16:48:03 2003 Subject: [AccessD] RE: [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: Message-ID: Yes, but why not build it in the back, then any changes that would need to be made, could be made in the BE (by modifying the SPROC) without a need for a FE update? There is also a security risk involved, if anyone was to ever figure out the sproc's name you could possibly send a TRUNCATE command or some other ill script (or at least that's what I was told when I wanted to do this :) ) HTH David McAfee -----Original Message----- From: dba-sqlserver-admin at databaseadvisors.com [mailto:dba-sqlserver-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 2:36 PM To: AccessD-SQLServer; AccessD Subject: [dba-SQLServer]Passing the SQL Setting to a stored procedure I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com From dmcafee at pacbell.net Tue Mar 4 16:56:00 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Tue Mar 4 16:56:00 2003 Subject: [AccessD] RE: [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: Message-ID: Yes, but why not build it in the back, then any changes that would need to be made, could be made in the BE (by modifying the SPROC) without a need for a FE update? There is also a security risk involved, if anyone was to ever figure out the sproc's name you could possibly send a TRUNCATE command or some other ill script (or at least that's what I was told when I wanted to do this :) ) HTH David McAfee -----Original Message----- From: dba-sqlserver-admin at databaseadvisors.com [mailto:dba-sqlserver-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 2:36 PM To: AccessD-SQLServer; AccessD Subject: [dba-SQLServer]Passing the SQL Setting to a stored procedure I just had a fascinating idea. I do a lot of building up of SQL Strings then executing them in A2K. Would it be possible to build a stored procedure where the parameter passed in is the SQL statement to be executed? IOW, do the same thing we do now, manually build a SQL string with the actual values of controls in where clauses etc., then pass that string to a stored procedure and have the stored procedure execute the SQL string and hand back the data? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From my.lists at verizon.net Tue Mar 4 17:21:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue Mar 4 17:21:00 2003 Subject: [AccessD] Database in an Unexpected state..., *POSSIBLE SOLUTION* References: <006501c2e1b3$d9f93a20$b615010a@FHTAPIA> Message-ID: <010801c2e2a4$e22ed870$b615010a@FHTAPIA> Doesn't look like anybody is going to bite so here is more I found out... after scouring the web, I found some positive links to a possible solution. The answer was in a demo called "ACCESSRECOVERY" there is a full pay version that will extract the entire database, but here in lies the hint... http://www.officerecovery.com/access/index.htm /quote Advanced DAO commands /end quote so, the trick would be to use a DAO connection into the old db and try for a standard copy the table commands...right? btw I did try the demo which DID restore the first few lines of data of each table, and replacing the rest of the rows with the word *demo* :D -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "Francisco H Tapia" To: "AccessD" Sent: Monday, March 03, 2003 10:36 AM Subject: [AccessD] Database in an Unexpected state..., or Calling all DB minds, we have a suspect database... : : A little background... : : : : The client is not mine (honestly he's not). A client of my brother in : law, : : who has a networking company, "had" a database who was built in Access : 2000. : : It was not broken up into the FE/BE method, instead each user (4 users in : : all) had a link to the database and worked that way... I don't know the SR : : version of Access or the SP's of their Windows OSes... :( sorry. Anyhow, : : One Fine day (Saturday) the owner of the db went to open it from his : machine : : when it suddenly crashed. He called on my Brother in law to fix his PC : and : : get his database up and running the "EXACT" error word for word is this... : : : : xxxxxxxxxxxxxxxxxxxxxxxxxx : : Microsoft Access : : ------------------ : : This database is in an unexpected state; Microsoft Access can't open it. : : : : This database has been converted from a prior version of Microsoft Access : by : : using the DAO CompactDatabase method instead of the Convert Database : command : : on the Tools menu (Database Utilities submenu). This has left the : database : : in a partially converted state. : : : : If you have a copy of the database in its original format, use the Convert : : Database command on the Tools menu (Database Utilities submenu) to convert : : it. If the original database is no longer available, create a new : database : : and import your tables and queries to preserve your data. Your other : : database objects can't be recovered. : : : : [OK] : : xxxxxxxxxxxxxxxxxxxxxxxxxx : : so what did we try?, : : 1) /decompile (not successful) : : 2) could not repair and compact from inside access because of the above : : error : : 3) jetcomp 4 utility (not successful) : : 4) attempted to open it w/ AccessXP (curtesy of William), (Not successful) : : 5) /repair from the command line (idea from John Colby) (Not successful). : : : : While the Database has now been restored from over 3 days ago (Wednesday : : last week) I realize restoring this copy of the database seems moot, but : in : : many ways perhaps not... I'd like to know the solution in case I ever run : : into it again... : : : : : : -Francisco : : http://rcm.netfirms.com : : : : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : From jcolby at colbyconsulting.com Tue Mar 4 17:21:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:21:19 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2544 bytes Desc: not available URL: From jcolby at colbyconsulting.com Tue Mar 4 17:31:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:31:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From mastercafe at ctv.es Tue Mar 4 17:34:12 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue Mar 4 17:34:12 2003 Subject: [AccessD] first five dates per year In-Reply-To: <004301c2e29b$4e4b4840$f2c581d5@pedro> Message-ID: Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 17:39:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 17:39:08 2003 Subject: [AccessD] default values for combos with lists Message-ID: So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Tuesday, March 04, 2003 3:21 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] default values for combos with lists > > Nope, I'm talking about the default value. > > Build a combo with two columns, then make -1;True;0;False;*;All as the > list of values. > Place 0 in the default value. > The combo will display True when it opens (or it did with me). > It should display false since the 0 is the false value. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, March 04, 2003 5:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] default values for combos with lists > > > Are you talking about the ItemData, John? That's an index that > relates > to the position. > > Charlotte Foust > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:27 PM > To: AccessD > Subject: [AccessD] default values for combos with lists > > > I discovered today that combos that display lists use a default value > that is the position, not the value of the 1st column. IOW, if a > combo > pulls data from a table, the default value should be a value from the > leftmost column in the SQL Statement feeding data to the combo. The > value in this column that matches the default value will be displayed. > This same thing doesn't work for list values, in this case the number > is > the position in the list. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it > free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 4 17:44:01 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 4 17:44:01 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jcolby at colbyconsulting.com Tue Mar 4 17:46:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 17:46:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: RE: [AccessD] default values for combos with listsNo, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 18:00:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:00:01 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2860 bytes Desc: not available URL: From cfoust at infostatsystems.com Tue Mar 4 18:03:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 18:03:00 2003 Subject: [AccessD] default values for combos with lists Message-ID: Does it show "True" if you set it to "0"? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 3:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com ] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com ] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 4 18:05:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 4 18:05:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: aah - only way I know is to hit the 'email to' button which adds all of the email addresses to your email, then remove the one you don't want. I don't know of a way to select only one. Mark > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email address > for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. However > I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask > to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jcolby at colbyconsulting.com Tue Mar 4 18:13:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:13:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: MessageNope, it shows false. That is what I am trying to say, it is using the default value as the "position" selector, i.e. select the 0th element in the list (it is zero based), select the 1st element in the list etc. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Does it show "True" if you set it to "0"? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 3:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 4 18:13:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 4 18:13:07 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Tuesday, March 04, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email > address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email > address for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will > determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. > However I > cannot figure out how to use anything except the first address. Even > if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely > for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and > ask to > speak with the message sender. In addition, please immediately delete > this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 18:18:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:18:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: I'm afraid I don't follow you. When I create an email, I hit the To button. A wizard pops up. I select people from address folders. The NAME of that person appears. If I click on that name, the address in the 1st of the three available email addresses for that person is displayed. If I actually cut and paste the email address I want into the To for the email, it is "translated" to the name, and is set back to the first email address. "Brain damaged children" as one of my favorite comedians said. If there are going to be three addresses for a person, there MUST be a way to select which address to send to, else why have the others? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 7:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address aah - only way I know is to hit the 'email to' button which adds all of the email addresses to your email, then remove the one you don't want. I don't know of a way to select only one. Mark > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > I understand that, and I have some people for example that have three > email addresses. Now I want to send an email to the second email address > for this person. How do I do that? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 6:43 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > There is a drop-down button between the email label and text box, this > gives > you selections (email 1,2,3). Whichever one is selected will determine > which email slot the email address will occupy. > > Mark > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Tuesday, March 04, 2003 2:30 PM > To: AccessD > Subject: [AccessD] Using Outlook second or third email address > > > Outlook allows you to store three email addresses for a contact. However > I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the > address > when selected still uses the first. does anyone know how to use the > second > or third address? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,258 spam messages. You can too! > Get your free, safe spam protection at > http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please > notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask > to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3648 bytes Desc: not available URL: From jcolby at colbyconsulting.com Tue Mar 4 18:23:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 18:23:00 2003 Subject: [AccessD] OT: Using Outlook second or third email address In-Reply-To: Message-ID: RE: [AccessD] Using Outlook second or third email addressFrom interface. It is indeed off topic. I wasn't interested in a thread, just an answer. 8-( John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 7:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John, Are you doing this from the interface or from code? If you're doing it from code, you should be able to dump the addresses into an array and pick one. If you're doing it from the interface, then is this an OT thread? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address I understand that, and I have some people for example that have three email addresses. Now I want to send an email to the second email address for this person. How do I do that? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,259 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Tuesday, March 04, 2003 6:43 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Outlook second or third email address There is a drop-down button between the email label and text box, this gives you selections (email 1,2,3). Whichever one is selected will determine which email slot the email address will occupy. Mark -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:30 PM To: AccessD Subject: [AccessD] Using Outlook second or third email address Outlook allows you to store three email addresses for a contact. However I cannot figure out how to use anything except the first address. Even if I select the second or third to display when the contact is open, the address when selected still uses the first. does anyone know how to use the second or third address? John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Tue Mar 4 18:32:00 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue Mar 4 18:32:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: John Colby asked: > Outlook allows you to store three email addresses for a contact. However I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the address > when selected still uses the first. does anyone know how to use the second > or third address? While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From harkins at iglou.com Tue Mar 4 18:32:59 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 18:32:59 2003 Subject: [AccessD] Using Outlook second or third email address References: Message-ID: <06c301c2e2ae$b1256500$d2ecffcc@SusanOne> John, I give the unique addresses specific names: Bill, BillAtHome -- so to get the second address, I type in BillA and it automatically fills in the rest. Am I even close? Susan H. > I'm afraid I don't follow you. When I create an email, I hit the To button. > A wizard pops up. I select people from address folders. The NAME of that > person appears. If I click on that name, the address in the 1st of the > three available email addresses for that person is displayed. If I actually > cut and paste the email address I want into the To for the email, it is > "translated" to the name, and is set back to the first email address. > "Brain damaged children" as one of my favorite comedians said. > > If there are going to be three addresses for a person, there MUST be a way > to select which address to send to, else why have the others? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,259 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > Sent: Tuesday, March 04, 2003 7:05 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Outlook second or third email address > > > aah - only way I know is to hit the 'email to' button which adds all of the > email addresses to your email, then remove the one you don't want. > > I don't know of a way to select only one. > > Mark > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, March 04, 2003 2:59 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Using Outlook second or third email address > > > > I understand that, and I have some people for example that have three > > email addresses. Now I want to send an email to the second email address > > for this person. How do I do that? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > > > I've stopped 9,259 spam messages. You can too! > > Get your free, safe spam protection at > > http://www.cloudmark.com/spamnetsig/ > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Porter, Mark > > Sent: Tuesday, March 04, 2003 6:43 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Outlook second or third email address > > > > > > There is a drop-down button between the email label and text box, this > > gives > > you selections (email 1,2,3). Whichever one is selected will determine > > which email slot the email address will occupy. > > > > Mark > > > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Tuesday, March 04, 2003 2:30 PM > > To: AccessD > > Subject: [AccessD] Using Outlook second or third email address > > > > > > Outlook allows you to store three email addresses for a contact. However > > I > > cannot figure out how to use anything except the first address. Even if I > > select the second or third to display when the contact is open, the > > address > > when selected still uses the first. does anyone know how to use the > > second > > or third address? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > > > I've stopped 9,258 spam messages. You can too! > > Get your free, safe spam protection at > > http://www.cloudmark.com/spamnetsig/ > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > This transmittal may contain confidential information intended solely for > > the addressee. If you are not the intended recipient, you are hereby > > notified that you have received this transmittal in error; any review, > > dissemination, distribution or copying of this transmittal is strictly > > prohibited. If you have received this communication in error, please > > notify > > us immediately by reply or by telephone (collect at 907-564-1000) and ask > > to > > speak with the message sender. In addition, please immediately delete this > > message and all attachments. Thank you. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From DWUTKA at marlow.com Tue Mar 4 19:03:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 19:03:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8221F@main2.marlow.com> Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Tue Mar 4 19:37:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 4 19:37:01 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <3E650E4B.25627.2A9B4A5@localhost> Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From DWUTKA at marlow.com Tue Mar 4 19:49:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 19:49:00 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82229@main2.marlow.com> RaidenMail was recommend to me, on this list, it only cost $12 for up to 50 'users'. It's pretty nice. -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Tuesday, March 04, 2003 7:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Messaging Servers Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 20:00:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 20:00:00 2003 Subject: [AccessD] OT: Messaging Servers Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8222B@main2.marlow.com> Ooops...forgot to send you a link... http://raidenmaild.com/ Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Tuesday, March 04, 2003 7:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Messaging Servers Can anyone recommend a low cost (free) Messaging server, ala Exchange Server? I have be asked if I know of any, but I don't. I hope someone out there will know. What they are specifically looking for is something that can handle e-mail and calendering functions. If it was just e-mail I'd recommend Mercury, but with the calendering thrown in there, I have no ideas. Any takers? Any ideas? -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Mar 4 20:20:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 20:20:00 2003 Subject: [AccessD] Using Outlook second or third email address In-Reply-To: Message-ID: That's the answer! Thanks kathryn! John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,262 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Tuesday, March 04, 2003 6:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Outlook second or third email address John Colby asked: > Outlook allows you to store three email addresses for a contact. However I > cannot figure out how to use anything except the first address. Even if I > select the second or third to display when the contact is open, the address > when selected still uses the first. does anyone know how to use the second > or third address? While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2492 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 4 20:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 20:31:00 2003 Subject: [AccessD] Test message, please ignore. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82232@main2.marlow.com> From bbruen at bigpond.com Tue Mar 4 20:39:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 4 20:39:01 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: <001801c2e2c0$0d6f6e80$c7308690@bbb888> How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com"mailto:accessd-admin at database advisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com]On"mailto:accessd-admin at datab aseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [HYPERLINK "mailto:jcolby at colbyconsulting.com"mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hadyn at dataconcepts.co.nz Tue Mar 4 20:42:01 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Tue Mar 4 20:42:01 2003 Subject: [AccessD] Datagrid Control Message-ID: <005c01c2e2c1$4158f670$0700000a@xpdev> Has anyone got experience using this in A2K? Is there something better to use? I need to have an editable grid that will lock the first 2 columns, horizontal scroll the rest, and allow an unknown number of rows. Kind regards Hadyn hadyn at dataconcepts.co.nz From bbruen at bigpond.com Tue Mar 4 20:45:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 4 20:45:01 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: Message-ID: <001d01c2e2c0$b643f3a0$c7308690@bbb888> Yep, it looks as though you've got to set cbo1.value=cbo1.defaultvalue when the new rec is created. Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com _____ I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com"mailto:accessd-admin at database advisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ -----Original Message----- From: accessd-admin at databaseadvisors.com [HYPERLINK "mailto:accessd-admin at databaseadvisors.com]On"mailto:accessd-admin at datab aseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [HYPERLINK "mailto:jcolby at colbyconsulting.com"mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting HYPERLINK "file://www.ColbyConsulting.com"www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnetsig/"http://www.cloudmark.com/spamnetsi g/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com HYPERLINK "http://databaseadvisors.com/mailman/listinfo/accessd"http://databaseadv isors.com/mailman/listinfo/accessd Website: HYPERLINK "http://www.databaseadvisors.com"http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! HYPERLINK "http://www.eMailBoss.com"http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 20:50:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 20:50:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <001801c2e2c0$0d6f6e80$c7308690@bbb888> Message-ID: MessageGoing into edit mode is not the same as closing the form. Edit mode keeps the last state of the form. This includes record selected, filters etc. Closing the form gets rid of this "last state" (usually). John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,263 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, March 04, 2003 9:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, March 05, 2003 10:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists No, I'm saying I set the value to 0 and it was showing me "True". John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 6:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists So you're saying you set the default value to = "-1" or -1, and it's showing you 0? Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, March 04, 2003 3:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Nope, I'm talking about the default value. Build a combo with two columns, then make -1;True;0;False;*;All as the list of values. Place 0 in the default value. The combo will display True when it opens (or it did with me). It should display false since the 0 is the false value. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,258 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 04, 2003 5:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists Are you talking about the ItemData, John? That's an index that relates to the position. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 2:27 PM To: AccessD Subject: [AccessD] default values for combos with lists I discovered today that combos that display lists use a default value that is the position, not the value of the 1st column. IOW, if a combo pulls data from a table, the default value should be a value from the leftmost column in the SQL Statement feeding data to the combo. The value in this column that matches the default value will be displayed. This same thing doesn't work for list values, in this case the number is the position in the list. John W. Colby Colby Consulting www.ColbyConsulting.com I've stopped 9,257 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 4 20:56:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 20:56:00 2003 Subject: [AccessD] default values for combos with lists References: Message-ID: <005001c2e2c4$1b7d2950$6401a8c0@default> MessageJohn, I just started looking at this thread and I realize you have something in mind. Could you please state the significance of this discovery and if it can be further investigated. Mike Mattys ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 9:49 PM Subject: RE: [AccessD] default values for combos with lists Going into edit mode is not the same as closing the form. Edit mode keeps the last state of the form. This includes record selected, filters etc. Closing the form gets rid of this "last state" (usually). John W. Colby Colby Consulting www.ColbyConsulting.com From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, March 04, 2003 9:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] default values for combos with lists How very interesting. BUT.... when I first opened the form it did show False, then I selected True, closed (well went into edit mode) and reopened it and it showed True. The same thing happened when All was selected. So I guess it has something to do with the itemselected thingodoodyattribute??? hth Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Mar 4 21:17:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 21:17:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <005001c2e2c4$1b7d2950$6401a8c0@default> Message-ID: MessageUhhh... There really isn't anything further. I was rebuilding my report filter form for my billing app. This form uses combo boxes to allow me to select filters (in this case) for binary fields, pull all records where "something" is true, false or "All". In order to do this, I didn't need any table, just a value list. I created the combos and then tried to set the default value to False (it just happens). Not billed, Not paid etc. I thought that the default value of 0 would cause a false to display, default value of -1 would cause True to display etc. It didn't work that way. -1 didn't display anything. 0 caused a true to display. The combo was set up for a two column combo with the first combo width = 0 (hidden), with the "list" of values simply -1;True;0;False;*;All; Had those values been pulled from a table, the a default value of -1 would have caused the True to display, a zero would have caused a False to display and so forth. In this case, with a list of values, a 0 was causing a True to display. Notice that POSITION 0 is a true. IE -1;True 0;False *;All -1;True is the zeroth position in the list and a zero in the default value caused that to display 0;False is the 1st position in the list and a 1 in the default value caused that to display *;all is the 2nd position in the list and a 2 in the default value caused that to display. It all makes sense in a warped "Access" kind of way, but it was unexpected and caused me a bit of head scratching before I figured out what was happening. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,263 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, March 04, 2003 10:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] default values for combos with lists John, I just started looking at this thread and I realize you have something in mind. Could you please state the significance of this discovery and if it can be further investigated. Mike Mattys ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 4 21:20:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 21:20:01 2003 Subject: [AccessD] This is a test, please ignore. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82233@main2.marlow.com> From michael.mattys at adelphia.net Tue Mar 4 21:31:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 21:31:00 2003 Subject: [AccessD] default values for combos with lists References: Message-ID: <007f01c2e2c9$0fe33e90$6401a8c0@default> MessageWhat happens if you put a 3 in as the default value? Mike ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 10:16 PM Subject: RE: [AccessD] default values for combos with lists Uhhh... There really isn't anything further. -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 4 21:37:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 4 21:37:01 2003 Subject: [AccessD] form SelLeft property Message-ID: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> The strangest thing is happening. I'm using the four SelX properties to select records in a datasheet form. They all work as expected, except for SelLeft. It acts as though there's another column at the left border. When I use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the first column. If I use the SelLeft 3, the selection begins at the second column, and so on. Any explanations? Susan H. From jcolby at colbyconsulting.com Tue Mar 4 21:41:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Tue Mar 4 21:41:00 2003 Subject: [AccessD] default values for combos with lists In-Reply-To: <007f01c2e2c9$0fe33e90$6401a8c0@default> Message-ID: MessageIt comes up blank. Likewise if I put in -1. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------------------------------- ---- I've stopped 9,265 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, March 04, 2003 10:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] default values for combos with lists What happens if you put a 3 in as the default value? Mike ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 10:16 PM Subject: RE: [AccessD] default values for combos with lists Uhhh... There really isn't anything further. ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 4 22:01:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 4 22:01:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> Message-ID: <009401c2e2cd$30d0ab70$6401a8c0@default> Susan, I was just reading the help on this Does this statement apply? -> If you've selected one or more records in the datasheet (using the record selectors), you can't change the setting of the SelLeft property. ----- Original Message ----- From: "Susan Harkins" To: Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] form SelLeft property > The strangest thing is happening. I'm using the four SelX properties to > select records in a datasheet form. They all work as expected, except for > SelLeft. It acts as though there's another column at the left border. When I > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > first column. If I use the SelLeft 3, the selection begins at the second > column, and so on. > > Any explanations? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 23:14:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 23:14:00 2003 Subject: [AccessD] Test Email (alias test) Please ignore Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82236@main2.marlow.com> From accessd at shaw.ca Tue Mar 4 23:33:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue Mar 4 23:33:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <001c01c2e271$ab5e48e0$6101a8c0@amd2k512> Message-ID: The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 4 23:39:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 4 23:39:01 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82237@main2.marlow.com> Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mar 5 00:22:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 5 00:22:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82237@main2.marlow.com> Message-ID: That explains why it was such a task to get the server and Promise RAID to working right. Wasted a whole afternoon... The OS is Win2000 Advanced Server and the motherboard was an $150.00 CAN (about $95.00 US), 1700MHz ASUS with RAID tech built-in. It has all worked flawlessly for over a year. Two mirrored 80GB drives and one 160GB for network backup. All kidding aside getting the right drivers to stabilize everything took awhile but now it is working perfectly. So the conventional wisdom from Dell and MS isn't always so. Mind you it is only RAID 2. To install RAID 5 would cost over a $1000.00 more in hardware. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 04, 2003 9:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 5 03:57:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 03:57:00 2003 Subject: [AccessD] OT: Messaging Servers In-Reply-To: <3E650E4B.25627.2A9B4A5@localhost> References: <3E650E4B.25627.2A9B4A5@localhost> Message-ID: <1816853384.20030305105616@cactus.dk> Hi Bryan You could check out the Openexchange Server from Suse: http://www.suse.de/en/business/products/suse_business/openexchange/index.html It's not free, though. /gustav > Can anyone recommend a low cost (free) Messaging server, ala > Exchange Server? > I have be asked if I know of any, but I don't. I hope someone out > there will know. > What they are specifically looking for is something that can handle > e-mail and calendering functions. If it was just e-mail I'd > recommend Mercury, but with the calendering thrown in there, I > have no ideas. From gustav at cactus.dk Wed Mar 5 04:34:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 04:34:00 2003 Subject: [AccessD] form SelLeft property In-Reply-To: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> Message-ID: <1699056482.20030305113259@cactus.dk> Hi Susan Would you by any chance have a hidden (zero width) column? /gustav > The strangest thing is happening. I'm using the four SelX properties to > select records in a datasheet form. They all work as expected, except for > SelLeft. It acts as though there's another column at the left border. When I > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > first column. If I use the SelLeft 3, the selection begins at the second > column, and so on. From gustav at cactus.dk Wed Mar 5 05:04:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 05:04:00 2003 Subject: [AccessD] Datagrid Control In-Reply-To: <005c01c2e2c1$4158f670$0700000a@xpdev> References: <005c01c2e2c1$4158f670$0700000a@xpdev> Message-ID: <4610868738.20030305120311@cactus.dk> Hi Hadyn A (sub)form in dataview can do this. Freeze the two leftmost columns and the rest will be horizontally scrollable. If number of columns can vary, create "enough" columns and set columnwidth to zero for those far right not needed. Number of rows is no problem. /gustav > Has anyone got experience using this in A2K? Is there something better to > use? I need to have an editable grid that will lock the first 2 columns, > horizontal scroll the rest, and allow an unknown number of rows. From artful at rogers.com Wed Mar 5 06:05:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 06:05:01 2003 Subject: [AccessD] Inside MS Access this month.... In-Reply-To: <1046812331.6175.152.camel@sgsax-th4022c> Message-ID: <002201c2e30f$518af130$8e01a8c0@Rock> Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Mar 5 06:06:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 06:06:00 2003 Subject: [AccessD] OT ADPS In-Reply-To: <1046812289.3e6516817b7c0@hosea.qub.ac.uk> Message-ID: <002401c2e30f$92e98fb0$8e01a8c0@Rock> The forms are in the ADP. The quote refers to extended properties, which is the collection of properties you see at the bottom of the table designer. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: March 4, 2003 4:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT ADPS The quote is from Microsoft not me. Martin Quoting Charlotte Foust : > You mean the form info is stored in SQL Server?? The object Access uses > in the interface are stored in SQL? In that case, how come you can open > an adp with a bad SQL connection and still see forms? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > Sent: 4. o?ujak 2003 1:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT ADPS > > > Someone was asking how Access stored Access specific > properties when working with an ADP and SQL Server. Heres > the answer > > > The only access specific table is dtproperties. SQL SEM and > VS tools use it too for storing database diagrams. All of > the extended properties that access uses are saved in > SQL 2000. > > > Martin > > > > Martin WP Reid > Information Services > Queens University Belfast > > Tel: (02890) 273750 > > > ---------------------- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Wed Mar 5 06:46:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 5 06:46:00 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure References: Message-ID: <003101c2e316$d2874020$356da8c0@IEW001> Hello John, Why not just pass the SQL raw and not bother with the sp in the first place? I know that there are pro's and con's to using sp's, but if you are going to do what you are doing, it seems like it would be just easier to send the raw SQL. Of course there are security issues with sending SQL, but leaving that aside, why not send it raw? I have not used it, but there is a kind of Execute Command that you can include in a sp, maybe that could action the parameter that you would pass in. Mark ----- Original Message ----- From: "John W. Colby" To: "AccessD-SQLServer" ; "AccessD" Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure > I just had a fascinating idea. I do a lot of building up of SQL Strings > then executing them in A2K. Would it be possible to build a stored > procedure where the parameter passed in is the SQL statement to be executed? > IOW, do the same thing we do now, manually build a SQL string with the > actual values of controls in where clauses etc., then pass that string to a > stored procedure and have the stored procedure execute the SQL string and > hand back the data? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tswisher at GFNET.com Wed Mar 5 07:07:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 07:07:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Mar 5 07:17:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 07:17:00 2003 Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure In-Reply-To: <003101c2e316$d2874020$356da8c0@IEW001> Message-ID: <000001c2e319$6e54bd50$8e01a8c0@Rock> There's no advantage at all do passing the SQL statement into a sproc for execution. Aside from security issues, the main reason for using sprocs is to avoid the overhead of the parsing and compiling. Since there's no way to optimize the SQL statement you're thinking of sending in, it's pointless. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: March 5, 2003 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure Hello John, Why not just pass the SQL raw and not bother with the sp in the first place? I know that there are pro's and con's to using sp's, but if you are going to do what you are doing, it seems like it would be just easier to send the raw SQL. Of course there are security issues with sending SQL, but leaving that aside, why not send it raw? I have not used it, but there is a kind of Execute Command that you can include in a sp, maybe that could action the parameter that you would pass in. Mark ----- Original Message ----- From: "John W. Colby" To: "AccessD-SQLServer" ; "AccessD" Sent: Tuesday, March 04, 2003 10:36 PM Subject: [AccessD] [dba-SQLServer]Passing the SQL Setting to a stored procedure > I just had a fascinating idea. I do a lot of building up of SQL Strings > then executing them in A2K. Would it be possible to build a stored > procedure where the parameter passed in is the SQL statement to be executed? > IOW, do the same thing we do now, manually build a SQL string with the > actual values of controls in where clauses etc., then pass that string to a > stored procedure and have the stored procedure execute the SQL string and > hand back the data? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,257 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 5 07:41:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 5 07:41:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. From Jdemarco at hshhp.org Wed Mar 5 07:48:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 5 07:48:00 2003 Subject: [AccessD] Using Outlook second or third email address Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D852F5@TTNEXCHSRV1.hshhp.com> A little shortcut to get to the same selection window is to press Alt + K when the name is underlined in red. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Tuesday, March 04, 2003 9:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > That's the answer! Thanks kathryn! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > I've stopped 9,262 spam messages. You can too! > Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Kathryn Bassett > Sent: Tuesday, March 04, 2003 6:53 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Outlook second or third email address > > > John Colby asked: > > Outlook allows you to store three email addresses for a contact. However I > > cannot figure out how to use anything except the first address. Even if I > > select the second or third to display when the contact is open, the address > > when selected still uses the first. does anyone know how to use the second > > or third address? > > While you are in the composition, type in the name of the person - like Colby. If there is more than one person named Colby, it will underline in red. Right click and choose right person. Once right person is chosen, it *is* defaulting to first address as you say. Right click on it again and you will see all three addresses and you can choose the right one. *Now*, when you click the send button, you are sending to the chosen address. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From normkara at wans.net Wed Mar 5 07:51:00 2003 From: normkara at wans.net (Norm) Date: Wed Mar 5 07:51:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word References: Message-ID: <000f01c2e31e$206047e0$24b6f4d1@norm> Have you taken a look at this MS KB Article? http://support.microsoft.com/default.aspx?scid=kb;en-us;242368 Norm > We uninstalled Word entirely, and reinstalled to no avail. > > Another of our technicians, just came into my office (i.e. a desk > shoved against a partition wall, outside of our server room...I don't > even have room to put tape on the floor, a la Les Nesman) and said he > found some info on a possible cause. He thinks there may be a corrupt > registry key. He phoned the the guy going there and told him what to > try. > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Wed Mar 5 07:52:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed Mar 5 07:52:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: John, When you talk to your tech have them look at this page: http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=wrd&Number=197827&Search=true&Forum=wrd&Words=&Match=StarPost&Searchpage=0&Limit=99&Old=allposts&Main=197827 Watch for really long URL. It will give him a very systematic approach to follow to figure out what's wrong with Word. It is the best reference I have seen to troubleshoot wonky Word issues. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> John.Clark at niagaracounty.com 05-Mar-03 8:39:31 AM >>> I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 5 07:59:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 5 07:59:00 2003 Subject: [AccessD] OT: Using Outlook second or third email address Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C69A@TAPPEEXCH01> John, Is there any way you can supress the graphic that attaches itself to your messages? Every time I open one of your messages, my company firewall dialog pops up. Alternatively, I didn't see a plain text option in the list messages options. Is there a way to do this? -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 04, 2003 6:23 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Using Outlook second or third email address From JHewson at karta.com Wed Mar 5 08:13:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 08:13:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A6C@NT04> Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Mar 5 08:15:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 08:15:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A6D@NT04> Thanks Jean, I'll have the network guy check the permissions for the directory and other configurations. Jim -----Original Message----- From: Fields, Jean [mailto:Jean.Fields at gdseng.com] Sent: Tuesday, March 04, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ASP and Access Problem I believe you get the "reference not available" error when the app can't find the VBA dll on the client machine. Are the files on the intranet? The Internet Explorer error may be caused because the machines in question don't have access to the internal share your files are on. Some kind of network configuration. I'll see if I can find more info on it. HTH, -Jean Jean Fields GDS Engineers, Inc. 9009 West Loop South, Suite #800 Houston, TX 77096 Tel.: 713-667-9162 x1102 Fax: 713-667-9241 email: mailto:jean.fields at gdseng.com website: http://www.gdseng.com -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Tuesday, March 04, 2003 3:20 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 5 08:20:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 5 08:20:00 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reische at mdh.org Wed Mar 5 08:25:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Wed Mar 5 08:25:01 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86A9B@NEWMAN_EXC> It's an Element K journal - but it's kinda pricy. Check elementk.com -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 8:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reische at mdh.org Wed Mar 5 08:25:59 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Wed Mar 5 08:25:59 2003 Subject: [AccessD] Inside MS Access this month.... Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86A9C@NEWMAN_EXC> Oops -- sorry www.elementkjournals.com -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 8:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... I'm not familiar with this publication. Can you tell me where I can get it? --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 6:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Inside MS Access this month.... Thanks! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 4, 2003 4:12 PM To: accessd Subject: [AccessD] Inside MS Access this month.... Just got my issue of "Inside Microsoft Access" this month. This one should have been renamed the Susan and Arthur Show! All articles but one were written by our very own Susan Harkins or Arthur fuller. As usual, top-notch writing. Let's hear it for our list members! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 08:38:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 08:38:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.c om> References: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.c om> Message-ID: <1046875251.7631.2.camel@sgsax-th4022c> Tim, You can do this much more efficiently with an update query, instead of writing it all out by hand. Even if you had to build more than one if you can't do it in one fell swoop, it would still be easier and cleaner than writing the code out. Seth On Wed, 2003-03-05 at 07:06, Swisher, Timothy B. wrote: > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each record. > My question is, what is the best way to do this, > > Like this > > .edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > .update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 records. > Each validation goes to a SQL Server BE and check the validity of the data. > There is a huge difference in speed opening and closing the recordset so > many times, but if that is the better way to go, then so be it. All help is > appreciated. TIA. > > Tim -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From hsimpson88 at hotmail.com Wed Mar 5 08:40:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 5 08:40:01 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: I have a user for whom the Delete key does nothing in Word. After she highlights a selection she must use the backspace key to perform deletions. The delete key works for her with all other applications. Only Word is afflicted. There is one install of Word on an NT4/terminal server and the delete works for all other users in Word. We've had this problem for about a year and a half and are wondering whether anyone knows of a solution. Hen _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jjwrite at earthlink.net Wed Mar 5 08:47:00 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Wed Mar 5 08:47:00 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: <412003335145453270@earthlink.net> Henry - I had a similar thing lately, come to find out someone had turned ON the Help for Word Perfect users which requires you to view the status line and respond Y/N to the delete key. From the Word menu, Tools>Options and check out the General Tab (second checkbox). Hope it's that simple. > [Original Message] > From: Henry Simpson > To: > Date: 3/5/03 9:39:47 AM > Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word > > I have a user for whom the Delete key does nothing in Word. After she > highlights a selection she must use the backspace key to perform deletions. > The delete key works for her with all other applications. Only Word is > afflicted. There is one install of Word on an NT4/terminal server and the > delete works for all other users in Word. > > We've had this problem for about a year and a half and are wondering whether > anyone knows of a solution. > > Hen > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Judy Johnson jjwrite at earthlink.net From harkins at iglou.com Wed Mar 5 08:49:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 08:49:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> <009401c2e2cd$30d0ab70$6401a8c0@default> Message-ID: <07bd01c2e326$4d62faf0$d2ecffcc@SusanOne> I read that too, but it doesn't seem to be true -- the left property does change. I think that must mean if you've manually selected -- I'll test it a bit more, maybe I wasn't paying attention or something. :) Susan H. > Susan, > I was just reading the help on this > Does this statement apply? -> > > If you've selected one or more records in the datasheet > (using the record selectors), you can't change the setting > of the SelLeft property. > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 04, 2003 10:36 PM > Subject: [AccessD] form SelLeft property > > > > The strangest thing is happening. I'm using the four SelX properties to > > select records in a datasheet form. They all work as expected, except for > > SelLeft. It acts as though there's another column at the left border. When > I > > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > > first column. If I use the SelLeft 3, the selection begins at the second > > column, and so on. > > > > Any explanations? > > > > 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 harkins at iglou.com Wed Mar 5 09:04:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:04:00 2003 Subject: [AccessD] form SelLeft property References: <072f01c2e2c8$80b271f0$d2ecffcc@SusanOne> <1699056482.20030305113259@cactus.dk> Message-ID: <085501c2e328$543ebd30$d2ecffcc@SusanOne> Nope -- I thought of that, but nope. Susan H. > Hi Susan > > Would you by any chance have a hidden (zero width) column? > > /gustav > > > > The strangest thing is happening. I'm using the four SelX properties to > > select records in a datasheet form. They all work as expected, except for > > SelLeft. It acts as though there's another column at the left border. When I > > use SelLeft 1 and SelWidth 3, I get a 2 column selection beginning in the > > first column. If I use the SelLeft 3, the selection begins at the second > > column, and so on. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Wed Mar 5 09:04:18 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:04:18 2003 Subject: [AccessD] Editing Records References: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Message-ID: <085601c2e328$551c7300$d2ecffcc@SusanOne> Editing RecordsI didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From dli at NVTC.State.Va.Us Wed Mar 5 09:06:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 09:06:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83A@NVTC02> Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From DWUTKA at marlow.com Wed Mar 5 09:06:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:06:14 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8223E@main2.marlow.com> Eh, RAID 5 is 3 disks, a striped mirror (essentially 2 striped and one parity). Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, March 05, 2003 12:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP That explains why it was such a task to get the server and Promise RAID to working right. Wasted a whole afternoon... The OS is Win2000 Advanced Server and the motherboard was an $150.00 CAN (about $95.00 US), 1700MHz ASUS with RAID tech built-in. It has all worked flawlessly for over a year. Two mirrored 80GB drives and one 160GB for network backup. All kidding aside getting the right drivers to stabilize everything took awhile but now it is working perfectly. So the conventional wisdom from Dell and MS isn't always so. Mind you it is only RAID 2. To install RAID 5 would cost over a $1000.00 more in hardware. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 04, 2003 9:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Just to explain for William....he was told by both Microsoft and Dell that you couldn't put a RAID5 on the same physical drive as the OS volume. From what I understand, it was in reference to an SBS system though (Small Business Server). So it is possible that the OS shipping with the SBS system has 'disabled' capabilities. William said he is going to test this out. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, March 04, 2003 11:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP The old tale of SCSIs being quicker than IDE has finally fallen. The new IDE drives can now match the best SCSI drives, file for file. Up to three drives, IDEs can be put on a single cable from one mother connector, as long as you let the drive select and don't hard set them. (15 from a SCSI adapter.) Many inexpensive motherboards come with Promise RAID technology built in so you can even RAID you IDE drives. My two cents worth. :-) Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 04, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP ...lol ...I'm still wondering how you "Get three hard drives. (SCSI...but that may be a bit expensive....), Mirror the OS, and RAID a data drive (you can do all of that in Disk Management...with Windows 2000, no RAID controller necessary.)" ...this must be a Drew style RAID configuration that would leave the people at MS gasping in amazement! :)))) William Hindman ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 04, 2003 11:57 AM Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP > Hmmmm, not a bad idea for a new 'cheap' brand name server .... "Drew style" > .... > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, March 04, 2003 9:41 AM > To: Seth Galitzer > Subject: Re: [AccessD] Access XP and 97 hang on reattaching linked > tables under WinXP > > > Hi Seth > > I can't believe you're still struggling with this. We have never > encountered a scenario that comes even close to what you describe. > > Which protocol(s) are you running? > Have you tried setting up an isolated test environment? > (You can use a "Drew style" server for this!) > > Don't you have a nearby Novell/database guru to work with on this? > > /gustav > > > > Relinking to a BE on Novell is panifully slow even on Win98 machines. > > I've tried optimizing it, but it still takes up to four seconds for each > > table on Win98, and even longer on 2K or XP machines. Unfortunately, > > the problem doesn't appear to be the relinker itself. Using the > > built-in Linked Table Manager is still painfully slow. As a result I am > > "this close" to moving everything to a real database server and using > > ODBC. Of course, ODBC is likely to introduce its own performance hit. > > > I would love to have a discussion on this topic. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 5 09:09:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:09:01 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8223F@main2.marlow.com> Just out of curiousity, can you use an Update query....making the validation part of the criteria? That would probably be the fastest method. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Wed Mar 5 09:11:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 09:11:00 2003 Subject: [AccessD] Form selection problem Message-ID: <086901c2e329$56b964b0$d2ecffcc@SusanOne> I think Marty reminded me of the problem with one of the Selection properties -- has to be set to 0. In playing around with it last night, it didn't seem necessary, yet I did have that one problem. It seemed odd that the SelHeight property should be reponsible for the problem I was having. However, This morning, I added a frm.SelHeight = 0 just before the select statements and it's working fine. Thanks Marty (I think)! :) Susan H. From DWUTKA at marlow.com Wed Mar 5 09:12:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:12:00 2003 Subject: Subject: Re: [AccessD] OT - Menu bar missing in MS Word Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82240@main2.marlow.com> Just an FYI, if you uninstall word, you are leaving a ton of registry stuff hanging around, and reinstalling it is not going to overwrite that stuff. If you are going to do a reinstall, it is better to completely uninstall office, which would include running OfficeClean to clean out everything left behind from the standard Uninstall. Reinstalling then, is like installing on a new machine. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 05, 2003 7:40 AM To: accessd at databaseadvisors.com Subject: RE: Subject: Re: [AccessD] OT - Menu bar missing in MS Word I have sent the technician to this PC again today...he just left and should be there in about an hour or so...there is quite a bit of ice here today, so that'll slow him down. Anyhow, I used the "/a" parameter and Word opened fine, w/the menu bar, but we replaced the "normal.dot" and it still didn't work. We then tried the "/r" parameter, but this didn't seem to do anything either. We uninstalled Word entirely, and reinstalled to no avail. Another of our technicians, just came into my office (i.e. a desk shoved against a partition wall, outside of our server room...I don't even have room to put tape on the floor, a la Les Nesman) and said he found some info on a possible cause. He thinks there may be a corrupt registry key. He phoned the the guy going there and told him what to try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 5 09:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 09:30:00 2003 Subject: [AccessD] Form selection problem In-Reply-To: <086901c2e329$56b964b0$d2ecffcc@SusanOne> References: <086901c2e329$56b964b0$d2ecffcc@SusanOne> Message-ID: <13426828657.20030305162911@cactus.dk> Hi Susan Ehh .. what do you use this for? I've only used one form in dataview - and programming the selected area ...?? /gustav > I think Marty reminded me of the problem with one of the Selection > properties -- has to be set to 0. In playing around with it last night, it > didn't seem necessary, yet I did have that one problem. It seemed odd that > the SelHeight property should be reponsible for the problem I was having. > However, This morning, I added a > frm.SelHeight = 0 > just before the select statements and it's working fine. > Thanks Marty (I think)! :) From tswisher at GFNET.com Wed Mar 5 09:33:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 09:33:00 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.com> I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 5 09:35:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 5 09:35:01 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From dli at NVTC.State.Va.Us Wed Mar 5 09:38:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 09:38:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83B@NVTC02> F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 09:48:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 09:48:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> References: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> Message-ID: <1046879466.7631.12.camel@sgsax-th4022c> Tim, You can craft your upated query in raw SQL. The basic syntax is UPDATE SET = , = , ... WHERE ; And then execute that statement once you've established a connection to the BE database. If you don't feel comfortable writing SQL directly, create a mock-up table in your db and use the QBE grid to put it together. Then copy and paste the resulting SQL into your code. Note there is a lot of "readability" clean-up you can do with the SQL the QBE grid generates. Seth On Wed, 2003-03-05 at 09:32, Swisher, Timothy B. wrote: > I think I need to use a recordset because I do not have the validation data > available to the app in any other form. > > More background... > We get a file from one of our apps, I import that data into an Access db, > that data needs to be validated against our SQL Server. The data from the > SQL Server is unbound, no table links. I basically send the server a > project number, if it returns a record, its valid, if not its an error. We > are checking for errors on project numbers, whether its active etc. We also > use the project number and other data to find information about the project > and add that to the record, who it belongs, client, etc. There is different > criteria for each validation. For each record, I could have anywhere from > no changes to 13 changes. > > Thanks again. > > Tim > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From CWortz at tea.state.tx.us Wed Mar 5 09:48:24 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 5 09:48:24 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: But, do you have "F:" mapped to the exact same place on the server as others do? If not, then your mapping will fail. To check if you are mapped the same as others, go to "My Computer", set View to Details, then to the left of (F:) it should show what F: is substituting for. If that does not match what others have F: substituting for, then you cannot see what others can see on the network drive. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:40 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't find the path C;/... F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks From DWUTKA at marlow.com Wed Mar 5 09:52:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 09:52:01 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82242@main2.marlow.com> What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 5 10:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 10:00:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <1046879466.7631.12.camel@sgsax-th4022c> References: <076FC7A51D07D411BC02009027A1B45101ED2E96@SEESAR3.corporate.gannettfleming.c om> <1046879466.7631.12.camel@sgsax-th4022c> Message-ID: <15128622877.20030305165905@cactus.dk> Hi Tim How do you get this file? Is it text or comma separated? It might be faster to parse and clean it when reading it rather than importing it first. /gustav >> We get a file from one of our apps, I import that data into an Access db, >> that data needs to be validated against our SQL Server. The data from the >> SQL Server is unbound, no table links. I basically send the server a >> project number, if it returns a record, its valid, if not its an error. We >> are checking for errors on project numbers, whether its active etc. We also >> use the project number and other data to find information about the project >> and add that to the record, who it belongs, client, etc. There is different >> criteria for each validation. For each record, I could have anywhere from >> no changes to 13 changes. From dli at NVTC.State.Va.Us Wed Mar 5 10:08:00 2003 From: dli at NVTC.State.Va.Us (Li, Dahuan) Date: Wed Mar 5 10:08:00 2003 Subject: [AccessD] Can't find the path C;/... Message-ID: <916533288F6BD511A12000B0D020B0E4F9E83C@NVTC02> We have used this VB application for five years. There are about ten people do their work from the aaplication. Recently, The got Can't find file message very often. I think there is something wrong with the mdb. I repair it and compact it. No broblem for a while. and same problem come again. Also, the size of the mdb is smaller and smaller. I worry about data is completed. However, my clients did't report any lost data problem. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:48 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... But, do you have "F:" mapped to the exact same place on the server as others do? If not, then your mapping will fail. To check if you are mapped the same as others, go to "My Computer", set View to Details, then to the left of (F:) it should show what F: is substituting for. If that does not match what others have F: substituting for, then you cannot see what others can see on the network drive. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:40 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't find the path C;/... F is the network drive. mdb is the file server mdb. I have VB application link to this mdb -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 05, 2003 10:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't find the path C;/... Do you have "F:" mapped to anything? The problem with letter drive mapping is everybody that uses that pathname must have the letter drive mapped to the same place. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Li, Dahuan [mailto:dli at nvtc.state.va.us] Sent: Wednesday 2003 Mar 05 09:07 To: accessd at databaseadvisors.com Subject: [AccessD] Can't find the path C;/... Hello, I got the message : " Microsoft Access can't find database file "F:\Apps\Client\Client.MDB.' Make sure you entered the correct path and file name. when I click the mdb in the window explore. Why this happen ? Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tswisher at GFNET.com Wed Mar 5 10:13:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 10:13:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E97@SEESAR3.corporate.gannettfleming.com> The powers that be do not want links. I need to use code. Tim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:51 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From tswisher at GFNET.com Wed Mar 5 10:14:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 5 10:14:01 2003 Subject: [AccessD] Editing Records Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2E98@SEESAR3.corporate.gannettfleming.com> It is already in an access table. I get about 3-4 thousand records in a text file, but a large portion is already in a table. Tim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 05, 2003 10:59 AM To: Seth Galitzer Subject: Re: [AccessD] Editing Records Hi Tim How do you get this file? Is it text or comma separated? It might be faster to parse and clean it when reading it rather than importing it first. /gustav >> We get a file from one of our apps, I import that data into an Access db, >> that data needs to be validated against our SQL Server. The data from the >> SQL Server is unbound, no table links. I basically send the server a >> project number, if it returns a record, its valid, if not its an error. We >> are checking for errors on project numbers, whether its active etc. We also >> use the project number and other data to find information about the project >> and add that to the record, who it belongs, client, etc. There is different >> criteria for each validation. For each record, I could have anywhere from >> no changes to 13 changes. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 5 10:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:22:00 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82245@main2.marlow.com> Jim, first...no blue! I would look into the security first. Actually, scratch that. I would set the IIS settings to show more detailed ASP error messages. You can get error messages that will actually pinpoint the problem. I personally use VB .dll's to do most of the work, so my ASP looks like this usually: Dim sc Dim Resp Set sc=server.createobject("MyDLL.SomeClass sc.SomeProperty=SomeValue Resp=sc.GetData If Resp="Done" then 'do something with the classes properties, which have now been set by the GetData procedure Else Response.write "The following error occurred on the server:

" & resp End if Set sc=nothing That way, if something went wrong with the GetData process (which is where 99.9% of the problems are going to occur), the ASP is going to write out to the user the error message. That means the IIS server isn't getting the error, just the .dll. Now, when I first started with ASP, one of the big hurdles I had to tackle was understanding how IIS security works. When I started making mdb driven ASP pages, I ran into problems where my code kept telling me it couldn't find the .mdb file. It made no sense, until I figured out the security issue. Here's the deal. There are FOUR security options for a web page (each page can have it's own set of options). 4 user settings (You can also include IP security, and SSL....not going to get into those....these do not affect how you interact with an .mdb). The first setting is 'Anonymous Access', which from what you say, you are not using. But the way Anonymous Access works is you give the IIS server an NT Account in which to 'act as', and when a user gets a web page with that access, they are 'acting' like the Anonymous Account. So if you have the Anonymous Access setup to use an account that doesn't have access to a particular file, pages that need that file are going to fail, because the anonymous account doesn't have the right access. The next is Plain Text Passwords. This option prompts the user to log on. It sends the password across the lines as plain text though, so it's not very 'secure'. However, this option is exactly the same as the Anonymous Access, in that whenever a user logs in, their 'credentials' are used for whatever access is required for the page (or the ASP that is working behind the page). The next one is the kicker...and it could very likely be your issue. It's Windows Integrated Security. It too prompts for a logon, however, it works similar to a normal Workstation logon by not sending a plain text user and password across the lines, instead, it sends an encrypted hash. Here's the problem with that. This security option ONLY works locally on the IIS Server. You cannot access ANYTHING that is located off of the IIS Server. That would include network databases, both .mdbs and Server Side dbs. When this security option is used, and you try to access a network resource, you are going to get the 'database can't be found' message, simply because it can't access it due to security, thus to Access/DAO/ADO, the file just doesn't exist. This can be pretty tricky, because even if you have an .mdb on the local IIS machine, if you have a linked table to a network .mdb, it is going to have problems when it hits that linked table. The fourth option is a mixture of 2 and 3. But it is only available when the IIS server is running in an Active Directory environment. I have that setup at home, but haven't had any time to see what all it can do. In conclusion, get the IIS server to give you a more complete error message, and if it's an issue of 'finding' the database, take a look at your security settings in combination of where your 'resources' are actually located. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 05, 2003 8:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] ASP and Access Problem Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Mar 5 10:25:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed Mar 5 10:25:00 2003 Subject: [AccessD] first five dates per year References: Message-ID: <000601c2e333$dc39d4d0$f5c581d5@pedro> Thanks for your help Juan. This is an usefull function. Never noticed that is was present. But it gives me only the Top 5 of the total of records. I tried to give me the top5 dates each year with this function, but i can't make it work Drew, i don't have a criterium for the records i don't want to. I just need the first 5 each year. Pedro ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 12:30 AM Subject: RE: [AccessD] first five dates per year Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 5 10:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:31:00 2003 Subject: [AccessD] Editing Records Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82246@main2.marlow.com> Oh, I hear ya. I would take a computer that catches fire over a 'powers that be' problem ANY DAY! What I would recommend then..and again, I'm still a little fuzzy on the specifics, but I would say take the smaller of the two (which I am assuming would be the imported file), and dump it into a Collection of custom Classes. Base the ID for each class you put into the collection on the 'key' that you are going to be looking for in the SQL records. Then open the SQL records as a recordset, and as you run through them, take the ID, and do a check for a matching class in your collection. If there is a match, do the update, if there isn't move on. That way you are running in memory with one of the lists, and you aren't opening and closing a recordset to find a match. Just a thought. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records The powers that be do not want links. I need to use code. Tim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:51 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records What is preventing you from making a link to the table(s) in SQL? If you have a linked table, you can make a query that pulls both recordsets up, which would allow for the dynamic criteria and the dynamic update data. Drew -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 05, 2003 9:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records I think I need to use a recordset because I do not have the validation data available to the app in any other form. More background... We get a file from one of our apps, I import that data into an Access db, that data needs to be validated against our SQL Server. The data from the SQL Server is unbound, no table links. I basically send the server a project number, if it returns a record, its valid, if not its an error. We are checking for errors on project numbers, whether its active etc. We also use the project number and other data to find information about the project and add that to the record, who it belongs, client, etc. There is different criteria for each validation. For each record, I could have anywhere from no changes to 13 changes. Thanks again. Tim -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Editing Records I didn't thoroughly check, but is there a reason you need to use a recordset to do this -- it looks to me like an Update query might be faster. Susan H. ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 8:06 AM Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 5 10:44:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 5 10:44:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82248@main2.marlow.com> Okay, simple table, ID (AutoNumber), SomeText (text field) and MyDate (Date field). I called this table tblTest. The following SQL will show the first five records for each year: SELECT ID, SomeText, MyDate FROM tblTest AS T1 WHERE ID In (SELECT TOP 5 ID FROM tblTest WHERE Year(MyDate)=Year(T1.MyDate) ORDER BY MyDate); The subquery pulls up a group of up to 5 ID's, which the main query then uses to determine if it's ID should be displayed or not. I used an ID field, because if there are more then 5 dates (say you have 6 records for January 1st in one year...) you would get more then 5 records back if you made the IN statement compare the date field to the subquery. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Wednesday, March 05, 2003 10:24 AM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Thanks for your help Juan. This is an usefull function. Never noticed that is was present. But it gives me only the Top 5 of the total of records. I tried to give me the top5 dates each year with this function, but i can't make it work Drew, i don't have a criterium for the records i don't want to. I just need the first 5 each year. Pedro ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Wednesday, March 05, 2003 12:30 AM Subject: RE: [AccessD] first five dates per year Yes simply use TOP 5 clausule in SQL Query , check SQL help in A2k the command TOP and BOTTOM for the first or last in a query Juan Menendez Mastercafe SL www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com ]En nombre de Pedro Janssen Enviado el: martes, 04 de marzo de 2003 23:14 Para: AccessD at databaseadvisors.com Asunto: [AccessD] first five dates per year Hello Group, i have a table with 10000 records. I would like to filter out, by query, the first 5 or 10 dates per different years. Is this possible. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Mar 5 11:04:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed Mar 5 11:04:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form Message-ID: <001801c2e339$32196000$6601a8c0@HAL9002> Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 5 11:15:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 5 11:15:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <001801c2e339$32196000$6601a8c0@HAL9002> Message-ID: You need a Public sub if it's called from another form, and then the syntax is just: Forms!frmName.SubName Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 10:04 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Syntax to Call a procedure from another form Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software From Lambert.Heenan at AIG.com Wed Mar 5 11:16:01 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 5 11:16:01 2003 Subject: [AccessD] Syntax to Call a procedure from another form Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897423@xlivmbx12.aig.com> You cannot call a private sub, in a form or a report or a module form anywhere except the form, report or module that defines the sub. That's the whole point of 'Private'. So make your form's sub explicitly public and you will be able to call it with this syntax... forms("YourFormName").YourSubName forms!YourFormName.YourSubName Lambert > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Wednesday, March 05, 2003 12:04 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > Dear List: > > I always have trouble with this syntax: I want to execute or call a > Private Sub in one form (which is open) from a pop up form. Can' remember > the syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > From jcolby at colbyconsulting.com Wed Mar 5 11:16:19 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Wed Mar 5 11:16:19 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <001801c2e339$32196000$6601a8c0@HAL9002> Message-ID: Rocky, It can't be private for starters. After that: forms!FormName.MyFunction(AnyParams) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 12:04 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Syntax to Call a procedure from another form Dear List: I always have trouble with this syntax: I want to execute or call a Private Sub in one form (which is open) from a pop up form. Can' remember the syntax. Anybody know offhand? MTIA Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Mar 5 11:35:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed Mar 5 11:35:00 2003 Subject: [AccessD] Syntax to Call a procedure from another form References: Message-ID: <004601c2e33d$7d7d0250$6601a8c0@HAL9002> Chris, John, Lambert: Got it. Thank you. Normally, when I call a procedure I use 'Call'. You don't need it but it makes the code more self documenting. In this case however, Access did not like the 'Call' in front of the 'Forms!frmManageMultipleAssets.cmdAdd_Click' Rocky ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 05, 2003 9:13 AM Subject: RE: [AccessD] Syntax to Call a procedure from another form > You need a Public sub if it's called from another form, and then the syntax > is just: > > Forms!frmName.SubName > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, March 05, 2003 10:04 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > > Dear List: > > I always have trouble with this syntax: I want to execute or call a Private > Sub in one form (which is open) from a pop up form. Can' remember the > syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Wed Mar 5 11:44:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 5 11:44:01 2003 Subject: [AccessD] ASP and Access Problem Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A71@NT04> No blue here either -- what was I thinking? Thanks, I'll check it out. Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 05, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ASP and Access Problem Jim, first...no blue! I would look into the security first. Actually, scratch that. I would set the IIS settings to show more detailed ASP error messages. You can get error messages that will actually pinpoint the problem. I personally use VB .dll's to do most of the work, so my ASP looks like this usually: Dim sc Dim Resp Set sc=server.createobject("MyDLL.SomeClass sc.SomeProperty=SomeValue Resp=sc.GetData If Resp="Done" then 'do something with the classes properties, which have now been set by the GetData procedure Else Response.write "The following error occurred on the server:

" & resp End if Set sc=nothing That way, if something went wrong with the GetData process (which is where 99.9% of the problems are going to occur), the ASP is going to write out to the user the error message. That means the IIS server isn't getting the error, just the .dll. Now, when I first started with ASP, one of the big hurdles I had to tackle was understanding how IIS security works. When I started making mdb driven ASP pages, I ran into problems where my code kept telling me it couldn't find the .mdb file. It made no sense, until I figured out the security issue. Here's the deal. There are FOUR security options for a web page (each page can have it's own set of options). 4 user settings (You can also include IP security, and SSL....not going to get into those....these do not affect how you interact with an .mdb). The first setting is 'Anonymous Access', which from what you say, you are not using. But the way Anonymous Access works is you give the IIS server an NT Account in which to 'act as', and when a user gets a web page with that access, they are 'acting' like the Anonymous Account. So if you have the Anonymous Access setup to use an account that doesn't have access to a particular file, pages that need that file are going to fail, because the anonymous account doesn't have the right access. The next is Plain Text Passwords. This option prompts the user to log on. It sends the password across the lines as plain text though, so it's not very 'secure'. However, this option is exactly the same as the Anonymous Access, in that whenever a user logs in, their 'credentials' are used for whatever access is required for the page (or the ASP that is working behind the page). The next one is the kicker...and it could very likely be your issue. It's Windows Integrated Security. It too prompts for a logon, however, it works similar to a normal Workstation logon by not sending a plain text user and password across the lines, instead, it sends an encrypted hash. Here's the problem with that. This security option ONLY works locally on the IIS Server. You cannot access ANYTHING that is located off of the IIS Server. That would include network databases, both .mdbs and Server Side dbs. When this security option is used, and you try to access a network resource, you are going to get the 'database can't be found' message, simply because it can't access it due to security, thus to Access/DAO/ADO, the file just doesn't exist. This can be pretty tricky, because even if you have an .mdb on the local IIS machine, if you have a linked table to a network .mdb, it is going to have problems when it hits that linked table. The fourth option is a mixture of 2 and 3. But it is only available when the IIS server is running in an Active Directory environment. I have that setup at home, but haven't had any time to see what all it can do. In conclusion, get the IIS server to give you a more complete error message, and if it's an issue of 'finding' the database, take a look at your security settings in combination of where your 'resources' are actually located. Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 05, 2003 8:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] ASP and Access Problem Thanks Drew for responding. Answers below in Blue. Jim --Snip-- Okay, am I to understand that the Access FE is working fine, but the ASP FE is having problems? -Correct. First of all, is anyone going into the BE directly? That could be an easy problem to fix. If the BE is being locked, no one is going to be working. No one accesses the BE without going through either the Access FE or ASP. Next, is the BE located on the IIS machine, or it on a network resource? If it's on a network resource, that can also be an issue, depending on how the security of the IIS machine is setup. It's on a IIS machine as far as I know. What kind of security does it need to be? The users of the ASP log in using their network user ID and password. There is no security set up on the Access FE or BE. thanks again. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Mar 5 13:25:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 5 13:25:01 2003 Subject: [AccessD] Editing Records In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2E95@SEESAR3.corporate.gannettfleming.com> Message-ID: <00a601c2e34c$706852e0$b274d0d5@andypc> Tim Just a suggestion. Dim blnNeedsUpdate As Boolean blnNeedsUpdate =False If validation1 = false then blnNeedsUpdate =True End if If validation2 = false then blnNeedsUpdate =True End if etc if blnNeedsUpdate = true .edit change all fields .update Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, Timothy B. Sent: 05 March 2003 13:06 To: accessd at databaseadvisors.com Subject: [AccessD] Editing Records Hello group, I have a procedure (A2k) that opens a recordset (DAO) and cycles through the data validating/updating several fields for each record. My question is, what is the best way to do this, Like this .edit If validation1 = false then change data End if If validation2 = false then change data End if .update Or If validation1 = false then .edit change data .update End if If validation2 = false then .edit change data .update End if I have about 13 validations that need to be done on about 90,000 records. Each validation goes to a SQL Server BE and check the validity of the data. There is a huge difference in speed opening and closing the recordset so many times, but if that is the better way to go, then so be it. All help is appreciated. TIA. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 5 13:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 5 13:37:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <000601c2e333$dc39d4d0$f5c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro> Message-ID: <13841643940.20030305203606@cactus.dk> Hi Pedro > I have a table with 10000 records. I would like to filter out, by > query, the first 5 or 10 dates per different years. > Is this possible. For a large table the use of a subquery may be painfully or even unacceptably slow. If you know the maximum number of years to list, you can create a union query like this where Year is the first year to list: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year],1,1) UNION SELECT TOP 5 Year+1 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+1,1,1) ... UNION SELECT TOP 5 Year+n AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+n,1,1) ORDER BY Year5, ID; /gustav From marcel.vreuls at oop.nl Wed Mar 5 13:44:00 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed Mar 5 13:44:00 2003 Subject: [AccessD] ASP and Access Problem In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A68@NT04> Message-ID: <00cb01c2e2d8$24382db0$c100a8c0@OOPMBO> Jim, We had the same problem (error 500). This error pops up on two occassions as I now of: 1. You (IUSR_) must have execute rights on all server directories where your asp files are stored. 2. You must have read and write AND delete(for the ldb file) rights on the location where the db is stored. Once you have done that it should work. If not mail me the first page of your site and I will take a look Ps. restart the server or apply the servicepack again will never hurt :-) Gr marcel -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: dinsdag 4 maart 2003 22:20 To: 'accessd at databaseadvisors.com' Subject: [AccessD] ASP and Access Problem I'm lost as usual with this problem. An Access 2000 BE with ASP and MDE FEs. The MDE works well at our site with the BE. The ASP FE works well on our test site. When we put the files on the client's server, they constantly get the following error. HTTP 500 - Internal server error Internet Explorer Here is what I know: Developed in Access 2000, they use Access XP (shouldn't make a difference) Two people use the MDE at the main office through a network. Both computers use WinXP, one has problems with the FE in reference to Mid function not available. Both computers have upgraded to MDAC 2.7, have the latest service pack for Windows, Office and Access. The configuration for the computers seem to be the same. There are 50+ sites that use the web site for data entry. About 3/4 of those have been able to use the site successfully with some having intermittent problems with accessing it. Others have not been able to access it at all. When we started this project, their network was extremely slow (3-4 seconds to show a network drive) in their office. Since then they have upgraded the server, changed network companies and now are in the process of changing their ISP (they were using a DSL). What could be the problems? Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Wed Mar 5 13:51:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Wed Mar 5 13:51:00 2003 Subject: [AccessD] Editing Records Message-ID: <01C2E326.8508BD00.bob@renaissancesiding.com> Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> From Jdemarco at hshhp.org Wed Mar 5 13:56:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 5 13:56:00 2003 Subject: [AccessD] Editing Records Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Oleg_123 at xuppa.com Wed Mar 5 14:01:00 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed Mar 5 14:01:00 2003 Subject: [AccessD] (OT) Updating links in Excel from Access form In-Reply-To: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> References: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> Message-ID: <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> Guys, I need to be able to update links in excel workbook from Access form. Does anyone how it is possible ? Oleg Private Sub cmdUPY_Click() DoCmd.RunMacro "GetRates" ?refresh L:\PCO\YieldInterpolation.xls DoCmd.RunMacro "GetRates2" End Sub ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail From hadyn at dataconcepts.co.nz Wed Mar 5 14:25:00 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Wed Mar 5 14:25:00 2003 Subject: [AccessD] Datagrid Control References: <005c01c2e2c1$4158f670$0700000a@xpdev> <4610868738.20030305120311@cactus.dk> Message-ID: <003a01c2e355$cd9e8ac0$0700000a@xpdev> Thanks Gustav > Freeze the two leftmost columns Learn something new everyday :) Hadyn ----- Original Message ----- From: "Gustav Brock" To: "Hadyn Morgan" Sent: Thursday, March 06, 2003 12:03 AM Subject: Re: [AccessD] Datagrid Control > Hi Hadyn > > A (sub)form in dataview can do this. > > Freeze the two leftmost columns and the rest will be horizontally > scrollable. > If number of columns can vary, create "enough" columns and set > columnwidth to zero for those far right not needed. > > Number of rows is no problem. > > /gustav > > > > Has anyone got experience using this in A2K? Is there something better to > > use? I need to have an editable grid that will lock the first 2 columns, > > horizontal scroll the rest, and allow an unknown number of rows. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Mar 5 15:16:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 5 15:16:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> Message-ID: <00b101c2e35b$f7928920$b274d0d5@andypc> Yea I like that. The principle I was suggesting, though, was just a single edit and update for each record, and only if there was something to do. But this is certainly neat. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: 05 March 2003 19:56 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Editing Records > > > In cases where a number of items (boolean variables in this > case) must be true for an event to occur I usually multiply > the booleans by each other. If I get a 0 result I know the > event should not happen: > > blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) > > If blnDoTheEvent Then > 'do it here > End If > > HTH, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Bob Gajewski [mailto:bob at renaissancesiding.com] > Sent: Wednesday, March 05, 2003 2:50 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Editing Records > > > Andy > > Just shooting from the hip, but couldn't that be done using a loop? > > Seems like it might be a lot of coding, even for just 13 > validations ... and then it would handle more if they were > added later. > > Regards, > Bob Gajewski > > On Wednesday, March 05, 2003 14:22 PM, Andy Lacey > [SMTP:andy at minstersystems.co.uk] wrote: > > Tim > > Just a suggestion > > > > Dim blnNeedsUpdate As Boolean > > > > > > blnNeedsUpdate =False > > > > If validation1 = false then > > blnNeedsUpdate =True > > > > End if > > > > If validation2 = false then > > blnNeedsUpdate =True > > > > End if > > > > > > etc > > > > if blnNeedsUpdate = true > > > > ..edit > > > > change all fields > > > > ..update > > > > > > > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > > Timothy B > > Sent: 05 March 2003 13:06 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Editing Records > > > > > > > > Hello group, I have a procedure (A2k) that opens a > recordset (DAO) and > > cycles through the data validating/updating several fields for each > > record. My question is, what is the best way to do this, > > > > Like this > > > > ..edit > > If validation1 = false then > > change data > > End if > > > > If validation2 = false then > > change data > > End if > > ..update > > > > Or > > > > If validation1 = false then > > .edit > > change data > > .update > > End if > > > > If validation2 = false then > > .edit > > change data > > .update > > End if > > > > I have about 13 validations that need to be done on about 90,000 > > records. Each validation goes to a SQL Server BE and check the > > validity of the data. There is a huge difference in speed > opening and > > closing the recordset so many times, but if that is the > better way to > > go, then so be it. All help is appreciated. TIA > > > > Tim > > > > << File: ATT00006.htm >> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > > ************************************************************** > ********************* > "This electronic message is intended to be for the use only > of the named recipient, and may contain information from > HealthSource/Hudson Health Plan (HS/HHP) that is confidential > or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is > strictly prohibited. If you have received this message in > error or are not the named recipient, please notify us > immediately, either by contacting the sender at the > electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please > do not forward this email to anyone, and delete and destroy > all copies of this message. Thank You". > ************************************************************** > ********************* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Wed Mar 5 15:19:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 5 15:19:01 2003 Subject: Subject: Re: [AccessD] OT - no Delete key in MS Word Message-ID: That was it. Word Perfect help was on. This person didn't know there was a Tools/Options menu and had never used WordPerfect yet the selection was made for her profile. Thanks a bunch. Hen >From: "Judy Johnson" >Reply-To: accessd at databaseadvisors.com >To: "AccessD" >Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word >Date: Wed, 5 Mar 2003 9:54:53 -0500 > >Henry - I had a similar thing lately, come to find out someone had turned >ON the Help for Word Perfect users which requires you to view the status >line and respond Y/N to the delete key. From the Word menu, Tools>Options >and check out the General Tab (second checkbox). >Hope it's that simple. > > > > [Original Message] > > From: Henry Simpson > > To: > > Date: 3/5/03 9:39:47 AM > > Subject: RE: Subject: Re: [AccessD] OT - no Delete key in MS Word > > > > I have a user for whom the Delete key does nothing in Word. After she > > highlights a selection she must use the backspace key to perform >deletions. > > The delete key works for her with all other applications. Only Word is > > afflicted. There is one install of Word on an NT4/terminal server and >the > > delete works for all other users in Word. > > > > We've had this problem for about a year and a half and are wondering >whether > > anyone knows of a solution. > > > > Hen > > > > > > _________________________________________________________________ > > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >Judy Johnson >jjwrite at earthlink.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jbartow at earthlink.net Wed Mar 5 15:22:01 2003 From: jbartow at earthlink.net (John Bartow) Date: Wed Mar 5 15:22:01 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB From artful at rogers.com Wed Mar 5 15:29:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 5 15:29:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85314@TTNEXCHSRV1.hshhp.com> Message-ID: <006201c2e35e$2da2cc30$8e01a8c0@Rock> For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Wed Mar 5 16:21:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Wed Mar 5 16:21:00 2003 Subject: [AccessD] multiple version of the ODE tools In-Reply-To: Message-ID: <001501c2e365$74f5e7f0$0100a8c0@CX615377A> Be very careful. If you use the packaging wizard from ODE to build runtime installs make sure it packages the components to support the version you're working in. I learned this the hard way when I had the 97 Developer edition and Office 2000 on the same computer. Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, March 05, 2003 1:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 5 16:30:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 5 16:30:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From michael.mattys at adelphia.net Wed Mar 5 16:36:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed Mar 5 16:36:00 2003 Subject: [AccessD] AutoExec Macro Question References: Message-ID: <001301c2e368$ed7e0c40$6401a8c0@default> Hi Susan, I believe you have to put Load() Mike Mattys ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 05, 2003 5:29 PM Subject: [AccessD] AutoExec Macro Question > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Wed Mar 5 16:38:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed Mar 5 16:38:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You might want to change the name of your function from LOAD to something else. At least in A97 there is an event called LOAD. "Susan Zeller" Sent by: accessd-admin at databaseadvisors.com 03/05/2003 04:29 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbhuffman at mdh.org Wed Mar 5 16:40:01 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed Mar 5 16:40:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86AB0@NEWMAN_EXC> Do you have it entered as Load()? You need to have the parentheses for it to be called properly. -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 05, 2003 4:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Wed Mar 5 16:42:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 5 16:42:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 5 16:55:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 5 16:55:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <1046905114.7631.25.camel@sgsax-th4022c> Susan, "Load" may be a reserved word and that might confuse Access. Try giving your function a different name and see if that makes any difference. I use basInit() for my applications. By using the LR prefix, I'm pretty much assured I'm not going to have a lexical collision with the interpreter. (Wow, did that sound like a load of bull or what. How many buzzwords can I put into one sentence...) Seth On Wed, 2003-03-05 at 16:29, Susan Zeller wrote: > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From stuart at lexacorp.com.pg Wed Mar 5 17:02:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 5 17:02:01 2003 Subject: [AccessD] ASP and Access Problem In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A6C@NT04> Message-ID: <3E670DF9.17408.47DB97@localhost> The answers may be in blue on your email when composing, but not when it it processed by your mail server which sends out: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; Your answers look exaclty the same as the text you are responding to and it's hard to make sense of. That's one (but by no means the only) of the problems with using all that fancy cr*p in emails. Even if they had been sent you as you composed them, many people do not use the same email client as you and would still not have seen what you intended. May I suggest you take a look at http://www.expita.com/nomime.html > Thanks Drew for responding. > Answers below in Blue. > Jim > > --Snip-- > Okay, am I to understand that the Access FE is working fine, but the ASP FE > is having problems? -Correct. > > First of all, is anyone going into the BE directly? That could be an easy > problem to fix. If the BE is being locked, no one is going to be working. > No one accesses the BE without going through either the Access FE or ASP. > > Next, is the BE located on the IIS machine, or it on a network resource? If > it's on a network resource, that can also be an issue, depending on how the > security of the IIS machine is setup. > > It's on a IIS machine as far as I know. What kind of security does it need > to be? > The users of the ASP log in using their network user ID and password. There > is no security set up on the Access FE or BE. > > thanks again. > > Jim > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From dwaters at usinternet.com Wed Mar 5 17:05:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed Mar 5 17:05:00 2003 Subject: [AccessD] Syntax to Call a procedure from another form In-Reply-To: <004601c2e33d$7d7d0250$6601a8c0@HAL9002> Message-ID: <000001c2e36b$8ab92330$de1811d8@DanWaters> To use Call, replace the first ! with a . as shown: Call Forms.frmManageMultipleAssets.cmdAdd_Click Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, March 05, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Syntax to Call a procedure from another form Chris, John, Lambert: Got it. Thank you. Normally, when I call a procedure I use 'Call'. You don't need it but it makes the code more self documenting. In this case however, Access did not like the 'Call' in front of the 'Forms!frmManageMultipleAssets.cmdAdd_Click' Rocky ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 05, 2003 9:13 AM Subject: RE: [AccessD] Syntax to Call a procedure from another form > You need a Public sub if it's called from another form, and then the syntax > is just: > > Forms!frmName.SubName > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, March 05, 2003 10:04 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Syntax to Call a procedure from another form > > > Dear List: > > I always have trouble with this syntax: I want to execute or call a Private > Sub in one form (which is open) from a pop up form. Can' remember the > syntax. Anybody know offhand? > > MTIA > > Rocky Smolin > Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Mar 5 18:19:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 5 18:19:00 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: You can install them on the same machine, but you may have problems with the packaging wizard. For a 97/2002 article on this see http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 Charlotte Foust -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Wednesday, March 05, 2003 1:22 PM To: AccessD Subject: [AccessD] multiple version of the ODE tools Does anyone know if there is a problem with installing multiple version of the ODE tools on the same PC? Specifically 97 and 2k for now. TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Mar 5 18:31:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 5 18:31:00 2003 Subject: [AccessD] multiple version of the ODE tools References: Message-ID: <00e001c2e377$af14e230$d2e6ffcc@SusanOne> Charlotte, if he partitioned his drive, would it matter then? I know lots of developers that have to keep multiple versions of Access do this anyway. Susan H. > You can install them on the same machine, but you may have problems with > the packaging wizard. For a 97/2002 article on this see > http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 > From cfoust at infostatsystems.com Wed Mar 5 18:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 5 18:51:00 2003 Subject: [AccessD] multiple version of the ODE tools Message-ID: I haven't tried it, Susan. I just ran across the article when looking for something else. The article suggests you can run them but you have to be very careful how you install them and in what order. Unless you have separate boot partitions, I don't think those problems would go away just installing them on a separate virtual drive. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, March 05, 2003 4:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] multiple version of the ODE tools Charlotte, if he partitioned his drive, would it matter then? I know lots of developers that have to keep multiple versions of Access do this anyway. Susan H. > You can install them on the same machine, but you may have problems > with the packaging wizard. For a 97/2002 article on this see > http://support.microsoft.com/default.aspx?scid=kb;en-us;320209 > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jhale at houston.rr.com Wed Mar 5 22:23:00 2003 From: jhale at houston.rr.com (James Hale) Date: Wed Mar 5 22:23:00 2003 Subject: [AccessD] ODBC connection to AS400 Message-ID: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Using the IBM client Access ODBC driver I have links to tables residing on the AS400. If I open these tables to view the AS400 gives me exclusive use of the file. The problem is it never releases the table for use by others until I quit Access. Does anyone know how to release the table? Similarly, if someone has use of the table and I try to open it I get an ODBC connection failed error. What is the correct way to trap for this error? TIA Jim Hale From jhale at houston.rr.com Wed Mar 5 22:51:00 2003 From: jhale at houston.rr.com (James Hale) Date: Wed Mar 5 22:51:00 2003 Subject: [AccessD] .net In-Reply-To: <1044379055.3e3ff5af55e14@hosea.qub.ac.uk> Message-ID: <004301c2e39c$36925c00$2602a8c0@D4MXWR01> I fervently hope that the idea of a personal, albeit powerful, relational database does not get lost in the rush to "the new greatest thing" such as .Net. The ability of non IT (and IT) types to drop data down to their machines and tinker with it is invaluable and one of the most important aspects of Access. Many bells and whistles have been added to the product over the years but at its heart the secret to Access's success IMHO is the ability it gives a single user to easily get his arms around his data. Anything that makes it harder to do this, such as making the programming language too "techie", would devalue it's usefulness. There has always been a tradeoff between power and ease of use. My impression and fear is that MS is tilting dangerously away from the ease of use end of the spectrum. If the techies have won the design wars power users will be the losers to the ultimate detriment of the industry as a whole. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Tuesday, February 04, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] .net I would say that coming are many changes to the way we use SQL Server and MSDE and Access. I would guess that some of these changes will not be for the better. Access has a massive installed user and developer base and will always be about. .NET is Microsoft strategic direction in programming applications and the web. Up to each programmer if they stick with Access or move to .NET. There will always be Acess work there. Theres work with SQL Server and MSDE thats in the nature of the beast just like Oracle. Big relational systems running the enterprise need work. Nice and easy. NO one ever said SQL Server was maintenace free but there are many developments taking place to relieve the DBA of day to day work fore example built in dynamic performance monitoring. IBM and DB2 have some interesting areas. JET got the job done until you scale up and have 20000 users and terrabytes of data. In my view MSDE was a marketing ploy. Nothing else. For whats its worth I have expressed similar concerns directly to MS on many of the issues raised especially the future direction of SQL Server, ADPs and Access. But you need to be a rela big name int he developer world to get heard properly. Martin Quoting Francisco H Tapia : > AFAIK, MS never claimed for Sql Server or MSDE to be 'maintenance-free', > and > they 'are' easier to use when compared to Oracle or DB2, and for that > matter > even mySQL. While all engines, are simple and straightforward, (after > you > read the documentation) they all have their own level of complexity. > JET, > for example crumbles under the load of Memo fields. There is also 0 > recoverability from a damaged .mdb file, if you MDB gets corrupt and the > MS > tools can't fix it, you are generally dead in the water. Sql Server > and > other big brand engines provide for up to the point of failure > recoverability. In order to use SqlServer or MSDE it does involve a > great > deal of learning the product, but I think it's just the same as when we > all > started down the road with JET. > > -Francisco > http://rcm.netfirms.com > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Tuesday, February 04, 2003 8:27 AM > Subject: RE: [AccessD] .net > > > : Unless common sense rears its ugly head somewhere along the way. > SQL > : Server and the desktop engine are not the maintenance free, > easy-to-use > : creatures that MS claims. At least Jet got the job done without > needing > : a dba on tap. > : > : Charlotte Foust > : > : -----Original Message----- > : From: Martin Reid [mailto:mwp.reid at Queens-Belfast.AC.UK] > : Sent: Tuesday, February 04, 2003 7:33 AM > : To: accessd at databaseadvisors.com > : Subject: Re: [AccessD] .net > : > : > : I think the true future of Access will not be really known > : until Access 12 is available. I do know JET and DAO are > : dead today. No further development of either AFAIK. Could > : all change but we have to wait and see. > : > : Lot of confusion it would appear > : > : Martin > : > : Martin WP Reid > : Information Services > : Queens University Belfast > : > : Tel: (02890) 273750 > : > : > : ---------------------- > : > : > : _______________________________________________ > : AccessD mailing list > : AccessD at databaseadvisors.com > : http://databaseadvisors.com/mailman/listinfo/accessd > : Website: http://www.databaseadvisors.com > : _______________________________________________ > : AccessD mailing list > : AccessD at databaseadvisors.com > : http://databaseadvisors.com/mailman/listinfo/accessd > : Website: http://www.databaseadvisors.com > : > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Mar 6 00:02:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 00:02:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <3E66E44B.5070105@shaw.ca> Gave a look through here maybe in the IBM redbook links http://search400.techtarget.com/home/0,,sid3,00.html James Hale wrote: >Using the IBM client Access ODBC driver I have links to tables residing on >the AS400. If I open these tables to view the AS400 gives me exclusive use >of the file. The problem is it never releases the table for use by others >until I quit Access. Does anyone know how to release the table? Similarly, >if someone has use of the table and I try to open it I get an ODBC >connection failed error. What is the correct way to trap for this error? TIA >Jim Hale > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Thu Mar 6 02:49:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 02:49:00 2003 Subject: [AccessD] Updating links in Excel from Access form In-Reply-To: <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> References: <01C2D1E6.28E7AC30.bob@renaissancesiding.com> <57717.199.67.140.20.1046894317.squirrel@ns1.bay9.com> Message-ID: <1365244381.20030306094816@cactus.dk> Hi Oleg > Guys, Well, as a warning, that excludes a handful or so very distinct and competent listers ... > I need to be able to update links in excel workbook from Access form. > Does anyone how it is possible ? Yes, run a function something like the one below which is based on a similar function from Mr. Colby. First, run it with a list of your macros: booSuccess = RunExcelMacros( _ "L:\PCO\YieldInterpolation.xls", _ "GetRates", "GetRates2") Next, run it to terminate Excel: booSuccess = RunExcelMacros( _ vbNullString, _ vbNullString) You can, of course, modify the function to run Excel and then terminate in one go. Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel is to be terminated. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 ' Insert here errors you wish to ignore. Resume Next Case Else ' All other errors will trap. DoCmd.Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Running macro " & varMacro Resume Exit_RunExcelMacros End Select End Function Beware of line breaks. /gustav > Private Sub cmdUPY_Click() > DoCmd.RunMacro "GetRates" > ?refresh L:\PCO\YieldInterpolation.xls > DoCmd.RunMacro "GetRates2" > End Sub From subs at solution-providers.ie Thu Mar 6 03:03:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu Mar 6 03:03:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <008901c2e3bf$2cdcc600$356da8c0@IEW001> Hello James, I did a project a few years ago and I had to connect to a table in an AS400, What we did was export the data to a file prior to my usage of it. As I was the only one using the file, I have no idea whether I kept it locked. I just thought you may be able to do the same, ie, us a copy of the table Mark ----- Original Message ----- From: "James Hale" To: Sent: Thursday, March 06, 2003 4:24 AM Subject: [AccessD] ODBC connection to AS400 > Using the IBM client Access ODBC driver I have links to tables residing on > the AS400. If I open these tables to view the AS400 gives me exclusive use > of the file. The problem is it never releases the table for use by others > until I quit Access. Does anyone know how to release the table? Similarly, > if someone has use of the table and I try to open it I get an ODBC > connection failed error. What is the correct way to trap for this error? TIA > Jim Hale > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Thu Mar 6 03:06:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 6 03:06:01 2003 Subject: [AccessD] Test-JoeSixPak1 Message-ID: <001d01c2e3bf$9dbe0550$6101a8c0@amd2k512> William Hindman From phpons at free.fr Thu Mar 6 04:01:00 2003 From: phpons at free.fr (Philippe PONS) Date: Thu Mar 6 04:01:00 2003 Subject: [AccessD] ODBC connection to AS400 References: <004201c2e398$39cdfbd0$2602a8c0@D4MXWR01> Message-ID: <002901c2e3ce$dcdc52f0$b51f3551@linceo6nagmt6g> Hello, I know that he following link gives somme info about the connection string to use when linking Access with AS400, using ADO and OLEDB. There is also a link to the IBM redbook. http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForAS400FromIBM HTH, Philippe ----- Original Message ----- From: "James Hale" To: Sent: Thursday, March 06, 2003 4:24 AM Subject: [AccessD] ODBC connection to AS400 > Using the IBM client Access ODBC driver I have links to tables residing on > the AS400. If I open these tables to view the AS400 gives me exclusive use > of the file. The problem is it never releases the table for use by others > until I quit Access. Does anyone know how to release the table? Similarly, > if someone has use of the table and I try to open it I get an ODBC > connection failed error. What is the correct way to trap for this error? TIA > Jim Hale > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Mar 6 07:22:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu Mar 6 07:22:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85320@TTNEXCHSRV1.hshhp.com> >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 6 07:35:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 6 07:35:00 2003 Subject: [AccessD] Help with function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Mar 6 07:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 07:47:00 2003 Subject: [AccessD] Help with function In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> Message-ID: <2323119423.20030306144611@cactus.dk> Hi Virginia Don't hit me, but you can't do this: If Not IsNull("qry_EvaluatorNull.evaluatorID") Then You need to open a recordset and evaluate .RecordCount ... /gustav > I am trying to write a function that will open a form with a filter. I can't > seem to get it in the correct order. I tried it two different ways as shown > below. If the evaluator has been assigned, I do not want the form to open, > the message "All assigned" should show. > In the first try, the message does not show at all. The second try, the > message works, but the form still opens, so I added the last line of > DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the > form not to even show. I tried adding an On Error Resume Next, but that did > not work either, the form still opened & then closed. > Virginia > *******One Way********** > Function NoEval() > If Not IsNull("qry_EvaluatorNull.evaluatorID") Then > DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , > acFormEdit, acWindowNormal > Else > MsgBox "All RCSEs have been assigned to an Evaluator" > DoCmd.Close acForm, "frm_RCSE" > End If > End Function From CWortz at tea.state.tx.us Thu Mar 6 07:48:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 07:48:00 2003 Subject: [AccessD] Help with function Message-ID: Virginia, I presume you still have your second method so I will suggest how to modify it. 1. Open the form with its Visible property set to False. 2. Change the IF statement to IF IsNull(...) Then MsgBox ... DoCmd.Close ... Else 'set form's Visible property to True End If Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday 2003 Mar 06 07:34 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 07:52:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 07:52:01 2003 Subject: [AccessD] Help with function Message-ID: Gustav, Very good point. I overlooked that in my reply. It's true, just referencing a query does not execute it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday 2003 Mar 06 07:46 To: Hollis,Virginia Subject: Re: [AccessD] Help with function Hi Virginia Don't hit me, but you can't do this: If Not IsNull("qry_EvaluatorNull.evaluatorID") Then You need to open a recordset and evaluate .RecordCount ... /gustav > I am trying to write a function that will open a form with a filter. I > can't seem to get it in the correct order. I tried it two different > ways as shown below. If the evaluator has been assigned, I do not want > the form to open, the message "All assigned" should show. > In the first try, the message does not show at all. The second try, > the message works, but the form still opens, so I added the last line > of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would > like the form not to even show. I tried adding an On Error Resume > Next, but that did not work either, the form still opened & then > closed. > Virginia > *******One Way********** > Function NoEval() > If Not IsNull("qry_EvaluatorNull.evaluatorID") Then > DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , > acFormEdit, acWindowNormal > Else > MsgBox "All RCSEs have been assigned to an Evaluator" > DoCmd.Close acForm, "frm_RCSE" > End If > End Function From j.frederick at att.net Thu Mar 6 08:25:00 2003 From: j.frederick at att.net (John Frederick) Date: Thu Mar 6 08:25:00 2003 Subject: [AccessD] Help with function In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD87@exchange.pgdp> Message-ID: I don't see anything in my documentation on the IsNull funtion in Access 97 or Access 2000 that suggests that a query name can be used as you do in both of your examples. My first attempt would be to say: Function NoEval() If DCount("*","qry_EvaluatorNull") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" End If End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 06, 2003 8:34 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 08:28:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 08:28:01 2003 Subject: [AccessD] Searching M$'s KB Message-ID: For those of you that do not subscribe to Fred Langa's newsletter here is an article about ways to search M$'s KB. http://www.langa.com/newsletters/2002/2002-03-25.htm#1 For those of you frustrated from trying to find anything in the KB when you use M$'s search engine, the article points out less frustrating ways to find what you are searching for. I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Thu Mar 6 08:38:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Thu Mar 6 08:38:00 2003 Subject: [AccessD] Editing Records Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Arthur: I agree with your decade old opinion. Why waste your time programming and MAINTAINING two or more separate forms that have the same controls and similar functionalities?? If you add a field to the table, you then have to remember to go add it to your insert form, your edit form, your read only form, etc. This is the position I am now in. I have come into a job where the old developer created multiple forms for every scenario. It is a lot more work to maintain that system! I feel this method that I use is MUCH cleaner and easier to maintain: In my global code module (runs on autoexec) I have this variable declared: Public gintEditState As Integer '1=Add, 2=Edit, 3=Read Only Then the depending on the option clicked and/or the user's security, the click event sets the global variable and executes the following: Case 1 'Add mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormNew Case 2 'Edit mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit Case 3 'Read-only mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly So the easy math would be: One copy of the form + One set of code to maintain = cleaner application Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Thu Mar 6 09:21:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Thu Mar 6 09:21:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85320@TTNEXCHSRV1.hshhp.com> Message-ID: Rates: For-Profit vs. Non-ProfitThis is what I was told to do 4 years ago by my accountant. I spell it out up front and tell the client that because I work for a service corporation that I can't deduct my services as a donation - give them a shoulder shrug and tell them it would be easier for me if I could but that's the tax law. They are usually glad to hear it. If they aren't they apparently don't need my services. There are plenty of non-profit orgs in the world that will be appreciative. Good Luck, JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 06, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Mar 6 09:35:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 6 09:35:01 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <010401c2e3f5$d8f73ed0$f4ecffcc@SusanOne> Searching M$'s KBI know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 6 09:36:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 6 09:36:01 2003 Subject: [AccessD] Help with function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAD8A@exchange.pgdp> TaDaa! That works. -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Thursday, March 06, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Help with function I don't see anything in my documentation on the IsNull funtion in Access 97 or Access 2000 that suggests that a query name can be used as you do in both of your examples. My first attempt would be to say: Function NoEval() If DCount("*","qry_EvaluatorNull") > 0 Then 'gives the number of records returned by the query DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" End If End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 06, 2003 8:34 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Help with function I am trying to write a function that will open a form with a filter. I can't seem to get it in the correct order. I tried it two different ways as shown below. If the evaluator has been assigned, I do not want the form to open, the message "All assigned" should show. In the first try, the message does not show at all. The second try, the message works, but the form still opens, so I added the last line of DoCmd.Close acform, "frm_RCSE". The form shows then closes. I would like the form not to even show. I tried adding an On Error Resume Next, but that did not work either, the form still opened & then closed. Virginia *******One Way********** Function NoEval() If Not IsNull("qry_EvaluatorNull.evaluatorID") Then DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal Else MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function **********Second try********* Function NoEval() DoCmd.OpenForm "frm_RCSE", acNormal, "qry_EvaluatorNull", , acFormEdit, acWindowNormal If Not IsNull("qry_EvaluatorNull.evaluatorID") Then MsgBox "All RCSEs have been assigned to an Evaluator" DoCmd.Close acForm, "frm_RCSE" End If End Function -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Thu Mar 6 09:52:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 6 09:52:00 2003 Subject: [AccessD] Rates: For-Profit vs. Non-Profit In-Reply-To: Message-ID: <000701c2e3f8$29ef5320$de1811d8@DanWaters> Thanks for everyone for telling your experiences and for your advice. Since I incorporated as a Subchapter S, I will definitely get some accounting advice prior to discounting for non-profits. Thanks! Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 06, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit This is what I was told to do 4 years ago by my accountant. I spell it out up front and tell the client that because I work for a service corporation that I can't deduct my services as a donation - give them a shoulder shrug and tell them it would be easier for me if I could but that's the tax law. They are usually glad to hear it. If they aren't they apparently don't need my services. There are plenty of non-profit orgs in the world that will be appreciative. Good Luck, JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 06, 2003 7:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rates: For-Profit vs. Non-Profit >>then mark as much as half of it as a donation or in-kind service<< You can do it this way but note this: I did bill a non-profit at full rate minus a deduction for donation and could not claim it as as deduction on my taxes. I was told I had to bill in full, receive payment, and make the donation after the fact (which I don't think would have worked for the organization). I used that discount to land the job thinking I could recoup a bit on taxes :-( Moral of story: Check with your accountant first. Jim DeMarco -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rates: For-Profit vs. Non-Profit Dan ...I bill my normal full rate ...and then mark as much as half of it as a donation or in-kind service, whatever makes their accountants happy. ...billing full rate on paper keeps the value of your work in front of them and doesn't result in low ball references to others which tend to take your options away. ...billing at full rate and then donating half may also result in tax advantages for both of you depending upon how you're structured and how much is involved. ...nonprofits often are recipients of grants which match funds raised elsewhere and may well use your donation as part of their offset while taking advantage of your billing price to boost their expenses for both taxes and fundraising purposes. ...talk it over with the nonprofit's money man and you may well help yourself as well as them. William Hindman ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 04, 2003 3:24 PM Subject: [AccessD] Rates: For-Profit vs. Non-Profit Folks, I know that sometimes people will provide a lower rate to a non-profit organization, particularly if you believe in what they are doing. I may get some work from a Non-Profit soon, and I was wondering if anyone has a general rule of thumb about how you reduce your normal rate, or how you might charge differently. Also, are there any tax implications that you know of? Thanks, Dan Waters Quality Process Solutions ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Thu Mar 6 09:56:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 09:56:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 6 10:04:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 6 10:04:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? From sgsax at ksu.edu Thu Mar 6 10:10:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 6 10:10:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <1046967210.9422.2.camel@sgsax-th4022c> Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, my > splash screen is also my main menu page and so users return to it over > and over. The code that I wanted to call in the Autoexec Marco creates > a connetion to my SQL Server using "Application Role" security. The way > this works, I can only run this code once during the application. If > it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From reische at mdh.org Thu Mar 6 10:22:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Thu Mar 6 10:22:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86ABF@NEWMAN_EXC> You should be storing the pk which should be an autonumber. No matter what they rename the program as, the pk will stay the same and you can count those. Hth Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 06, 2003 10:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 6 10:23:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 10:23:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: John, I presume your drop-down box has two fields, one with names such as "Family Assistance" and the other with some code value to store in place of the full name. This code value, say 10 for "Family Assistance," is what you store in your records and what you want to count for your reports. Say you store this value in a field called PgmCode. Then you can write an aggregate query where you Group By PgmCode and count the number in each resulting group. This should get you started. Come back to the list if you have any problems fleshing this out. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 06 10:02 To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? From sgsax at ksu.edu Thu Mar 6 10:24:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 6 10:24:00 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: References: Message-ID: <1046968025.9422.14.camel@sgsax-th4022c> John, Gut reaction here... Do this in two steps: 1) build a query which extracts a list unique possible values 2a) either link that query to your source table in a new query and get your counts using domain aggregate functions within that query, or 2b) step through that query and get the counts using domain aggregate functions in code Just my first reaction. There may be more efficient ways to do this. Seth On Thu, 2003-03-06 at 10:01, John Clark wrote: > I haven't bothered y'all for a couple of weeks now, but I have painted > myself into a corner, on the program that I am currently working on. I > missed something in my early assessment of the old program that I am > replacing, and I did not see something that was there. I have gone a > different way with something, and now I am having difficulty > accomplishing the same results. > > The old form looked like it had quite a bit of information on it, but > when I actually looked close, there was quite a bit of waste. For > instance, the change that I made was to convert 12 checkboxes into a > single drop-down box. I'm really not sorry for this decision, because it > served a couple of purposes, beyond simple aesthetics...the old > "hardcoded" labels for the checkboxes are actually names that are no > longer in use...it is a Social Services program, and they like to change > their program names (i.e. Since I have been here, Public Assistance > became Temporary Assistance, which is now known as Family > Assistance...All it is, is Welfare with more PC titles...they should > just call it BS, and everybody knows what that means). With the combo > box, they can change the names, whenever they desire, and they can add > and delete programs too...a couple of the current ones aren't used > anymore. > > The problem is that, on one of their reports, they total out the check > boxes for each section (i.e. 95 Denied HR cases in the Lockport > office...the report is sectioned by Offices). Now that I have gone with > the drop-down method, I cannot simply add up the check boxes. And, I > cannot say count each x, because it can now change, and I don't know > what "x" is...may not do so very much, but it can. > > Somehow I need to count each existing "x". I need to know that there > are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" > that was added and I'll need to count that. > > Any ideas? > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Thu Mar 6 10:24:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 6 10:24:08 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <000201c2e3fd$03a744c0$653a0cd8@hargrove.internal> How about a query that groups by the Dropdown field's value and counts the PK# of occurrences? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 06, 2003 11:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Mar 6 10:29:01 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:29:01 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <00d701c2e3fd$688346a0$6401a8c0@papparuff> Depending on where you need to display the count of your x's, y's, and z's, why not create a subreport and base the subreport's recordsource on a grouped query where the distinct values are counted? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, March 06, 2003 8:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Counting "unknown" fields I haven't bothered y'all for a couple of weeks now, but I have painted myself into a corner, on the program that I am currently working on. I missed something in my early assessment of the old program that I am replacing, and I did not see something that was there. I have gone a different way with something, and now I am having difficulty accomplishing the same results. The old form looked like it had quite a bit of information on it, but when I actually looked close, there was quite a bit of waste. For instance, the change that I made was to convert 12 checkboxes into a single drop-down box. I'm really not sorry for this decision, because it served a couple of purposes, beyond simple aesthetics...the old "hardcoded" labels for the checkboxes are actually names that are no longer in use...it is a Social Services program, and they like to change their program names (i.e. Since I have been here, Public Assistance became Temporary Assistance, which is now known as Family Assistance...All it is, is Welfare with more PC titles...they should just call it BS, and everybody knows what that means). With the combo box, they can change the names, whenever they desire, and they can add and delete programs too...a couple of the current ones aren't used anymore. The problem is that, on one of their reports, they total out the check boxes for each section (i.e. 95 Denied HR cases in the Lockport office...the report is sectioned by Offices). Now that I have gone with the drop-down method, I cannot simply add up the check boxes. And, I cannot say count each x, because it can now change, and I don't know what "x" is...may not do so very much, but it can. Somehow I need to count each existing "x". I need to know that there are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" that was added and I'll need to count that. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 6 10:35:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 10:35:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Mar 6 10:53:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu Mar 6 10:53:00 2003 Subject: [AccessD] Counting "unknown" fields Message-ID: Hi John, Sounds like a totals query grouped by program name with a count on a non null field in the table. That will give you the results of one row per program name with a count of the records with that value. Gary Kjos >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Counting "unknown" fields >Date: Thu, 06 Mar 2003 11:01:41 -0500 > >I haven't bothered y'all for a couple of weeks now, but I have painted >myself into a corner, on the program that I am currently working on. I >missed something in my early assessment of the old program that I am >replacing, and I did not see something that was there. I have gone a >different way with something, and now I am having difficulty >accomplishing the same results. > >The old form looked like it had quite a bit of information on it, but >when I actually looked close, there was quite a bit of waste. For >instance, the change that I made was to convert 12 checkboxes into a >single drop-down box. I'm really not sorry for this decision, because it >served a couple of purposes, beyond simple aesthetics...the old >"hardcoded" labels for the checkboxes are actually names that are no >longer in use...it is a Social Services program, and they like to change >their program names (i.e. Since I have been here, Public Assistance >became Temporary Assistance, which is now known as Family >Assistance...All it is, is Welfare with more PC titles...they should >just call it BS, and everybody knows what that means). With the combo >box, they can change the names, whenever they desire, and they can add >and delete programs too...a couple of the current ones aren't used >anymore. > >The problem is that, on one of their reports, they total out the check >boxes for each section (i.e. 95 Denied HR cases in the Lockport >office...the report is sectioned by Offices). Now that I have gone with >the drop-down method, I cannot simply add up the check boxes. And, I >cannot say count each x, because it can now change, and I don't know >what "x" is...may not do so very much, but it can. > >Somehow I need to count each existing "x". I need to know that there >are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" >that was added and I'll need to count that. > >Any ideas? > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From papparuff at attbi.com Thu Mar 6 10:53:37 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:53:37 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <00d801c2e400$c604ee20$6401a8c0@papparuff> What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Mar 6 10:55:00 2003 From: papparuff at attbi.com (John Ruff) Date: Thu Mar 6 10:55:00 2003 Subject: Recall: [AccessD] AutoExec Macro Question Message-ID: The sender would like to recall the message, "[AccessD] AutoExec Macro Question". -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 789 bytes Desc: not available URL: From szeller at cce.umn.edu Thu Mar 6 10:59:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 10:59:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Thu Mar 6 11:10:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Thu Mar 6 11:10:01 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: Susan, I think that's the best approach, have a hidden splash screen if necessary, have it do what it needs to do and then close itself and open the real main form. Much easier to debug/error trap if nothing else. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 6 11:15:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 11:15:02 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You don't have it in a module also named basLoad, do you? Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Thursday, March 06, 2003 7:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 6 11:44:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 11:44:01 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Nope, module is named basAppRole -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 06, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question You don't have it in a module also named basLoad, do you? Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Thursday, March 06, 2003 7:55 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Chris, I know, I know! I have never used a Macro before, but in this case, my splash screen is also my main menu page and so users return to it over and over. The code that I wanted to call in the Autoexec Marco creates a connetion to my SQL Server using "Application Role" security. The way this works, I can only run this code once during the application. If it's called a second time, it gives an error. I changed the name of the function from Load to basLoad can put basLoad() in the macro. None of that works. So, I'm building a separate splash screen and putting the basLoad on open of that form. Still seems a mystery to me, though. --Susan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Wednesday, March 05, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question "What am I doing wrong?" Using a Macro. Assuming you have a startup form selected you can call that code from any of the events of that form, Open, Load or Close seem like 3 obvious choices depending on what you're doing in the code. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller Sent: Wednesday, March 05, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: [AccessD] AutoExec Macro Question I'm trying to use an AutoExec macro for the first time. I have an Acess XP ADP in Access 2002 format. I want to run a bit of code on start of the application so I created a macro called AutoExec which has one step: RunCode and in it I call a function called LOAD which is public and is in a module. When I start my application, it says it can't find Load. What am I doing wrong? --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Mar 6 12:01:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 6 12:01:12 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: References: Message-ID: <6238355922.20030306190007@cactus.dk> Hi Susan I would certainly cut it down to this: Public Function basLoad() as Boolean as you do not return a connection. Also, add a return value: ... basLoad = True ex: Exit Function ... /gustav > Here's the code: > Public Function basLoad() As ADODB.Connection > On Error GoTo eh > 'sbz 11/20/02 based on code from Mark Field. > 'this code creates a connection to the SQL Server database using an > application role. > 'When the code is run, the user stops having permissions assigned to > themselves as a user > 'and takes on the permissions assigned to the role. > 'the user stays connected in the application role until the connection > to sql server is > 'terminated, which will most likely be on close of the application. > Dim cnn As ADODB.Connection > Set cnn = New ADODB.Connection > Set cnn = CurrentProject.Connection > cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', > {Encrypt N 'password'}, 'odbc'") > ex: > Exit Function > eh: > mbAppCnxnOpen = False > Set mAppCnxn = Nothing > If Err.Number = -2147467259 Then > Err.Raise 55004, , "You currently cannot connect to the database > server. Please contact the OIS Help Desk 5-4564." > Else > MsgBox Err.Description > End If > GoTo ex > End Function From mikedorism at ntelos.net Thu Mar 6 12:01:42 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 6 12:01:42 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <000001c2e40a$93e54fc0$883a0cd8@hargrove.internal> AHA! The function returns a value... Can't do that when you use RunCode. Take that part off and it should work just fine. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Thu Mar 6 12:10:20 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu Mar 6 12:10:20 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F109@mailgate.bury.gov.uk> Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Thu Mar 6 12:49:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 12:49:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Richard, May I inquire why you want to use Crystal Reports with Access? Access 2002 and Crystal Reports 9.0 are almost identical in their feature sets, so why not use Access for your reports? Why pay extra for Crystal Reports? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday 2003 Mar 06 12:09 To: 'dba-VB at databaseadvisors.com' Cc: 'AccessD at databaseadvisors.com' Subject: [AccessD] Access and Crystal Reports Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard From jeffrey.demulling at usbank.com Thu Mar 6 12:57:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 6 12:57:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO Message-ID: I have the current code for an on click event: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim strConnectionString As String Dim cmdText As String Dim fld As ADODB.Field cn.Provider = "SQLOLEDB" cn.Properties("Data Source") = cn.Properties("Initial Catalog") = cn.Properties("User ID") = cn.Properties("Password") = cn.Open cmdText = "Select * From tblregions" rs.Open cmdText, cn Me.RecordSource = rs.GetRows rs.MoveFirst Do Until rs.EOF MsgBox rs.Fields("Number") rs.MoveNext Loop This code allows me to Loop through the recordset and see the values in a message box. Now what I want to do is place the information on a form (continous would be fine for now). If any one can help me with this ADO stuff I would appericate it very much, as I am just now getting to play with it. Thanks!!! rs.Close End Sub -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Mar 6 13:00:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 13:00:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Thu Mar 6 13:04:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu Mar 6 13:04:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A74@NT04> I'll second that! We have a "commercial" program using an Access 97 BE with Crystal Reports. It is awful! We have ONE person (out of about 40) able to use Crystal Reports to create ad hoc reports. We are in the process of replacing the product by combining the needed data with other Access databases. Jim -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:49 PM To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com Subject: RE: [AccessD] Access and Crystal Reports Richard, May I inquire why you want to use Crystal Reports with Access? Access 2002 and Crystal Reports 9.0 are almost identical in their feature sets, so why not use Access for your reports? Why pay extra for Crystal Reports? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday 2003 Mar 06 12:09 To: 'dba-VB at databaseadvisors.com' Cc: 'AccessD at databaseadvisors.com' Subject: [AccessD] Access and Crystal Reports Hi using code how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Thu Mar 6 13:19:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu Mar 6 13:19:00 2003 Subject: [AccessD] Access and Crystal Reports References: Message-ID: <001d01c2e415$37b74900$b501010a@DAISY.local> > Why pay extra for Crystal Reports? Sorry for my jumping in, Charles, I used to use Crystal Reports(CR) to build advanced reports with C++ last spring - and I'd say that CR can give 1000 points allowance to MS Access reports' designer and still win nevertheless this big handicap... On first glance CR looks for a MS Access developer like a very sprawl and not as intuitional as MS Access report designer tool but when one gets the rules of report generation used by CR they understand that CR allows to create reports, which can't be created in MS Access - and I think that all of MS Access types of reports can be created by using CR... And of course CR reports created to view in MS Access can be (re-)used in VB, C++, DELPHI, on the Web etc.etc.... Shamil ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Thursday, March 06, 2003 9:48 PM Subject: RE: [AccessD] Access and Crystal Reports > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > so why not use Access for your reports? Why pay extra for Crystal > Reports? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 6 13:38:13 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 13:38:13 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Shamil, I just got through with a three day course on what's new in Crystal Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are almost identical in their feature sets. I did not say they were equally easy to learn or use, because that is subject to your background experience and personal preferences. I also stand by my assertion that there is no reason to buy CR to produce reports from an Access database. If you have C++, C#, VB or some other platform as your front-end to SQL Server or Sysbase or some other database other than Access, then CR makes sense. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 13:19 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Why pay extra for Crystal Reports? Sorry for my jumping in, Charles, I used to use Crystal Reports(CR) to build advanced reports with C++ last spring - and I'd say that CR can give 1000 points allowance to MS Access reports' designer and still win nevertheless this big handicap... On first glance CR looks for a MS Access developer like a very sprawl and not as intuitional as MS Access report designer tool but when one gets the rules of report generation used by CR they understand that CR allows to create reports, which can't be created in MS Access - and I think that all of MS Access types of reports can be created by using CR... And of course CR reports created to view in MS Access can be (re-)used in VB, C++, DELPHI, on the Web etc.etc.... Shamil ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Thursday, March 06, 2003 9:48 PM Subject: RE: [AccessD] Access and Crystal Reports > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature > sets, so why not use Access for your reports? Why pay extra for > Crystal Reports? > > Charles Wortz > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard From michael.broesdorf at web.de Thu Mar 6 14:09:01 2003 From: michael.broesdorf at web.de (Michael Broesdorf) Date: Thu Mar 6 14:09:01 2003 Subject: [AccessD] MDB-File format In-Reply-To: Message-ID: Dear group, is there any documentation available on internal file structures of MDB-files? Michael From DMcAfee at haascnc.com Thu Mar 6 14:13:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 14:13:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: <657FB70438B7D311AF320090279C1801026D7921@EXCHMAIL> Thanks for the heads up Charlotte, The KB article isn't clear. I remember reading somewhere that you should always use: IF NZ(SomeValue,"") <> "" rather than IF NZ(SomeValue) <> "" So maybe that's what they are talking about. I don't use AXP yet, only 97 & 2K (which still seem to work for me) David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 10:56 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4817 bytes Desc: not available URL: From jbartow at earthlink.net Thu Mar 6 14:15:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Thu Mar 6 14:15:00 2003 Subject: [AccessD] multiple version of the ODE tools In-Reply-To: Message-ID: Thanks to all who replied. From wdhindman at bellsouth.net Thu Mar 6 14:28:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 6 14:28:01 2003 Subject: [AccessD] Nz function in Access 2002 References: Message-ID: <00a601c2e41e$c8679aa0$6101a8c0@amd2k512> Nz function in Access 2002...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 6 14:32:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 14:32:01 2003 Subject: [AccessD] MDB-File format Message-ID: Michael, If there was, there would be a lot less gnashing of teeth and banging of heads against walls by Access developers! There should be somebody in M$ that knows the internal file structure, but so far nobody has been able to induce him/her to tell the rest of us. When the person is probably a multi-millionaire (if not a billionaire) it is hard to bribe such a person. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Michael Broesdorf [mailto:michael.broesdorf at web.de] Sent: Thursday 2003 Mar 06 08:13 To: accessd at databaseadvisors.com Subject: [AccessD] MDB-File format Dear group, is there any documentation available on internal file structures of MDB-files? Michael From CWortz at tea.state.tx.us Thu Mar 6 14:41:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 6 14:41:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Thu Mar 6 14:56:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu Mar 6 14:56:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: Yes, that's it! Thank you. -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 06, 2003 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question AHA! The function returns a value... Can't do that when you use RunCode. Take that part off and it should work just fine. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Here's the code: Public Function basLoad() As ADODB.Connection On Error GoTo eh 'sbz 11/20/02 based on code from Mark Field. 'this code creates a connection to the SQL Server database using an application role. 'When the code is run, the user stops having permissions assigned to themselves as a user 'and takes on the permissions assigned to the role. 'the user stays connected in the application role until the connection to sql server is 'terminated, which will most likely be on close of the application. Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection Set cnn = CurrentProject.Connection cnn.Execute ("EXEC sp_setapprole 'Name_of_application_role', {Encrypt N 'password'}, 'odbc'") ex: Exit Function eh: mbAppCnxnOpen = False Set mAppCnxn = Nothing If Err.Number = -2147467259 Then Err.Raise 55004, , "You currently cannot connect to the database server. Please contact the OIS Help Desk 5-4564." Else MsgBox Err.Description End If GoTo ex End Function -----Original Message----- From: John Ruff [mailto:papparuff at attbi.com] Sent: Thursday, March 06, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question What does your basLoad function do? John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 06, 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Yup, it's a public function. -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Thursday, March 06, 2003 10:14 AM To: accessd Subject: RE: [AccessD] AutoExec Macro Question Susan, One more thing to check. Are you sure basLoad is a function and not a sub? IIRC, the RunCode macro directive will only call public functions and not subs. Another way to test is to open any module and try to run the function from the Immediate Window. Just type ?basLoad anywhere in the window. If it is a function and it is public, it should run. If it doesn't run, then chances are one of those two things is not true. Seth On Thu, 2003-03-06 at 09:55, Susan Zeller wrote: > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 6 15:05:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 15:05:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Thu Mar 6 15:59:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu Mar 6 15:59:01 2003 Subject: [AccessD] Access and Crystal Reports References: Message-ID: <001701c2e42b$9a0fab40$b501010a@DAISY.local> > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, March 06, 2003 10:37 PM Subject: RE: [AccessD] Access and Crystal Reports > Shamil, > > I just got through with a three day course on what's new in Crystal > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > almost identical in their feature sets. I did not say they were equally > easy to learn or use, because that is subject to your background > experience and personal preferences. > > I also stand by my assertion that there is no reason to buy CR to > produce reports from an Access database. > > If you have C++, C#, VB or some other platform as your front-end to SQL > Server or Sysbase or some other database other than Access, then CR > makes sense. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 13:19 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Why pay extra for Crystal Reports? > Sorry for my jumping in, Charles, > > I used to use Crystal Reports(CR) to build advanced reports with C++ > last spring - and I'd say that CR can give 1000 points allowance to MS > Access reports' designer and still win nevertheless this big handicap... > On first glance CR looks for a MS Access developer like a very sprawl > and not as intuitional as MS Access report designer tool but when one > gets the rules of report generation used by CR they understand that CR > allows to create reports, which can't be created in MS Access - and I > think that all of MS Access types of reports can be created by using > CR... > > And of course CR reports created to view in MS Access can be (re-)used > in VB, C++, DELPHI, on the Web etc.etc.... > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: ; > Sent: Thursday, March 06, 2003 9:48 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > sets, so why not use Access for your reports? Why pay extra for > > Crystal Reports? > > > > Charles Wortz > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Thu Mar 6 16:04:01 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 6 16:04:01 2003 Subject: [AccessD] OT: Max rows in Excel 97 References: Message-ID: <000201c2e42c$67e12ee0$132b9244@cg.shawcable.net> Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt From jeffrey.demulling at usbank.com Thu Mar 6 16:15:01 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 6 16:15:01 2003 Subject: [AccessD] OT: Max rows in Excel 97 Message-ID: Make sure that you are saving the file as 97 and not "Microsoft Excel 97 & 5.0/95" in the save as box. If you save it as the later Excel will "cut-off" the rows after 16,384. You could also save your file as a CSV file. "t tom" Sent by: accessd-admin at databaseadvisors.com 03/06/2003 04:02 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] OT: Max rows in Excel 97 Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Mar 6 16:15:35 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 6 16:15:35 2003 Subject: [AccessD] FW: Class Module Method in Loop Message-ID: MessageFrom: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, March 05, 2003 5:38 PM To: 'accessd-admin at databaseadvisors.com' Subject: Class Module Method in Loop When I use a method of a class module in a loop, where should 'Set=' be? Or should I be using a standard module for this kind of method? Dim obj as clsTest This: Set obj = new clsTest Do obj.Method... Loop Set obj = nothing or This: Do Set obj = new clsTest obj.Method... Set obj = nothing Loop TIA. Myke ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Mar 6 16:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 6 16:19:00 2003 Subject: [AccessD] OT: Max rows in Excel 97 Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82258@main2.marlow.com> http://support.microsoft.com/default.aspx?scid=kb;en-us;167669 The link above explains the 16k limit. It also has a work around. Drew -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Thursday, March 06, 2003 4:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Max rows in Excel 97 Hi All What is the maxinum of rows you can import from an Excel file. I am trying to import an Excel file containing 20,000 rows but it stops at 16,384. Also , what is the maxinum of records you can export to an Excel file ( per sheet ). TIA Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Mar 6 16:20:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu Mar 6 16:20:00 2003 Subject: [AccessD] MDB-File format Message-ID: There was a group of people working on this some time ago. The fellow at ttoews at mvps.org address once provided me some information about these people but the project was a rather extensive work in progress based on the Access 97 file format at the time. I've found that if the data isn't encrypted, you can open the file with wordpad and find text strings in data fields and module code. Of course the compiled code is incomprehensible. If you want to document the file structure, start with an empty database, then compare with a database with one table of one field. Add an index. Add another field. Start over with a field of a different type. Try a linked table. Add a module. Wordpad will get you started with where to point a hex editor as you compare files with single changes from one version to the next. I once had a tables only database that at one point in time had some record processing code that I moved to a application and deleted from the back end file. Two years later, after several hundred compacts, repairs and the such, Wordpad still found the text of the module. There was no getting rid of it even with a decompile which is something I don't ordinarily do with a table only file. Unfortunately, the format is proprietary and I have read that the anti virus software and data recovery companies have some of the best information about the format and they reveal nothing to the populace. Hen >From: "Wortz, Charles" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] MDB-File format >Date: Thu, 6 Mar 2003 14:31:49 -0600 > >Michael, > >If there was, there would be a lot less gnashing of teeth and banging of >heads against walls by Access developers! There should be somebody in >M$ that knows the internal file structure, but so far nobody has been >able to induce him/her to tell the rest of us. When the person is >probably a multi-millionaire (if not a billionaire) it is hard to bribe >such a person. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: Michael Broesdorf [mailto:michael.broesdorf at web.de] >Sent: Thursday 2003 Mar 06 08:13 >To: accessd at databaseadvisors.com >Subject: [AccessD] MDB-File format > >Dear group, > >is there any documentation available on internal file structures of >MDB-files? > >Michael >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From ttom at accessyourdata.com Thu Mar 6 16:26:00 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 6 16:26:00 2003 Subject: [AccessD] test - Please ignore Message-ID: <002301c2e42f$88094560$132b9244@cg.shawcable.net> -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 6 16:28:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 6 16:28:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: <010401c2e3f5$d8f73ed0$f4ecffcc@SusanOne> Message-ID: <012601c2e42f$a4bfe330$8e01a8c0@Rock> It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 6 16:38:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 6 16:38:01 2003 Subject: [AccessD] Editing Records In-Reply-To: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Message-ID: <012f01c2e430$ef7d61d0$8e01a8c0@Rock> On the assumption that both forms are almost identical, you're quite right. However, my shifting opinion derives from a realization that viewing and editing forms are often quite different, and insert forms different again. The use of a single form often requires the loading of combo boxes, list boxes etc., some of which lists may be quite large. OTOH, a query could use joins etc. to resolve all the FKs without populating any lists. You would see read-only controls that display the columns of interest without incurring any control-population overhead. Then when the user clicks the Edit button, you populate the lists (taking into account various business rules such as "you cannot change the customer on an existing order"... leading to a significant increase in performance. As I wrote originally, I'm still shifting. My current feelings are expressed above. In a few recent experiments, I found a) much better performance; b) better encapsulation of the logic (i.e. if it's a edit-customer issue, it's obviously in the code behind frmCustomerEdit). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Reische, Brenda L. Sent: March 6, 2003 9:37 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Arthur: I agree with your decade old opinion. Why waste your time programming and MAINTAINING two or more separate forms that have the same controls and similar functionalities?? If you add a field to the table, you then have to remember to go add it to your insert form, your edit form, your read only form, etc. This is the position I am now in. I have come into a job where the old developer created multiple forms for every scenario. It is a lot more work to maintain that system! I feel this method that I use is MUCH cleaner and easier to maintain: In my global code module (runs on autoexec) I have this variable declared: Public gintEditState As Integer '1=Add, 2=Edit, 3=Read Only Then the depending on the option clicked and/or the user's security, the click event sets the global variable and executes the following: Case 1 'Add mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormNew Case 2 'Edit mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit Case 3 'Read-only mode DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly So the easy math would be: One copy of the form + One set of code to maintain = cleaner application Brenda Reische Application Support Analyst McDonough District Hospital -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 05, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records For about a decade I have worked on the principle that the same form can handle displays, inserts and updates. Lately I have been experimenting, and my tentative conclusions are that I have been wrong for a decade; that a better approach is to have a reead-only navigation form of some sort, containing an edit button, which does not flip flags in the current form but rather loads an frmEditMyDataSource form specifically designed for insert or edit. In this model, no single form contains the logic for multiple operations. Rather, one designs forms for Insert and Edit separately. The behaviours are radically different. Why complicate the logic of one form by injecting two purposes? I'm not throwing this out as a definitive conclusion, but merely one of my regular queries (select * from projects where decision_certainty < .8). I have coded innumerable dual/treble purpose forms, with logic distributed among their controls, and in a few recent experiments have noticed that the logic is a lot cleaner if I code something like this: On DoubleClick If Me.NewRecord = True Then Open the Insert form Else Open the Edit form End If Opinions? Diatribes? Scathing denunciations? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 5, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records In cases where a number of items (boolean variables in this case) must be true for an event to occur I usually multiply the booleans by each other. If I get a 0 result I know the event should not happen: blnDoTheEvent = ((blnValidate1 * blnValidate2 * blnValidate3) <> 0) If blnDoTheEvent Then 'do it here End If HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Wednesday, March 05, 2003 2:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Editing Records Andy Just shooting from the hip, but couldn't that be done using a loop? Seems like it might be a lot of coding, even for just 13 validations ... and then it would handle more if they were added later. Regards, Bob Gajewski On Wednesday, March 05, 2003 14:22 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Tim > Just a suggestion > > Dim blnNeedsUpdate As Boolean > > > blnNeedsUpdate =False > > If validation1 = false then > blnNeedsUpdate =True > > End if > > If validation2 = false then > blnNeedsUpdate =True > > End if > > > etc > > if blnNeedsUpdate = true > > ..edit > > change all fields > > ..update > > > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Swisher, > Timothy B > Sent: 05 March 2003 13:06 > To: accessd at databaseadvisors.com > Subject: [AccessD] Editing Records > > > > Hello group, I have a procedure (A2k) that opens a recordset (DAO) and > cycles through the data validating/updating several fields for each > record. My question is, what is the best way to do this, > > Like this > > ..edit > If validation1 = false then > change data > End if > > If validation2 = false then > change data > End if > ..update > > Or > > If validation1 = false then > .edit > change data > .update > End if > > If validation2 = false then > .edit > change data > .update > End if > > I have about 13 validations that need to be done on about 90,000 > records. Each validation goes to a SQL Server BE and check the validity > of the data. There is a huge difference in speed opening and closing > the recordset so many times, but if that is the better way to go, then > so be it. All help is appreciated. TIA > > Tim > > << File: ATT00006.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Mar 6 16:42:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 16:42:00 2003 Subject: [AccessD] OT: Max rows in Excel 97 References: <000201c2e42c$67e12ee0$132b9244@cg.shawcable.net> Message-ID: <3E67CE88.60602@shaw.ca> Prior to Excel 97 the limit was 16K now 64 K rows The installable ISAMs for various file formats may not have been installed for Access 97 you may be pointing to an old Excel 95 ISAM driver, try a reinstall of the the ISAM drivers from your Access disks. This should be in your registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\3.5\ISAM Formats\Excel 8.0 t tom wrote: >Hi All > >What is the maxinum of rows you can import from an Excel file. >I am trying to import an Excel file containing 20,000 rows but it stops at >16,384. > >Also , what is the maxinum of records you can export to an Excel file ( per >sheet ). > > >TIA >Tomt > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Thu Mar 6 16:51:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 6 16:51:01 2003 Subject: [AccessD] FW: Class Module Method in Loop Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82259@main2.marlow.com> What is the Do Loop for, for the first example? If you are just using a class object, you only need to declare it when needed, and destroy it when you are done with it. The exception to that rule, is that when you add a class to a collection, you need to destroy it after you add it.....(before adding another that is.) For example, let's say you have this as a class: Public MyValue as Long Function DoSomething() 'Do something with MyValue End Function If you wanted to have your class run through a for next loop, like this: Dim cls as MyClass Dim i as Long Set cls = New MyClass For i=1 to 100 cls.MyValue=i cls.DoSomething Next i Set cls=Nothing you only need to create the class before the loop, and destroy it at the end, because you can work with just one instance of that class, instead of creating and destroying a new instance of the class for each loop. However, if you want to add a class to a collection: Dim cls as MyClass dim col as Collection Dim i as Long Set col= New Collection For i=1 to 100 Set cls = New MyClass cls.MyValue=i col.Add cls Set cls = Nothing Next i In the first example, putting the creation/destruction of a class within the loop would just be a waste of resources.....it would still work though. In this example, you are adding a class to a collection, if you don't destroy the class after you add it, adding it again would actual create a twin/clone of that instance. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 06, 2003 4:15 PM To: AccessD Subject: [AccessD] FW: Class Module Method in Loop From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Wednesday, March 05, 2003 5:38 PM To: 'accessd-admin at databaseadvisors.com' Subject: Class Module Method in Loop When I use a method of a class module in a loop, where should 'Set=' be? Or should I be using a standard module for this kind of method? Dim obj as clsTest This: Set obj = new clsTest Do obj.Method... Loop Set obj = nothing or This: Do Set obj = new clsTest obj.Method... Set obj = nothing Loop TIA. Myke _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Thu Mar 6 16:54:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 16:54:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: <657FB70438B7D311AF320090279C1801026D7922@EXCHMAIL> Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 8877 bytes Desc: not available URL: From stephen at bondsoftware.co.nz Thu Mar 6 16:56:01 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu Mar 6 16:56:01 2003 Subject: [AccessD] Connection strings and Access security Message-ID: <70F3D727890C784291D8433E9C418F29038966@server.bondsoftware.co.nz> I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... Any suggestions? BTW Access 2000, Word 2000.
With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ LinkToSource:=True, _ Connection:="QUERY qryComplianceRenewalCandidates" .Execute End With TIA Stephen Bond Otatara, New Zealand From stuart at lexacorp.com.pg Thu Mar 6 17:56:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:56:00 2003 Subject: [AccessD] Editing Records In-Reply-To: <012f01c2e430$ef7d61d0$8e01a8c0@Rock> References: <0FFC98AA5943D211A2E90000F87A5B48C86AB4@NEWMAN_EXC> Message-ID: <3E686C91.10898.582D65@localhost> > On the assumption that both forms are almost identical, you're quite right. > However, my shifting opinion derives from a realization that viewing and > editing forms are often quite different, and insert forms different again. > The use of a single form often requires the loading of combo boxes, list > boxes etc., some of which lists may be quite large. OTOH, a query could use > joins etc. to resolve all the FKs without populating any lists. You would > see read-only controls that display the columns of interest without > incurring any control-population overhead. Then when the user clicks the > Edit button, you populate the lists (taking into account various business > rules such as "you cannot change the customer on an existing order"... > leading to a significant increase in performance. > As I wrote originally, I'm still shifting. My current feelings are expressed > above. In a few recent experiments, I found a) much better performance; b) > better encapsulation of the logic (i.e. if it's a edit-customer issue, it's > obviously in the code behind frmCustomerEdit). I use both approaches depending on circumstances but seem to be using separate data entry screens more and more recently. A prime example of using two different forms is where use a combo boxes during data entry that need to restrict the available options. The combos needs to show only active records, items in stock etc. When you review previous entries, you need to see the details whether the item is currently in stock or not. I've also recently found myself using separate unbound forms for straight data entry in a few circumstances (after being an unmitigated bounder for the last 10 years ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 6 17:56:40 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:56:40 2003 Subject: [AccessD] Counting "unknown" fields In-Reply-To: Message-ID: <3E686C91.6905.582E41@localhost> > The problem is that, on one of their reports, they total out the check > boxes for each section (i.e. 95 Denied HR cases in the Lockport > office...the report is sectioned by Offices). Now that I have gone with > the drop-down method, I cannot simply add up the check boxes. And, I > cannot say count each x, because it can now change, and I don't know > what "x" is...may not do so very much, but it can. > > Somehow I need to count each existing "x". I need to know that there > are 5 x's, 6 y's, and 8 z's, but the next year I might also have a "q" > that was added and I'll need to count that. > The datasource of the combobox should be a FK like ProgramID, the row source should be tblPrograms (containing a PK and the descriptive name), with the bound column being the PK Then you just need to use a grouping query GroupBy ProgramID and Count(CaseID) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 6 17:57:04 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 6 17:57:04 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <3E686C90.15898.582C89@localhost> Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, my > splash screen is also my main menu page and so users return to it over > and over. The code that I wanted to call in the Autoexec Marco creates > a connetion to my SQL Server using "Application Role" security. The way > this works, I can only run this code once during the application. If > it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close seem > like 3 obvious choices depending on what you're doing in the code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an Acess > XP ADP in Access 2002 format. I want to run a bit of code on start of > the application so I created a macro called AutoExec which has one step: > RunCode and in it I call a function called LOAD which is public and is > in a module. When I start my application, it says it can't find Load. > What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DMcAfee at haascnc.com Thu Mar 6 18:09:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu Mar 6 18:09:00 2003 Subject: [AccessD] Inserting line items from unbound form (A2k ADP) Message-ID: <657FB70438B7D311AF320090279C1801026D7924@EXCHMAIL> I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3621 bytes Desc: not available URL: From cfoust at infostatsystems.com Thu Mar 6 18:24:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 18:24:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: Well supposedly 2002 handles Nulls differently from earlier versions, but I've seen no evidence of it. However, if you used Len() in 2000 and earlier, and the expression was Null, you got an error, so you had to use Len( & "") to avoid the error. I haven't tried it yet, but I can't say that I trust it. Charlotte Foust -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, March 06, 2003 3:03 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Nz function in Access 2002 Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From EricGoetz at EGIsystems.com Thu Mar 6 18:39:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Thu Mar 6 18:39:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F2@servera22.doma.ops> Hi Charlotte, I'm not sure if you've solved your hang problem yet. Did you? I had a problem with mysterious hang conditions with linked tables with fe/be mde's in the same directory with both Access XP and 97. I went through months of trial and worked with MS support for weeks trying different configurations and updates. In the end, it turned out to be path length! Apparently, I had buried the directory under too many subdirectories. I moved the directory closer to the root directory, and I haven't had a single hang in months! Good luck, Eric -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Mon 3/3/2003 2:38 PM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5586 bytes Desc: not available URL: From martyconnelly at shaw.ca Thu Mar 6 18:58:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 18:58:00 2003 Subject: [AccessD] Connection strings and Access security References: <70F3D727890C784291D8433E9C418F29038966@server.bondsoftware.co.nz> Message-ID: <3E67EE81.6060109@shaw.ca> as a guess you might try a connection string where name:="Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\mydb.mdb;" & _ "Jet OLEDB:System Database=MySystem.mdw", _ "myUsername", "myPassword" Stephen Bond wrote: >I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. > >After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. > >I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... > >Any suggestions? BTW Access 2000, Word 2000. > > > With objWord.MailMerge > .MainDocumentType = wdFormLetters > .OpenDataSource _ > Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ > LinkToSource:=True, _ > Connection:="QUERY qryComplianceRenewalCandidates" > .Execute > End With > > > > >TIA > >Stephen Bond >Otatara, New Zealand >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Thu Mar 6 19:07:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 6 19:07:00 2003 Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Message-ID: Now that's very interesting. I'll keep it in mind. I actually rewrote the code reattaching the tables or refreshing the link and the problem went away. I can't see why, so this may be useful information. Charlotte Foust -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: Thursday, March 06, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP Hi Charlotte, I'm not sure if you've solved your hang problem yet. Did you? I had a problem with mysterious hang conditions with linked tables with fe/be mde's in the same directory with both Access XP and 97. I went through months of trial and worked with MS support for weeks trying different configurations and updates. In the end, it turned out to be path length! Apparently, I had buried the directory under too many subdirectories. I moved the directory closer to the root directory, and I haven't had a single hang in months! Good luck, Eric -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Mon 3/3/2003 2:38 PM To: AccessD at databaseadvisors.com Cc: Subject: [AccessD] Access XP and 97 hang on reattaching linked tables under WinXP We're beating our heads against this one. Under certain specific circumstances, both Access XP and 97 will hang running under WinXP. The circumstances are that Outlook is running (either 2000 or XP) and you toggle to the Outlook application during a portion of the operation when Access is trying to reattach files using an instance of the current database opened in a second DAO workspace. I'm trying to track down anything on this problem and haven't had much luck. There are articles about the ODBC drivers in multithreaded environments, but they seem to apply more to SQL Server links and are supposed to be fixed by the latest installation of Jet 4.x. Not on my machine, they aren't. Does anyone have any more information on this issue? We're also getting reported hangs after an email is sent by our application on a client's WinXP machine, but we haven't been able to replicate that. The primary suspect in both cases is Outlook, even though we use the Redemption library to bypass the direct MAPI calls. Suggestions? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Thu Mar 6 19:14:01 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu Mar 6 19:14:01 2003 Subject: [AccessD] Connection strings and Access security Message-ID: <70F3D727890C784291D8433E9C418F298E8F@server.bondsoftware.co.nz> Never mind, it was a Security issue -- you have to allow the "Users" group to have Database permissions of 'Open Exclusive'. I had removed this as part of the conversion to the new MDW. I really should have known that (lol) ... Stephen Bond -----Original Message----- From: Stephen Bond Sent: Friday, 7 March 2003 11:56 a.m. To: accessd at databaseadvisors.com Subject: [AccessD] Connection strings and Access security I am trying to establish a DAO connection to do a Word mailmerge. It has been working fine up till I changed the MDW to force users to log in to the MDB front end. Below is the code that has worked up till the change. After the change, this statement proceeds to open another version of Access using the default MDW (user=admin), and the app traps this eventuality in the AutoExec code and closes down that instance of Access forthwith. I have looked at the OpenDataSource method in M$ Help, and have tried certain combinations to no avail, I suspect the keywords UID and PWD could be the key to this ... Any suggestions? BTW Access 2000, Word 2000. With objWord.MailMerge .MainDocumentType = wdFormLetters .OpenDataSource _ Name:=GetDBDir() & "\" & "ComplianceSchedulePROG.mdb", _ LinkToSource:=True, _ Connection:="QUERY qryComplianceRenewalCandidates" .Execute End With TIA Stephen Bond Otatara, New Zealand _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Thu Mar 6 19:24:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Thu Mar 6 19:24:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F3@servera22.doma.ops> Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric From martyconnelly at shaw.ca Thu Mar 6 23:19:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 6 23:19:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO References: Message-ID: <3E682BAF.2050006@shaw.ca> Here is a sample unbound form have a look around this site for other samples http://www.rogersaccesslibrary.com/download.asp?SampleName='UnboundSQL.mdb' In code just change the DAO openrecordset to your ado recordset Set rsCust = D.OpenRecordset(strSQL, DB_OPEN_DYNASET) Me!ACCOUNT = rsCust("ACCOUNT") jeffrey.demulling at usbank.com wrote: > > I have the current code for an on click event: > > Dim cn As New ADODB.Connection > Dim rs As New ADODB.Recordset > Dim strConnectionString As String > Dim cmdText As String > Dim fld As ADODB.Field > > > cn.Provider = "SQLOLEDB" > cn.Properties("Data Source") = > cn.Properties("Initial Catalog") = > cn.Properties("User ID") = > cn.Properties("Password") = > cn.Open > > > cmdText = "Select * From tblregions" > > rs.Open cmdText, cn > > Me.RecordSource = rs.GetRows > > rs.MoveFirst > > Do Until rs.EOF > MsgBox rs.Fields("Number") > rs.MoveNext > Loop > > This code allows me to Loop through the recordset and see the values > in a message box. > > Now what I want to do is place the information on a form (continous > would be fine for now). > > If any one can help me with this ADO stuff I would appericate it very > much, as I am just now getting to play with it. > > Thanks!!! > > rs.Close > End Sub From R.Griffiths at bury.gov.uk Fri Mar 7 03:05:01 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri Mar 7 03:05:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F10A@mailgate.bury.gov.uk> A97 and CR8.0 - this post was cross-posted with VB list as the app concerned is VB FE and Access BE - I know MS Access reporting is excellent, however, has anyone one got any contributions that may provide and answer to the question TIA Richard > -----Original Message----- > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > Sent: 06 March 2003 18:49 > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > so why not use Access for your reports? Why pay extra for Crystal > Reports? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Fri Mar 7 06:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 06:03:00 2003 Subject: [AccessD] Searching M$'s KB Message-ID: I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 06:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 06:14:00 2003 Subject: [AccessD] Form selection problem In-Reply-To: <13426828657.20030305162911@cactus.dk> References: <086901c2e329$56b964b0$d2ecffcc@SusanOne> <13426828657.20030305162911@cactus.dk> Message-ID: <5616234964.20030307131342@cactus.dk> Hi Susan Could this be a purpose (snip from WAW): Several readers took exception to my dismissal of the idea of printing forms in my answer to Bob Potter's question in WAW 5.05. While I still stand by that advice (forms rarely print well), Greg Gavlock provided a line of code that can be used when (for whatever reason) you do need to print the selected record in the current form: DoCmd.PrintOut acSelection /gustav > Hi Susan > Ehh .. what do you use this for? > I've only used one form in dataview - and programming the selected > area ...?? > /gustav >> I think Marty reminded me of the problem with one of the Selection >> properties -- has to be set to 0. In playing around with it last night, it >> didn't seem necessary, yet I did have that one problem. It seemed odd that >> the SelHeight property should be reponsible for the problem I was having. >> However, This morning, I added a >> frm.SelHeight = 0 >> just before the select statements and it's working fine. >> Thanks Marty (I think)! :) From wdhindman at bellsouth.net Fri Mar 7 06:20:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 06:20:00 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <000e01c2e4a3$d0a54750$6101a8c0@amd2k512> Message...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 06:43:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 06:43:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: References: Message-ID: <15317966584.20030307134234@cactus.dk> Hi Charlotte > I ran across an MSKB article today > http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says > the Nz function works in 2002 but it may not work as expected! Say > what?? It works, but it doesn't? How can you read that from the article? It reads: The Nz method of the data source control is supposed to replace Null values with a zero (0) or some other specified value. However, the method does not replace Null values as expected. So it doesn't work in A2002. However, Nz() has always been flaky - to quote myself from 12. May 2002: Did you know that - when used to return an expression in a query - Nz() always returns a string even if it is supposed not to do so? Like this: Expr1: Nz([fldNumeric]) or: Expr1: Nz([fldNumeric], 0) If you need a numeric value, you'll have to wrap it in Int(): NumExpr1: Int(Nz([fldNumeric])) Even if fldNumeric is a long, this will return a long when fldNumeric is not Null but an integer for Null. If you wish a long in any case, the zero for Null values for some reason must be present: NumExpr1: Int(Nz([fldNumeric], 0)) Alternatively, Nz() can be replaced with the good old IIf() construction: NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) This is tested for Access 95, 97 and 2000. Don't know about 2002. /gustav > Has anyone run into this? Nz isn't always the most appropriate > function, but I've never seen it fail, at least not that I knew about. > We use this a lot, and I'm concerned about migrating our apps from 97 to > 2002 and having a lot of code fall over. I wondered if it could be the > result of not passing in the optional argument, but the article seemed > rather vague to me. Does anyone else have first-hand knowledge of the > problem? From CWortz at tea.state.tx.us Fri Mar 7 07:14:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 07:14:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Shamil, True, CR allows independent sections in reports, and true this can be a useful feature. But in my experience there never has been a report that I had to create that needed this feature. My last word on this thread is this: Since everybody's previous experiences and personal preferences are different, there is no one best tool for everybody. Of the tools that are available to you and you are comfortable using, try to pick the one that is most suitable for the problem at hand. Have a nice day Shamil. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 15:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil From artful at rogers.com Fri Mar 7 07:21:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 7 07:21:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F3@servera22.doma.ops> Message-ID: <003001c2e4ac$5ab5ffe0$8e01a8c0@Rock> I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 6, 2003 8:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AXP mde fe / be to fe / MSDE Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Fri Mar 7 07:23:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 7 07:23:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D27@bwam02msx.ae.ge.com> One of the major advantages of using Crystal Reports is the ability to make a dictionary (list of fields and functions) of complex data structures for end users to make their own reports. I have found that this ability "beats" Access reports hands down. I still use Access for my canned reports but encourge end users to use Crystal if they want on the fly reporting abilities. Plus it keeps end users out of the mdb's. Scott Marcus -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday, March 06, 2003 4:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, March 06, 2003 10:37 PM Subject: RE: [AccessD] Access and Crystal Reports > Shamil, > > I just got through with a three day course on what's new in Crystal > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > almost identical in their feature sets. I did not say they were equally > easy to learn or use, because that is subject to your background > experience and personal preferences. > > I also stand by my assertion that there is no reason to buy CR to > produce reports from an Access database. > > If you have C++, C#, VB or some other platform as your front-end to SQL > Server or Sysbase or some other database other than Access, then CR > makes sense. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 13:19 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Why pay extra for Crystal Reports? > Sorry for my jumping in, Charles, > > I used to use Crystal Reports(CR) to build advanced reports with C++ > last spring - and I'd say that CR can give 1000 points allowance to MS > Access reports' designer and still win nevertheless this big handicap... > On first glance CR looks for a MS Access developer like a very sprawl > and not as intuitional as MS Access report designer tool but when one > gets the rules of report generation used by CR they understand that CR > allows to create reports, which can't be created in MS Access - and I > think that all of MS Access types of reports can be created by using > CR... > > And of course CR reports created to view in MS Access can be (re-)used > in VB, C++, DELPHI, on the Web etc.etc.... > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: ; > Sent: Thursday, March 06, 2003 9:48 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > sets, so why not use Access for your reports? Why pay extra for > > Crystal Reports? > > > > Charles Wortz > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Mar 7 07:28:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 7 07:28:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <003001c2e4ac$5ab5ffe0$8e01a8c0@Rock> Message-ID: One of the advantages is that everything you had originally still works. I am using something similar while I migrate another FE to an ADP. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Friday, March 07, 2003 8:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 6, 2003 8:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AXP mde fe / be to fe / MSDE Hi, I'm looking to get my feet wet in MS SQL Server. I've got an Access XP mde fe/be using A2K file format that is used for sales reports. There are three users; one all the time, the others occasionally. There is talk of creating a web front end for the 45 remote sales people. This seemed to me to be a potential project for getting some experience with the MSDE. That would leave me ready to move to SQL Server. To get a simple start, I thought I would just replace the back end with MSDE and link with ODBE. How does this work out in practice - especially from a deployment and development standpoint? Has anyone tried this? If I got this going, I thought I could try some pass through queries. Is this a good way to start with SQL Server? Thanks, Eric _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------------------- eMailBoss puts you in command of your email. Get your copy today at http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2972 bytes Desc: not available URL: From Jdemarco at hshhp.org Fri Mar 7 07:44:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 07:44:00 2003 Subject: [AccessD] Editing Records Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> I'm also for using one form and I have to ask why not let your form 's edit mode flag determine what displays and what doesn't? True there will be fields that edit does not pertain to but how many can it be? If it's a lot than using multiple forms might make sense but I've not seen that (up to this point that is). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 6:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] Editing Records > On the assumption that both forms are almost identical, you're quite right. > However, my shifting opinion derives from a realization that viewing and > editing forms are often quite different, and insert forms different again. > The use of a single form often requires the loading of combo boxes, list > boxes etc., some of which lists may be quite large. OTOH, a query could use > joins etc. to resolve all the FKs without populating any lists. You would > see read-only controls that display the columns of interest without > incurring any control-population overhead. Then when the user clicks the > Edit button, you populate the lists (taking into account various business > rules such as "you cannot change the customer on an existing order"... > leading to a significant increase in performance. > As I wrote originally, I'm still shifting. My current feelings are expressed > above. In a few recent experiments, I found a) much better performance; b) > better encapsulation of the logic (i.e. if it's a edit-customer issue, it's > obviously in the code behind frmCustomerEdit). I use both approaches depending on circumstances but seem to be using separate data entry screens more and more recently. A prime example of using two different forms is where use a combo boxes during data entry that need to restrict the available options. The combos needs to show only active records, items in stock etc. When you review previous entries, you need to see the details whether the item is currently in stock or not. I've also recently found myself using separate unbound forms for straight data entry in a few circumstances (after being an unmitigated bounder for the last 10 years ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Fri Mar 7 08:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 08:03:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: Richard, You forgot to mention in your original post that the FE was VB. You only mentioned you were using Access. That's why we got off on a tangent about the uses of Access reports and CR. Now to your original question about how to access a secured Access BE: IIRC, yesterday there was a thread about connections to a secured db. The answer to that thread also should answer your question. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Friday 2003 Mar 07 03:04 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access and Crystal Reports A97 and CR8.0 - this post was cross-posted with VB list as the app concerned is VB FE and Access BE - I know MS Access reporting is excellent, however, has anyone one got any contributions that may provide and answer to the question TIA Richard > -----Original Message----- > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > Sent: 06 March 2003 18:49 > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > Richard, > > May I inquire why you want to use Crystal Reports with Access? Access > 2002 and Crystal Reports 9.0 are almost identical in their feature > sets, so why not use Access for your reports? Why pay extra for > Crystal Reports? > > Charles Wortz > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday 2003 Mar 06 12:09 > To: 'dba-VB at databaseadvisors.com' > Cc: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Access and Crystal Reports > > Hi > > using code how do you run a Crystal Report when the Access Db has 1) a > password and/or 2) uses a system mdw > > Many thanks > > Richard From JSkolits at CorporateDataDesign.com Fri Mar 7 08:05:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Fri Mar 7 08:05:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: <00a601c2e41e$c8679aa0$6101a8c0@amd2k512> Message-ID: Nz function in Access 2002Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''************************************************************************** ****** '' CDD Procedure Identification ''-------------------------------------------------------------------------- ------ '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''************************************************************************** ****** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Griffiths at bury.gov.uk Fri Mar 7 08:06:15 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri Mar 7 08:06:15 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F10C@mailgate.bury.gov.uk> and one of the major disadvantages is that nobody knows how to ....... Hi using code and CR ocx... how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard this was the original thread!!! > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] > Sent: 07 March 2003 13:23 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access and Crystal Reports > > One of the major advantages of using Crystal Reports is the ability to > make a > dictionary (list of fields and functions) of complex data structures for > end > users to make their own reports. I have found that this ability "beats" > Access > reports hands down. I still use Access for my canned reports but encourge > end > users to use Crystal if they want on the fly reporting abilities. Plus it > keeps > end users out of the mdb's. > > Scott Marcus > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday, March 06, 2003 4:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - and > I > soon realized that despite the fact that the feature set of MS Access and > CR > seems to be very similar, the real power of CR is in its unique and > looking > at first not very significant feature of allowing to have and manipulate > on > runtime of several (as many as you wish) independent sections/areas of > Report Header/Footer, Page Header/Footer, Group Header/Footer and > Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, is > when you need in CR to copy and paste (or cut and paste) a group of > controls > within one report or between reports - here CR sometimes goes "crazy" and > you need to realigh controls manualy after paste operation... > > Charles, I'd not like to have this thread to become"religious" debate "CR > vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Thursday, March 06, 2003 10:37 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Shamil, > > > > I just got through with a three day course on what's new in Crystal > > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > > almost identical in their feature sets. I did not say they were equally > > easy to learn or use, because that is subject to your background > > experience and personal preferences. > > > > I also stand by my assertion that there is no reason to buy CR to > > produce reports from an Access database. > > > > If you have C++, C#, VB or some other platform as your front-end to SQL > > Server or Sysbase or some other database other than Access, then CR > > makes sense. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 13:19 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Why pay extra for Crystal Reports? > > Sorry for my jumping in, Charles, > > > > I used to use Crystal Reports(CR) to build advanced reports with C++ > > last spring - and I'd say that CR can give 1000 points allowance to MS > > Access reports' designer and still win nevertheless this big handicap... > > On first glance CR looks for a MS Access developer like a very sprawl > > and not as intuitional as MS Access report designer tool but when one > > gets the rules of report generation used by CR they understand that CR > > allows to create reports, which can't be created in MS Access - and I > > think that all of MS Access types of reports can be created by using > > CR... > > > > And of course CR reports created to view in MS Access can be (re-)used > > in VB, C++, DELPHI, on the Web etc.etc.... > > > > Shamil > > > > ----- Original Message ----- > > From: "Wortz, Charles" > > To: ; > > Sent: Thursday, March 06, 2003 9:48 PM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Richard, > > > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > > sets, so why not use Access for your reports? Why pay extra for > > > Crystal Reports? > > > > > > Charles Wortz > > > > > > -----Original Message----- > > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > > Sent: Thursday 2003 Mar 06 12:09 > > > To: 'dba-VB at databaseadvisors.com' > > > Cc: 'AccessD at databaseadvisors.com' > > > Subject: [AccessD] Access and Crystal Reports > > > > > > Hi > > > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > > > password and/or 2) uses a system mdw > > > > > > Many thanks > > > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. From CWortz at tea.state.tx.us Fri Mar 7 08:45:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 08:45:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: David, I ran your test in A2002 and got the same results except for ?Len((me.openargs)), where A97 says 0 and A02 says Null. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday 2003 Mar 06 17:03 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Nz function in Access 2002 Hmmm, in A97, I made a new form. Created the following sub: Private Sub Form_Load() MsgBox "Len(me.openargs) =" & Len(Me.OpenArgs) Stop End Sub The msgbox displays "Len(me.openargs) =" so, I press Ctrl+G, and enter the following in the debug window and get the following results: ?Len(me.openargs) Null ?Len(me.openargs)>0 Null ?Len(me.openargs)=0 Null ?Len((me.openargs)) 0 ?isnull(me.openargs) True ?isempty(me.openargs) False ?nz(me.openargs) ?nz(me.openargs,0) 0 ?nz(me.openargs)="" True ?nz(me.openargs,"")="" True It seems to me that the MS Len fix wouldn't work for OpenArgs (or lack there of) validation Can someone try this in A XP (2002)? David -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, March 06, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 But they don't need a fix, Charles. After all, they posted a "resolution" in the article! I'd just be happy if they explained what it is that doesn't work!! Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 06, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 I did a check of kbAlertz and there is no follow-up KB article posted yet. So whatever is the unstated problem with NZ(), they haven't posted a fix yet. Charles Wortz -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday 2003 Mar 06 14:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 08:48:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 08:48:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: References: Message-ID: <1047046829.3e68aaadc32bb@hosea.qub.ac.uk> Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Martin Quoting "John W. Colby" : > One of the advantages is that everything you had originally still works. > I > am using something similar while I migrate another FE to an ADP. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Friday, March 07, 2003 8:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > I don't see the point of this approach. In fact I think it would > complicate > your problem rather than simplifying it, since you'd get all the > problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with > an MSDE database and an ADP FE that directly points to the database > rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, > UDFs and views. > > HTH, > Arthur > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz > Sent: March 6, 2003 8:26 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AXP mde fe / be to fe / MSDE > > > Hi, > > I'm looking to get my feet wet in MS SQL Server. > > I've got an Access XP mde fe/be using A2K file format that is used for > sales > reports. There are three users; one all the time, the others > occasionally. > There is talk of creating a web front end for the 45 remote sales > people. > This seemed to me to be a potential project for getting some experience > with > the MSDE. That would leave me ready to move to SQL Server. > > To get a simple start, I thought I would just replace the back end with > MSDE > and link with ODBE. How does this work out in practice - especially from > a > deployment and development standpoint? Has anyone tried this? If I got > this > going, I thought I could try some pass through queries. Is this a good > way > to start with SQL Server? > > Thanks, > > Eric > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ----------------------------------------------------- > eMailBoss puts you in command of your email. > Get your copy today at http://www.eMailBoss.com > From scott.marcus at ae.ge.com Fri Mar 7 09:11:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 7 09:11:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D29@bwam02msx.ae.ge.com> Richard, It has been a long time since I've used Crystal with a password protected mdb and cannot remember any of the details (it isn't complicated). The Crystal reports documentation gives the instructions for doing this. I've have done this in the past by referring to that documentation. Are you lacking this documentation? I can look it up this weekend if you are. What version of the software are you using? Maybe the documentation has changed much like that of the newer versions of the Access help file. Often times someone's original post gets lost in tangents. As long as these tangents are on topic(Access related), I see nothing wrong in commenting on them, or continuing the tangent. When appropriate we try to change the subject line. The tangents, while not helping you, are helping others. To be honest with you, I didn't even see your original post and typically only read the previous 1 or 2 posts that are embedded in the replies. I actually thought the posts were about the advantages and disadvantages of using Crystal with Access. ----- Scott Marcus A major disadvantage to doing anything is not knowing how to. Figuring it out is also half the fun. -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Friday, March 07, 2003 9:05 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access and Crystal Reports and one of the major disadvantages is that nobody knows how to ....... Hi using code and CR ocx... how do you run a Crystal Report when the Access Db has 1) a password and/or 2) uses a system mdw Many thanks Richard this was the original thread!!! > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] > Sent: 07 March 2003 13:23 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access and Crystal Reports > > One of the major advantages of using Crystal Reports is the ability to > make a > dictionary (list of fields and functions) of complex data structures for > end > users to make their own reports. I have found that this ability "beats" > Access > reports hands down. I still use Access for my canned reports but encourge > end > users to use Crystal if they want on the fly reporting abilities. Plus it > keeps > end users out of the mdb's. > > Scott Marcus > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday, March 06, 2003 4:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - and > I > soon realized that despite the fact that the feature set of MS Access and > CR > seems to be very similar, the real power of CR is in its unique and > looking > at first not very significant feature of allowing to have and manipulate > on > runtime of several (as many as you wish) independent sections/areas of > Report Header/Footer, Page Header/Footer, Group Header/Footer and > Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, is > when you need in CR to copy and paste (or cut and paste) a group of > controls > within one report or between reports - here CR sometimes goes "crazy" and > you need to realigh controls manualy after paste operation... > > Charles, I'd not like to have this thread to become"religious" debate "CR > vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Thursday, March 06, 2003 10:37 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Shamil, > > > > I just got through with a three day course on what's new in Crystal > > Reports 9.0 and I stand by my statement that Access 2002 and CR 9.0 are > > almost identical in their feature sets. I did not say they were equally > > easy to learn or use, because that is subject to your background > > experience and personal preferences. > > > > I also stand by my assertion that there is no reason to buy CR to > > produce reports from an Access database. > > > > If you have C++, C#, VB or some other platform as your front-end to SQL > > Server or Sysbase or some other database other than Access, then CR > > makes sense. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 13:19 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Why pay extra for Crystal Reports? > > Sorry for my jumping in, Charles, > > > > I used to use Crystal Reports(CR) to build advanced reports with C++ > > last spring - and I'd say that CR can give 1000 points allowance to MS > > Access reports' designer and still win nevertheless this big handicap... > > On first glance CR looks for a MS Access developer like a very sprawl > > and not as intuitional as MS Access report designer tool but when one > > gets the rules of report generation used by CR they understand that CR > > allows to create reports, which can't be created in MS Access - and I > > think that all of MS Access types of reports can be created by using > > CR... > > > > And of course CR reports created to view in MS Access can be (re-)used > > in VB, C++, DELPHI, on the Web etc.etc.... > > > > Shamil > > > > ----- Original Message ----- > > From: "Wortz, Charles" > > To: ; > > Sent: Thursday, March 06, 2003 9:48 PM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Richard, > > > > > > May I inquire why you want to use Crystal Reports with Access? Access > > > > > 2002 and Crystal Reports 9.0 are almost identical in their feature > > > sets, so why not use Access for your reports? Why pay extra for > > > Crystal Reports? > > > > > > Charles Wortz > > > > > > -----Original Message----- > > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > > Sent: Thursday 2003 Mar 06 12:09 > > > To: 'dba-VB at databaseadvisors.com' > > > Cc: 'AccessD at databaseadvisors.com' > > > Subject: [AccessD] Access and Crystal Reports > > > > > > Hi > > > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > > > > password and/or 2) uses a system mdw > > > > > > Many thanks > > > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------- ------------------------------------ This e-mail, together with any files transmitted with it, is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited without liability on our part. If you have received this e-mail in error please notify the sender. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Mar 7 09:25:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri Mar 7 09:25:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: Message-ID: Searching M$'s KBCharles, I didn't read Fred's article yet, but I've found the best way is to use Google's advanced search and limit it to Microsoft's support site. While Microsoft's search engine has improved, its still not the best. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Thursday, March 06, 2003 9:27 AM To: AccessD at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] Searching M$'s KB For those of you that do not subscribe to Fred Langa's newsletter here is an article about ways to search M$'s KB. http://www.langa.com/newsletters/2002/2002-03-25.htm#1 For those of you frustrated from trying to find anything in the KB when you use M$'s search engine, the article points out less frustrating ways to find what you are searching for. I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Mar 7 09:34:03 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 09:34:03 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: Martin, Thanks for the "heads-up." I know you are under an NDA and cannot disclose more at this time, but you have said enough to warn us not to get locked-in to only one approach. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday 2003 Mar 07 08:20 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Martin Quoting "John W. Colby" : > One of the advantages is that everything you had originally still > works. I am using something similar while I migrate another FE to an > ADP. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Friday, March 07, 2003 8:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > I don't see the point of this approach. In fact I think it would > complicate your problem rather than simplifying it, since you'd get > all the problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with an MSDE database and an ADP FE that directly points to the > database rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, UDFs and views. > > HTH, > Arthur From shamil at smsconsulting.spb.ru Fri Mar 7 09:45:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 7 09:45:00 2003 Subject: [AccessD] Access and Crystal Reports References: <52339DF8DCA2A544AF660C8217EB7DCD0227F10A@mailgate.bury.gov.uk> Message-ID: <001301c2e4c0$6666c4a0$b501010a@DAISY.local> Richard, If you send me your small sample database password protected + custom .mdw I can try to find out how to use CR with them - but on weekend only - I don't have free time now and I've to check with the docs how it can be done. Please don't forget to send database password and login name and password. Shamil ----- Original Message ----- From: "Griffiths, Richard" To: Sent: Friday, March 07, 2003 12:03 PM Subject: RE: [AccessD] Access and Crystal Reports > A97 and CR8.0 - this post was cross-posted with VB list as the app concerned > is VB FE and Access BE - > I know MS Access reporting is excellent, however, has anyone one got any > contributions that may provide and answer to the question > TIA > Richard > > > -----Original Message----- > > From: Wortz, Charles [SMTP:CWortz at tea.state.tx.us] > > Sent: 06 March 2003 18:49 > > To: accessd at databaseadvisors.com; dba-VB at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > Richard, > > > > May I inquire why you want to use Crystal Reports with Access? Access > > 2002 and Crystal Reports 9.0 are almost identical in their feature sets, > > so why not use Access for your reports? Why pay extra for Crystal > > Reports? > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > > Sent: Thursday 2003 Mar 06 12:09 > > To: 'dba-VB at databaseadvisors.com' > > Cc: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] Access and Crystal Reports > > > > Hi > > > > using code how do you run a Crystal Report when the Access Db has 1) a > > password and/or 2) uses a system mdw > > > > Many thanks > > > > Richard > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -------------------------------------------------------------------------- ------------------------------------------ > This e-mail, together with any files transmitted with it, is > confidential and intended solely for the use of the individual to > whom it is addressed. If you are not the intended recipient, or > the person responsible for delivering to the intended recipient, > be advised that you have received this e-mail in error and that any > use, dissemination, forwarding, printing or copying of this e-mail > is strictly prohibited without liability on our part. > > If you have received this e-mail in error please notify the sender. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Fri Mar 7 09:50:03 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 09:50:03 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F5@servera22.doma.ops> Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3746 bytes Desc: not available URL: From cfoust at infostatsystems.com Fri Mar 7 10:27:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:27:00 2003 Subject: [AccessD] Setting a forms recordsource using ADO Message-ID: Keep in mind though that forms bound to ADO recordsets are not updateable in an MDB. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 06, 2003 9:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Setting a forms recordsource using ADO Here is a sample unbound form have a look around this site for other samples http://www.rogersaccesslibrary.com/download.asp?SampleName='UnboundSQL.m db' In code just change the DAO openrecordset to your ado recordset Set rsCust = D.OpenRecordset(strSQL, DB_OPEN_DYNASET) Me!ACCOUNT = rsCust("ACCOUNT") jeffrey.demulling at usbank.com wrote: > > I have the current code for an on click event: > > Dim cn As New ADODB.Connection > Dim rs As New ADODB.Recordset > Dim strConnectionString As String > Dim cmdText As String > Dim fld As ADODB.Field > > > cn.Provider = "SQLOLEDB" > cn.Properties("Data Source") = cn.Properties("Initial > Catalog") = cn.Properties("User ID") = is here> > cn.Properties("Password") = > cn.Open > > > cmdText = "Select * From tblregions" > > rs.Open cmdText, cn > > Me.RecordSource = rs.GetRows > > rs.MoveFirst > > Do Until rs.EOF > MsgBox rs.Fields("Number") > rs.MoveNext > Loop > > This code allows me to Loop through the recordset and see the values > in a message box. > > Now what I want to do is place the information on a form (continous > would be fine for now). > > If any one can help me with this ADO stuff I would appericate it very > much, as I am just now getting to play with it. > > Thanks!!! > > rs.Close > End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Mar 7 10:27:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri Mar 7 10:27:20 2003 Subject: [AccessD] Check Box for certain status Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECADA8@exchange.pgdp> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Mar 7 10:30:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 10:30:01 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: <15317966584.20030307134234@cactus.dk> References: <15317966584.20030307134234@cactus.dk> Message-ID: <17231602552.20030307172950@cactus.dk> Hi Charlotte et all >> I ran across an MSKB article today >> http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says >> the Nz function works in 2002 but it may not work as expected! .. Well, this quote (below) from the same link looks even more surprising! Why should IsNull(nullvalue) not evaluate to True?? I don't have A2002. Can anyone confirm this? /gustav There are other methods that check for Null values as well. They are illustrated below. However, these methods cannot be used as valid workarounds to the Nz Method problem. None of the following methods will evaluate to True, even when the Fax value is Null: If Fax.Value = Null Then ... End IF If IsNull(Fax.Value) Then ... End If If IsEmpty(Fax.Value) Then ... End If From cfoust at infostatsystems.com Fri Mar 7 10:34:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:34:01 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: From Jdemarco at hshhp.org Fri Mar 7 10:37:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 10:37:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8534D@TTNEXCHSRV1.hshhp.com> >>SQL in this rather clunky way would position me well to take on the web front end >> True but the advantage will be performance not data access. You can hit an mdb from the web just as easy as SQL (using ADO). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Eric Goetz Sent: Friday, March 07, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Mar 7 10:38:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:38:00 2003 Subject: [AccessD] Nz function in Access 2002 Message-ID: Early version of Access had a sample of code for a function called CNulls(), I think, in the help files. You had to build your own Null replacement function because Nz didn't exist until Access started using VBA. I stopped using it when Nz became available and have never had any problems. Charlotte Foust -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Friday, March 07, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''********************************************************************** ********** '' CDD Procedure Identification ''---------------------------------------------------------------------- ---------- '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''********************************************************************** ********** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkolits at CorporateDataDesign.com Fri Mar 7 10:49:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Fri Mar 7 10:49:00 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: Message-ID: MessageI actually started using nz a couple years ago. I expect it was after A97 was released, but I still had a couple customers have problems. So, I gave up on it and still use my old function. If I ever run across the issue again, I'll post it on the site, -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Friday, March 07, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Early version of Access had a sample of code for a function called CNulls(), I think, in the help files. You had to build your own Null replacement function because Nz didn't exist until Access started using VBA. I stopped using it when Nz became available and have never had any problems. Charlotte Foust -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Friday, March 07, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Nz function in Access 2002 Actually, from time to time I have run into a problem with NZ. Many, many a year ago, before NZ existed, I wrote my own function and have found it never to fail. Whenever my customers have a problem with NZ, I send them this instead of trying to debug their code or query. Always fixed the problem That's just my experience. Here's my code: Function N2Z(anyValue As Variant) As Double ''************************************************************************** ****** '' CDD Procedure Identification ''-------------------------------------------------------------------------- ------ '' FUNCTION: N2Z '' '' PURPOSE: Used through the application Converts null and empty values to zero '' '' ARGUMENTS: anyValue - any value to check '' '' RETURNS: '' '' '' Date/AUTHOR: John Skolits 03/14/97 ''************************************************************************** ****** On Error GoTo N2Z_ERR '*********BEGIN CODE HERE ******** On Error GoTo N2Z_ERR If anyValue = "#Deleted" Then anyValue = Null If IsNull(anyValue) Or IsEmpty(anyValue) Then N2Z = CDbl(0) Else N2Z = CDbl(anyValue) End If N2Z_EXIT: Exit Function N2Z_ERR: If Err = 13 Then Resume N2Z_EXIT If Err = 3021 Then MsgBox "You are trying to use the Null To Zero function (N2Z) with no data. (Note: This message may appear multiple times. Click OK till the message clears.)", , " Null To Zero Function Error" Resume N2Z_EXIT End If If Err = 2427 Or Err = 2424 Or Err = 63933 Then N2Z = CDbl(0) Resume N2Z_EXIT End If MsgBox "ERROR CODE:" & Err & " DESC:" & Error Resume N2Z_EXIT End Function -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 06, 2003 3:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Nz function in Access 2002 ...this is a prime example of Microsoft geek writing ...the reason I never buy anything from MS Press ...I'll be damned if I can figure out what it is that the nz function doesn't quite perform "as expected"? :( ...I use nz in several AXP apps and to date have noticed nothing that I didn't expect ...but with this kind of crap KB, I'll be certain to waste a lot of time the next time I use it, just futzing about looking for some kind of error in the returned data :((((( ...I don't know whether to thank Charlotte for pointing this out or mail her my dirty laundry instead :( William Hindman ...ok, I won't mail her my dirty laundry ...probably upset my post lady :) ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Thursday, March 06, 2003 1:56 PM Subject: [AccessD] Nz function in Access 2002 I ran across an MSKB article today http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that says the Nz function works in 2002 but it may not work as expected! Say what?? It works, but it doesn't? Has anyone run into this? Nz isn't always the most appropriate function, but I've never seen it fail, at least not that I knew about. We use this a lot, and I'm concerned about migrating our apps from 97 to 2002 and having a lot of code fall over. I wondered if it could be the result of not passing in the optional argument, but the article seemed rather vague to me. Does anyone else have first-hand knowledge of the problem? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Mar 7 10:55:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 10:55:00 2003 Subject: [AccessD] Odd Items in References List A2002 Message-ID: Has anybody else seen odd items in the references list in A2002? I was checking something and noticed an item APSD, which got me wondering. It was checked, but it was high in the list, right below items that were checked. When I clicked on it, I discovered it referred to a file in my Documents and Settings profile under Local Settings\Temp. Anyone have a clue as to what might have created this and stuck it in my references list? I'm using MZ Tools and I've got Speed Ferret 4.1, which works with A2002, so one of those might be the culprit. Does anyone know? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbartow at earthlink.net Fri Mar 7 10:57:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Fri Mar 7 10:57:00 2003 Subject: [AccessD] Access Solutions Drilldown Message-ID: Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB From CWortz at tea.state.tx.us Fri Mar 7 11:04:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 11:04:01 2003 Subject: [AccessD] Odd Items in References List A2002 Message-ID: Charlotte, On my A02 References list APSD does not show up. I do not have either MZ Tools or Speed Ferret 4.1, so one of them may be the culprit. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Mar 07 10:51 To: AccessD at databaseadvisors.com Subject: [AccessD] Odd Items in References List A2002 Has anybody else seen odd items in the references list in A2002? I was checking something and noticed an item APSD, which got me wondering. It was checked, but it was high in the list, right below items that were checked. When I clicked on it, I discovered it referred to a file in my Documents and Settings profile under Local Settings\Temp. Anyone have a clue as to what might have created this and stuck it in my references list? I'm using MZ Tools and I've got Speed Ferret 4.1, which works with A2002, so one of those might be the culprit. Does anyone know? Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Mar 7 11:06:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 11:06:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: I just did this on a report yesterday. I put the status...in my case "discrepency" (OptDiscrep and lblDiscrep)...on the form, but setup the following code in the Print event of the report's detail section. It worked in my case. I also put a second control there that said "No Discrepency" (lblNoDisc) Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) If logDiscrepancy = False Then OptDiscrep.Visible = False lblDiscrep.Visible = False lblNoDisc.Visible = True Else OptDiscrep.Visible = True lblDiscrep.Visible = True lblNoDisc.Visible = False End If End Sub >>> HollisVJ at pgdp.usec.com 03/07/03 11:26AM >>> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia From dwaters at usinternet.com Fri Mar 7 11:10:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 7 11:10:00 2003 Subject: [AccessD] Intermittent #Deleted Records Message-ID: <000501c2e4cc$37938030$de1811d8@DanWaters> Folks, A database I have worked on has an intermittent problem. This is a main form and a subform in Access XP. The database is split FE/BE. The subform is continuous and has a table as its recordsource that is on the many side of a 1-many relationship with the table that is the record source for the main form. The database is set to individual record locking and is also set to edited record. The table for the subform is also on the 1 side of a 1-many relationship for four other tables. Every table has a primary key based on an autonumber, and that primary key is the only index on each table. The problem is that, sometimes, when someone changes existing information in one of the comboboxes on the subform, the entire record in the subform immediately has all of it's information in every field changed to #Deleted. A search of the MSKB under #Deleted found information that suggested this happens when an Access FE is using a SQL BE, but no discussion of an Access FE using an Access BE. We have been able to trap an error which indicates that we are trying to do an rst.update without first doing an rst.edit, but since the forms are bound to the tables this doesn't make sense. Also, the code behind the subform comboboxes doesn't lead to any other code which edits and updates a recordset. Any suggestions on what the next steps could be would be greatly appreciated! Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2244 bytes Desc: not available URL: From bob at renaissancesiding.com Fri Mar 7 11:10:24 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 7 11:10:24 2003 Subject: [AccessD] Check Box for certain status Message-ID: <01C2E4A2.61DAF690.bob@renaissancesiding.com> Virginia Create an unbound checkbox on the report (cbxRejectStatus). *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True Else cbxRejectStatus = False End If End Sub *************************************************** Alternatively, you could add the code to hide the checkbox when the value is false: *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True cbxRejectStatus.Visible = True Else cbxRejectStatus = False cbxRejectStatus.Visible = False End If End Sub *************************************************** Regards, Bob Gajewski On Friday, March 07, 2003 11:27 AM, Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] wrote: > On a report I need a checkbox to be checked if the status is Rejected. I get > the status from tblStatus, StatusID (autonumber), status, Rejected, > Canceled, Approved, etc... > > How can I show a Rejected status as a checkbox instead of the word > "Rejected". They are only wanting to show the status if it is rejected > > Virginia > << File: ATT00016.htm >> From jarus at amerinet-gpo.com Fri Mar 7 11:17:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 7 11:17:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: Can't you set up a Checkbox with an IF statement like IF Status = "Rejected" then Chkbx1 = YES Else Chkbx1 = NO >>> HollisVJ at pgdp.usec.com 03/07/03 10:26AM >>> On a report I need a checkbox to be checked if the status is Rejected. I get the status from tblStatus, StatusID (autonumber), status, Rejected, Canceled, Approved, etc.... How can I show a Rejected status as a checkbox instead of the word "Rejected". They are only wanting to show the status if it is rejected. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Mar 7 11:21:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 11:21:00 2003 Subject: [AccessD] Intermittent #Deleted Records Message-ID: Dan, Is the information in the combobox that is getting changed either a PK or a FK? Better not be. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Friday 2003 Mar 07 11:09 > To: accessd at databaseadvisors.com > Cc: 'Roni Ronyak' > Subject: [AccessD] Intermittent #Deleted Records > > Folks, > > A database I have worked on has an intermittent problem. This is a > main form and a subform in Access XP. The database is split FE/BE. > The subform is continuous and has a table as its recordsource that is > on the many side of a 1-many relationship with the table that is the > record source for the main form. The database is set to individual > record locking and is also set to edited record. The table for the > subform is also on the 1 side of a 1-many relationship for four other > tables. Every table has a primary key based on an autonumber, and > that primary key is the only index on each table. > > The problem is that, sometimes, when someone changes existing > information in one of the comboboxes on the subform, the entire record > in the subform immediately has all of it's information in every field > changed to #Deleted. A search of the MSKB under #Deleted found > information that suggested this happens when an Access FE is using a > SQL BE, but no discussion of an Access FE using an Access BE. We have > been able to trap an error which indicates that we are trying to do an > rst.update without first doing an rst.edit, but since the forms are > bound to the tables this doesn't make sense. Also, the code behind > the subform comboboxes doesn't lead to any other code which edits and > updates a recordset. > > Any suggestions on what the next steps could be would be greatly > appreciated! > > Thanks, > Dan Waters > Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Mar 7 11:21:59 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 11:21:59 2003 Subject: [AccessD] count Types query (A97) Message-ID: How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From Jdemarco at hshhp.org Fri Mar 7 11:52:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 7 11:52:00 2003 Subject: [AccessD] count Types query (A97) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54BA5@TTNEXCHSRV1.hshhp.com> In the query grid add the name column and create concatenated field called MakeModel (unless they're already one field; can't tell by the listing). Turn on Totals and set the Name field to Count, MakeModel to GroupBy. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 07, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] count Types query (A97) How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From gustav at cactus.dk Fri Mar 7 11:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 7 11:58:00 2003 Subject: [AccessD] Nz function in Access 2002 In-Reply-To: References: Message-ID: <5436837209.20030307185704@cactus.dk> Hi Charlotte I cannot comment on the value of the article as I don't have A2002. For the Nz() function, I've never seen any problem with it in A9x or A2000 except for the case I describe in the other (re)posting. Perhaps one of our fellow listers could collect what Nz() DOES return in A2002?? /gustav > From the same article: > The Nz method of the data source control is suppose to replace Null > values with a zero (0) or some other specified value. However, the > method does not replace Null values as expected. > And ... > Although the Nz Method is correctly documented in Microsoft Script > Editor Help, it does not function as expected > However, the article doesn't explain what it *DOES* do--that unexpected > behavior. > I've never had any problems with Nz, so I can't agree with your "flaky" > assessment. It works for me, yet the article says it "does not function > as expected". Maybe I have different expectations? > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 07, 2003 4:43 AM > To: Charlotte Foust > Subject: Re: [AccessD] Nz function in Access 2002 > Hi Charlotte >> I ran across an MSKB article today >> http://support.microsoft.com/default.aspx?scid=kb;en-us;295619 that >> says the Nz function works in 2002 but it may not work as expected! >> Say what?? It works, but it doesn't? > How can you read that from the article? It reads: > > The Nz method of the data source control is supposed to replace Null > values with a zero (0) or some other specified value. However, the > method does not replace Null values as expected. > > So it doesn't work in A2002. > However, Nz() has always been flaky - to quote myself from 12. May > 2002: > > Did you know that - when used to return an expression in a query - > Nz() always returns a string even if it is supposed not to do so? > Like this: > Expr1: Nz([fldNumeric]) > or: > Expr1: Nz([fldNumeric], 0) > If you need a numeric value, you'll have to wrap it in Int(): > NumExpr1: Int(Nz([fldNumeric])) > Even if fldNumeric is a long, this will return a long when fldNumeric is > not Null but an integer for Null. If you wish a long in any case, the > zero for Null values for some reason must be present: > NumExpr1: Int(Nz([fldNumeric], 0)) > Alternatively, Nz() can be replaced with the good old IIf() > construction: > NumExpr1: IIf(IsNull([fldNumeric]), 0,[fldNumeric]) > This is tested for Access 95, 97 and 2000. Don't know about 2002. > > /gustav >> Has anyone run into this? Nz isn't always the most appropriate >> function, but I've never seen it fail, at least not that I knew about. >> We use this a lot, and I'm concerned about migrating our apps from 97 >> to 2002 and having a lot of code fall over. I wondered if it could be >> the result of not passing in the optional argument, but the article >> seemed rather vague to me. Does anyone else have first-hand knowledge >> of the problem? From DMcAfee at haascnc.com Fri Mar 7 12:26:01 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Fri Mar 7 12:26:01 2003 Subject: [AccessD] FW: Inserting line items from unbound form (A2k ADP) Message-ID: <657FB70438B7D311AF320090279C1801026D7929@EXCHMAIL> I didn't see this come through yesterday, so I'm trying it again.... I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2661 bytes Desc: not available URL: From jcolby at colbyconsulting.com Fri Mar 7 12:42:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 7 12:42:00 2003 Subject: [AccessD] Searching M$'s KB In-Reply-To: <000e01c2e4a3$d0a54750$6101a8c0@amd2k512> Message-ID: MessageFlattery will get you everywhere. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 07, 2003 7:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It?s a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. ---------------------------------------------------------------------------- ---- Get your copy today at http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 7 12:53:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 12:53:00 2003 Subject: [AccessD] Searching M$'s KB References: Message-ID: <003e01c2e4da$c6bdb4c0$6101a8c0@amd2k512> Message...I've been know to be wrong :) William Hindman ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 1:41 PM Subject: RE: [AccessD] Searching M$'s KB Flattery will get you everywhere. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 07, 2003 7:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. ------------------------------------------------------------------------------ Get your copy today at http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Fri Mar 7 12:58:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 7 12:58:00 2003 Subject: [AccessD] FW: Inserting line items from unbound form (A2k ADP) Message-ID: -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of David McAfee Sent: Friday, March 07, 2003 10:35 AM To: 'dba-sqlserver at databaseadvisors.com' Cc: 'accessd at databaseadvisors.com' Subject: FW: Inserting line items from unbound form (A2k ADP) I didn't see this come through yesterday, so I'm trying it again.... I have an unbound form in an A2K ADP, that contains a listbox which shows a list of parts (Qty, PN, Description, Price...) which are being ordered for a given order. To the right of this list box are 3 buttons (Add, Edit & Delete), upon pressing any of these, I open a pop up (modal) form in which the user can add (or edit or delete, depending on which mode I've sent in openargs) an item (line item). I originally did this in A97, using a bound 'parent" (order) form and an unbound pop up/modal "line item" entry, which would use DAO to insert, edit or delete records then requery the list box (on the parent form). I cannot figure out how to recreate this in the all unbound ADP. 1. The parent "order" hasn't been entered yet, so I have no PK value to assign to the child (Line item) table's FK, as I did in the A97 mdb. 2. Because of the ADP, I have no local temp table creation ability. 3. If I create a SPROC that creates a temp table in SQL, the temp tables session expires upon completion of the SPROC, so how could I call it back when I insert the parent tables' values? MTIA David -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1032 bytes Desc: not available URL: From my.lists at verizon.net Fri Mar 7 13:00:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri Mar 7 13:00:00 2003 Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) Message-ID: <001101c2e4db$faea6030$b615010a@FHTAPIA> This email hasn't come through so I'm posting it on behalf of David McAfee -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "David McAfee" To: Cc: Sent: Friday, March 07, 2003 10:34 AM Subject: FW: Inserting line items from unbound form (A2k ADP) : I didn't see this come through yesterday, so I'm trying it again.... : : I have an unbound form in an A2K ADP, that contains a listbox which : shows a list of parts (Qty, PN, Description, Price...) which are being : ordered for a given order. : To the right of this list box are 3 buttons (Add, Edit & Delete), upon : pressing any of these, I open a pop up (modal) form in which the user : can add (or edit or delete, depending on which mode I've sent in : openargs) an item (line item). : : I originally did this in A97, using a bound 'parent" (order) form and an : unbound pop up/modal "line item" entry, which would use DAO to insert, : edit or delete records then requery the list box (on the parent form). : : I cannot figure out how to recreate this in the all unbound ADP. : : 1. The parent "order" hasn't been entered yet, so I have no PK value to : assign to the child (Line item) table's FK, as I did in the A97 mdb. : 2. Because of the ADP, I have no local temp table creation ability. : 3. If I create a SPROC that creates a temp table in SQL, the temp tables : session expires upon completion of the SPROC, so how could I call it : back when I insert the parent tables' values? : : MTIA : David : From CWortz at tea.state.tx.us Fri Mar 7 13:10:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 13:10:00 2003 Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) Message-ID: And now it is the third posting of it today. Don't be so quick to repost. Wait a few hours. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Friday 2003 Mar 07 13:02 To: AccessD Subject: [AccessD] Fw: Inserting line items from unbound form (A2k ADP) This email hasn't come through so I'm posting it on behalf of David McAfee -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "David McAfee" To: Cc: Sent: Friday, March 07, 2003 10:34 AM Subject: FW: Inserting line items from unbound form (A2k ADP) : I didn't see this come through yesterday, so I'm trying it again.... : : I have an unbound form in an A2K ADP, that contains a listbox which : shows a list of parts (Qty, PN, Description, Price...) which are being : ordered for a given order. : To the right of this list box are 3 buttons (Add, Edit & Delete), upon : pressing any of these, I open a pop up (modal) form in which the user : can add (or edit or delete, depending on which mode I've sent in : openargs) an item (line item). : : I originally did this in A97, using a bound 'parent" (order) form and an : unbound pop up/modal "line item" entry, which would use DAO to insert, : edit or delete records then requery the list box (on the parent form). : : I cannot figure out how to recreate this in the all unbound ADP. : : 1. The parent "order" hasn't been entered yet, so I have no PK value to : assign to the child (Line item) table's FK, as I did in the A97 mdb. : 2. Because of the ADP, I have no local temp table creation ability. : 3. If I create a SPROC that creates a temp table in SQL, the temp tables : session expires upon completion of the SPROC, so how could I call it : back when I insert the parent tables' values? : : MTIA : David : From John.Clark at niagaracounty.com Fri Mar 7 13:22:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 7 13:22:00 2003 Subject: [AccessD] count Types query (A97) Message-ID: Ahhh...I forgot about the totals option in queries...I never need to use it...never until now anyhow. I think this is the beginning to me figuring this out. I already popped it in and it worked for a total. I also made one that counts each by office location. I'm going to try to place them into a report together somehow, and I'll basically be finished. Thank you very much! Now, I gotta get ready to leave and take my daughter to get some tree frogs for her birthday...and I'm not weighed down by any problems! Thanks Again! Take care...have a great weekend everybody! John W Clark >>> Jdemarco at hshhp.org 03/07/03 12:51PM >>> In the query grid add the name column and create concatenated field called MakeModel (unless they're already one field; can't tell by the listing). Turn on Totals and set the Name field to Count, MakeModel to GroupBy. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 07, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] count Types query (A97) How do I limit a query to list one of a type and count its occurrances in a table EXAMPLE: From cfoust at infostatsystems.com Fri Mar 7 13:37:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 13:37:00 2003 Subject: [AccessD] Access Solutions Drilldown Message-ID: Yeah, I filled it out. I put a resounding NO in that one. They're looking at going back to the ODT like Access 2, and I've heard rumors that was what was in store for either Office 11 or Office 12. I suspect some genius is again thinking that only amateur level development is done in Access so they're trying to allow every off body with $300 to spare to package their creations. :o{ Charlotte Foust -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Friday, March 07, 2003 8:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 7 13:40:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 7 13:40:00 2003 Subject: [AccessD] Check Box for certain status Message-ID: You don't need that much code. This works just as well. cbxRejectStatus = (Me.Status = "Rejected") Or you calculate a field in the underlying query like this: RejectStatus: [Status]="Rejected" Then you could simply bind the checkbox to that calculated expression. Charlotte Foust -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Friday, March 07, 2003 9:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box for certain status Virginia Create an unbound checkbox on the report (cbxRejectStatus). *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True Else cbxRejectStatus = False End If End Sub *************************************************** Alternatively, you could add the code to hide the checkbox when the value is false: *************************************************** Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.status = "Rejected" Then cbxRejectStatus = True cbxRejectStatus.Visible = True Else cbxRejectStatus = False cbxRejectStatus.Visible = False End If End Sub *************************************************** Regards, Bob Gajewski On Friday, March 07, 2003 11:27 AM, Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] wrote: > On a report I need a checkbox to be checked if the status is Rejected. > I get the status from tblStatus, StatusID (autonumber), status, > Rejected, Canceled, Approved, etc... > > How can I show a Rejected status as a checkbox instead of the word > "Rejected". They are only wanting to show the status if it is rejected > > Virginia > << File: ATT00016.htm >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Fri Mar 7 13:49:01 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 13:49:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> I'm looking at this process of importing the mdb BE into the mde FE before upsizing. If I went ahead and moved the mdb BE to MSDE, would it be best to try to convert the BE back to mdb (with DTS?) and import into the mdb FE before upsizing to an ADP with MSDE? What is "best practice" for upsizing an mdb FE that uses ODBC to MSDE to an ADP FE? Thanks, Eric (PS: Please let me know if I'm getting OT for this list. Thanks) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 07, 2003 5:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE I don't see the point of this approach. In fact I think it would complicate your problem rather than simplifying it, since you'd get all the problems and none of the benefits. Instead I suggest: A) make a copy of both the FE and BE. B) import the BE into the copied FE. C) find all record and row sources that begin with the word SELECT and change them to saved queries. D) run the upsizing wizard on this new combined FE-BE. You will end up with an MSDE database and an ADP FE that directly points to the database rather than going through ODBC. Now you can enjoy the benefits: speed, direct access to stored procedures, UDFs and views. HTH, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:14:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:14:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F6@servera22.doma.ops> Message-ID: <1047068004.3e68fd64437d0@hosea.qub.ac.uk> Before upsizing anything I use this software http://www.ssw.com.au/SSW/upsizingpro/default.aspx To run a report on the MDB file. The software is not free and I freely state that I have a free licence for this software from SWS. I have no other connection to the company other than that. Martin Quoting Eric Goetz : > I'm looking at this process of importing the mdb BE into the mde FE > before upsizing. If I went ahead and moved the mdb BE to MSDE, would > it > be best to try to convert the BE back to mdb (with DTS?) and import > into > the mdb FE before upsizing to an ADP with MSDE? > > > > What is "best practice" for upsizing an mdb FE that uses ODBC to MSDE > to > an ADP FE? > > > > Thanks, > > > > Eric > > > > (PS: Please let me know if I'm getting OT for this list. Thanks) > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday, March 07, 2003 5:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > I don't see the point of this approach. In fact I think it would > complicate > your problem rather than simplifying it, since you'd get all the > problems > and none of the benefits. Instead I suggest: > > A) make a copy of both the FE and BE. > B) import the BE into the copied FE. > C) find all record and row sources that begin with the word SELECT and > change them to saved queries. > D) run the upsizing wizard on this new combined FE-BE. You will end up > with > an MSDE database and an ADP FE that directly points to the database > rather > than going through ODBC. > > Now you can enjoy the benefits: speed, direct access to stored > procedures, > UDFs and views. > > HTH, > Arthur > > > > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:17:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:17:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> In all my recent dealings with MS they continually refer to Access as a tool for the tech savvy knowledge worker. I and a number of others are continually saying this is crap. I think they are deaf and stupid. Martin Quoting Charlotte Foust : > Yeah, I filled it out. I put a resounding NO in that one. They're > looking at going back to the ODT like Access 2, and I've heard rumors > that was what was in store for either Office 11 or Office 12. I > suspect > some genius is again thinking that only amateur level development is > done in Access so they're trying to allow every off body with $300 to > spare to package their creations. :o{ > > Charlotte Foust > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Friday, March 07, 2003 8:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from the Microsoft Office Developer Edition, would you be willing to > pay > $299 for the offering?" > > > > The last question concerns me. What would the point of the ODE be > then? > If you split Runtime and SQL tools from ODE it would cause nothing but > grief over increased cost for me. If you created an Access Developer > Edition which incorporates all of the applicable Access ODE > functionality into a seperate lower cost package I would consider that > as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Fri Mar 7 14:41:02 2003 From: jbartow at earthlink.net (John Bartow) Date: Fri Mar 7 14:41:02 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> Message-ID: I left them a note at the end of the survey that basically stated the same thing. I wonder if they'll actually care. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 07, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown In all my recent dealings with MS they continually refer to Access as a tool for the tech savvy knowledge worker. I and a number of others are continually saying this is crap. I think they are deaf and stupid. Martin Quoting Charlotte Foust : > Yeah, I filled it out. I put a resounding NO in that one. They're > looking at going back to the ODT like Access 2, and I've heard rumors > that was what was in store for either Office 11 or Office 12. I > suspect > some genius is again thinking that only amateur level development is > done in Access so they're trying to allow every off body with $300 to > spare to package their creations. :o{ > > Charlotte Foust > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Friday, March 07, 2003 8:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from the Microsoft Office Developer Edition, would you be willing to > pay > $299 for the offering?" > > > > The last question concerns me. What would the point of the ODE be > then? > If you split Runtime and SQL tools from ODE it would cause nothing but > grief over increased cost for me. If you created an Access Developer > Edition which incorporates all of the applicable Access ODE > functionality into a seperate lower cost package I would consider that > as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 14:50:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 14:50:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> References: <1047068124.3e68fddc3c4b7@hosea.qub.ac.uk> Message-ID: <1047070154.3e6905cac95a4@hosea.qub.ac.uk> I have requested premission to respond to Charlottes email below. If I get it I will post. Martin > > Quoting Charlotte Foust : > > > Yeah, I filled it out. I put a resounding NO in that one. They're > > looking at going back to the ODT like Access 2, and I've heard > rumors > > that was what was in store for either Office 11 or Office 12. I > > suspect > > some genius is again thinking that only amateur level development is > > done in Access so they're trying to allow every off body with $300 > to > > spare to package their creations. :o{ > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: John Bartow [mailto:jbartow at earthlink.net] > > Sent: Friday, March 07, 2003 8:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale > separately > > from the Microsoft Office Developer Edition, would you be willing to > > pay > > $299 for the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > > then? > > If you split Runtime and SQL tools from ODE it would cause nothing > but > > grief over increased cost for me. If you created an Access Developer > > Edition which incorporates all of the applicable Access ODE > > functionality into a seperate lower cost package I would consider > that > > as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EricGoetz at EGIsystems.com Fri Mar 7 14:51:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 14:51:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> Hi Martin, That sounds like a useful tool for upsizing the FE to ADP. As for the BE, I've made sure that all the row sources refer to saved queries as suggested by Chipman and Baron in "Microsoft Access Developer's Guide to SQL Server" and by Arthur Fuller in his post. When I run the upsize wizard, it completes without error. I'm still deciding whether or not to deploy. Given that I only have tables and relationships in the BE, do you think that I would benefit from UpsizingPro for the BE? Thanks, Eric -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday, March 07, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Before upsizing anything I use this software http://www.ssw.com.au/SSW/upsizingpro/default.aspx To run a report on the MDB file. The software is not free and I freely state that I have a free licence for this software from SWS. I have no other connection to the company other than that. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:04:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:04:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F8@servera22.doma.ops> Message-ID: <1047071042.3e690942db54c@hosea.qub.ac.uk> Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > > > That sounds like a useful tool for upsizing the FE to ADP. > > > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When > I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > > > Thanks, > > > > Eric > > > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Friday, March 07, 2003 12:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state > that I have a free licence for this software from SWS. I have no other > > connection to the company other than that. > > > > Martin > > > > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:07:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:07:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047071202.3e6909e25efa9@hosea.qub.ac.uk> They actually do care. Well some of them anyway. There are many outstanding issues in relation to Access which remain undecided. I apologise but I cannot say anymore at this point. I have however been told that some major decisions will be made within the next week or so and at that point more information can be made available to AccessD. Martin From CWortz at tea.state.tx.us Fri Mar 7 15:18:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 7 15:18:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: Martin, It must be past your bedtime, or you never learned math. 75% and 15% leaves 10% unaccounted for. That missing 10% must be for some poorly designed dbs. Further proof that you are staying up too late for your own good is your calling SSW, SWS. Superior Software for Windows probably could produce Superior Windows Software, but that is not the name they go by. Have a nice weekend and get some sleep Martin. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday 2003 Mar 07 15:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > That sounds like a useful tool for upsizing the FE to ADP. > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > Thanks, > > Eric > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state that I have a free licence for this software from SWS. I have no > other > > connection to the company other than that. > > > > Martin From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 7 15:27:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 7 15:27:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: References: Message-ID: <1047072400.3e690e91036b6@hosea.qub.ac.uk> LOL Just got back from London yesterday and your right I am shattered. Had some stuff to do as well and having 6 kids dosnt help. Martin (<: PS Every one knows English isnt my first language. Isnt that right Susan? From pedro at plex.nl Fri Mar 7 15:30:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri Mar 7 15:30:00 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro> <13841643940.20030305203606@cactus.dk> Message-ID: <001901c2e4f0$e5b5dc20$f8c581d5@pedro> Hello Gustav, Drew Wutka his query is working (Thanks for that Drew), but you were right it is very slow. For 10000 records it almost takes 20 minutes. You gave me a unionquery that i can't seem to work. Maybe i don't understand the fields in your query and what do you mean with: > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: Could you explain a little more. TIA Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Wednesday, March 05, 2003 8:36 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > I have a table with 10000 records. I would like to filter out, by > > query, the first 5 or 10 dates per different years. > > Is this possible. > > For a large table the use of a subquery may be painfully or even > unacceptably slow. > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > > ... > > UNION > SELECT TOP 5 > Year+n AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+n,1,1) > ORDER BY > Year5, > ID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Mar 7 15:38:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 7 15:38:00 2003 Subject: [AccessD] Intermittent #Deleted Records In-Reply-To: Message-ID: <000201c2e4f1$b0dfbf60$de1811d8@DanWaters> No, those are just data fields. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, March 07, 2003 11:21 AM To: accessd at databaseadvisors.com Cc: Roni Ronyak Subject: RE: [AccessD] Intermittent #Deleted Records Dan, Is the information in the combobox that is getting changed either a PK or a FK? Better not be. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-admin at databaseadvisors.com [ mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday 2003 Mar 07 11:09 To: accessd at databaseadvisors.com Cc: 'Roni Ronyak' Subject: [AccessD] Intermittent #Deleted Records Folks, A database I have worked on has an intermittent problem. This is a main form and a subform in Access XP. The database is split FE/BE. The subform is continuous and has a table as its recordsource that is on the many side of a 1-many relationship with the table that is the record source for the main form. The database is set to individual record locking and is also set to edited record. The table for the subform is also on the 1 side of a 1-many relationship for four other tables. Every table has a primary key based on an autonumber, and that primary key is the only index on each table. The problem is that, sometimes, when someone changes existing information in one of the comboboxes on the subform, the entire record in the subform immediately has all of it's information in every field changed to #Deleted. A search of the MSKB under #Deleted found information that suggested this happens when an Access FE is using a SQL BE, but no discussion of an Access FE using an Access BE. We have been able to trap an error which indicates that we are trying to do an rst.update without first doing an rst.edit, but since the forms are bound to the tables this doesn't make sense. Also, the code behind the subform comboboxes doesn't lead to any other code which edits and updates a recordset. Any suggestions on what the next steps could be would be greatly appreciated! Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From EricGoetz at EGIsystems.com Fri Mar 7 16:11:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Fri Mar 7 16:11:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F9@servera22.doma.ops> Hi Martin, Thanks for pointing me toward the Upsizingpro site! Lots of good information. I should have known to go there when I saw it in your and Susan's book. That's how I found this list. Thanks again, Eric -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Fri 3/7/2003 1:04 PM To: accessd at databaseadvisors.com Cc: Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Eric Download it and give it a try. Its will do 75% of your tables etc which is not to bad for nothing. You do the other 15% manually. Martin Quoting Eric Goetz : > Hi Martin, > > > > That sounds like a useful tool for upsizing the FE to ADP. > > > > As for the BE, I've made sure that all the row sources refer to saved > queries as suggested by Chipman and Baron in "Microsoft Access > Developer's Guide to SQL Server" and by Arthur Fuller in his post. > When > I run the upsize wizard, it completes without error. I'm still > deciding > whether or not to deploy. Given that I only have tables and > relationships in the BE, do you think that I would benefit from > UpsizingPro for the BE? > > > > Thanks, > > > > Eric > > > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Friday, March 07, 2003 12:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > > Before upsizing anything I use this software > > http://www.ssw.com.au/SSW/upsizingpro/default.aspx > > To run a report on the MDB file. The software is not free and I freely > state > that I have a free licence for this software from SWS. I have no other > > connection to the company other than that. > > > > Martin > > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6222 bytes Desc: not available URL: From shamil at smsconsulting.spb.ru Fri Mar 7 17:14:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 7 17:14:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... Message-ID: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Hi All, I'm sorry I'm writing about that here - I just went very crazy today about what they - Western Embassies and Consulates here and their bosses in Den Haage (Netherlands) are doing... Here is a fresh story: - I applied for business Visum (15 days of staying, one entry) several days ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here in Consualate General they ACCEPTED this application for BUSINESS visum and they checked all the docs carefully) - to make that I prepared all the needed paperwork, get original invitation from my partner from Netherlands (DHL, second day delivery = rather expensive), even changed the passports to make them fresh new (some more bucks) because at first they said that the ones I had aren't good, PAID for their "services"(not that much but should be enough for a rather good dinner for three I think) and I started to wait... And BTW I spent quite some time on all that prepations and quite some bucks in total... Do you know what answer I've got today? (in fact my Netherland's partner was called from Den Haage - Ministry of Foreign Affairs) - they said I should have applied for TOURISTIC not BUSINESS visum because I plan to go with my kids but as I mentioned above here they CHECKED all the docs and ACCEPTED them... Should I fight with them looking for truth with the risk to be written in their "black lists" forever? Or should I give up and accept the "rules" of their game? - there is a whole business around them here - and one (including any kinds of criminals etc.) can buy for money any kind of Visum and freely enter West Europe or States or Canada... I wanted to make it direct and according to all the laws and I didn't want to pay to the "shadow business around them" any extra money - and I've got NOTHING - or I'd better say I and my partner in Netherlands got real mockery... And they were harsh not only with me - they were that hostile with my Netherland's partner too - how it comes? Shamil P.S. I know, probably Russian Embassies do something like that there in West Europe - but should it justify what they are doing here these ambassadors of "civilized" free world? -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s From wdhindman at bellsouth.net Fri Mar 7 17:21:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:21:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001601c2e500$319ba5c0$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 7 17:22:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:22:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001901c2e500$4e036040$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 7 17:42:04 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 7 17:42:04 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <001e01c2e503$1be525a0$6101a8c0@amd2k512> ...first ...my apologies for the previous blank posts ...my new superfast system w/OE6 seems most adept at replying before I've managed to make any entry :( ...as for the situation with visas, you have my full sympathies ...I traveled quite a bit of the world during my prior career and seldom without some sort of problem ...it would seem that corruption in the immigration/visa sections of every government I've known is endemic, even that of my beloved America ...in fact, it was the American Embassy in Bangkok that finally drove me to the ultimate frustration of actually paying someone off to expedite the travel documents required to bring my family back to the US with me ...hours upon hours waiting only to be told to come back the next day ...or to wait in another line ...or that the person that handled "that" wasn't in today ...or why had I not hired an "expeditor" to handle these "matters" ...and after days of this tactic at my own embassy ...all with my wife and 3 year old daughter in hand, I finally gave in and paid someone "recommended" to me by an American consular officer ...and lo!!!!! ...I had the necessary documents all complete and in my hands within 3 hours ...which sucks more than any other bureaucratic FUBAR I've experienced before or since ...having to bribe my own embassy runs so much against everything I believe in that you have no idea how hard it was for me to concede to do it. ...no help here I know, Shamil ...but you're not alone in your frustration with the thieves :( William Hindman ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, March 07, 2003 6:13 PM Subject: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > 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 Mar 8 01:17:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 01:17:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <001e01c2e503$1be525a0$6101a8c0@amd2k512> Message-ID: <001101c2e542$a7dfcee0$b501010a@DAISY.local> THNX for your moral support, William! You know if I pay the "shadow business" around them then they will have legal evidence to reject my Visum application now and any time in the future - and they will be able to control me and to force to follow their rules in the case I will urgently need to enter Shengen Zone - and sin after sin I'll be in their hands... (I'm not saying that I'm saintly and that they are "dirty sinners" but I don't want to accept the rules of their game because I will become a looser as soon as I've accepted them... Yes, I know there are insuperable forces in this World like tsunami, tornado, earthquake,... - is this corrupted bureaucracy of all the states and continents such an insuperable force?) I know I can appeal to the "European Court of the Human Rights" but this promise to be expensive and lengthy procedure and with unknown end-result... ...but all these clerks, small and big bosses of all the levels - they know that they don't follow the rules they proclaim and assigned to defense... So the questions are: 1. Does anybody know can I ask for all the names of the clerks in their chain who first accepted my paperwork and then rejected to give Visum without any (IMO) reasons? 2. Can I talk to their Consul General in this case? 3. If they will not let me to talk to the Consul.... what then, give up? Shamil P.S. My children who study in a Gymnasium of the Global Education who are taught that this is a free and open world are asking me - what are these Visum? Why we should apply for them? Why we can't just go and visit our friends and colleagues in West Europe if our dad earned money working like crazy and wanted us to show Amsterdam, Brussles, Paris, Hamburg... And they dreamed to visit Paris Disneylend since our childhood... P.P.S. There are exceptions from the rules governing the Netherland's Consulate General in St.Petersburg - e.g. Representative Office of Switzerland - they are all friendly and one usually gets a Visum the second/third day, and all is well organized, they even have electronic Visum application forms in Internet - and they DON'T have 2m high guard, which exists in Consulate General of Netherlands - what secrets this guard patrol? And Finnish Embassy, when I applied for visum several years ago (I just wanted to go to Finland to fix the problems with my car + buy some spare parts for it) - and here you go - you're welcome! - no need for invitation and no spoiled bureaucracy around them. And IMO this is Finland, which is 150 km from my home and which should have been the most closed to the "hostile exUSSR" citizens - but no! - you're welcome and there are everyday buses and trains shuttling between Finland and Russia and a lot of cars cross the borders in both directions... The same easy was the procedure to get a Visum for HALF AN YEAR long staying in UK several years ago (I didn't use it because I didn't find the time and money to go there)... ... ----- Original Message ----- From: "William Hindman" To: Sent: Saturday, March 08, 2003 2:41 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > ...first ...my apologies for the previous blank posts ...my new superfast > system w/OE6 seems most adept at replying before I've managed to make any > entry :( > > ...as for the situation with visas, you have my full sympathies ...I > traveled quite a bit of the world during my prior career and seldom without > some sort of problem ...it would seem that corruption in the > immigration/visa sections of every government I've known is endemic, even > that of my beloved America ...in fact, it was the American Embassy in > Bangkok that finally drove me to the ultimate frustration of actually paying > someone off to expedite the travel documents required to bring my family > back to the US with me ...hours upon hours waiting only to be told to come > back the next day ...or to wait in another line ...or that the person that > handled "that" wasn't in today ...or why had I not hired an "expeditor" to > handle these "matters" ...and after days of this tactic at my own embassy > ...all with my wife and 3 year old daughter in hand, I finally gave in and > paid someone "recommended" to me by an American consular officer ...and > lo!!!!! ...I had the necessary documents all complete and in my hands within > 3 hours ...which sucks more than any other bureaucratic FUBAR I've > experienced before or since ...having to bribe my own embassy runs so much > against everything I believe in that you have no idea how hard it was for > me to concede to do it. > > ...no help here I know, Shamil ...but you're not alone in your frustration > with the thieves :( > > William Hindman > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "AccessD" > Sent: Friday, March 07, 2003 6:13 PM > Subject: [AccessD] OT: "Chevaux de frise" of free world... > > > > Hi All, > > > > I'm sorry I'm writing about that here - I just went very crazy today about > > what they - Western Embassies and Consulates here and their bosses in Den > > Haage (Netherlands) are doing... > > > > Here is a fresh story: > > > > - I applied for business Visum (15 days of staying, one entry) several > days > > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > > in Consualate General they ACCEPTED this application for BUSINESS visum > and > > they checked all the docs carefully) - to make that I prepared all the > > needed paperwork, get original invitation from my partner from Netherlands > > (DHL, second day delivery = rather expensive), even changed the passports > to > > make them fresh new (some more bucks) because at first they said that the > > ones I had aren't good, PAID for their "services"(not that much but should > > be enough for a rather good dinner for three I think) and I started to > > wait... > > And BTW I spent quite some time on all that prepations and quite some > > bucks in total... > > > > Do you know what answer I've got today? (in fact my Netherland's partner > was > > called from Den Haage - Ministry of Foreign Affairs) - they said I should > > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > > them... > > > > Should I fight with them looking for truth with the risk to be written in > > their "black lists" forever? > > Or should I give up and accept the "rules" of their game? - there is a > whole > > business around them here - and one (including any kinds of criminals > etc.) > > can buy for money any kind of Visum and freely enter West Europe or States > > or Canada... > > > > I wanted to make it direct and according to all the laws and I didn't want > > to pay to the "shadow business around them" any extra money - and I've got > > NOTHING - or I'd better say I and my partner in Netherlands got real > > mockery... And they were harsh not only with me - they were that hostile > > with my Netherland's partner too - how it comes? > > > > Shamil > > > > P.S. I know, probably Russian Embassies do something like that there in > West > > Europe - but should it justify what they are doing here these ambassadors > of > > "civilized" free world? > > > > -- > > e-mail: shamil at smsconsulting.spb.ru > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Mar 8 01:23:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:23:00 2003 Subject: [AccessD] Searching M$'s KB Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82260@main2.marlow.com> Couldn't agree more! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 07, 2003 6:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB ...and it is exactly that mix that makes this, for me at least, much more valuable than any other Access list or newsgroup ...its fairly well balanced between Access gurus and those with the level of experience I originally brought to the list ...not a day goes by that I don't learn something entirely new and useful in my work, or better yet, catch a glimpse of gurus exchanging salvos in debates that illuminate the Access landscape for all of us ...so as far as I'm concerned, bring it on ...the lurkers finally popping up with the thing that's stumped them for days ...or sages like JC asking questions that I don't even begin to understand until days later when I've absorbed the equivalent of a post-grad semester in database design. William Hindman ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 7:02 AM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Sat Mar 8 01:28:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:28:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82261@main2.marlow.com> Very good point. I've watched this thread from the outside, for two reasons. I personally have never made a CR report, and at best I consider myself an 'amatuer' at report generation in Access. When it comes to making reports in Access, I can do some pretty nifty stuff with code, making stupendous 'special' reports. However, there are people where I work that do nothing but generate reports using the wizards, and then tweaking all sorts of things. I have had to go into these reports from time to time, and I must admit that they get them to do exactly what they want with relatively little fuss. That is why I consider myself an amatuer at the report level, because half the time I would have jumped to VBA....(go figure), instead of using the solutions that were used. One question. Does CR have a 'program' language that you can run in the background of a report? (Not just macro like, but VBA like, where you can interface with the OS if you want type stuff....) Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 07, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access and Crystal Reports Shamil, True, CR allows independent sections in reports, and true this can be a useful feature. But in my experience there never has been a report that I had to create that needed this feature. My last word on this thread is this: Since everybody's previous experiences and personal preferences are different, there is no one best tool for everybody. Of the tools that are available to you and you are comfortable using, try to pick the one that is most suitable for the problem at hand. Have a nice day Shamil. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday 2003 Mar 06 15:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports > Access 2002 and CR 9.0 are > almost identical in their feature sets. Charles, I thought the same but then I made approx. 50 real-life CR reports for HRM/Payroll system and my customer was a real guru in both HRM/Payroll programming/reporting and CR itself (I worked as his subcontractor) - and I soon realized that despite the fact that the feature set of MS Access and CR seems to be very similar, the real power of CR is in its unique and looking at first not very significant feature of allowing to have and manipulate on runtime of several (as many as you wish) independent sections/areas of Report Header/Footer, Page Header/Footer, Group Header/Footer and Details... The only area where I've found MS Access "beats" CR 8.x, which I used, is when you need in CR to copy and paste (or cut and paste) a group of controls within one report or between reports - here CR sometimes goes "crazy" and you need to realigh controls manualy after paste operation... Charles, I'd not like to have this thread to become"religious" debate "CR vs. MS Access report generator" - let's stop it? - after your contr-arguments if you wish! :) Shamil _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 01:30:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 01:30:00 2003 Subject: [AccessD] Products Installed by Windows MSI References: <000601c2c2bb$d87319d0$5373a8c0@local> <003701c2c37f$f8e58710$b501010a@DAISY.local> Message-ID: <3E699BD0.1020800@shaw.ca> Here is an interesting short method I came across, it assumes MSI installer is on your machine but if running Office XP or 2000 it should be. It will only list products installed by Windows MSI installer. Maybe someone will find this useful, perhaps for remote client debugging. Sub ProductListfromMSIinstall() 'Lists Products installed by Windows Installer Dim oWInst As Object 'Dim msiInstaller As WindowsInstaller.Installer Dim oProducts As Object Dim product As Variant Dim strName As String Dim strMinVer As String Dim strMaxVer As String Dim strVer As String Set oWInst = CreateObject("WindowsInstaller.Installer") On Error Resume Next Set oProducts = oWInst.Products For Each product In oProducts strName = oWInst.ProductInfo(product, "ProductName") strMinVer = oWInst.ProductInfo(product, "VersionMinor") strMaxVer = oWInst.ProductInfo(product, "VersionMajor") strVer = oWInst.ProductInfo(product, "VersionString") Debug.Print strName & " Version: " & strVer Next End Sub This will return something like this that you can parse. WMI SQL Server Provider Version: 1.0.0.0 WinHTTP 5.0 SDK Version: 5.0.2613.0 CodeSwap 2.0 Add-in for Visual Studio .NET Version: 2.0.0 Microsoft XML Parser and SDK Version: 4.10.9404.0 Microsoft Data Access 2.6 SDK Version: 2.6 Office XP Web Services Toolkit 2.0 Installation Files and Whitepapers Version: 2.0 WebFldrs XP Version: 9.50.5318 Microsoft IntelliPoint 4.1 Version: 4.10.0851 Microsoft .NET Framework 1.1 Version: 1.1.4322 Microsoft SQL Server 2000 Books Online (Updated - SP3) Version: 8.2.0.0 Microsoft Application Compatibility Analyzer Version: 1.00.0000 McAfee VirusScan Version: 6.0.1 Microsoft SQL Server Desktop Engine Version: 8.00.194 WMI Tools Version: 1.50.1131.0001 Microsoft ASP.NET Web Matrix Version: 0.5.464.0 Microsoft Visio Professional 2002 [English] Version: 10.0.525 Microsoft Office XP Professional Version: 10.0.2627.01 Microsoft Office XP Web Components Version: 10.0.4406.0 Microsoft SOAP Toolkit 3.0 Version: 3.00.1325.3 Bluetooth Stack for Windows by Toshiba Version: 1.01.02 Microsoft SOAP Toolkit 3.0 Samples Version: 3.00.1325.2 From DWUTKA at marlow.com Sat Mar 8 01:41:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 01:41:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82262@main2.marlow.com> Pedro, if I remember right, Gustav's union query essentially provides records for each year. Each segment of the union query is for a seperate year. Thus, to show results for the last 20 years, you would need 20 segments in the Union query. If you were making this SQL on the fly, that would be the fastest option. However, to speed things up for my query, make sure that you the date field indexed. That will speed things up immensely. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Friday, March 07, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Hello Gustav, Drew Wutka his query is working (Thanks for that Drew), but you were right it is very slow. For 10000 records it almost takes 20 minutes. You gave me a unionquery that i can't seem to work. Maybe i don't understand the fields in your query and what do you mean with: > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: Could you explain a little more. TIA Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Wednesday, March 05, 2003 8:36 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > > I have a table with 10000 records. I would like to filter out, by > > query, the first 5 or 10 dates per different years. > > Is this possible. > > For a large table the use of a subquery may be painfully or even > unacceptably slow. > If you know the maximum number of years to list, you can create a > union query like this where Year is the first year to list: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year],1,1) > UNION > SELECT TOP 5 > Year+1 AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+1,1,1) > > ... > > UNION > SELECT TOP 5 > Year+n AS Year5, > ID > FROM > tblTrans > WHERE > DateTrans >= DateSerial([Year]+n,1,1) > ORDER BY > Year5, > ID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwutka at marlow.com Sat Mar 8 01:56:01 2003 From: dwutka at marlow.com (Drew Wutka) Date: Sat Mar 8 01:56:01 2003 Subject: [AccessD] Testing, Please ignore. Message-ID: <00b601c2e548$27612880$0302a8c0@WolfWares.local> test -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Sat Mar 8 02:41:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sat Mar 8 02:41:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: Hi Shamil, yupz, sometimes not all clercs are equally smart, this and the turmoil we still have in our government probably caused all this frustration. On the other hand, if you went by the rules, having layed all the cards on the table and 'them' accepting your 'business' visa application knowing your kids were involved makes it their fault IMO. So, if I were you I'd use that to have them correct their fault asap with no extra costs. You payed for a service and from the specialist clercs you were dealing with, one of them should have pointed out that you'd needed a tourist visa since your kids are coming along. Their mistake, you are innocent russian applyer with not so much visa knowledge, right?:-) Good luck, Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: zaterdag 8 maart 2003 00:13 To: AccessD Subject: [AccessD] OT: "Chevaux de frise" of free world... Hi All, I'm sorry I'm writing about that here - I just went very crazy today about what they - Western Embassies and Consulates here and their bosses in Den Haage (Netherlands) are doing... Here is a fresh story: - I applied for business Visum (15 days of staying, one entry) several days ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here in Consualate General they ACCEPTED this application for BUSINESS visum and they checked all the docs carefully) - to make that I prepared all the needed paperwork, get original invitation from my partner from Netherlands (DHL, second day delivery = rather expensive), even changed the passports to make them fresh new (some more bucks) because at first they said that the ones I had aren't good, PAID for their "services"(not that much but should be enough for a rather good dinner for three I think) and I started to wait... And BTW I spent quite some time on all that prepations and quite some bucks in total... Do you know what answer I've got today? (in fact my Netherland's partner was called from Den Haage - Ministry of Foreign Affairs) - they said I should have applied for TOURISTIC not BUSINESS visum because I plan to go with my kids but as I mentioned above here they CHECKED all the docs and ACCEPTED them... Should I fight with them looking for truth with the risk to be written in their "black lists" forever? Or should I give up and accept the "rules" of their game? - there is a whole business around them here - and one (including any kinds of criminals etc.) can buy for money any kind of Visum and freely enter West Europe or States or Canada... I wanted to make it direct and according to all the laws and I didn't want to pay to the "shadow business around them" any extra money - and I've got NOTHING - or I'd better say I and my partner in Netherlands got real mockery... And they were harsh not only with me - they were that hostile with my Netherland's partner too - how it comes? Shamil P.S. I know, probably Russian Embassies do something like that there in West Europe - but should it justify what they are doing here these ambassadors of "civilized" free world? -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 7-3-2003 Tested on: 8-3-2003 9:34:32 (c) 2000-2003 ALWIL Software. http://www.avast.com From gustav at cactus.dk Sat Mar 8 04:56:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 8 04:56:01 2003 Subject: [AccessD] first five dates per year In-Reply-To: <001901c2e4f0$e5b5dc20$f8c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro> <13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> Message-ID: <1227323080.20030308115517@cactus.dk> Hi Pedro > Drew Wutka his query is working (Thanks for that Drew), but you were right > it is very slow. For 10000 records it almost takes 20 minutes. > You gave me a unionquery that i can't seem to work. Maybe i don't understand > the fields in your query and what do you mean with: >> If you know the maximum number of years to list, you can create a >> union query like this where Year is the first year to list: > Could you explain a little more. Sure. In addition to the correct comments of Drew, here is the union query which collects data from maximum three years. If you need more years, simply insert more "Union Select ..." sections where you for each section increase by 1 the number to add to Year. PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year],1,1) UNION SELECT TOP 5 Year+1 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+1,1,1) UNION SELECT TOP 5 Year+2 AS Year5, ID FROM tblTrans WHERE DateTrans >= DateSerial([Year]+2,1,1) ORDER BY Year5, ID; You will, of course, have to change the names of table and fields to those of your table. /gustav > ----- Original Message ----- > From: "Gustav Brock" > To: "Pedro Janssen" > Sent: Wednesday, March 05, 2003 8:36 PM > Subject: Re: [AccessD] first five dates per year >> Hi Pedro >> >> > I have a table with 10000 records. I would like to filter out, by >> > query, the first 5 or 10 dates per different years. >> > Is this possible. >> >> For a large table the use of a subquery may be painfully or even >> unacceptably slow. >> If you know the maximum number of years to list, you can create a >> union query like this where Year is the first year to list: >> >> >> >> PARAMETERS >> Year Short; >> SELECT TOP 5 >> Year AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year],1,1) >> UNION >> SELECT TOP 5 >> Year+1 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+1,1,1) >> >> ... >> >> UNION >> SELECT TOP 5 >> Year+n AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+n,1,1) >> ORDER BY >> Year5, >> ID; >> >> From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 06:08:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 06:08:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: References: Message-ID: <1047125275.3e69dd1ba5161@hosea.qub.ac.uk> Shamil When I applied for my visas to the USA I was told to PLAY by the RULES. Dont shout and do as asked even if it appears stupid. The person who told me that was an employee at the USA consul. Unless they are asking you to pay again I would simply make an appointment, go see them BE VERY NICE and sort it out. Immigration are very funny these days and I think the best advise is to stay on the right side of them at all times. In my case they give me both a working and a tourist visa and at the end of the day the staff at the consulate here could not have been more helpful. All I can say is be patient with them, explain excatly what you plan to do, who is going with you etc and do it all in writing, again I know but just be patient and nice. At the first sign of trouble they will not issue a visa becasue at the end of the day it means nothing to them. Martin From artful at rogers.com Sat Mar 8 07:28:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 8 07:28:01 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE In-Reply-To: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130F5@servera22.doma.ops> Message-ID: <00f401c2e576$6b8fc100$8e01a8c0@Rock> On reflection, I concur with Martin. The only problem is that you need some sort of client to get at the sprocs and views and UDFs. I recall reading here that there is a way to achieve this, though. Download and install the eval version of SQL 2000, but install only the client tools (not the back end). Then you'll have Enterprise Manager, Query Analyzer etc. available without having to spring the big bucks for SQL 2000. -----Original Message----- From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Eric Goetz Sent: March 7, 2003 10:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE Hi, Thanks for the feedback. I'm glad to hear that someone else is working with an mde fe and msde be. I like Authur's approach from a technical viewpoint. Unfortunately, I'm reaching the limit of the time estimate I gave to my client for this project. I need to continue making progress without trying to cram the ADP learning curve into a two week period on top of the SQL learning curve. I also think getting to SQL in this rather clunky way would position me well to take on the web front end project if they go that way. Any more words of wisdom for me? Thanks, Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3572 bytes Desc: not available URL: From artful at rogers.com Sat Mar 8 07:35:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 8 07:35:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: Message-ID: <00f801c2e577$672879d0$8e01a8c0@Rock> What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Sat Mar 8 09:49:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Sat Mar 8 09:49:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <00f801c2e577$672879d0$8e01a8c0@Rock> Message-ID: It is the Access survey for developers Microsoft is collecting on line right now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). You might be able to sign up for it on MS site somewhere. It takes about 10 minutes or less. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 08, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Mar 8 10:13:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat Mar 8 10:13:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: Message-ID: Has anyone else had problems with the survey? I get to page 2 and it crashes IE. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, March 08, 2003 10:49 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown It is the Access survey for developers Microsoft is collecting on line right now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). You might be able to sign up for it on MS site somewhere. It takes about 10 minutes or less. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 08, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Solutions Drilldown What is the Access Solutions Drilldown? I have Office 2002 Developer but have never noticed this. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow Sent: March 7, 2003 11:57 AM To: AccessD Subject: [AccessD] Access Solutions Drilldown Have any of you filled out the Access Solutions Drilldown? I'm on the last page right now and this question seems to be loaded: "If the Access runtime and SQL Tools were offered for sale separately from the Microsoft Office Developer Edition, would you be willing to pay $299 for the offering?" The last question concerns me. What would the point of the ODE be then? If you split Runtime and SQL tools from ODE it would cause nothing but grief over increased cost for me. If you created an Access Developer Edition which incorporates all of the applicable Access ODE functionality into a seperate lower cost package I would consider that as desirable. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 10:55:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 10:55:01 2003 Subject: [AccessD] Access Solutions Drilldown References: Message-ID: <011c01c2e593$692598a0$d5ecffcc@SusanOne> They wouldn't even let me take the darn thing because I haven't "deployed" a new application in 18 months. As if... :( Susan H. > Has anyone else had problems with the survey? I get to page 2 and it > crashes IE. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, March 08, 2003 10:49 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > It is the Access survey for developers Microsoft is collecting on line right > now. I signed up for via Mike Gunderloy's newsletter site (larkfarm.com). > You might be able to sign up for it on MS site somewhere. It takes about 10 > minutes or less. > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Saturday, March 08, 2003 7:34 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > What is the Access Solutions Drilldown? I have Office 2002 Developer but > have never noticed this. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > Sent: March 7, 2003 11:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately from > the Microsoft Office Developer Edition, would you be willing to pay $299 for > the offering?" > > > > The last question concerns me. What would the point of the ODE be then? If > you split Runtime and SQL tools from ODE it would cause nothing but grief > over increased cost for me. If you created an Access Developer Edition which > incorporates all of the applicable Access ODE functionality into a seperate > lower cost package I would consider that as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 10:56:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 10:56:01 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: References: Message-ID: <1047142529.3e6a20816edbe@hosea.qub.ac.uk> Cant even find it/ Some post an address! Martin Quoting Jim Dettman : > Has anyone else had problems with the survey? I get to page 2 and it > crashes IE. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > Sent: Saturday, March 08, 2003 10:49 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > It is the Access survey for developers Microsoft is collecting on line > right > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > You might be able to sign up for it on MS site somewhere. It takes about > 10 > minutes or less. > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Saturday, March 08, 2003 7:34 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access Solutions Drilldown > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > have never noticed this. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > Sent: March 7, 2003 11:57 AM > To: AccessD > Subject: [AccessD] Access Solutions Drilldown > > > Have any of you filled out the Access Solutions Drilldown? > > I'm on the last page right now and this question seems to be loaded: > > "If the Access runtime and SQL Tools were offered for sale separately > from > the Microsoft Office Developer Edition, would you be willing to pay $299 > for > the offering?" > > > > The last question concerns me. What would the point of the ODE be then? > If > you split Runtime and SQL tools from ODE it would cause nothing but > grief > over increased cost for me. If you created an Access Developer Edition > which > incorporates all of the applicable Access ODE functionality into a > seperate > lower cost package I would consider that as desirable. > > JB > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 8 11:35:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 8 11:35:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <011c01c2e593$692598a0$d5ecffcc@SusanOne> References: <011c01c2e593$692598a0$d5ecffcc@SusanOne> Message-ID: <1047144877.3e6a29ad39151@hosea.qub.ac.uk> AND the URL WOULD BE WHAT? Martin Quoting Susan Harkins : > They wouldn't even let me take the darn thing because I haven't > "deployed" a > new application in 18 months. As if... :( > > Susan H. > > > > Has anyone else had problems with the survey? I get to page 2 and > it > > crashes IE. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Saturday, March 08, 2003 10:49 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > It is the Access survey for developers Microsoft is collecting on > line > right > > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > > You might be able to sign up for it on MS site somewhere. It takes > about > 10 > > minutes or less. > > > > JB > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur > Fuller > > Sent: Saturday, March 08, 2003 7:34 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > > have never noticed this. > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > > Sent: March 7, 2003 11:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale separately > from > > the Microsoft Office Developer Edition, would you be willing to pay > $299 > for > > the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > then? If > > you split Runtime and SQL tools from ODE it would cause nothing but > grief > > over increased cost for me. If you created an Access Developer > Edition > which > > incorporates all of the applicable Access ODE functionality into a > seperate > > lower cost package I would consider that as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Mar 8 11:53:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 11:53:00 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82261@main2.marlow.com> Message-ID: <001501c2e59b$7af91130$b501010a@DAISY.local> <<< > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) >>> Drew, Yes, CR has a program language used to create formulas - see P.S. What is important to note is that CR report generation customization IS NOT event driven! This shocks at first an MS Access developer (that's from my experience)... Then when you get comfortable with that "new ideology" you see that it's very flexible... I'd say that the usual customization technique in CR is data-driven... I expect you to "fall in love" with CR because the tricks it allows to do aren't possible in MS Access - the key to the tricks IMO are sections (these are subsections of Report Header/Footer, Page Header/Footer,...) and formulas, which can be specified on different levels of reports to control properties' values of report objects on runtime... And of course you'll love drill-down (live reports) - this is where one CR report may substitute several MS Access forms and reports with subreports... And of course you'll love easy migration of all that stuff(reports) to the Web from where they can be interactively using very good and effective data cashing technique... ... > instead of > using the solutions that were used. There are good Wizards for CR too but CR profis seldom use them (I'm not the one of such profis because I've had just a casual project with CR) . CR can be used by powerusers I think for the cases like you describe but it's much more for programmers because only programmers are able to show the real power of CR through reports they create with it using formulas... Shamil P.S. <<<<+ Quoting CR Help +>>> formula A formula is a symbolic statement of the modifications you want performed on certain data before it is printed on your report. For example, if your report is to contain a {file.SALES} field and a {file.COST} field, you may want to create a GrossProfit field and designate its text strings as {file.SALES} - {file.COST}. This is a simple formula that tells the program to subtract the value of the {file.COST} field from the value of the {file.SALES} field and then to print the result. You can use formulas to calculate numeric values, compare one value to another and select alternative actions based on the comparison, join multiple value into a single string, and to perform a multitude of other operations. Creating a formula in Crystal Reports is much like creating a formula in your favorite spreadsheet. Note: The term "formula" in Crystal Reports is equivalent to the term "expression" in Microsoft Access. Crystal and Basic Syntax When creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formula written with one syntax can be written with the other. Reports can contain formulas that use Basic syntax as well as formulas that use Crystal syntax. Crystal syntax is the formula language included in all prior versions of Crystal Reports. Basic Syntax is new to Crystal Reports 8. If you are familiar with Microsoft Visual Basic or other versions of Basic, then Basic syntax may be more familiar to you. In general, Basic syntax is modeled on Visual Basic except that it has specific extensions to handle reporting. If you are already comfortable with Crystal syntax, you can continue to use it, and benefit from the new functions, operators and control structures inspired by Visual Basic. Note: Report processing is not slowed down by using Basic syntax. Reports using Basic syntax formulas can run on any machine that Crystal Reports runs on. Also, using Basic syntax formulas does not require distributing any additional files with your reports. <<<<- Quoting CR Help ->>> ----- Original Message ----- From: "Drew Wutka" To: Sent: Saturday, March 08, 2003 10:27 AM Subject: RE: [AccessD] Access and Crystal Reports > Very good point. I've watched this thread from the outside, for two > reasons. I personally have never made a CR report, and at best I consider > myself an 'amatuer' at report generation in Access. When it comes to making > reports in Access, I can do some pretty nifty stuff with code, making > stupendous 'special' reports. However, there are people where I work that > do nothing but generate reports using the wizards, and then tweaking all > sorts of things. I have had to go into these reports from time to time, and > I must admit that they get them to do exactly what they want with relatively > little fuss. That is why I consider myself an amatuer at the report level, > because half the time I would have jumped to VBA....(go figure), instead of > using the solutions that were used. > > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Friday, March 07, 2003 7:13 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > > Shamil, > > True, CR allows independent sections in reports, and true this can be a > useful feature. But in my experience there never has been a report that > I had to create that needed this feature. > > My last word on this thread is this: Since everybody's previous > experiences and personal preferences are different, there is no one best > tool for everybody. Of the tools that are available to you and you are > comfortable using, try to pick the one that is most suitable for the > problem at hand. > > Have a nice day Shamil. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 15:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - > and I soon realized that despite the fact that the feature set of MS > Access and CR seems to be very similar, the real power of CR is in its > unique and looking at first not very significant feature of allowing to > have and manipulate on runtime of several (as many as you wish) > independent sections/areas of Report Header/Footer, Page Header/Footer, > Group Header/Footer and Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, > is when you need in CR to copy and paste (or cut and paste) a group of > controls within one report or between reports - here CR sometimes goes > "crazy" and you need to realigh controls manualy after paste > operation... > > Charles, I'd not like to have this thread to become"religious" debate > "CR vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 12:04:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 12:04:00 2003 Subject: [AccessD] AXP mde fe / be to fe / MSDE References: <00f401c2e576$6b8fc100$8e01a8c0@Rock> Message-ID: <3E6A308F.8030009@shaw.ca> Here are two free replacements for Enterprise Manager From BMC Software SmartDBA Cockpit (1.6.01) http://shop.bmc.com/product_moreinfo.cfm?id=2479&cpg=US00-1889GA DbaMgr - DbaMgr2k Administrative Console for Microsoft Msde 1.0 and Msde 2000 written in Microsoft Visual Basic 6.0 (comes with source code) http://www.asql.biz/DbaMgr.shtm I have only used the second because it shows you how to write the SQL-DMO code and seems a little easier to use. Arthur Fuller wrote: >On reflection, I concur with Martin. The only problem is that you need some >sort of client to get at the sprocs and views and UDFs. I recall reading >here that there is a way to achieve this, though. Download and install the >eval version of SQL 2000, but install only the client tools (not the back >end). Then you'll have Enterprise Manager, Query Analyzer etc. available >without having to spring the big bucks for SQL 2000. > >-----Original Message----- >From: Eric Goetz [mailto:accessd-admin at databaseadvisors.com] On Behalf Of >Eric Goetz >Sent: March 7, 2003 10:52 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] AXP mde fe / be to fe / MSDE > > > >Hi, > >Thanks for the feedback. I'm glad to hear that someone else is working with >an mde fe and msde be. I like Authur's approach from a technical viewpoint. >Unfortunately, I'm reaching the limit of the time estimate I gave to my >client for this project. > >I need to continue making progress without trying to cram the ADP learning >curve into a two week period on top of the SQL learning curve. I also think >getting to SQL in this rather clunky way would position me well to take on >the web front end project if they go that way. > >Any more words of wisdom for me? > >Thanks, > >Eric > > > From scotttgage at yahoo.com Sat Mar 8 12:06:01 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Sat Mar 8 12:06:01 2003 Subject: [AccessD] Installer wizard In-Reply-To: <001501c2e59b$7af91130$b501010a@DAISY.local> Message-ID: <20030308180541.93064.qmail@web10403.mail.yahoo.com> Hello all: I have built an application in Access and want to burn it to a CD to give to my customer. Dose anyone know of an affordable Installation wizard that will create a folder at a default path and ask where the customer where he/she would like to install with a browse button? I'd like to give them the option to create a desktop shortcut or go to a web site for more options and things like that. I'm going for a professional look here and will negotiate some of my demands. Any suggestions? Scott ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From demulling at centurytel.net Sat Mar 8 12:36:08 2003 From: demulling at centurytel.net (Demulling) Date: Sat Mar 8 12:36:08 2003 Subject: [AccessD] Installer wizard References: <20030308180541.93064.qmail@web10403.mail.yahoo.com> Message-ID: <001c01c2e5a1$9d45fc20$76c4e6cf@bedroom> You might want to try Setup to go ----- Original Message ----- From: "Scott Gage" To: Sent: Saturday, March 08, 2003 12:05 PM Subject: [AccessD] Installer wizard > Hello all: > > I have built an application in Access and want to burn > it to a CD to give to my customer. Dose anyone know of > an affordable Installation wizard that will create a > folder at a default path and ask where the customer > where he/she would like to install with a browse > button? I'd like to give them the option to create a > desktop shortcut or go to a web site for more options > and things like that. > > I'm going for a professional look here and will > negotiate some of my demands. Any suggestions? > > Scott > > > ===== > -------------------- > Scott T. Gage > Scott.gage at promedica.org > 419.291-7177 > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sat Mar 8 12:46:02 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 12:46:02 2003 Subject: [AccessD] Editing Records References: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> Message-ID: <053d01c2e4b8$855a05a0$f4ecffcc@SusanOne> I'd like to just add one point here -- and it's the user's perspective. Unless you're dealing with more advanced users, a form with hidden, locked, disabled controls almost always seems to lead to confusion. You can explain why, but they won't like it. It's not a right or wrong, but something worth considering. For instance, once had a subscription database that showed different subforms, depending on the reason the form was opened -- one user loved it, the other hated it because she always "thought" something was wrong -- "why can't I enter blah, blah, blah right now too?" Now, you can't design everything around users, but you do want to consider them too. Susan H. > I'm also for using one form and I have to ask why not let your form 's edit mode flag determine what displays and what doesn't? True there will be fields that edit does not pertain to but how many can it be? If it's a lot than using multiple forms might make sense but I've not seen that (up to this point that is). From jhale at houston.rr.com Sat Mar 8 12:56:00 2003 From: jhale at houston.rr.com (James Hale) Date: Sat Mar 8 12:56:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <75583729.20030302085523@cactus.dk> Message-ID: <013101c2e5a4$81427a50$2602a8c0@D4MXWR01> The only way I have been able to mix landscape and portrait in the same document is with Word and this doesn't always work well either. I presume Adobe acrobat can do the trick but I have been to cheap to spring for a copy. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, March 02, 2003 1:55 AM To: James Hale Subject: Re: [AccessD] PDF for word ... Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. _______________________________________________ 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 Mar 8 12:59:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 12:59:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: Message-ID: <005301c2e5a4$c8fb39e0$b501010a@DAISY.local> > if you went by the rules Yes, Eric, I went by the rules - their rules (this is written in my another message - answer to Martin) > and 'them' accepting your 'business' visa application knowing your > kids were involved makes it their fault IMO. Yes, they accepted that - in fact as I've written in another message in the invitation is explicitly written that my visit is a mix of business and tourism - this isn't possible? And in their Visum application form, pos#29 on the top: Purpose of travel http://smsconsulting.spb.ru/download/visum/vap02.gif - there are several checkboxes and within them "Tourism" and "Business" - as far as I can remember I checked both (but I'm not sure now) - but if I checked only one - what is the problem? - they can just call me/my partner and reask and check both checkboxes by themselves - they can and DO correct the forms by themselves when during application they see some problems with these forms... - and the text of the invitation (quoted in the answer to Martin) doesn't have any double meaning IMO - it asks for permission to visit Shengen Zone for business AND tourism purposes... > You payed for a service Yes, I paid for their 'service' - about USD90 in total... > with not so much visa knowledge, right?:-) Yes, Eric, I don't have visa application process knowledge - if you know some rules could you please advise?: - Is that my right to ask for the meeting with the Consul and ask for his name? - I know this is my right to ask them for the official paper where it should be written what are the formal rules/laws, which I violated - how should I proceed to get this official paper? - Is that my right to ask for the names of all who paticipate in this mockery? If yes, what is the "trick" to get these names without fight with their guard? :) - something else important I'm missing?... > to have them correct their fault asap with no > extra costs. I really need that ASAP because I want to go on kids vacations - starting 20 of March and lasting until 1 of April... And I booked the plane tickets already - in several days their price will become much higher and will be just unaffordable... And who knows how ASAP is their ASAP - what they need is to just print three Visum stickers, which they DO print in St.Petersburg AFAIK... Please write me privately to close this WAY off-topic thread... Shamil ----- Original Message ----- From: "StaRKeY" To: Sent: Saturday, March 08, 2003 11:34 AM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Hi Shamil, > > yupz, sometimes not all clercs are equally smart, this and the turmoil we > still have in our government probably caused all this frustration. On the > other hand, if you went by the rules, having layed all the cards on the > table and 'them' accepting your 'business' visa application knowing your > kids were involved makes it their fault IMO. > So, if I were you I'd use that to have them correct their fault asap with no > extra costs. You payed for a service and from the specialist clercs you were > dealing with, one of them should have pointed out that you'd needed a > tourist visa since your kids are coming along. Their mistake, you are > innocent russian applyer with not so much visa knowledge, right?:-) > > > Good luck, > Eric Starkenburg > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: zaterdag 8 maart 2003 00:13 > To: AccessD > Subject: [AccessD] OT: "Chevaux de frise" of free world... > > > Hi All, > > I'm sorry I'm writing about that here - I just went very crazy today about > what they - Western Embassies and Consulates here and their bosses in Den > Haage (Netherlands) are doing... > > Here is a fresh story: > > - I applied for business Visum (15 days of staying, one entry) several days > ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > in Consualate General they ACCEPTED this application for BUSINESS visum and > they checked all the docs carefully) - to make that I prepared all the > needed paperwork, get original invitation from my partner from Netherlands > (DHL, second day delivery = rather expensive), even changed the passports to > make them fresh new (some more bucks) because at first they said that the > ones I had aren't good, PAID for their "services"(not that much but should > be enough for a rather good dinner for three I think) and I started to > wait... > And BTW I spent quite some time on all that prepations and quite some > bucks in total... > > Do you know what answer I've got today? (in fact my Netherland's partner was > called from Den Haage - Ministry of Foreign Affairs) - they said I should > have applied for TOURISTIC not BUSINESS visum because I plan to go with my > kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > them... > > Should I fight with them looking for truth with the risk to be written in > their "black lists" forever? > Or should I give up and accept the "rules" of their game? - there is a whole > business around them here - and one (including any kinds of criminals etc.) > can buy for money any kind of Visum and freely enter West Europe or States > or Canada... > > I wanted to make it direct and according to all the laws and I didn't want > to pay to the "shadow business around them" any extra money - and I've got > NOTHING - or I'd better say I and my partner in Netherlands got real > mockery... And they were harsh not only with me - they were that hostile > with my Netherland's partner too - how it comes? > > Shamil > > P.S. I know, probably Russian Embassies do something like that there in West > Europe - but should it justify what they are doing here these ambassadors of > "civilized" free world? > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > Message is tested virus free > Virus Database (VPS): 7-3-2003 > Tested on: 8-3-2003 9:34:32 > > (c) 2000-2003 ALWIL Software. > http://www.avast.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 Mar 8 12:59:22 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat Mar 8 12:59:22 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <1047125275.3e69dd1ba5161@hosea.qub.ac.uk> Message-ID: <005401c2e5a4$c9152a80$b501010a@DAISY.local> > When I applied for my visas to the USA > I was told to PLAY by the RULES. Martin, I did everything to play by their rules - even more several days before my Visum application I went to the Consulate and showed invitation and all the forms - and they said that they were OK - and I used them to apply for Visum - all these docs prepared according to their rules, which they confirmed... > Immigration are very funny these days I'm not immigarting or something like that - I just want to go to meet my business partners in West Europe, to talk to them(business) and to make some touristic trips around to show West Europe to my children - for 15 days only - and when I go there I have left here my wife and baby-boy and this is also written in the docs I used to apply for Visum... > explain excatly what you plan to do, This is written in the invitation, which they read at least twice before they accepted the docs: = +++ quoting invitation +++ = The purpose of visit is business and tourism related. We need Mr. Salakhetdinov for the co-ordination of software development in Russia, discussing and defining the projects specifications. We wanted to show him and his family members how our business is organized and how it is functioning. We also wanted to let him to travel around Netherlands for sightseeing and to visit his other friends and business colleagues in Netherlands and if time allows in other Shengen states: Belgium, France and Germany. Mr. Salakhetdinov and his family members will therefore need a one entry Shengen visa for a period from the 15th of March 2003 till 15th of April 2003, allowing for 15(fifteen) days to stay. We guarantee that all costs related to the visit will be for our account in the case Mr. Shamil Salakhetdinov will have some difficulties with that. This includes lodging, repatriating, and costs related to illness and hospital. = --- quoting invitation --- = Any problems with the text above? Something unclear? Should I present them the exact schedule where, when and why I plan to go? - yes, I plan to go to Belgium - and this is written above. Yes, I plan to go to France - and this is written above. Maybe I even go to Germany - if time allows - and this is written above... - I've money to pay for all this staying, if not my partner signed the doc and promised to help me and he has his good business in Netherlands and lives there all his life with wife and family of three kids and his own house - and they know all that. Of course I and my partner will use special additional insurance polices - what is wrong with all that? > All I can say is be patient with them, THNX for your advice, Martin, I will give it another quiet try on Tuesday (Monday isn't working day here) - if they continue their mockery I will probably just publish the phones of the Consulate General and the clerk from Den Haage and all their names if I get them for anybody who wants to call them and to say what they think about all that outrage - this is only what they should be afraid of I think - bad public opinion about them (concrete names) - maybe this will help others to escape their "chevaux de frise"... Shamil ----- Original Message ----- From: To: Sent: Saturday, March 08, 2003 3:07 PM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Shamil > > When I applied for my visas to the USA I was told to PLAY by the RULES. Dont > shout and do as asked even if it appears stupid. > > The person who told me that was an employee at the USA consul. Unless they are > asking you to pay again I would simply make an appointment, go see them BE > VERY NICE and sort it out. > > Immigration are very funny these days and I think the best advise is to stay > on the right side of them at all times. > > In my case they give me both a working and a tourist visa and at the end of > the day the staff at the consulate here could not have been more helpful. > > All I can say is be patient with them, explain excatly what you plan to do, > who is going with you etc and do it all in writing, again I know but just be > patient and nice. > > At the first sign of trouble they will not issue a visa becasue at the end of > the day it means nothing to them. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 13:13:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 13:13:01 2003 Subject: [AccessD] Editing Records References: <22F1CCD5171D17419CB37FEEE09D5F99D8533E@TTNEXCHSRV1.hshhp.com> <053d01c2e4b8$855a05a0$f4ecffcc@SusanOne> Message-ID: <017301c2e5a6$b68cfc60$d5ecffcc@SusanOne> Well, here's another one that's taken over 24 hours to arrive. Susan H. > I'd like to just add one point here -- and it's the user's perspective. > Unless you're dealing with more advanced users, a form with hidden, locked, > disabled controls almost always seems to lead to confusion. You can explain > why, but they won't like it. It's not a right or wrong, but something worth > considering. For instance, once had a subscription database that showed > different subforms, depending on the reason the form was opened -- one user > loved it, the other hated it because she always "thought" something was > wrong -- "why can't I enter blah, blah, blah right now too?" Now, you can't > design everything around users, but you do want to consider them too. > > Susan H. > > > > I'm also for using one form and I have to ask why not let your form 's > edit mode flag determine what displays and what doesn't? True there will be > fields that edit does not pertain to but how many can it be? If it's a lot > than using multiple forms might make sense but I've not seen that (up to > this point that is). > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From carbonnb at sympatico.ca Sat Mar 8 14:51:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sat Mar 8 14:51:00 2003 Subject: [AccessD] Installer wizard In-Reply-To: <20030308180541.93064.qmail@web10403.mail.yahoo.com> References: <001501c2e59b$7af91130$b501010a@DAISY.local> Message-ID: <3E6A1157.2851.12A502B@localhost> On 8 Mar 2003 at 10:05, Scott Gage wrote: > I have built an application in Access and want to burn > it to a CD to give to my customer. Dose anyone know of > an affordable Installation wizard that will create a > folder at a default path and ask where the customer > where he/she would like to install with a browse > button? I'd like to give them the option to create a > desktop shortcut or go to a web site for more options > and things like that. Scott, Are you distributing a runtime of just an mdb/mde? If it is just the mdb/mdethe NSIS will do everything that you are looking for. You can get it from http://nsis.sourceforge.net If you are distributing a runtime, then NSIS won't work for you. I have used it for quite a while. I have distributed mde's (no runtime) and VB apps with it and have had no problems. -- Bryan Carbonnell - carbonnb at sympatico.ca A picture is worth a thousand words, but it uses up a thousand times the memory. From pedro at plex.nl Sat Mar 8 15:37:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Sat Mar 8 15:37:00 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk> Message-ID: <000b01c2e5bb$047189f0$f8c581d5@pedro> Hello Drew and Gustav, Drew, i indexed the date field, but the query wasn't quicker as the without indexing. I'll have to wait 20 minutes or so, but the result is what i want. Gustav, your query still gives me some problems. When i use only the part of the query with Year the result is good, but the Parameters is asking for the year and afterthat for Year5. I don't understand this. When i use Year and Union Year+1 i get result that don't fit. Maybe it has something to do with the fieldnames. In your query which field is ID and which field is DateTrans. For example in TblTrans i only have one field [datum]. From DWUTKA at marlow.com Sat Mar 8 17:48:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 17:48:01 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82264@main2.marlow.com> How big is the database....zipped. If you could send me a sample (I shouldn't have any problem with something less then 10 megs in email), I'll see if I can optimize it for you. Drew -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Saturday, March 08, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] first five dates per year Hello Drew and Gustav, Drew, i indexed the date field, but the query wasn't quicker as the without indexing. I'll have to wait 20 minutes or so, but the result is what i want. Gustav, your query still gives me some problems. When i use only the part of the query with Year the result is good, but the Parameters is asking for the year and afterthat for Year5. I don't understand this. When i use Year and Union Year+1 i get result that don't fit. Maybe it has something to do with the fieldnames. In your query which field is ID and which field is DateTrans. For example in TblTrans i only have one field [datum]. From DWUTKA at marlow.com Sat Mar 8 17:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 8 17:51:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82265@main2.marlow.com> Can this programming language handle API Calls? Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Saturday, March 08, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access and Crystal Reports <<< > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) >>> Drew, Yes, CR has a program language used to create formulas - see P.S. What is important to note is that CR report generation customization IS NOT event driven! This shocks at first an MS Access developer (that's from my experience)... Then when you get comfortable with that "new ideology" you see that it's very flexible... I'd say that the usual customization technique in CR is data-driven... I expect you to "fall in love" with CR because the tricks it allows to do aren't possible in MS Access - the key to the tricks IMO are sections (these are subsections of Report Header/Footer, Page Header/Footer,...) and formulas, which can be specified on different levels of reports to control properties' values of report objects on runtime... And of course you'll love drill-down (live reports) - this is where one CR report may substitute several MS Access forms and reports with subreports... And of course you'll love easy migration of all that stuff(reports) to the Web from where they can be interactively using very good and effective data cashing technique... ... > instead of > using the solutions that were used. There are good Wizards for CR too but CR profis seldom use them (I'm not the one of such profis because I've had just a casual project with CR) . CR can be used by powerusers I think for the cases like you describe but it's much more for programmers because only programmers are able to show the real power of CR through reports they create with it using formulas... Shamil P.S. <<<<+ Quoting CR Help +>>> formula A formula is a symbolic statement of the modifications you want performed on certain data before it is printed on your report. For example, if your report is to contain a {file.SALES} field and a {file.COST} field, you may want to create a GrossProfit field and designate its text strings as {file.SALES} - {file.COST}. This is a simple formula that tells the program to subtract the value of the {file.COST} field from the value of the {file.SALES} field and then to print the result. You can use formulas to calculate numeric values, compare one value to another and select alternative actions based on the comparison, join multiple value into a single string, and to perform a multitude of other operations. Creating a formula in Crystal Reports is much like creating a formula in your favorite spreadsheet. Note: The term "formula" in Crystal Reports is equivalent to the term "expression" in Microsoft Access. Crystal and Basic Syntax When creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formula written with one syntax can be written with the other. Reports can contain formulas that use Basic syntax as well as formulas that use Crystal syntax. Crystal syntax is the formula language included in all prior versions of Crystal Reports. Basic Syntax is new to Crystal Reports 8. If you are familiar with Microsoft Visual Basic or other versions of Basic, then Basic syntax may be more familiar to you. In general, Basic syntax is modeled on Visual Basic except that it has specific extensions to handle reporting. If you are already comfortable with Crystal syntax, you can continue to use it, and benefit from the new functions, operators and control structures inspired by Visual Basic. Note: Report processing is not slowed down by using Basic syntax. Reports using Basic syntax formulas can run on any machine that Crystal Reports runs on. Also, using Basic syntax formulas does not require distributing any additional files with your reports. <<<<- Quoting CR Help ->>> ----- Original Message ----- From: "Drew Wutka" To: Sent: Saturday, March 08, 2003 10:27 AM Subject: RE: [AccessD] Access and Crystal Reports > Very good point. I've watched this thread from the outside, for two > reasons. I personally have never made a CR report, and at best I consider > myself an 'amatuer' at report generation in Access. When it comes to making > reports in Access, I can do some pretty nifty stuff with code, making > stupendous 'special' reports. However, there are people where I work that > do nothing but generate reports using the wizards, and then tweaking all > sorts of things. I have had to go into these reports from time to time, and > I must admit that they get them to do exactly what they want with relatively > little fuss. That is why I consider myself an amatuer at the report level, > because half the time I would have jumped to VBA....(go figure), instead of > using the solutions that were used. > > One question. Does CR have a 'program' language that you can run in the > background of a report? (Not just macro like, but VBA like, where you can > interface with the OS if you want type stuff....) > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Friday, March 07, 2003 7:13 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access and Crystal Reports > > > Shamil, > > True, CR allows independent sections in reports, and true this can be a > useful feature. But in my experience there never has been a report that > I had to create that needed this feature. > > My last word on this thread is this: Since everybody's previous > experiences and personal preferences are different, there is no one best > tool for everybody. Of the tools that are available to you and you are > comfortable using, try to pick the one that is most suitable for the > problem at hand. > > Have a nice day Shamil. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Thursday 2003 Mar 06 15:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > Access 2002 and CR 9.0 are > > almost identical in their feature sets. > Charles, > > I thought the same but then I made approx. 50 real-life CR reports for > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > programming/reporting and CR itself (I worked as his subcontractor) - > and I soon realized that despite the fact that the feature set of MS > Access and CR seems to be very similar, the real power of CR is in its > unique and looking at first not very significant feature of allowing to > have and manipulate on runtime of several (as many as you wish) > independent sections/areas of Report Header/Footer, Page Header/Footer, > Group Header/Footer and Details... > > The only area where I've found MS Access "beats" CR 8.x, which I used, > is when you need in CR to copy and paste (or cut and paste) a group of > controls within one report or between reports - here CR sometimes goes > "crazy" and you need to realigh controls manualy after paste > operation... > > Charles, I'd not like to have this thread to become"religious" debate > "CR vs. MS Access report generator" - let's stop it? - after your > contr-arguments if you wish! :) > > Shamil > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Mar 8 18:44:06 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 8 18:44:06 2003 Subject: [AccessD] Editing Records References: <006201c2e35e$2da2cc30$8e01a8c0@Rock> Message-ID: <007601c2e364$fde65280$d2e6ffcc@SusanOne> From mastercafe at ctv.es Sat Mar 8 19:08:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 19:08:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <011c01c2e593$692598a0$d5ecffcc@SusanOne> Message-ID: We have an application that his volumen is too high for any machine, we are checking information about MDA to translate de source code of libraries to another archive and how to use them. Any knows anything about MDA archives and how generate and use this?? Thanks Juan Menendez www.mastercafe.com From martyconnelly at shaw.ca Sat Mar 8 19:48:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 19:48:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> Message-ID: <3E6A9D51.3080501@shaw.ca> I would write it off as the cost of doing business, it isn't worth the hassle to complain about some minor functionary or bureaucrat who probably doesn't understand all the rules and is too afraid to ask. I have run into the same thing with Canadian External Affairs in embassies overseas and got into arguments, only to find out it was local citizens handling the Visa sections run by one Canadian national who was too busy to oversee them what with all his demands of having to attend functions at the local Jockey club and golf course. Lodging a complaint against External Affairs is generally useless unless you threaten them with a press expose or high political action from their minister. I would get your partner to complain through his Dutch member of parliament, if you really wanted to raise the issue further. By the way the here is a description and cost of a Schengen Visa plus a pdf of the form from Dutch embassy in Washington. http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN Of course you could always expend some time filling in a Green Card lottery form for permanent residence in US (odds 1:100) rather than expending the time on a complaint. Better to light a candle than curse the darkness. http://www.usnis.org/ I have got my own back at times on Immigration types, once in Lagos Nigeria I was asked for dash ,mordida or baksheesh; to expedite my getting out of the country at the airport. So I reached into my throwdown wallet (in case of robbery) and pulled out a fistfull of Canadian Tire money (these are discount coupons that look like money in amounts of 10 cents through a dollar put out by an a Canadian Automotive chain store) explained to the guy I didn't have US cash but here was Canadian money. I could barely keep a straight face. Shamil Salakhetdinov wrote: >Hi All, > >I'm sorry I'm writing about that here - I just went very crazy today about >what they - Western Embassies and Consulates here and their bosses in Den >Haage (Netherlands) are doing... > >Here is a fresh story: > >- I applied for business Visum (15 days of staying, one entry) several days >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here >in Consualate General they ACCEPTED this application for BUSINESS visum and >they checked all the docs carefully) - to make that I prepared all the >needed paperwork, get original invitation from my partner from Netherlands >(DHL, second day delivery = rather expensive), even changed the passports to >make them fresh new (some more bucks) because at first they said that the >ones I had aren't good, PAID for their "services"(not that much but should >be enough for a rather good dinner for three I think) and I started to >wait... >And BTW I spent quite some time on all that prepations and quite some >bucks in total... > >Do you know what answer I've got today? (in fact my Netherland's partner was >called from Den Haage - Ministry of Foreign Affairs) - they said I should >have applied for TOURISTIC not BUSINESS visum because I plan to go with my >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED >them... > >Should I fight with them looking for truth with the risk to be written in >their "black lists" forever? >Or should I give up and accept the "rules" of their game? - there is a whole >business around them here - and one (including any kinds of criminals etc.) >can buy for money any kind of Visum and freely enter West Europe or States >or Canada... > >I wanted to make it direct and according to all the laws and I didn't want >to pay to the "shadow business around them" any extra money - and I've got >NOTHING - or I'd better say I and my partner in Netherlands got real >mockery... And they were harsh not only with me - they were that hostile >with my Netherland's partner too - how it comes? > >Shamil > >P.S. I know, probably Russian Embassies do something like that there in West >Europe - but should it justify what they are doing here these ambassadors of >"civilized" free world? > >-- >e-mail: shamil at smsconsulting.spb.ru >Web: http://www.smsconsulting.spb.ru/shamil_s > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From michael.mattys at adelphia.net Sat Mar 8 20:19:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 20:19:00 2003 Subject: [AccessD] A2k MDA References: Message-ID: <000b01c2e5e3$b7e99270$6401a8c0@default> Hi Juan, The wording of your request is difficult to me. Are you looking for an add-in that translates compiled libraries? Or, are you trying to make your application smaller by moving objects out to mda's? Or something else? Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 8:06 PM Subject: [AccessD] A2k MDA > We have an application that his volumen is too high for any machine, we are > checking information about MDA to translate de source code of libraries to > another archive and how to use them. > > Any knows anything about MDA archives and how generate and use this?? > > Thanks > > Juan Menendez > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Mar 8 20:36:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 20:36:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <000b01c2e5e3$b7e99270$6401a8c0@default> Message-ID: Basically we want to try smaller applications. We check to put all functions on an MDB archive, compile it to MDE and change the extensi?n to MDA, the program run correctly making a reference to MDA archive. We check to change MDB to MDA and run correctly too. Only need make a reference in VBA to this archive. The question is... this is the correct process?? we don't find any information about MDA archives to make and manipulate. And by other face... this MDA improve the speed in the application?? On your comment... There are an add-in that translate compiled libraries?? we don't know.. if you may send a link for this applications Many thanks Juan Menendez -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Michael R Mattys Enviado el: domingo, 09 de marzo de 2003 03:30 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] A2k MDA Hi Juan, The wording of your request is difficult to me. Are you looking for an add-in that translates compiled libraries? Or, are you trying to make your application smaller by moving objects out to mda's? Or something else? Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 8:06 PM Subject: [AccessD] A2k MDA > We have an application that his volumen is too high for any machine, we are > checking information about MDA to translate de source code of libraries to > another archive and how to use them. > > Any knows anything about MDA archives and how generate and use this?? > > Thanks > > Juan Menendez > www.mastercafe.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Mar 8 20:53:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 20:53:01 2003 Subject: [AccessD] A2k MDA References: Message-ID: <001701c2e5e8$6a18d1a0$6401a8c0@default> Juan, No, there is no add-in to translate a compiled library That would be a problem for all of us. You're right that all you need to do is set a reference to the mdb/mde to expose it's public functions. I believe you are looking to make either an mda or a COM add-in, also known as an ActiveX DLL. I make both of these, I will try to find you some links that I've collected on the subject. MSDN will be your starting point, most likely. Mike Mattys ----- Original Message ----- From: "MastercafeCTV" To: Sent: Saturday, March 08, 2003 9:34 PM Subject: RE: [AccessD] A2k MDA > Basically we want to try smaller applications. We check to put all functions > on an MDB archive, compile it to MDE and change the extensi?n to MDA, the > program run correctly making a reference to MDA archive. We check to change > MDB to MDA and run correctly too. Only need make a reference in VBA to this > archive. > > The question is... this is the correct process?? we don't find any > information about MDA archives to make and manipulate. And by other face... > this MDA improve the speed in the application?? > > On your comment... There are an add-in that translate compiled libraries?? > we don't know.. if you may send a link for this applications > > Many thanks > > > Juan Menendez > > > -----Mensaje original----- > De: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]En nombre de Michael R Mattys > Enviado el: domingo, 09 de marzo de 2003 03:30 > Para: accessd at databaseadvisors.com > Asunto: Re: [AccessD] A2k MDA > > > Hi Juan, > > The wording of your request is difficult to me. > > Are you looking for an add-in that translates > compiled libraries? > > Or, are you trying to make your application > smaller by moving objects out to mda's? > > Or something else? > > Mike Mattys > > ----- Original Message ----- > From: "MastercafeCTV" > To: > Sent: Saturday, March 08, 2003 8:06 PM > Subject: [AccessD] A2k MDA > > > > We have an application that his volumen is too high for any machine, we > are > > checking information about MDA to translate de source code of libraries to > > another archive and how to use them. > > > > Any knows anything about MDA archives and how generate and use this?? > > > > Thanks > > > > Juan Menendez > > www.mastercafe.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 8 21:09:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 8 21:09:00 2003 Subject: [AccessD] A2k MDA References: Message-ID: <3E6AB013.80503@shaw.ca> Here is an old article on how to use and create addins or mda files. You can also open certain mda files just as would an mdb to examine and build them. These articles and code are starting to disappear so keep a copy http://www.microsoft.com/accessdev/articles/fn14.htm and http://www.microsoft.com/AccessDev/Articles/TempWiz.htm MastercafeCTV wrote: >We have an application that his volumen is too high for any machine, we are >checking information about MDA to translate de source code of libraries to >another archive and how to use them. > >Any knows anything about MDA archives and how generate and use this?? > >Thanks > >Juan Menendez >www.mastercafe.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From michael.mattys at adelphia.net Sat Mar 8 21:25:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 21:25:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> Message-ID: <002701c2e5ec$d72a4770$6401a8c0@default> Juan, Group Marty gave you some good ones, try these too. HOWTO: Build an Office 2000 COM Add-In in Visual Basic http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 Creating a Microsoft Office 2000 COM Add-in http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp Microsoft's Component Object Model (COM) technologies Web site http://air.knu.ac.kr/reference/COM/default.asp.htm Microsoft Office and OLE Automation Documentation Links http://www.jinks.com/JTMOther/JTMAutomation.html From mastercafe at ctv.es Sat Mar 8 21:32:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat Mar 8 21:32:00 2003 Subject: [AccessD] A2k MDA In-Reply-To: <3E6AB013.80503@shaw.ca> Message-ID: Many thanks for the information I will check and copy -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de MartyConnelly Enviado el: domingo, 09 de marzo de 2003 04:08 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] A2k MDA Here is an old article on how to use and create addins or mda files. You can also open certain mda files just as would an mdb to examine and build them. These articles and code are starting to disappear so keep a copy http://www.microsoft.com/accessdev/articles/fn14.htm and http://www.microsoft.com/AccessDev/Articles/TempWiz.htm MastercafeCTV wrote: >We have an application that his volumen is too high for any machine, we are >checking information about MDA to translate de source code of libraries to >another archive and how to use them. > >Any knows anything about MDA archives and how generate and use this?? > >Thanks > >Juan Menendez >www.mastercafe.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 bellsouth.net Sat Mar 8 21:42:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 21:42:01 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> Message-ID: <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> William Hindman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 10:34 PM Subject: Re: [AccessD] A2k MDA > Juan, Group > > Marty gave you some good ones, try these too. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 > > Creating a Microsoft Office 2000 COM Add-in > http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp > > Microsoft's Component Object Model (COM) technologies Web site > http://air.knu.ac.kr/reference/COM/default.asp.htm > > Microsoft Office and OLE Automation Documentation Links > http://www.jinks.com/JTMOther/JTMAutomation.html > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sat Mar 8 21:50:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 21:50:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> Message-ID: <006701c2e5ee$fe972290$6101a8c0@amd2k512> ...for more current information on writing addin/mda libraries for Access, check out Woodys and Helen Feddema's sites ...she has just completed a four part series for Woody's Access watch with downloadable mdb/mda samples that is the most thorough I've seen from an Access developer perspective. HTH :) http://www.woodyswatch.com/access/index.asp http://www.helenfeddema.com/access.htm William Hindman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 10:34 PM Subject: Re: [AccessD] A2k MDA > Juan, Group > > Marty gave you some good ones, try these too. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238228 > > Creating a Microsoft Office 2000 COM Add-in > http://msdn.microsoft.com/library/en-us/dno2kta/html/mso2kaddin.asp > > Microsoft's Component Object Model (COM) technologies Web site > http://air.knu.ac.kr/reference/COM/default.asp.htm > > Microsoft Office and OLE Automation Documentation Links > http://www.jinks.com/JTMOther/JTMAutomation.html > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.mattys at adelphia.net Sat Mar 8 22:11:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat Mar 8 22:11:00 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> Message-ID: <003901c2e5f3$5e162b40$6401a8c0@default> Mr. Hindman I thought you lost your voice for a minute :) Thanks for the Helen Feddema link, I haven't been there since article 58. Good stuff! Mike Mattys ----- Original Message ----- From: "William Hindman" To: Sent: Saturday, March 08, 2003 10:41 PM Subject: Re: [AccessD] A2k MDA > > William Hindman From wdhindman at bellsouth.net Sat Mar 8 22:19:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 8 22:19:01 2003 Subject: [AccessD] A2k MDA References: <001701c2e5e8$6a18d1a0$6401a8c0@default> <002701c2e5ec$d72a4770$6401a8c0@default> <005f01c2e5ed$c68107f0$6101a8c0@amd2k512> <003901c2e5f3$5e162b40$6401a8c0@default> Message-ID: <00db01c2e5f3$0404c3f0$6101a8c0@amd2k512> ...sorry Mike ...new system is giving me a pita working out bugs :(((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Michael R Mattys" To: Sent: Saturday, March 08, 2003 11:21 PM Subject: Re: [AccessD] A2k MDA > Mr. Hindman > > I thought you lost your voice for a minute :) > Thanks for the Helen Feddema link, I haven't > been there since article 58. Good stuff! > > Mike Mattys > > ----- Original Message ----- > From: "William Hindman" > To: > Sent: Saturday, March 08, 2003 10:41 PM > Subject: Re: [AccessD] A2k MDA > > > > > > William Hindman > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sun Mar 9 03:34:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 03:34:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82265@main2.marlow.com> Message-ID: <001401c2e61e$fd898250$b501010a@DAISY.local> Drew, It looks like it cannot use Win API directly but: <<<+ quoting CR help +>>> The Seagate Crystal Reports Formula Editor and formula language are powerful tools, enabling you to perform a wide variety of report-related tasks easily and efficiently. The formula language is expandable as well. That is, while it already includes a large selection of useful functions, it also comes with the ability to accept new functions that you define to meet your needs. User Defined Functions that are recognized by the Seagate Crystal Reports Formula Editor can be created in a Dynamic Link Library or, for 32-bit environments, in an Automation Server. <<<- quoting CR help ->>> I.e. you can create helper DLL/ActiveX Dll following CR extention call protocol and use Win API this way... But what Win API calls are needed for reports' generation? HTH, Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 2:50 AM Subject: RE: [AccessD] Access and Crystal Reports > Can this programming language handle API Calls? > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Saturday, March 08, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > <<< > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > >>> > Drew, > > Yes, CR has a program language used to create formulas - see P.S. > What is important to note is that CR report generation customization IS NOT > event driven! > This shocks at first an MS Access developer (that's from my experience)... > Then when you get comfortable with that "new ideology" you see that it's > very flexible... > I'd say that the usual customization technique in CR is data-driven... > I expect you to "fall in love" with CR because the tricks it allows to do > aren't possible in MS Access - the key to the tricks IMO are sections (these > are subsections of Report Header/Footer, Page Header/Footer,...) and > formulas, which can be specified on different levels of reports to control > properties' values of report objects on runtime... > And of course you'll love drill-down (live reports) - this is where one CR > report may substitute several MS Access forms and reports with subreports... > And of course you'll love easy migration of all that stuff(reports) to the > Web from where they can be interactively using very good and effective data > cashing technique... > ... > > > instead of > > using the solutions that were used. > There are good Wizards for CR too but CR profis seldom use them (I'm not the > one of such profis because I've had just a casual project with CR) . > CR can be used by powerusers I think for the cases like you describe but > it's much more for programmers because only programmers are able to show the > real power of CR through reports they create with it using formulas... > > Shamil > > > P.S. > <<<<+ Quoting CR Help +>>> > formula > A formula is a symbolic statement of the modifications you want performed on > certain data before it is printed on your report. > > For example, if your report is to contain a {file.SALES} field and a > {file.COST} field, you may want to create a GrossProfit field and designate > its text strings as {file.SALES} - {file.COST}. This is a simple formula > that tells the program to subtract the value of the {file.COST} field from > the value of the {file.SALES} field and then to print the result. > > You can use formulas to calculate numeric values, compare one value to > another and select alternative actions based on the comparison, join > multiple value into a single string, and to perform a multitude of other > operations. Creating a formula in Crystal Reports is much like creating a > formula in your favorite spreadsheet. > > Note: The term "formula" in Crystal Reports is equivalent to the term > "expression" in Microsoft Access. > > Crystal and Basic Syntax > When creating formulas, you have the option of using either Crystal or Basic > syntax. Almost any formula written with one syntax can be written with the > other. Reports can contain formulas that use Basic syntax as well as > formulas that use Crystal syntax. > > Crystal syntax is the formula language included in all prior versions of > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > If you are familiar with Microsoft Visual Basic or other versions of Basic, > then Basic syntax may be more familiar to you. In general, Basic syntax is > modeled on Visual Basic except that it has specific extensions to handle > reporting. > > If you are already comfortable with Crystal syntax, you can continue to use > it, and benefit from the new functions, operators and control structures > inspired by Visual Basic. > > Note: Report processing is not slowed down by using Basic syntax. Reports > using Basic syntax formulas can run on any machine that Crystal Reports runs > on. Also, using Basic syntax formulas does not require distributing any > additional files with your reports. > > <<<<- Quoting CR Help ->>> > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Saturday, March 08, 2003 10:27 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Very good point. I've watched this thread from the outside, for two > > reasons. I personally have never made a CR report, and at best I consider > > myself an 'amatuer' at report generation in Access. When it comes to > making > > reports in Access, I can do some pretty nifty stuff with code, making > > stupendous 'special' reports. However, there are people where I work that > > do nothing but generate reports using the wizards, and then tweaking all > > sorts of things. I have had to go into these reports from time to time, > and > > I must admit that they get them to do exactly what they want with > relatively > > little fuss. That is why I consider myself an amatuer at the report > level, > > because half the time I would have jumped to VBA....(go figure), instead > of > > using the solutions that were used. > > > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > > > > Drew > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Friday, March 07, 2003 7:13 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > Shamil, > > > > True, CR allows independent sections in reports, and true this can be a > > useful feature. But in my experience there never has been a report that > > I had to create that needed this feature. > > > > My last word on this thread is this: Since everybody's previous > > experiences and personal preferences are different, there is no one best > > tool for everybody. Of the tools that are available to you and you are > > comfortable using, try to pick the one that is most suitable for the > > problem at hand. > > > > Have a nice day Shamil. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 15:59 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Access 2002 and CR 9.0 are > > > almost identical in their feature sets. > > Charles, > > > > I thought the same but then I made approx. 50 real-life CR reports for > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > programming/reporting and CR itself (I worked as his subcontractor) - > > and I soon realized that despite the fact that the feature set of MS > > Access and CR seems to be very similar, the real power of CR is in its > > unique and looking at first not very significant feature of allowing to > > have and manipulate on runtime of several (as many as you wish) > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > Group Header/Footer and Details... > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > is when you need in CR to copy and paste (or cut and paste) a group of > > controls within one report or between reports - here CR sometimes goes > > "crazy" and you need to realigh controls manualy after paste > > operation... > > > > Charles, I'd not like to have this thread to become"religious" debate > > "CR vs. MS Access report generator" - let's stop it? - after your > > contr-arguments if you wish! :) > > > > Shamil > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Mar 9 08:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 9 08:09:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <000b01c2e5bb$047189f0$f8c581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk> <001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk> <000b01c2e5bb$047189f0$f8c581d5@pedro> Message-ID: <17815673307.20030309150822@cactus.dk> Hi Pedro Well, didn't imagine you had one field only. Anyway, here's the SQL to extract those dates for three years. If dates are not unique, you'll have to replace every occurrence of UNION with UNION ALL as shown: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year],1,1) UNION ALL SELECT TOP 5 Year+1 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+1,1,1) UNION ALL SELECT TOP 5 Year+2 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+2,1,1) ORDER BY Year5, [datum]; If dates are not unique but you wish to extract the first five unique dates for each year, you'll have to group by the date like this: PARAMETERS Year Short; SELECT TOP 5 Year AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year],1,1) GROUP BY [datum] UNION SELECT TOP 5 Year+1 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+1,1,1) GROUP BY [datum] UNION SELECT TOP 5 Year+2 AS Year5, [datum] FROM tblTrans WHERE [datum] >= DateSerial([Year]+2,1,1) GROUP BY [datum] ORDER BY Year5, [datum]; All this, of course, assumes that your date field is of type date/time-value. /gustav > When i use only the part of the query with Year the result is good, but the > Parameters is asking for the year and afterthat for Year5. I don't > understand this. > When i use Year and Union Year+1 i get result that don't fit. > Maybe it has something to do with the fieldnames. In your query which field > is ID and which field is DateTrans. > For example in TblTrans i only have one field [datum]. > From this field [datum] i need each year the first 5 dates. > Couls you give me the sql for Year and Year+1. >> Sure. In addition to the correct comments of Drew, here is the union >> query which collects data from maximum three years. If you need more >> years, simply insert more "Union Select ..." sections where you for >> each section increase by 1 the number to add to Year. >> >> >> >> PARAMETERS >> Year Short; >> SELECT TOP 5 >> Year AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year],1,1) >> UNION >> SELECT TOP 5 >> Year+1 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+1,1,1) >> UNION >> SELECT TOP 5 >> Year+2 AS Year5, >> ID >> FROM >> tblTrans >> WHERE >> DateTrans >= DateSerial([Year]+2,1,1) >> ORDER BY >> Year5, >> ID; >> >> >> >> You will, of course, have to change the names of table and fields to >> those of your table. From Subscriptions at servicexp.com Sun Mar 9 08:56:00 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sun Mar 9 08:56:00 2003 Subject: [AccessD] BEU V2 Problems In-Reply-To: <17815673307.20030309150822@cactus.dk> Message-ID: Ok, I'm not sure if it's ok to post this here, but the forums have been down for a while now, and need to find a solution.... I have been working with V2 and have run into a situation that I can't seem to get a handle on, and can't seemed to find any rhyme or reason to.. Sequence of operations (Network) Win 98,ME,XP A2K 1. User starts new program with the BEU performing it operations, with out flaw,(a new table). 2. 99% of the time, the machine that runs the new program for the first time has no problems. 3. User loads new version on the **other** machines, and fires it up (the same User (permissions) as the first), and then performs the re-link process. 4. When completed the user re-starts (I shut the program down after relinking) the program and they start getting errors, because the new table(s) were not refreshed during the re-linking (this is what I'm assuming). This takes place about 40-50% of the time.. The table that has been added is written to on startup, to log the user, machine name, etc.., and the error is in regards to not being able to find the table that is missing. I can't seem to get a handle on this, does anyone have any idea where I should look? Thanks A Million! Robert Gracie From artful at rogers.com Sun Mar 9 09:04:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 09:04:00 2003 Subject: [AccessD] Iterating Controls Message-ID: <000d01c2e64d$0851e410$8e01a8c0@Rock> Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply. TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 09:16:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 09:16:00 2003 Subject: [AccessD] Iterating Controls References: <000d01c2e64d$0851e410$8e01a8c0@Rock> Message-ID: <009c01c2e650$22a70ae0$6401a8c0@default> Hi Arthur, You're looking too far to see it up close :) On Error Resume Next Mike Mattys ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Sunday, March 09, 2003 10:03 AM Subject: [AccessD] Iterating Controls Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply. TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sun Mar 9 09:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 09:49:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <009c01c2e650$22a70ae0$6401a8c0@default> Message-ID: <001601c2e653$5ae709c0$8e01a8c0@Rock> Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From michael.mattys at adelphia.net Sun Mar 9 10:02:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 10:02:00 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> Message-ID: <00ac01c2e656$934da370$6401a8c0@default> But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From michael.mattys at adelphia.net Sun Mar 9 10:11:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 10:11:01 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> <00ac01c2e656$934da370$6401a8c0@default> Message-ID: <00b801c2e657$e7252670$6401a8c0@default> Arthur, Before you tell me I'm wrong I'm probably wrong I'll look a bit closer But there are things you can't do in ADO http://www.trigeminal.com/usenet/usenet025.asp?1033 ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:11 AM Subject: Re: [AccessD] Iterating Controls But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From chris at denverdb.com Sun Mar 9 10:15:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Sun Mar 9 10:15:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <00ac01c2e656$934da370$6401a8c0@default> Message-ID: Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Sunday, March 09, 2003 9:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls But Arthur - You're not using DAO or the properties collection of controls. There are some things you can't do with ADO. Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 10:48 AM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here?s the whole sub, and all it prints is the names of the forms. Here?s the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub A good example would be a report run by a network administrator, which shows information on network users. Some info stored in a database, some from say 'drive' space used, and some using API calls to retrieve domain settings. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Sunday, March 09, 2003 3:34 AM To: AccessD Subject: Re: [AccessD] Access and Crystal Reports Drew, It looks like it cannot use Win API directly but: <<<+ quoting CR help +>>> The Seagate Crystal Reports Formula Editor and formula language are powerful tools, enabling you to perform a wide variety of report-related tasks easily and efficiently. The formula language is expandable as well. That is, while it already includes a large selection of useful functions, it also comes with the ability to accept new functions that you define to meet your needs. User Defined Functions that are recognized by the Seagate Crystal Reports Formula Editor can be created in a Dynamic Link Library or, for 32-bit environments, in an Automation Server. <<<- quoting CR help ->>> I.e. you can create helper DLL/ActiveX Dll following CR extention call protocol and use Win API this way... But what Win API calls are needed for reports' generation? HTH, Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 2:50 AM Subject: RE: [AccessD] Access and Crystal Reports > Can this programming language handle API Calls? > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Saturday, March 08, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access and Crystal Reports > > > <<< > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > >>> > Drew, > > Yes, CR has a program language used to create formulas - see P.S. > What is important to note is that CR report generation customization IS NOT > event driven! > This shocks at first an MS Access developer (that's from my experience)... > Then when you get comfortable with that "new ideology" you see that it's > very flexible... > I'd say that the usual customization technique in CR is data-driven... > I expect you to "fall in love" with CR because the tricks it allows to do > aren't possible in MS Access - the key to the tricks IMO are sections (these > are subsections of Report Header/Footer, Page Header/Footer,...) and > formulas, which can be specified on different levels of reports to control > properties' values of report objects on runtime... > And of course you'll love drill-down (live reports) - this is where one CR > report may substitute several MS Access forms and reports with subreports... > And of course you'll love easy migration of all that stuff(reports) to the > Web from where they can be interactively using very good and effective data > cashing technique... > ... > > > instead of > > using the solutions that were used. > There are good Wizards for CR too but CR profis seldom use them (I'm not the > one of such profis because I've had just a casual project with CR) . > CR can be used by powerusers I think for the cases like you describe but > it's much more for programmers because only programmers are able to show the > real power of CR through reports they create with it using formulas... > > Shamil > > > P.S. > <<<<+ Quoting CR Help +>>> > formula > A formula is a symbolic statement of the modifications you want performed on > certain data before it is printed on your report. > > For example, if your report is to contain a {file.SALES} field and a > {file.COST} field, you may want to create a GrossProfit field and designate > its text strings as {file.SALES} - {file.COST}. This is a simple formula > that tells the program to subtract the value of the {file.COST} field from > the value of the {file.SALES} field and then to print the result. > > You can use formulas to calculate numeric values, compare one value to > another and select alternative actions based on the comparison, join > multiple value into a single string, and to perform a multitude of other > operations. Creating a formula in Crystal Reports is much like creating a > formula in your favorite spreadsheet. > > Note: The term "formula" in Crystal Reports is equivalent to the term > "expression" in Microsoft Access. > > Crystal and Basic Syntax > When creating formulas, you have the option of using either Crystal or Basic > syntax. Almost any formula written with one syntax can be written with the > other. Reports can contain formulas that use Basic syntax as well as > formulas that use Crystal syntax. > > Crystal syntax is the formula language included in all prior versions of > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > If you are familiar with Microsoft Visual Basic or other versions of Basic, > then Basic syntax may be more familiar to you. In general, Basic syntax is > modeled on Visual Basic except that it has specific extensions to handle > reporting. > > If you are already comfortable with Crystal syntax, you can continue to use > it, and benefit from the new functions, operators and control structures > inspired by Visual Basic. > > Note: Report processing is not slowed down by using Basic syntax. Reports > using Basic syntax formulas can run on any machine that Crystal Reports runs > on. Also, using Basic syntax formulas does not require distributing any > additional files with your reports. > > <<<<- Quoting CR Help ->>> > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Saturday, March 08, 2003 10:27 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Very good point. I've watched this thread from the outside, for two > > reasons. I personally have never made a CR report, and at best I consider > > myself an 'amatuer' at report generation in Access. When it comes to > making > > reports in Access, I can do some pretty nifty stuff with code, making > > stupendous 'special' reports. However, there are people where I work that > > do nothing but generate reports using the wizards, and then tweaking all > > sorts of things. I have had to go into these reports from time to time, > and > > I must admit that they get them to do exactly what they want with > relatively > > little fuss. That is why I consider myself an amatuer at the report > level, > > because half the time I would have jumped to VBA....(go figure), instead > of > > using the solutions that were used. > > > > One question. Does CR have a 'program' language that you can run in the > > background of a report? (Not just macro like, but VBA like, where you can > > interface with the OS if you want type stuff....) > > > > Drew > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Friday, March 07, 2003 7:13 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > Shamil, > > > > True, CR allows independent sections in reports, and true this can be a > > useful feature. But in my experience there never has been a report that > > I had to create that needed this feature. > > > > My last word on this thread is this: Since everybody's previous > > experiences and personal preferences are different, there is no one best > > tool for everybody. Of the tools that are available to you and you are > > comfortable using, try to pick the one that is most suitable for the > > problem at hand. > > > > Have a nice day Shamil. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Thursday 2003 Mar 06 15:59 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > Access 2002 and CR 9.0 are > > > almost identical in their feature sets. > > Charles, > > > > I thought the same but then I made approx. 50 real-life CR reports for > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > programming/reporting and CR itself (I worked as his subcontractor) - > > and I soon realized that despite the fact that the feature set of MS > > Access and CR seems to be very similar, the real power of CR is in its > > unique and looking at first not very significant feature of allowing to > > have and manipulate on runtime of several (as many as you wish) > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > Group Header/Footer and Details... > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > is when you need in CR to copy and paste (or cut and paste) a group of > > controls within one report or between reports - here CR sometimes goes > > "crazy" and you need to realigh controls manualy after paste > > operation... > > > > Charles, I'd not like to have this thread to become"religious" debate > > "CR vs. MS Access report generator" - let's stop it? - after your > > contr-arguments if you wish! :) > > > > Shamil > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 9 11:02:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 11:02:01 2003 Subject: [AccessD] Iterating Controls In-Reply-To: Message-ID: <003301c2e65d$7e4b3440$8e01a8c0@Rock> Beauty. Thanks for that! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 9, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC From shamil at smsconsulting.spb.ru Sun Mar 9 11:02:26 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 11:02:26 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82266@main2.marlow.com> Message-ID: <001b01c2e65d$98231c20$b501010a@DAISY.local> This can be done IMO by using DLL/ActiveX extensions but the question is why this API calls should be executed on report generation? Why not get all the collected by API data on report data retrieval stage? Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 7:15 PM Subject: RE: [AccessD] Access and Crystal Reports > A good example would be a report run by a network administrator, which shows > information on network users. Some info stored in a database, some from say > 'drive' space used, and some using API calls to retrieve domain settings. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Sunday, March 09, 2003 3:34 AM > To: AccessD > Subject: Re: [AccessD] Access and Crystal Reports > > > Drew, > > It looks like it cannot use Win API directly but: > > <<<+ quoting CR help +>>> > The Seagate Crystal Reports Formula Editor and formula language are powerful > tools, enabling you to perform a wide variety of report-related tasks easily > and efficiently. The formula language is expandable as well. That is, while > it already includes a large selection of useful functions, it also comes > with the ability to accept new functions that you define to meet your needs. > User Defined Functions that are recognized by the Seagate Crystal Reports > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > environments, in an Automation Server. > <<<- quoting CR help ->>> > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > protocol and use Win API this way... > > But what Win API calls are needed for reports' generation? > > HTH, > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 2:50 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Can this programming language handle API Calls? > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Saturday, March 08, 2003 11:52 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > <<< > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > >>> > > Drew, > > > > Yes, CR has a program language used to create formulas - see P.S. > > What is important to note is that CR report generation customization IS > NOT > > event driven! > > This shocks at first an MS Access developer (that's from my experience)... > > Then when you get comfortable with that "new ideology" you see that it's > > very flexible... > > I'd say that the usual customization technique in CR is data-driven... > > I expect you to "fall in love" with CR because the tricks it allows to do > > aren't possible in MS Access - the key to the tricks IMO are sections > (these > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > formulas, which can be specified on different levels of reports to control > > properties' values of report objects on runtime... > > And of course you'll love drill-down (live reports) - this is where one CR > > report may substitute several MS Access forms and reports with > subreports... > > And of course you'll love easy migration of all that stuff(reports) to the > > Web from where they can be interactively using very good and effective > data > > cashing technique... > > ... > > > > > instead of > > > using the solutions that were used. > > There are good Wizards for CR too but CR profis seldom use them (I'm not > the > > one of such profis because I've had just a casual project with CR) . > > CR can be used by powerusers I think for the cases like you describe but > > it's much more for programmers because only programmers are able to show > the > > real power of CR through reports they create with it using formulas... > > > > Shamil > > > > > > P.S. > > <<<<+ Quoting CR Help +>>> > > formula > > A formula is a symbolic statement of the modifications you want performed > on > > certain data before it is printed on your report. > > > > For example, if your report is to contain a {file.SALES} field and a > > {file.COST} field, you may want to create a GrossProfit field and > designate > > its text strings as {file.SALES} - {file.COST}. This is a simple formula > > that tells the program to subtract the value of the {file.COST} field from > > the value of the {file.SALES} field and then to print the result. > > > > You can use formulas to calculate numeric values, compare one value to > > another and select alternative actions based on the comparison, join > > multiple value into a single string, and to perform a multitude of other > > operations. Creating a formula in Crystal Reports is much like creating a > > formula in your favorite spreadsheet. > > > > Note: The term "formula" in Crystal Reports is equivalent to the term > > "expression" in Microsoft Access. > > > > Crystal and Basic Syntax > > When creating formulas, you have the option of using either Crystal or > Basic > > syntax. Almost any formula written with one syntax can be written with the > > other. Reports can contain formulas that use Basic syntax as well as > > formulas that use Crystal syntax. > > > > Crystal syntax is the formula language included in all prior versions of > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > If you are familiar with Microsoft Visual Basic or other versions of > Basic, > > then Basic syntax may be more familiar to you. In general, Basic syntax is > > modeled on Visual Basic except that it has specific extensions to handle > > reporting. > > > > If you are already comfortable with Crystal syntax, you can continue to > use > > it, and benefit from the new functions, operators and control structures > > inspired by Visual Basic. > > > > Note: Report processing is not slowed down by using Basic syntax. > Reports > > using Basic syntax formulas can run on any machine that Crystal Reports > runs > > on. Also, using Basic syntax formulas does not require distributing any > > additional files with your reports. > > > > <<<<- Quoting CR Help ->>> > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Saturday, March 08, 2003 10:27 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Very good point. I've watched this thread from the outside, for two > > > reasons. I personally have never made a CR report, and at best I > consider > > > myself an 'amatuer' at report generation in Access. When it comes to > > making > > > reports in Access, I can do some pretty nifty stuff with code, making > > > stupendous 'special' reports. However, there are people where I work > that > > > do nothing but generate reports using the wizards, and then tweaking all > > > sorts of things. I have had to go into these reports from time to time, > > and > > > I must admit that they get them to do exactly what they want with > > relatively > > > little fuss. That is why I consider myself an amatuer at the report > > level, > > > because half the time I would have jumped to VBA....(go figure), instead > > of > > > using the solutions that were used. > > > > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > > > > > Drew > > > > > > -----Original Message----- > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > Sent: Friday, March 07, 2003 7:13 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > Shamil, > > > > > > True, CR allows independent sections in reports, and true this can be a > > > useful feature. But in my experience there never has been a report that > > > I had to create that needed this feature. > > > > > > My last word on this thread is this: Since everybody's previous > > > experiences and personal preferences are different, there is no one best > > > tool for everybody. Of the tools that are available to you and you are > > > comfortable using, try to pick the one that is most suitable for the > > > problem at hand. > > > > > > Have a nice day Shamil. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Thursday 2003 Mar 06 15:59 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > Access 2002 and CR 9.0 are > > > > almost identical in their feature sets. > > > Charles, > > > > > > I thought the same but then I made approx. 50 real-life CR reports for > > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > > programming/reporting and CR itself (I worked as his subcontractor) - > > > and I soon realized that despite the fact that the feature set of MS > > > Access and CR seems to be very similar, the real power of CR is in its > > > unique and looking at first not very significant feature of allowing to > > > have and manipulate on runtime of several (as many as you wish) > > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > > Group Header/Footer and Details... > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > > is when you need in CR to copy and paste (or cut and paste) a group of > > > controls within one report or between reports - here CR sometimes goes > > > "crazy" and you need to realigh controls manualy after paste > > > operation... > > > > > > Charles, I'd not like to have this thread to become"religious" debate > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > contr-arguments if you wish! :) > > > > > > Shamil > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From chris at denverdb.com Sun Mar 9 11:11:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Sun Mar 9 11:11:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <003301c2e65d$7e4b3440$8e01a8c0@Rock> Message-ID: You're welcome, glad I could help. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Sunday, March 09, 2003 10:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Beauty. Thanks for that! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 9, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, I suspect the problem is that you have the frm As Object and not frm As Form. I wrote this and it works using the frm As Form without error, you can easily adapt to your needs: Sub AllFormsControls() Dim frm As Form Dim ctl As Control Dim objFrm As Object For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.Name, acDesign Set frm = Forms(objFrm.Name) For Each ctl In frm.Controls Debug.Print ctl.Name Next Set frm = Nothing DoCmd.Close acForm, objFrm.Name, acSaveNo Next End Sub Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Sun Mar 9 11:46:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sun Mar 9 11:46:00 2003 Subject: [AccessD] Iterating Controls Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54BBA@TTNEXCHSRV1.hshhp.com> Works fine in A97 dimming frm as Form and setting it to Me withing a form module. Could the AllForms collection be returning something other than a Form object? Try wrapping your For...Next in an If...TypeOf block to see if you can weed out "bad" object references. HTH, Jim DeMarco (what am I doing working on a Sunday?) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, March 09, 2003 10:03 AM To: AccessD Subject: [AccessD] Iterating Controls Here's a little snippet from some code I'm writing: 'Walk through forms For Each Frm In db.AllForms DoCmd.OpenForm Frm.name, acDesign a.WriteLine "Form: " & Frm.name 'Walk through controls For Each ctl In Frm.Controls With ctl The code errors on the second last line, complaining that "object doesn't support this property or method". What's the right way to reference the collection of controls on a form and then walk the collection? I'm still hunting as I write this, so I may post my own reply... TIA, Arthur *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sun Mar 9 12:08:08 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 12:08:08 2003 Subject: [AccessD] Iterating Controls References: <001601c2e653$5ae709c0$8e01a8c0@Rock> Message-ID: <004c01c2e666$b540ca10$b501010a@DAISY.local> > But I'm not sure what. Arthur, You open a form but don't assign an object variable referring to this open form instance - something like that should work: dim efrm as AccessObject dim frm as Access.Form ... for each efrm in CurrentProject.AllForms ... DoCmd.OpenForm efrm.name, acDesign set frm=Forms(efrm.name) ... next efrm HTH, Shamil ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 6:48 PM Subject: RE: [AccessD] Iterating Controls Swing and a miss! I thought you had a home run there but no. Here's the whole sub, and all it prints is the names of the forms. Here's the entire sub: Public Sub ListRowSources() On Error Resume Next Dim frm As Object, db As CurrentProject, ctl As Control Dim strOutFile As String strOutFile = "RowSources.txt" '"c:\testfile.txt" Set db = CurrentProject Dim fs As Object, a As Object Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Set db = CurrentProject Application.Echo False Debug.Print "Analyzing Row Sources" 'Walk through forms For Each frm In db.AllForms DoCmd.OpenForm frm.name, acDesign a.writeline "Form: " & frm.name 'Walk through controls For Each ctl In frm.Controls With ctl Debug.Print ctl.Properties("Name") Select Case .ControlType Case acComboBox Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case acListBox Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource" a.writeline ctl.RowSource Case Else 'do nothing End Select End With Next ctl DoCmd.Close acForm, frm.name Next frm Application.Echo True Set frm = Nothing Set db = Nothing Set fs = Nothing Set a = Nothing End Sub From martyconnelly at shaw.ca Sun Mar 9 12:24:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 9 12:24:00 2003 Subject: [AccessD] BEU V2 Problems References: Message-ID: <3E6B86C1.4030706@shaw.ca> Here is a hint or suggestion from Michael Kaplan "For linked tables, there is a LOT of info cached by Jet in the link as an optimization. However, sometimes backend changes are made and that cached info is not invalidated as it should be, and it causes a huge perf hit as Jet tries things that fail (at which point I have seen cases where even RefreshLink would not totally make this work right)." "The fix? If this is the problem? You should completely delete the links in the frontend, then after making sure you have recently defraged then compacted the backend and frontend, relink all the tables." I guess the defrag is optional but not the compacts. Robert Gracie wrote: > Ok, I'm not sure if it's ok to post this here, but the forums have been >down for a while now, and need to find a solution.... > > I have been working with V2 and have run into a situation that I can't seem >to get a handle on, and can't seemed to find any rhyme or reason to.. > >Sequence of operations (Network) Win 98,ME,XP A2K > >1. User starts new program with the BEU performing it operations, with out >flaw,(a new table). >2. 99% of the time, the machine that runs the new program for the first time >has no problems. >3. User loads new version on the **other** machines, and fires it up (the >same User (permissions) as the first), and then performs the re-link >process. >4. When completed the user re-starts (I shut the program down after >relinking) the program and they start getting errors, because the new >table(s) were not refreshed during the re-linking (this is what I'm >assuming). This takes place about 40-50% of the time.. > >The table that has been added is written to on startup, to log the user, >machine name, etc.., and the error is in regards to not being able to find >the table that is missing. > >I can't seem to get a handle on this, does anyone have any idea where I >should look? > >Thanks A Million! > >Robert Gracie > > > From bchacc at san.rr.com Sun Mar 9 12:45:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 12:45:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: <012901c2e66c$0384b380$6601a8c0@HAL9002> Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Sun Mar 9 13:17:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 9 13:17:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <012901c2e66c$0384b380$6601a8c0@HAL9002> Message-ID: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Sun Mar 9 13:33:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 9 13:33:00 2003 Subject: [AccessD] compact on close Message-ID: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> The Compact on Close feature doesn't always compact automatically. There's a memory savings threshold that has to be met before it will actually compact and I can't find that amount -- anyone know what it is? I've checked Help and the KB. Susan H. From artful at rogers.com Sun Mar 9 13:49:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 9 13:49:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <004c01c2e666$b540ca10$b501010a@DAISY.local> Message-ID: <004701c2e674$d89c9350$8e01a8c0@Rock> I have a lot of other things on my mind today, and clearly I am now dazed and confused, and no doubt overlooking something very obvious. Here is the current code: Public Sub ListDataSources() On Error Resume Next Dim strOutFile As String Dim fs As Object Dim a As Object Dim frm As Form Dim ctl As Control Dim objFrm As Object strOutFile = "c:\RecordSources.txt" Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Application.Echo False For Each objFrm In CurrentProject.AllForms DoCmd.OpenForm objFrm.name, acDesign Set frm = Forms(objFrm.name) If frm.RecordSource <> "" Then Debug.Print objFrm.name & ": " & frm.RecordSource a.writeline "Form: " & objFrm.name a.writeline "===========================================" a.writeline "RecordSource:" a.writeline frm.RecordSource a.writeline a.writeline "Data Driven Controls" a.writeline "--------------------" For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox '111 Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource:" a.writeline ctl.RowSource Case acListBox '110 Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.writeline "Control: " & ctl.name a.writeline "RowSource:" a.writeline ctl.RowSource Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select a.writeline Next ctl End If Set frm = Nothing DoCmd.Close acForm, objFrm.name, acSaveNo Next a.Close Application.Echo True Set frm = Nothing Set fs = Nothing Set a = Nothing Set ctl = Nothing End Sub The odd thing is that the debug window performs exactly as expected, but the text file contains only this: Form: Switchboard =========================================== RecordSource: Select * From dbo.Switchboard_Items_2002Dec02 Data Driven Controls -------------------- I can't see why the debug.print statements dump what I want but the a.writeline statement don't. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: March 9, 2003 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls > But I'm not sure what. Arthur, You open a form but don't assign an object variable referring to this open form instance - something like that should work: dim efrm as AccessObject dim frm as Access.Form ... for each efrm in CurrentProject.AllForms ... DoCmd.OpenForm efrm.name, acDesign set frm=Forms(efrm.name) ... next efrm HTH, Shamil -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Sun Mar 9 13:57:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 13:57:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82267@main2.marlow.com> I guess I am just playing devil's advocate. Since Access let's you use VBA within it's reports, and VBA can be used to do practically anything in Windows, or Access, then it stands to say that there is virtually nothing that CR can do, which Access can't. Sure, there are always going to be speed/ease of use issues, however, I think that one major advantage, which blows CR away, is that the reporting within Access is a component of Access, not a special add-in. Again, I have rarely used CR, so I am not trying to hack it, just defending Access a bit. Drew -----Original Message----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: 3/9/03 11:01 AM Subject: Re: [AccessD] Access and Crystal Reports This can be done IMO by using DLL/ActiveX extensions but the question is why this API calls should be executed on report generation? Why not get all the collected by API data on report data retrieval stage? Shamil ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 7:15 PM Subject: RE: [AccessD] Access and Crystal Reports > A good example would be a report run by a network administrator, which shows > information on network users. Some info stored in a database, some from say > 'drive' space used, and some using API calls to retrieve domain settings. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Sunday, March 09, 2003 3:34 AM > To: AccessD > Subject: Re: [AccessD] Access and Crystal Reports > > > Drew, > > It looks like it cannot use Win API directly but: > > <<<+ quoting CR help +>>> > The Seagate Crystal Reports Formula Editor and formula language are powerful > tools, enabling you to perform a wide variety of report-related tasks easily > and efficiently. The formula language is expandable as well. That is, while > it already includes a large selection of useful functions, it also comes > with the ability to accept new functions that you define to meet your needs. > User Defined Functions that are recognized by the Seagate Crystal Reports > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > environments, in an Automation Server. > <<<- quoting CR help ->>> > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > protocol and use Win API this way... > > But what Win API calls are needed for reports' generation? > > HTH, > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 2:50 AM > Subject: RE: [AccessD] Access and Crystal Reports > > > > Can this programming language handle API Calls? > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Saturday, March 08, 2003 11:52 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > <<< > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > >>> > > Drew, > > > > Yes, CR has a program language used to create formulas - see P.S. > > What is important to note is that CR report generation customization IS > NOT > > event driven! > > This shocks at first an MS Access developer (that's from my experience)... > > Then when you get comfortable with that "new ideology" you see that it's > > very flexible... > > I'd say that the usual customization technique in CR is data-driven... > > I expect you to "fall in love" with CR because the tricks it allows to do > > aren't possible in MS Access - the key to the tricks IMO are sections > (these > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > formulas, which can be specified on different levels of reports to control > > properties' values of report objects on runtime... > > And of course you'll love drill-down (live reports) - this is where one CR > > report may substitute several MS Access forms and reports with > subreports... > > And of course you'll love easy migration of all that stuff(reports) to the > > Web from where they can be interactively using very good and effective > data > > cashing technique... > > ... > > > > > instead of > > > using the solutions that were used. > > There are good Wizards for CR too but CR profis seldom use them (I'm not > the > > one of such profis because I've had just a casual project with CR) . > > CR can be used by powerusers I think for the cases like you describe but > > it's much more for programmers because only programmers are able to show > the > > real power of CR through reports they create with it using formulas... > > > > Shamil > > > > > > P.S. > > <<<<+ Quoting CR Help +>>> > > formula > > A formula is a symbolic statement of the modifications you want performed > on > > certain data before it is printed on your report. > > > > For example, if your report is to contain a {file.SALES} field and a > > {file.COST} field, you may want to create a GrossProfit field and > designate > > its text strings as {file.SALES} - {file.COST}. This is a simple formula > > that tells the program to subtract the value of the {file.COST} field from > > the value of the {file.SALES} field and then to print the result. > > > > You can use formulas to calculate numeric values, compare one value to > > another and select alternative actions based on the comparison, join > > multiple value into a single string, and to perform a multitude of other > > operations. Creating a formula in Crystal Reports is much like creating a > > formula in your favorite spreadsheet. > > > > Note: The term "formula" in Crystal Reports is equivalent to the term > > "expression" in Microsoft Access. > > > > Crystal and Basic Syntax > > When creating formulas, you have the option of using either Crystal or > Basic > > syntax. Almost any formula written with one syntax can be written with the > > other. Reports can contain formulas that use Basic syntax as well as > > formulas that use Crystal syntax. > > > > Crystal syntax is the formula language included in all prior versions of > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > If you are familiar with Microsoft Visual Basic or other versions of > Basic, > > then Basic syntax may be more familiar to you. In general, Basic syntax is > > modeled on Visual Basic except that it has specific extensions to handle > > reporting. > > > > If you are already comfortable with Crystal syntax, you can continue to > use > > it, and benefit from the new functions, operators and control structures > > inspired by Visual Basic. > > > > Note: Report processing is not slowed down by using Basic syntax. > Reports > > using Basic syntax formulas can run on any machine that Crystal Reports > runs > > on. Also, using Basic syntax formulas does not require distributing any > > additional files with your reports. > > > > <<<<- Quoting CR Help ->>> > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Saturday, March 08, 2003 10:27 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Very good point. I've watched this thread from the outside, for two > > > reasons. I personally have never made a CR report, and at best I > consider > > > myself an 'amatuer' at report generation in Access. When it comes to > > making > > > reports in Access, I can do some pretty nifty stuff with code, making > > > stupendous 'special' reports. However, there are people where I work > that > > > do nothing but generate reports using the wizards, and then tweaking all > > > sorts of things. I have had to go into these reports from time to time, > > and > > > I must admit that they get them to do exactly what they want with > > relatively > > > little fuss. That is why I consider myself an amatuer at the report > > level, > > > because half the time I would have jumped to VBA....(go figure), instead > > of > > > using the solutions that were used. > > > > > > One question. Does CR have a 'program' language that you can run in the > > > background of a report? (Not just macro like, but VBA like, where you > can > > > interface with the OS if you want type stuff....) > > > > > > Drew > > > > > > -----Original Message----- > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > Sent: Friday, March 07, 2003 7:13 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > Shamil, > > > > > > True, CR allows independent sections in reports, and true this can be a > > > useful feature. But in my experience there never has been a report that > > > I had to create that needed this feature. > > > > > > My last word on this thread is this: Since everybody's previous > > > experiences and personal preferences are different, there is no one best > > > tool for everybody. Of the tools that are available to you and you are > > > comfortable using, try to pick the one that is most suitable for the > > > problem at hand. > > > > > > Have a nice day Shamil. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Thursday 2003 Mar 06 15:59 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > Access 2002 and CR 9.0 are > > > > almost identical in their feature sets. > > > Charles, > > > > > > I thought the same but then I made approx. 50 real-life CR reports for > > > HRM/Payroll system and my customer was a real guru in both HRM/Payroll > > > programming/reporting and CR itself (I worked as his subcontractor) - > > > and I soon realized that despite the fact that the feature set of MS > > > Access and CR seems to be very similar, the real power of CR is in its > > > unique and looking at first not very significant feature of allowing to > > > have and manipulate on runtime of several (as many as you wish) > > > independent sections/areas of Report Header/Footer, Page Header/Footer, > > > Group Header/Footer and Details... > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I used, > > > is when you need in CR to copy and paste (or cut and paste) a group of > > > controls within one report or between reports - here CR sometimes goes > > > "crazy" and you need to realigh controls manualy after paste > > > operation... > > > > > > Charles, I'd not like to have this thread to become"religious" debate > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > contr-arguments if you wish! :) > > > > > > Shamil > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Mar 9 14:13:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 14:13:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Message-ID: <013f01c2e678$4cdb0000$6601a8c0@HAL9002> MessageAndy: Thanks. It seems to be working on some of the fields but not on others. I'll have to see if there's a difference between the two. Rocky ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:14 AM Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Mar 9 14:21:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun Mar 9 14:21:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <009d01c2e670$0f24f0c0$b274d0d5@andypc> Message-ID: <015301c2e679$613045a0$6601a8c0@HAL9002> MessageAndy: I've got seven text boxes where I use this technique. Three work (focus stays on the text box) and four don't (focus moves to the next control in tab order).. Any idea why this might be? I can't see any difference in the properties. Rocky ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 11:14 AM Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky Have you tried in BeforeUpdate? then you don't need to set focus, just set Cancel to True and it'll stay there. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 09 March 2003 18:45 To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 14:51:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 14:51:01 2003 Subject: [AccessD] Iterating Controls References: <004701c2e674$d89c9350$8e01a8c0@Rock> Message-ID: <000f01c2e67f$054f18a0$6401a8c0@default> Arthur, I'll take another swing ... If frm.RecordSource <> "" Then Debug.Print objFrm.name & ": " & frm.RecordSource a.writeline "Form: " & objFrm.name a.writeline "===========================================" a.writeline "RecordSource:" a.writeline frm.RecordSource a.writeline End If ' Goes here and not at the end of the proc a.writeline "Data Driven Controls" a.writeline "--------------------" Mike Mattys ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Sunday, March 09, 2003 2:48 PM Subject: RE: [AccessD] Iterating Controls I have a lot of other things on my mind today, and clearly I am now dazed and confused, and no doubt overlooking something very obvious. Here is the current code: -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Sun Mar 9 15:23:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun Mar 9 15:23:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <012901c2e66c$0384b380$6601a8c0@HAL9002> Message-ID: <000e01c2e682$03b425f0$de1811d8@DanWaters> Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sun Mar 9 15:42:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sun Mar 9 15:42:01 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> Message-ID: <002301c2e686$270684e0$6401a8c0@default> Susan, Since you often speak about Access 2002, this might not be applicable: In a KB article Microsoft had stated a problem about The Auto Compact Percentage feature can be set by using SetOption and retrieved by using GetOption; however, the value is ignored by Access 2000. The compact is completed, regardless of the percentage value. Mike Mattys ----- Original Message ----- From: "Susan Harkins" To: Sent: Sunday, March 09, 2003 2:31 PM Subject: [AccessD] compact on close > The Compact on Close feature doesn't always compact automatically. There's a > memory savings threshold that has to be met before it will actually compact > and I can't find that amount -- anyone know what it is? I've checked Help > and the KB. > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sun Mar 9 16:38:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun Mar 9 16:38:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <000e01c2e682$03b425f0$de1811d8@DanWaters> Message-ID: <00bf01c2e68b$2970dbe0$b274d0d5@andypc> But if you cancel a BeforeUpdate you then don't need to set focus cos it never loses it. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: 09 March 2003 21:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Sun Mar 9 17:01:01 2003 From: pedro at plex.nl (Pedro Janssen) Date: Sun Mar 9 17:01:01 2003 Subject: [AccessD] first five dates per year References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk><001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk><000b01c2e5bb$047189f0$f8c581d5@pedro> <17815673307.20030309150822@cactus.dk> Message-ID: <001401c2e68f$ebbab9b0$fac581d5@pedro> Hello Gustav and Drew, thanks Gustav for your explanation. The dates where not unique. I used the Union All sql and now its working fine. Drew, thanks for your offer, but i can't send You an example because the data is classified. From the management in our hospital and my boss i may not present Patientdata to other. Sorry, not even to a database developer who wants to help me. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Sunday, March 09, 2003 3:08 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > Well, didn't imagine you had one field only. > > Anyway, here's the SQL to extract those dates for three years. > If dates are not unique, you'll have to replace every occurrence of > UNION with UNION ALL as shown: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > UNION ALL > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > UNION ALL > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > [datum]; > > > > If dates are not unique but you wish to extract the first five unique > dates for each year, you'll have to group by the date like this: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > GROUP BY > [datum] > ORDER BY > Year5, > [datum]; > > > > All this, of course, assumes that your date field is of type > date/time-value. > > /gustav > > > When i use only the part of the query with Year the result is good, but the > > Parameters is asking for the year and afterthat for Year5. I don't > > understand this. > > When i use Year and Union Year+1 i get result that don't fit. > > Maybe it has something to do with the fieldnames. In your query which field > > is ID and which field is DateTrans. > > > For example in TblTrans i only have one field [datum]. > > From this field [datum] i need each year the first 5 dates. > > Couls you give me the sql for Year and Year+1. > > >> Sure. In addition to the correct comments of Drew, here is the union > >> query which collects data from maximum three years. If you need more > >> years, simply insert more "Union Select ..." sections where you for > >> each section increase by 1 the number to add to Year. > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> UNION > >> SELECT TOP 5 > >> Year+2 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+2,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > >> > >> You will, of course, have to change the names of table and fields to > >> those of your table. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sun Mar 9 17:16:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun Mar 9 17:16:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D82267@main2.marlow.com> Message-ID: <007701c2e691$cbd4ea10$b501010a@DAISY.local> > VBA can be used to do practically > anything in Windows Unfortunately VBA is very limited and can't do a lot of useful things available in Windows for C++ or DELPHI programmers - e.g. multi-thread programming... > which blows CR away, is that the reporting > within Access is a component of Access, IMO the thing, which blows MS Access away in reporting is that CR can be used as a light-weight component in literally all and every modern 32bit development tool/platform - well, MS Access can be also used as an Automation server but everybody knows that MS Access is a behemoth, memory and resources hog... > just defending Access a bit. I'm not attacking MS Access - it has a broad range of applications and I use it every day in my programming work but CR's narrow specialization in reporting makes it with every new release more and more outstanding above what MS Access can propose in report generation area... Shamil P.S. Forever with MS Access ! :) ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 10:57 PM Subject: RE: [AccessD] Access and Crystal Reports > I guess I am just playing devil's advocate. Since Access let's you use VBA > within it's reports, and VBA can be used to do practically anything in > Windows, or Access, then it stands to say that there is virtually nothing > that CR can do, which Access can't. > > Sure, there are always going to be speed/ease of use issues, however, I > think that one major advantage, which blows CR away, is that the reporting > within Access is a component of Access, not a special add-in. > > Again, I have rarely used CR, so I am not trying to hack it, just defending > Access a bit. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: 3/9/03 11:01 AM > Subject: Re: [AccessD] Access and Crystal Reports > > This can be done IMO by using DLL/ActiveX extensions but the question is > why > this API calls should be executed on report generation? Why not get all > the > collected by API data on report data retrieval stage? > > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 7:15 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > A good example would be a report run by a network administrator, which > shows > > information on network users. Some info stored in a database, some > from > say > > 'drive' space used, and some using API calls to retrieve domain > settings. > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Sunday, March 09, 2003 3:34 AM > > To: AccessD > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > Drew, > > > > It looks like it cannot use Win API directly but: > > > > <<<+ quoting CR help +>>> > > The Seagate Crystal Reports Formula Editor and formula language are > powerful > > tools, enabling you to perform a wide variety of report-related tasks > easily > > and efficiently. The formula language is expandable as well. That is, > while > > it already includes a large selection of useful functions, it also > comes > > with the ability to accept new functions that you define to meet your > needs. > > User Defined Functions that are recognized by the Seagate Crystal > Reports > > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > > environments, in an Automation Server. > > <<<- quoting CR help ->>> > > > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > > protocol and use Win API this way... > > > > But what Win API calls are needed for reports' generation? > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Sunday, March 09, 2003 2:50 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Can this programming language handle API Calls? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Saturday, March 08, 2003 11:52 AM > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > <<< > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > >>> > > > Drew, > > > > > > Yes, CR has a program language used to create formulas - see P.S. > > > What is important to note is that CR report generation customization > IS > > NOT > > > event driven! > > > This shocks at first an MS Access developer (that's from my > experience)... > > > Then when you get comfortable with that "new ideology" you see that > it's > > > very flexible... > > > I'd say that the usual customization technique in CR is > data-driven... > > > I expect you to "fall in love" with CR because the tricks it allows > to > do > > > aren't possible in MS Access - the key to the tricks IMO are > sections > > (these > > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > > formulas, which can be specified on different levels of reports to > control > > > properties' values of report objects on runtime... > > > And of course you'll love drill-down (live reports) - this is where > one > CR > > > report may substitute several MS Access forms and reports with > > subreports... > > > And of course you'll love easy migration of all that stuff(reports) > to > the > > > Web from where they can be interactively using very good and > effective > > data > > > cashing technique... > > > ... > > > > > > > instead of > > > > using the solutions that were used. > > > There are good Wizards for CR too but CR profis seldom use them (I'm > not > > the > > > one of such profis because I've had just a casual project with CR) . > > > CR can be used by powerusers I think for the cases like you describe > but > > > it's much more for programmers because only programmers are able to > show > > the > > > real power of CR through reports they create with it using > formulas... > > > > > > Shamil > > > > > > > > > P.S. > > > <<<<+ Quoting CR Help +>>> > > > formula > > > A formula is a symbolic statement of the modifications you want > performed > > on > > > certain data before it is printed on your report. > > > > > > For example, if your report is to contain a {file.SALES} field and a > > > {file.COST} field, you may want to create a GrossProfit field and > > designate > > > its text strings as {file.SALES} - {file.COST}. This is a simple > formula > > > that tells the program to subtract the value of the {file.COST} > field > from > > > the value of the {file.SALES} field and then to print the result. > > > > > > You can use formulas to calculate numeric values, compare one value > to > > > another and select alternative actions based on the comparison, join > > > multiple value into a single string, and to perform a multitude of > other > > > operations. Creating a formula in Crystal Reports is much like > creating > a > > > formula in your favorite spreadsheet. > > > > > > Note: The term "formula" in Crystal Reports is equivalent to the > term > > > "expression" in Microsoft Access. > > > > > > Crystal and Basic Syntax > > > When creating formulas, you have the option of using either Crystal > or > > Basic > > > syntax. Almost any formula written with one syntax can be written > with > the > > > other. Reports can contain formulas that use Basic syntax as well as > > > formulas that use Crystal syntax. > > > > > > Crystal syntax is the formula language included in all prior > versions of > > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > > > If you are familiar with Microsoft Visual Basic or other versions of > > Basic, > > > then Basic syntax may be more familiar to you. In general, Basic > syntax > is > > > modeled on Visual Basic except that it has specific extensions to > handle > > > reporting. > > > > > > If you are already comfortable with Crystal syntax, you can continue > to > > use > > > it, and benefit from the new functions, operators and control > structures > > > inspired by Visual Basic. > > > > > > Note: Report processing is not slowed down by using Basic syntax. > > Reports > > > using Basic syntax formulas can run on any machine that Crystal > Reports > > runs > > > on. Also, using Basic syntax formulas does not require distributing > any > > > additional files with your reports. > > > > > > <<<<- Quoting CR Help ->>> > > > > > > ----- Original Message ----- > > > From: "Drew Wutka" > > > To: > > > Sent: Saturday, March 08, 2003 10:27 AM > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > Very good point. I've watched this thread from the outside, for > two > > > > reasons. I personally have never made a CR report, and at best I > > consider > > > > myself an 'amatuer' at report generation in Access. When it comes > to > > > making > > > > reports in Access, I can do some pretty nifty stuff with code, > making > > > > stupendous 'special' reports. However, there are people where I > work > > that > > > > do nothing but generate reports using the wizards, and then > tweaking > all > > > > sorts of things. I have had to go into these reports from time to > time, > > > and > > > > I must admit that they get them to do exactly what they want with > > > relatively > > > > little fuss. That is why I consider myself an amatuer at the > report > > > level, > > > > because half the time I would have jumped to VBA....(go figure), > instead > > > of > > > > using the solutions that were used. > > > > > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > > > > > > Drew > > > > > > > > -----Original Message----- > > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > > Sent: Friday, March 07, 2003 7:13 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > > > Shamil, > > > > > > > > True, CR allows independent sections in reports, and true this can > be > a > > > > useful feature. But in my experience there never has been a > report > that > > > > I had to create that needed this feature. > > > > > > > > My last word on this thread is this: Since everybody's previous > > > > experiences and personal preferences are different, there is no > one > best > > > > tool for everybody. Of the tools that are available to you and > you > are > > > > comfortable using, try to pick the one that is most suitable for > the > > > > problem at hand. > > > > > > > > Have a nice day Shamil. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > > Sent: Thursday 2003 Mar 06 15:59 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > Access 2002 and CR 9.0 are > > > > > almost identical in their feature sets. > > > > Charles, > > > > > > > > I thought the same but then I made approx. 50 real-life CR reports > for > > > > HRM/Payroll system and my customer was a real guru in both > HRM/Payroll > > > > programming/reporting and CR itself (I worked as his > subcontractor) - > > > > and I soon realized that despite the fact that the feature set of > MS > > > > Access and CR seems to be very similar, the real power of CR is in > its > > > > unique and looking at first not very significant feature of > allowing > to > > > > have and manipulate on runtime of several (as many as you wish) > > > > independent sections/areas of Report Header/Footer, Page > Header/Footer, > > > > Group Header/Footer and Details... > > > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I > used, > > > > is when you need in CR to copy and paste (or cut and paste) a > group of > > > > controls within one report or between reports - here CR sometimes > goes > > > > "crazy" and you need to realigh controls manualy after paste > > > > operation... > > > > > > > > Charles, I'd not like to have this thread to become"religious" > debate > > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > > contr-arguments if you wish! :) > > > > > > > > Shamil > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Sun Mar 9 17:36:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 9 17:36:00 2003 Subject: [AccessD] normalization question Message-ID: <012801c2e694$a2229980$f0e6ffcc@SusanOne> When you remove a field to another table (for whatever reason), do you immediately create the foreign key in the original table, or do you wait until you've completely normalized each table and then return to the tables and insert all the foreign keys then? I tend to do it later because the nature of a single field can change. Does anyone know if the relational model requires a particular routine? Just curious. Susan H. From DWUTKA at marlow.com Sun Mar 9 17:38:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 17:38:00 2003 Subject: [AccessD] first five dates per year Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226A@main2.marlow.com> Completely understand. No problem. If Gustav's solution works best for you, that's the way to go. If you do want to further the subquery solution, let me know, you could send me a 'blank' database, with no data, I just need the table structure (I can fill in my own dummy data). Drew -----Original Message----- From: Pedro Janssen To: accessd at databaseadvisors.com Sent: 3/9/03 4:54 PM Subject: Re: [AccessD] first five dates per year Hello Gustav and Drew, thanks Gustav for your explanation. The dates where not unique. I used the Union All sql and now its working fine. Drew, thanks for your offer, but i can't send You an example because the data is classified. From the management in our hospital and my boss i may not present Patientdata to other. Sorry, not even to a database developer who wants to help me. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Pedro Janssen" Sent: Sunday, March 09, 2003 3:08 PM Subject: Re: [AccessD] first five dates per year > Hi Pedro > > Well, didn't imagine you had one field only. > > Anyway, here's the SQL to extract those dates for three years. > If dates are not unique, you'll have to replace every occurrence of > UNION with UNION ALL as shown: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > UNION ALL > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > UNION ALL > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > ORDER BY > Year5, > [datum]; > > > > If dates are not unique but you wish to extract the first five unique > dates for each year, you'll have to group by the date like this: > > > > PARAMETERS > Year Short; > SELECT TOP 5 > Year AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year],1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+1 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+1,1,1) > GROUP BY > [datum] > UNION > SELECT TOP 5 > Year+2 AS Year5, > [datum] > FROM > tblTrans > WHERE > [datum] >= DateSerial([Year]+2,1,1) > GROUP BY > [datum] > ORDER BY > Year5, > [datum]; > > > > All this, of course, assumes that your date field is of type > date/time-value. > > /gustav > > > When i use only the part of the query with Year the result is good, but the > > Parameters is asking for the year and afterthat for Year5. I don't > > understand this. > > When i use Year and Union Year+1 i get result that don't fit. > > Maybe it has something to do with the fieldnames. In your query which field > > is ID and which field is DateTrans. > > > For example in TblTrans i only have one field [datum]. > > From this field [datum] i need each year the first 5 dates. > > Couls you give me the sql for Year and Year+1. > > >> Sure. In addition to the correct comments of Drew, here is the union > >> query which collects data from maximum three years. If you need more > >> years, simply insert more "Union Select ..." sections where you for > >> each section increase by 1 the number to add to Year. > >> > >> > >> > >> PARAMETERS > >> Year Short; > >> SELECT TOP 5 > >> Year AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year],1,1) > >> UNION > >> SELECT TOP 5 > >> Year+1 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+1,1,1) > >> UNION > >> SELECT TOP 5 > >> Year+2 AS Year5, > >> ID > >> FROM > >> tblTrans > >> WHERE > >> DateTrans >= DateSerial([Year]+2,1,1) > >> ORDER BY > >> Year5, > >> ID; > >> > >> > >> > >> You will, of course, have to change the names of table and fields to > >> those of your table. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Mar 9 17:41:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 9 17:41:01 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> I agree on all of your statements. (Though CR doesn't allow for multi-threaded programming in the background...does it?) As far as VBA is concerned, it would be a little difficult to create a multi-threaded interpretted language. You can make a VB multi-thread .exe, but you can't run it in debug mode. VBA is still a very powerful tool in the Access arsenal. (why would you want to multi-thread code behind a report anyways? There's something I couldn't come up with a scenario for....at least not for a report...a form would be something completely different.) Drew -----Original Message----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: 3/9/03 4:02 PM Subject: Re: [AccessD] Access and Crystal Reports > VBA can be used to do practically > anything in Windows Unfortunately VBA is very limited and can't do a lot of useful things available in Windows for C++ or DELPHI programmers - e.g. multi-thread programming... > which blows CR away, is that the reporting > within Access is a component of Access, IMO the thing, which blows MS Access away in reporting is that CR can be used as a light-weight component in literally all and every modern 32bit development tool/platform - well, MS Access can be also used as an Automation server but everybody knows that MS Access is a behemoth, memory and resources hog... > just defending Access a bit. I'm not attacking MS Access - it has a broad range of applications and I use it every day in my programming work but CR's narrow specialization in reporting makes it with every new release more and more outstanding above what MS Access can propose in report generation area... Shamil P.S. Forever with MS Access ! :) ----- Original Message ----- From: "Drew Wutka" To: Sent: Sunday, March 09, 2003 10:57 PM Subject: RE: [AccessD] Access and Crystal Reports > I guess I am just playing devil's advocate. Since Access let's you use VBA > within it's reports, and VBA can be used to do practically anything in > Windows, or Access, then it stands to say that there is virtually nothing > that CR can do, which Access can't. > > Sure, there are always going to be speed/ease of use issues, however, I > think that one major advantage, which blows CR away, is that the reporting > within Access is a component of Access, not a special add-in. > > Again, I have rarely used CR, so I am not trying to hack it, just defending > Access a bit. > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: 3/9/03 11:01 AM > Subject: Re: [AccessD] Access and Crystal Reports > > This can be done IMO by using DLL/ActiveX extensions but the question is > why > this API calls should be executed on report generation? Why not get all > the > collected by API data on report data retrieval stage? > > Shamil > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Sunday, March 09, 2003 7:15 PM > Subject: RE: [AccessD] Access and Crystal Reports > > > > A good example would be a report run by a network administrator, which > shows > > information on network users. Some info stored in a database, some > from > say > > 'drive' space used, and some using API calls to retrieve domain > settings. > > > > Drew > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > Sent: Sunday, March 09, 2003 3:34 AM > > To: AccessD > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > Drew, > > > > It looks like it cannot use Win API directly but: > > > > <<<+ quoting CR help +>>> > > The Seagate Crystal Reports Formula Editor and formula language are > powerful > > tools, enabling you to perform a wide variety of report-related tasks > easily > > and efficiently. The formula language is expandable as well. That is, > while > > it already includes a large selection of useful functions, it also > comes > > with the ability to accept new functions that you define to meet your > needs. > > User Defined Functions that are recognized by the Seagate Crystal > Reports > > Formula Editor can be created in a Dynamic Link Library or, for 32-bit > > environments, in an Automation Server. > > <<<- quoting CR help ->>> > > > > I.e. you can create helper DLL/ActiveX Dll following CR extention call > > protocol and use Win API this way... > > > > But what Win API calls are needed for reports' generation? > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Sunday, March 09, 2003 2:50 AM > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > Can this programming language handle API Calls? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > Sent: Saturday, March 08, 2003 11:52 AM > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > <<< > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > >>> > > > Drew, > > > > > > Yes, CR has a program language used to create formulas - see P.S. > > > What is important to note is that CR report generation customization > IS > > NOT > > > event driven! > > > This shocks at first an MS Access developer (that's from my > experience)... > > > Then when you get comfortable with that "new ideology" you see that > it's > > > very flexible... > > > I'd say that the usual customization technique in CR is > data-driven... > > > I expect you to "fall in love" with CR because the tricks it allows > to > do > > > aren't possible in MS Access - the key to the tricks IMO are > sections > > (these > > > are subsections of Report Header/Footer, Page Header/Footer,...) and > > > formulas, which can be specified on different levels of reports to > control > > > properties' values of report objects on runtime... > > > And of course you'll love drill-down (live reports) - this is where > one > CR > > > report may substitute several MS Access forms and reports with > > subreports... > > > And of course you'll love easy migration of all that stuff(reports) > to > the > > > Web from where they can be interactively using very good and > effective > > data > > > cashing technique... > > > ... > > > > > > > instead of > > > > using the solutions that were used. > > > There are good Wizards for CR too but CR profis seldom use them (I'm > not > > the > > > one of such profis because I've had just a casual project with CR) . > > > CR can be used by powerusers I think for the cases like you describe > but > > > it's much more for programmers because only programmers are able to > show > > the > > > real power of CR through reports they create with it using > formulas... > > > > > > Shamil > > > > > > > > > P.S. > > > <<<<+ Quoting CR Help +>>> > > > formula > > > A formula is a symbolic statement of the modifications you want > performed > > on > > > certain data before it is printed on your report. > > > > > > For example, if your report is to contain a {file.SALES} field and a > > > {file.COST} field, you may want to create a GrossProfit field and > > designate > > > its text strings as {file.SALES} - {file.COST}. This is a simple > formula > > > that tells the program to subtract the value of the {file.COST} > field > from > > > the value of the {file.SALES} field and then to print the result. > > > > > > You can use formulas to calculate numeric values, compare one value > to > > > another and select alternative actions based on the comparison, join > > > multiple value into a single string, and to perform a multitude of > other > > > operations. Creating a formula in Crystal Reports is much like > creating > a > > > formula in your favorite spreadsheet. > > > > > > Note: The term "formula" in Crystal Reports is equivalent to the > term > > > "expression" in Microsoft Access. > > > > > > Crystal and Basic Syntax > > > When creating formulas, you have the option of using either Crystal > or > > Basic > > > syntax. Almost any formula written with one syntax can be written > with > the > > > other. Reports can contain formulas that use Basic syntax as well as > > > formulas that use Crystal syntax. > > > > > > Crystal syntax is the formula language included in all prior > versions of > > > Crystal Reports. Basic Syntax is new to Crystal Reports 8. > > > > > > If you are familiar with Microsoft Visual Basic or other versions of > > Basic, > > > then Basic syntax may be more familiar to you. In general, Basic > syntax > is > > > modeled on Visual Basic except that it has specific extensions to > handle > > > reporting. > > > > > > If you are already comfortable with Crystal syntax, you can continue > to > > use > > > it, and benefit from the new functions, operators and control > structures > > > inspired by Visual Basic. > > > > > > Note: Report processing is not slowed down by using Basic syntax. > > Reports > > > using Basic syntax formulas can run on any machine that Crystal > Reports > > runs > > > on. Also, using Basic syntax formulas does not require distributing > any > > > additional files with your reports. > > > > > > <<<<- Quoting CR Help ->>> > > > > > > ----- Original Message ----- > > > From: "Drew Wutka" > > > To: > > > Sent: Saturday, March 08, 2003 10:27 AM > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > Very good point. I've watched this thread from the outside, for > two > > > > reasons. I personally have never made a CR report, and at best I > > consider > > > > myself an 'amatuer' at report generation in Access. When it comes > to > > > making > > > > reports in Access, I can do some pretty nifty stuff with code, > making > > > > stupendous 'special' reports. However, there are people where I > work > > that > > > > do nothing but generate reports using the wizards, and then > tweaking > all > > > > sorts of things. I have had to go into these reports from time to > time, > > > and > > > > I must admit that they get them to do exactly what they want with > > > relatively > > > > little fuss. That is why I consider myself an amatuer at the > report > > > level, > > > > because half the time I would have jumped to VBA....(go figure), > instead > > > of > > > > using the solutions that were used. > > > > > > > > One question. Does CR have a 'program' language that you can run > in > the > > > > background of a report? (Not just macro like, but VBA like, where > you > > can > > > > interface with the OS if you want type stuff....) > > > > > > > > Drew > > > > > > > > -----Original Message----- > > > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > > > Sent: Friday, March 07, 2003 7:13 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Access and Crystal Reports > > > > > > > > > > > > Shamil, > > > > > > > > True, CR allows independent sections in reports, and true this can > be > a > > > > useful feature. But in my experience there never has been a > report > that > > > > I had to create that needed this feature. > > > > > > > > My last word on this thread is this: Since everybody's previous > > > > experiences and personal preferences are different, there is no > one > best > > > > tool for everybody. Of the tools that are available to you and > you > are > > > > comfortable using, try to pick the one that is most suitable for > the > > > > problem at hand. > > > > > > > > Have a nice day Shamil. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > > > > Sent: Thursday 2003 Mar 06 15:59 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] Access and Crystal Reports > > > > > > > > > Access 2002 and CR 9.0 are > > > > > almost identical in their feature sets. > > > > Charles, > > > > > > > > I thought the same but then I made approx. 50 real-life CR reports > for > > > > HRM/Payroll system and my customer was a real guru in both > HRM/Payroll > > > > programming/reporting and CR itself (I worked as his > subcontractor) - > > > > and I soon realized that despite the fact that the feature set of > MS > > > > Access and CR seems to be very similar, the real power of CR is in > its > > > > unique and looking at first not very significant feature of > allowing > to > > > > have and manipulate on runtime of several (as many as you wish) > > > > independent sections/areas of Report Header/Footer, Page > Header/Footer, > > > > Group Header/Footer and Details... > > > > > > > > The only area where I've found MS Access "beats" CR 8.x, which I > used, > > > > is when you need in CR to copy and paste (or cut and paste) a > group of > > > > controls within one report or between reports - here CR sometimes > goes > > > > "crazy" and you need to realigh controls manualy after paste > > > > operation... > > > > > > > > Charles, I'd not like to have this thread to become"religious" > debate > > > > "CR vs. MS Access report generator" - let's stop it? - after your > > > > contr-arguments if you wish! :) > > > > > > > > Shamil > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sun Mar 9 21:29:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun Mar 9 21:29:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <70F3D727890C784291D8433E9C418F29038977@server.bondsoftware.co.nz> What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notebook.jpg Type: image/jpeg Size: 2950 bytes Desc: Notebook.jpg URL: From wdhindman at bellsouth.net Sun Mar 9 21:48:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun Mar 9 21:48:00 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> Message-ID: <00dc01c2e6b7$cfa49a70$6101a8c0@amd2k512> ...if it will save at least 256Kb, it compacts ...HTH :) http://www.zdnetindia.com/help/specials/officetips/stories/17453.html William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Susan Harkins" To: Sent: Sunday, March 09, 2003 2:31 PM Subject: [AccessD] compact on close > The Compact on Close feature doesn't always compact automatically. There's a > memory savings threshold that has to be met before it will actually compact > and I can't find that amount -- anyone know what it is? I've checked Help > and the KB. > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sun Mar 9 21:56:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun Mar 9 21:56:01 2003 Subject: [AccessD] Iterating Controls References: <004701c2e674$d89c9350$8e01a8c0@Rock> Message-ID: <012601c2e6b8$e64b7130$6101a8c0@amd2k512> "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke From paul.hartland at fsmail.net Mon Mar 10 02:55:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon Mar 10 02:55:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <20030310085436.OEKL2544.fep02-svc.ttys.com@localhost> Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From shamil at smsconsulting.spb.ru Mon Mar 10 03:16:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 03:16:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> Message-ID: <001801c2e6e5$87092d20$b501010a@DAISY.local> <<< Though CR doesn't allow for > multi-threaded programming in the background...does it? >>> Drew, I didn't try to do that but it might be possible based on the info in P.S of this message. > As far as VBA is concerned, > it would be a little difficult to create a > multi-threaded interpretted language. I would say this is MS who made it that way - DELPHI supports multi-threading since its first versions AFAIK - and the level of programming on DELPHI is higher than on VB/VBA IMO(well DELPHI is compiled language). What is the problem to make multi-threaded interpreted language? - the core of interpreter can easily control different threads - I don't see any technocal problems here - and you? What am I missing? (of course there should be more limitations with 'edit and continue' debugging mode but just limitations...) > VBA is still a very powerful tool in the Access arsenal. > (why would you want to multi-thread code behind a report anyways? See P.S. for the reasons... > There's something I couldn't come up with a scenario > for....at least not for a report...a form > would be something completely different.) As I noted ONE CR's drill-down 'live' report can well substitute several MS Access forms and reports - this is just a different reporting ideology, another almost parallel universe with higher level of technological evolution :) and with the gap from MS Access becoming more and more perceptible with every new release... Well, what was really bad in CR v.8.x - these are subreports(when you need a lot of them for one report) - and this is a known fact - and CR application developers managed to make advanced reports WITHOUT subreports - imagine that! - as in all areas in this life when you gain in one area you loose in another - so of course CR isn't 100% perfect... With MS Access forever! Shamil P.S. Some facts about CR: <<<+ quoting CR online line +>>>> Optimized, multithreaded Report Engine The Crystal Report Engine's enhanced multithreading capabilities and thread-safe database drivers allow you to continue working on your important tasks, while many other operations are processed simultaneously in the background. The Report Engine also minimizes the number of passes made through the data, speeds up processing with improved memory management, and handles subreports and parameters as efficiently as possible. <<<- quoting CR online line ->>>> AND... <<<+ quoting CR online line +>>>> Page-on-demand technology Page-on-demand report access lets users download only the specific report pages they need to see, thus improving response times and reducing web traffic. Further, placeholders and partial page technology allow you to view report pages and data over the Web immediately, without having to wait for the processing of large objects, such as graphics and subreports. <<<- quoting CR online line ->>>> FURTHER... <<<+ quoting CR online line +>>>> Scale with Crystal Enterprise Reports Crystal Enterprise extends the value and scalability of Crystal Reports. It provides eBusiness with a scalable, web-based solution for managing the access and delivery of hundreds or thousands of Crystal reports to every decision-maker-across the enterprise and beyond. Crystal Enterprise provides a flexible, managed reporting solution. It gives you the ability to deliver the report-design power of Crystal Reports, atop a scalable, web-based infrastructure for managing a central report repository, user security, and report scheduling and processing. <<<- quoting CR online line ->>>> And this isn't marketing hype or something like that - I've a colleague who because of his using C++ and of Crystal reports (and of course he is a very smart programmer) upsized to the IIS his very advanced payroll/HRM system system in SEVERAL weeks (less than a month) and he did all that ALONE. Short info is here - http://www.fincomplex.com/ - with real screenshots - and this software works in both modes: desktop or web-server based - one have to just load another saved configuration settings pointing to the URL of the WEB server... BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting can be reused... ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:40 AM Subject: RE: [AccessD] Access and Crystal Reports > I agree on all of your statements. (Though CR doesn't allow for > multi-threaded programming in the background...does it?) > > As far as VBA is concerned, it would be a little difficult to create a > multi-threaded interpretted language. You can make a VB multi-thread .exe, > but you can't run it in debug mode. > > VBA is still a very powerful tool in the Access arsenal. (why would you > want to multi-thread code behind a report anyways? There's something I > couldn't come up with a scenario for....at least not for a report...a form > would be something completely different.) > > Drew > <<< tail skipped for brevity >>> From gustav at cactus.dk Mon Mar 10 03:51:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 03:51:00 2003 Subject: [AccessD] first five dates per year In-Reply-To: <001401c2e68f$ebbab9b0$fac581d5@pedro> References: <000601c2e333$dc39d4d0$f5c581d5@pedro><13841643940.20030305203606@cactus.dk><001901c2e4f0$e5b5dc20$f8c581d5@pedro> <1227323080.20030308115517@cactus.dk><000b01c2e5bb$047189f0$f8c581d5@pedro> <17815673307.20030309150822@cactus.dk> <001401c2e68f$ebbab9b0$fac581d5@pedro> Message-ID: <417164802.20030310105007@cactus.dk> Hi Pedro And Drew > thanks Gustav for your explanation. The dates where not unique. > I used the Union All sql and now its working fine. Very well. Drew, I just used the date field from a test-table I have with 150000 records. I guess you can create your own table with this single date/time field though the dates should not be random - some must be duplicates. > Drew, thanks for your offer, but i can't send You an example because > the data is classified. From the management in our hospital > and my boss i may not present Patientdata to other. Sorry, not even to > a database developer who wants to help me. /gustav From pedro at plex.nl Mon Mar 10 04:33:00 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon Mar 10 04:33:00 2003 Subject: [AccessD] first five dates per year References: <2F8793082E00D4119A1700B0D0216BF801D8226A@main2.marlow.com> Message-ID: <003901c2e6f0$7b53bc60$f8c581d5@pedro> Hello Drew, I will send you the structure in one week. Today i am leaving for a week on a trip for my work. TIA Pedro Janssen ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 12:37 AM Subject: RE: [AccessD] first five dates per year > Completely understand. No problem. > > If Gustav's solution works best for you, that's the way to go. If you do > want to further the subquery solution, let me know, you could send me a > 'blank' database, with no data, I just need the table structure (I can fill > in my own dummy data). > > Drew > > -----Original Message----- > From: Pedro Janssen > To: accessd at databaseadvisors.com > Sent: 3/9/03 4:54 PM > Subject: Re: [AccessD] first five dates per year > > Hello Gustav and Drew, > > thanks Gustav for your explanation. The dates where not unique. > I used the Union All sql and now its working fine. > > Drew, thanks for your offer, but i can't send You an example because > the data is classified. From the management in our hospital > and my boss i may not present Patientdata to other. Sorry, not even to > a database developer who wants to help me. > > Pedro Janssen > > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Pedro Janssen" > Sent: Sunday, March 09, 2003 3:08 PM > Subject: Re: [AccessD] first five dates per year > > > > Hi Pedro > > > > Well, didn't imagine you had one field only. > > > > Anyway, here's the SQL to extract those dates for three years. > > If dates are not unique, you'll have to replace every occurrence of > > UNION with UNION ALL as shown: > > > > > > > > PARAMETERS > > Year Short; > > SELECT TOP 5 > > Year AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year],1,1) > > UNION ALL > > SELECT TOP 5 > > Year+1 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+1,1,1) > > UNION ALL > > SELECT TOP 5 > > Year+2 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+2,1,1) > > ORDER BY > > Year5, > > [datum]; > > > > > > > > If dates are not unique but you wish to extract the first five unique > > dates for each year, you'll have to group by the date like this: > > > > > > > > PARAMETERS > > Year Short; > > SELECT TOP 5 > > Year AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year],1,1) > > GROUP BY > > [datum] > > UNION > > SELECT TOP 5 > > Year+1 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+1,1,1) > > GROUP BY > > [datum] > > UNION > > SELECT TOP 5 > > Year+2 AS Year5, > > [datum] > > FROM > > tblTrans > > WHERE > > [datum] >= DateSerial([Year]+2,1,1) > > GROUP BY > > [datum] > > ORDER BY > > Year5, > > [datum]; > > > > > > > > All this, of course, assumes that your date field is of type > > date/time-value. > > > > /gustav > > > > > When i use only the part of the query with Year the result is good, > but > the > > > Parameters is asking for the year and afterthat for Year5. I don't > > > understand this. > > > When i use Year and Union Year+1 i get result that don't fit. > > > Maybe it has something to do with the fieldnames. In your query > which > field > > > is ID and which field is DateTrans. > > > > > For example in TblTrans i only have one field [datum]. > > > From this field [datum] i need each year the first 5 dates. > > > Couls you give me the sql for Year and Year+1. > > > > >> Sure. In addition to the correct comments of Drew, here is the > union > > >> query which collects data from maximum three years. If you need > more > > >> years, simply insert more "Union Select ..." sections where you for > > >> each section increase by 1 the number to add to Year. > > >> > > >> > > >> > > >> PARAMETERS > > >> Year Short; > > >> SELECT TOP 5 > > >> Year AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year],1,1) > > >> UNION > > >> SELECT TOP 5 > > >> Year+1 AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year]+1,1,1) > > >> UNION > > >> SELECT TOP 5 > > >> Year+2 AS Year5, > > >> ID > > >> FROM > > >> tblTrans > > >> WHERE > > >> DateTrans >= DateSerial([Year]+2,1,1) > > >> ORDER BY > > >> Year5, > > >> ID; > > >> > > >> > > >> > > >> You will, of course, have to change the names of table and fields > to > > >> those of your table. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Mon Mar 10 04:34:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Mon Mar 10 04:34:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> Message-ID: <002701c2e6f0$744391c0$346da8c0@IEW001> Hello Shamil, I heard of a story last year from a friend. He telephoned the French embasssey and asked how long it would take to get a visa to travel to France. Of course, he mentioned his nationality, because he is non-EU. The French guy said five working days. He went and bought his tickets. When he went to get the French visa, they then said "Oh no, it will take three to six weeks". He then tried the Netherlands and they wanted to wait nine weeks. These were the two countries that he was visiting. So, he had an idea, he telephoned the German embassy and asked the same question. They said five days. So he seached for a hotel in Germany, and made a reservation. He then asked the reservations department to send him his reservations confirmation by fax. Using this, he then was able to request a multi-entry shengen visa from the very helpful German embassey. He visited France, Belgium and Netherlands, but did not make Germany and had no problems anywhere. In the German embassy, the official asked why you are flying to France, he just said because it is a direct flight with ryanair and it is inexpensive. The German official was happy with this. Throughout the entire process, the Germans seemed to have the view that they were delighted to have people visit their counrty. I would agree with Marty, it is a cost of doing business, but even it was pleasure, some battles you cannot win. It certainly makes you crazy. Best of luck, Mark ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 09, 2003 1:48 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would write it off as the cost of doing business, it isn't worth the > hassle to complain about some minor functionary or bureaucrat who > probably doesn't understand all the rules and is too afraid to ask. I > have run into the same thing with Canadian External Affairs in embassies > overseas and got into arguments, only to find out it was local citizens > handling the Visa sections run by one Canadian national who was too busy > to oversee them what with all his demands of having to attend functions > at the local Jockey club and golf course. Lodging a complaint against > External Affairs is generally useless unless you threaten them with a > press expose or high political action from their minister. > I would get your partner to complain through his Dutch member of > parliament, if you really > wanted to raise the issue further. > > By the way the here is a description and cost of a Schengen Visa plus a > pdf of the form from Dutch > embassy in Washington. > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > Of course you could always expend some time filling in a Green Card > lottery form for permanent residence in US (odds 1:100) rather than > expending the time on a complaint. Better to light a candle than curse > the darkness. > > http://www.usnis.org/ > > I have got my own back at times on Immigration types, once in Lagos > Nigeria I was asked for > dash ,mordida or baksheesh; to expedite my getting out of the country at > the airport. So I reached into my throwdown wallet (in case of robbery) > and pulled out a fistfull of Canadian Tire money > (these are discount coupons that look like money in amounts of 10 cents > through a dollar put out > by an a Canadian Automotive chain store) explained to the guy I didn't > have US cash but here was > Canadian money. I could barely keep a straight face. > > Shamil Salakhetdinov wrote: > > >Hi All, > > > >I'm sorry I'm writing about that here - I just went very crazy today about > >what they - Western Embassies and Consulates here and their bosses in Den > >Haage (Netherlands) are doing... > > > >Here is a fresh story: > > > >- I applied for business Visum (15 days of staying, one entry) several days > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: her e > >in Consualate General they ACCEPTED this application for BUSINESS visum and > >they checked all the docs carefully) - to make that I prepared all the > >needed paperwork, get original invitation from my partner from Netherlands > >(DHL, second day delivery = rather expensive), even changed the passports to > >make them fresh new (some more bucks) because at first they said that the > >ones I had aren't good, PAID for their "services"(not that much but should > >be enough for a rather good dinner for three I think) and I started to > >wait... > >And BTW I spent quite some time on all that prepations and quite some > >bucks in total... > > > >Do you know what answer I've got today? (in fact my Netherland's partner was > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > >have applied for TOURISTIC not BUSINESS visum because I plan to go with my > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > >them... > > > >Should I fight with them looking for truth with the risk to be written in > >their "black lists" forever? > >Or should I give up and accept the "rules" of their game? - there is a whole > >business around them here - and one (including any kinds of criminals etc.) > >can buy for money any kind of Visum and freely enter West Europe or States > >or Canada... > > > >I wanted to make it direct and according to all the laws and I didn't want > >to pay to the "shadow business around them" any extra money - and I've got > >NOTHING - or I'd better say I and my partner in Netherlands got real > >mockery... And they were harsh not only with me - they were that hostile > >with my Netherland's partner too - how it comes? > > > >Shamil > > > >P.S. I know, probably Russian Embassies do something like that there in West > >Europe - but should it justify what they are doing here these ambassadors of > >"civilized" free world? > > > >-- > >e-mail: shamil at smsconsulting.spb.ru > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >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 Mon Mar 10 04:59:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 04:59:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <002701c2e6f0$744391c0$346da8c0@IEW001> Message-ID: <002d01c2e6f4$0e968770$b501010a@DAISY.local> <<< > Throughout the entire process, the Germans seemed to have > the view that they were delighted to have people > visit their counrty. >>> Hello Mark, I've heard that Germany embassy is much friendly now for Visum applicant than other western embassies. I should have asked for invitation from Lembit! :) But it's to late now - I plan to try to reapply tomorrow for another type of Visum and maybe talk to the Consul if they let me in... The problem is that when they reject application they can stamp our passports with "wolf mark" - and then other Shengen embassies may treat my docs badly from the very begiining... ...I'm sick and tired of all that - it eats so much time and money and nervuous energy but I've to solve it now peaceful way and then maybe always use friendly German or Finnish embassies to get Shengen visum (although it can be a trouble to pass customs of other Shengen countries with such visum if I fly directly to their cities - I've heard stories here when GERMAN custom control put a man into airport jail for one night and then sent him back to Russia because he had NETHERLANDS Shengen visum)... "IRON CURTAIN" - is it now built around Shegen Area? I just want to go there with my kids and to meet my friends and I've cash money/credit cards and I speak English well and I know how to travel their and I lived and worked and travelled there for quite some time and a lot fo times - that's just a crazy dream... THNX for your support, Shamil ----- Original Message ----- From: "Mark L. Breen" To: Sent: Monday, March 10, 2003 1:33 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hello Shamil, > > I heard of a story last year from a friend. > > He telephoned the French embasssey and asked how long it would take to get a > visa to travel to France. Of course, he mentioned his nationality, because > he is non-EU. The French guy said five working days. He went and bought > his tickets. When he went to get the French visa, they then said "Oh no, it > will take three to six weeks". He then tried the Netherlands and they > wanted to wait nine weeks. These were the two countries that he was > visiting. > > So, he had an idea, he telephoned the German embassy and asked the same > question. They said five days. So he seached for a hotel in Germany, and > made a reservation. He then asked the reservations department to send him > his reservations confirmation by fax. > > Using this, he then was able to request a multi-entry shengen visa from the > very helpful German embassey. He visited France, Belgium and Netherlands, > but did not make Germany and had no problems anywhere. In the German > embassy, the official asked why you are flying to France, he just said > because it is a direct flight with ryanair and it is inexpensive. The > German official was happy with this. Throughout the entire process, the > Germans seemed to have the view that they were delighted to have people > visit their counrty. > > I would agree with Marty, it is a cost of doing business, but even it was > pleasure, some battles you cannot win. It certainly makes you crazy. > > Best of luck, > > Mark > > > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Sunday, March 09, 2003 1:48 AM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would write it off as the cost of doing business, it isn't worth the > > hassle to complain about some minor functionary or bureaucrat who > > probably doesn't understand all the rules and is too afraid to ask. I > > have run into the same thing with Canadian External Affairs in embassies > > overseas and got into arguments, only to find out it was local citizens > > handling the Visa sections run by one Canadian national who was too busy > > to oversee them what with all his demands of having to attend functions > > at the local Jockey club and golf course. Lodging a complaint against > > External Affairs is generally useless unless you threaten them with a > > press expose or high political action from their minister. > > I would get your partner to complain through his Dutch member of > > parliament, if you really > > wanted to raise the issue further. > > > > By the way the here is a description and cost of a Schengen Visa plus a > > pdf of the form from Dutch > > embassy in Washington. > > > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > > > Of course you could always expend some time filling in a Green Card > > lottery form for permanent residence in US (odds 1:100) rather than > > expending the time on a complaint. Better to light a candle than curse > > the darkness. > > > > http://www.usnis.org/ > > > > I have got my own back at times on Immigration types, once in Lagos > > Nigeria I was asked for > > dash ,mordida or baksheesh; to expedite my getting out of the country at > > the airport. So I reached into my throwdown wallet (in case of robbery) > > and pulled out a fistfull of Canadian Tire money > > (these are discount coupons that look like money in amounts of 10 cents > > through a dollar put out > > by an a Canadian Automotive chain store) explained to the guy I didn't > > have US cash but here was > > Canadian money. I could barely keep a straight face. > > > > Shamil Salakhetdinov wrote: > > > > >Hi All, > > > > > >I'm sorry I'm writing about that here - I just went very crazy today > about > > >what they - Western Embassies and Consulates here and their bosses in Den > > >Haage (Netherlands) are doing... > > > > > >Here is a fresh story: > > > > > >- I applied for business Visum (15 days of staying, one entry) several > days > > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: her > e > > >in Consualate General they ACCEPTED this application for BUSINESS visum > and > > >they checked all the docs carefully) - to make that I prepared all the > > >needed paperwork, get original invitation from my partner from > Netherlands > > >(DHL, second day delivery = rather expensive), even changed the passports > to > > >make them fresh new (some more bucks) because at first they said that the > > >ones I had aren't good, PAID for their "services"(not that much but > should > > >be enough for a rather good dinner for three I think) and I started to > > >wait... > > >And BTW I spent quite some time on all that prepations and quite some > > >bucks in total... > > > > > >Do you know what answer I've got today? (in fact my Netherland's partner > was > > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > > >have applied for TOURISTIC not BUSINESS visum because I plan to go with > my > > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > > >them... > > > > > >Should I fight with them looking for truth with the risk to be written in > > >their "black lists" forever? > > >Or should I give up and accept the "rules" of their game? - there is a > whole > > >business around them here - and one (including any kinds of criminals > etc.) > > >can buy for money any kind of Visum and freely enter West Europe or > States > > >or Canada... > > > > > >I wanted to make it direct and according to all the laws and I didn't > want > > >to pay to the "shadow business around them" any extra money - and I've > got > > >NOTHING - or I'd better say I and my partner in Netherlands got real > > >mockery... And they were harsh not only with me - they were that hostile > > >with my Netherland's partner too - how it comes? > > > > > >Shamil > > > > > >P.S. I know, probably Russian Embassies do something like that there in > West > > >Europe - but should it justify what they are doing here these ambassadors > of > > >"civilized" free world? > > > > > >-- > > >e-mail: shamil at smsconsulting.spb.ru > > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 10 05:44:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 05:44:00 2003 Subject: [AccessD] Access and Crystal Reports In-Reply-To: <001801c2e6e5$87092d20$b501010a@DAISY.local> References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> Message-ID: <17913942628.20030310124305@cactus.dk> Hi Shamil > And this isn't marketing hype or something like that - I've a colleague who > because of his using C++ and of Crystal reports (and of course he is a very > smart programmer) upsized to the IIS his very advanced payroll/HRM system > system in SEVERAL weeks (less than a month) and he did all that ALONE. > Short info is here - http://www.fincomplex.com/ - with real screenshots - > and this software works in both modes: desktop or web-server based - one > have to just load another saved configuration settings pointing to the URL > of the WEB server... > BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting > can be reused... This looks very interesting. However, my Opera 7 browser doesn't trig the menu, and the link (when viewed in IE) to "The description of the system" seems to be broken. Would this link carry the screenshots? Here we have an extremely complicated personal tax system, literally uncomprehensible for even educated people. Would your system be able to be accommodate that? /gustav From gustav at cactus.dk Mon Mar 10 05:52:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 05:52:00 2003 Subject: [AccessD] Access and Crystal Reports In-Reply-To: <17913942628.20030310124305@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> Message-ID: <14714448666.20030310125131@cactus.dk> Hi Shamil Just noted that the screenshots are animated into one picture - but in IE only, no fun in Opera! /gustav > Would this link carry the screenshots? From JSkolits at CorporateDataDesign.com Mon Mar 10 07:07:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 07:07:01 2003 Subject: [AccessD] Replication Database, Speed Very Slow! In-Reply-To: <3E639A9D.10508@shaw.ca> Message-ID: I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits From shamil at smsconsulting.spb.ru Mon Mar 10 07:30:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 07:30:01 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> Message-ID: <001801c2e709$10623a30$b501010a@DAISY.local> > Here we have an extremely complicated personal tax system, literally > uncomprehensible for even educated people. Would your system be able > to be accommodate that? Gustav, I think Russian payroll/tax system is one of the most complicated in the World (e.g. I've heard that SAP can't be adapted well to automatically process all the business rules of payroll/tax/HRM systems in Russia). I think this system can be accomodated to that of your country without changes in its datamodel(it's not relational - it's network CODASYL datamodel)/framework but it will very probably need additional programming, and of course all reports have to be redone but as far as I know the reports in this system's framework are generated based on MS Access databases - so if you'll have your report data in MS Access then this system reporting framework should be possible to tune without big troubles... And this ISN'T my system - this is a system of my colleagues. And today is a non-wroking day here (first day of the longest Russian Orthodox Church fasting - 40 days - :0 - just kidding - in fact we've a non working day because 8 of March is an International Women Day here - and it is non-working day every year - so they gave additional non-working day on Monday) Because of non-working day today I will know about details only tomorrow after the talks with my colleague... Shamil ----- Original Message ----- From: "Gustav Brock" To: "Shamil Salakhetdinov" Sent: Monday, March 10, 2003 2:43 PM Subject: Re: [AccessD] Access and Crystal Reports > Hi Shamil > > > And this isn't marketing hype or something like that - I've a colleague who > > because of his using C++ and of Crystal reports (and of course he is a very > > smart programmer) upsized to the IIS his very advanced payroll/HRM system > > system in SEVERAL weeks (less than a month) and he did all that ALONE. > > > Short info is here - http://www.fincomplex.com/ - with real screenshots - > > and this software works in both modes: desktop or web-server based - one > > have to just load another saved configuration settings pointing to the URL > > of the WEB server... > > > BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting > > can be reused... > > This looks very interesting. > > However, my Opera 7 browser doesn't trig the menu, and the link (when > viewed in IE) to "The description of the system" seems to be broken. > Would this link carry the screenshots? > > Here we have an extremely complicated personal tax system, literally > uncomprehensible for even educated people. Would your system be able > to be accommodate that? > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Mar 10 07:30:37 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 07:30:37 2003 Subject: [AccessD] Access and Crystal Reports References: <2F8793082E00D4119A1700B0D0216BF801D8226B@main2.marlow.com> <001801c2e6e5$87092d20$b501010a@DAISY.local> <17913942628.20030310124305@cactus.dk> <14714448666.20030310125131@cactus.dk> Message-ID: <001901c2e709$107db170$b501010a@DAISY.local> Gustav, I will ask my colleague tomorrow about the sources of his web-site and as far as I know there should be a fully functional demo in English with rather complete help system. Shamil ----- Original Message ----- From: "Gustav Brock" To: "Gustav Brock" Sent: Monday, March 10, 2003 2:51 PM Subject: Re: [AccessD] Access and Crystal Reports > Hi Shamil > > Just noted that the screenshots are animated into one picture - but in > IE only, no fun in Opera! > > /gustav > > > Would this link carry the screenshots? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 07:40:01 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 07:40:01 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve From artful at rogers.com Mon Mar 10 07:44:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 07:44:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <012601c2e6b8$e64b7130$6101a8c0@amd2k512> Message-ID: <009b01c2e70b$079c1040$8e01a8c0@Rock> Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Mar 10 07:59:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 10 07:59:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Sounds like mixed dot (.) and bang (!) operators. Try... Between [forms]![frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param]![txt_EndInvoiceDate] Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: Monday, March 10, 2003 08:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Mon Mar 10 08:01:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 10 08:01:00 2003 Subject: [AccessD] Sql Server 7 - Corrupt Views References: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <002501c2e70d$fe29ab50$6400000a@dogbert2k> I'm working on a project where I use VB6 to do specialized reports. I occasionally use Enterprise Manager to modify reports and most of the time I use an Access 2000 ADP to check data and modify views. I found 3 or 4 views corrupted last week. This was a big surprise to me and the first time I've found any corruption in Sql Server. Does anyone else know anything about view corruption in Sql Server? Thanks - Tom (My Boss says problems with Sql Server are not her problem, and to hurry up and finish this job!) Adams From artful at rogers.com Mon Mar 10 08:02:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 08:02:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: Message-ID: <009c01c2e70d$865dcac0$8e01a8c0@Rock> IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 10 08:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 10 08:09:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> References: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Message-ID: <12622637581.20030310150800@cactus.dk> Hi Mike Try specifying the two parameters [forms].[frm_Param].[txt_StartInvoiceDate] [forms].[frm_Param].[txt_StartInvoiceDate] as date/time. /gustav > I have a query that uses a form to get it's parameters. > This is what's in the criteria section of the query. > Between [forms].[frm_Param]![txt_StartInvoiceDate] And > [forms]![frm_Param].[txt_EndInvoiceDate] From mikedorism at ntelos.net Mon Mar 10 08:09:58 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 10 08:09:58 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <000101c2e70e$c71e10f0$59380cd8@hargrove.internal> Arthur, The RowSourceType is a string and doesn't use constants. The dropdown is apparently a value list composed of string choices. So whatever the text is, that is what you would use for the constant. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, March 10, 2003 08:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:20:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:20:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <000001c2e70d$52f5b260$59380cd8@hargrove.internal> Message-ID: Hi Doris, I tried with all dots and then with all bangs and I get the same error msg. Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Mike and Doris Manning Envoye : Monday, March 10, 2003 09:00 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) Sounds like mixed dot (.) and bang (!) operators. Try... Between [forms]![frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param]![txt_EndInvoiceDate] Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: Monday, March 10, 2003 08:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Mon Mar 10 08:23:00 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon Mar 10 08:23:00 2003 Subject: Fw: [AccessD] Searching M$'s KB official statement Message-ID: <035e01c2e710$5ae14180$0300a8c0@S856> MessageCharles, - this is the official answer to your question: DBA does not require that a list member spends efforts to find the answer somewhere else before asking the list. The AccessD list is intended to help Access users with any level of knowledge. - If there are questions below your level of interest, or questions which you (or any other guru) simply dont want to answer, it is ok that you ignore these, but please refrain from any kind of negative or rude comment. Thank you Lembit Lembit Soobik ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, March 07, 2003 1:02 PM Subject: RE: [AccessD] Searching M$'s KB I have to respectively disagree with Susan and Arthur. I don't mind answering a commonly asked question if the person seems to have put forth some effort to solve the problem. But I do not like to have people come to the list as a first-ditch effort to ask common questions. The reason I stay active on this list is because there are a lot of difficult and/or unusual questions that pop up that help us all when we get to similar situations. Susan has asked some questions that seemed very simple on the surface, but when people start to answer them it turned out that there were deeper meanings than most of us were aware of. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday 2003 Mar 06 16:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Searching M$'s KB It's a first-ditch effort J -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 6, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Searching M$'s KB I know that at times I have told listers that the answer is in M$'s KB without giving an article number. Sorry about that, but now you have no excuse for not looking it up yourself before asking the list. ==============I always come to the list when I find myself stuck. It's the first place I try. Not the KB, not the wide, wide, world of the web. Why? Because if there's an answer to be had, it is probably here. In fact, AccessD has been mentioned in two of my book acknowledgements. Why should anyone waste time spinning their wheels looking for something they might not find. Even if info is found, trying to apply it to what you're doing can be as much a problem as finding it! Especially the MK articles, because they're almost always out of date! That just isn't very efficient. In our business, time is just as important as accuracy. No one on this list should waste precious time looking up what someone here already knows. It doesn't make sense. This list is not a last ditch effort -- "I've looked everywhere else..." Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Mon Mar 10 08:40:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon Mar 10 08:40:00 2003 Subject: [AccessD] PDF for word ... Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294A78@NT04> Adobe acrobat can mix landscape and portrait, and it works well. But it's not something you want to purchase unless you are going to use it often. I use it to submit documents to other companies and to the government. It will work with Word, Excel, and Access. Jim Hewson -----Original Message----- From: James Hale [mailto:jhale at houston.rr.com] Sent: Saturday, March 08, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] PDF for word ... The only way I have been able to mix landscape and portrait in the same document is with Word and this doesn't always work well either. I presume Adobe acrobat can do the trick but I have been to cheap to spring for a copy. Jim Hale -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, March 02, 2003 1:55 AM To: James Hale Subject: Re: [AccessD] PDF for word ... Hi James So which products do? /gustav > I have found that many of these products don't handle a mixture of portrait > and landscape pages in the same report. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:48:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:48:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <12622637581.20030310150800@cactus.dk> Message-ID: Hi Gustav, Tried it and it did not work either. Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Gustav Brock Envoye : Monday, March 10, 2003 09:08 A : Mike and Doris Manning Objet : Re: [AccessD] Crosstab Querry with parameter on Form (A97) Hi Mike Try specifying the two parameters [forms].[frm_Param].[txt_StartInvoiceDate] [forms].[frm_Param].[txt_StartInvoiceDate] as date/time. /gustav > I have a query that uses a form to get it's parameters. > This is what's in the criteria section of the query. > Between [forms].[frm_Param]![txt_StartInvoiceDate] And > [forms]![frm_Param].[txt_EndInvoiceDate] _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at stgsolutions.com Mon Mar 10 08:56:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 08:56:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) In-Reply-To: <009c01c2e70d$865dcac0$8e01a8c0@Rock> Message-ID: Hi Arthur, Yeah! Works like a charm. Here is what I did in case someone else gets the same error: I created a new module (I called it bas_StaticFunctions) Created the two functions: Static Function StartDate() As Date StartDate = CDate(Forms.frm_Param.txt_StartInvoiceDate) End Function Static Function EndDate() As Date EndDate = CDate(Forms.frm_Param.txt_EndInvoiceDate) End Function In the criteria section of the query I put: Between StartDate() And EndDate() Note: The form "frm_Param" as to be opened in order for this to work. Note also that no validation is made in the functions StartDate() and EndDate() so validation for dates has to be done at the form level. Thanks a million! Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Arthur Fuller Envoye : Monday, March 10, 2003 09:01 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Mar 10 09:22:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 10 09:22:01 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: How weird...I am working on the exact same problem. I noticed that a program that I am about to roll out accepts any date, in the many date fields. Some of the dates need to be later than others that are there (for instance, there is a "Sent to Sheriff" field, and a "Returned from Sheriff" field, and you cannot receive it before it is sent). I used the code: If datFromSheriff.Value < datToSheriff.Value Then MsgBox "This date cannot be previous to the Sent to Sheriff Date", vbOKOnly, "Date Error" datFromSheriff = "" datFromSheriff.SetFocus End If And I have tried it in the "On Lost Focus", "On Change" (stupid), "Before Update" (there now), and "After Update" events, but none worked. It actually worked with "Lost Focus" but the SetFocus did not...it went to the next field in the tab order. Did you get this working? John Clark >>> bchacc at san.rr.com 03/09/03 01:45PM >>> Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software From JSkolits at CorporateDataDesign.com Mon Mar 10 09:24:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 09:24:00 2003 Subject: [AccessD] Replication Database, Speed Very Slow! SOLVED In-Reply-To: Message-ID: -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Replication Database, Speed Very Slow! I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Mar 10 09:39:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 09:39:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> Message-ID: <000d01c2e71b$10c95b40$b501010a@DAISY.local> THNX for your info Marty! Very much appreciated! > it isn't worth the hassle to complain > about some minor functionary or bureaucrat OK, I decided to reapply for the Visum if they are asking to do so but I'd like to have some documents left on my hands(unfortunately I didn't make the copy of the first Visa application) I'd like to write a letter to the head of the Consulate-General with request for their help of solving this small misapprehension ASAP - how should I proceed with them to let me to pass this letter to him and to allow me to meet with him/his representative and to officially register my letter with help request and explanation (my vision) of situation (of course without any complaints)? > filling in a Green Card lottery form for permanent > residence in US (odds 1:100) You propose me to immigrate to the States? A plenty of work there and a room for five people? - I still prefer to stay here in Russia and find a way to freely travel around the World - should be doable but needs some time to solve this without immigration to the States... Shamil ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 09, 2003 4:48 AM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would write it off as the cost of doing business, it isn't worth the > hassle to complain about some minor functionary or bureaucrat who > probably doesn't understand all the rules and is too afraid to ask. I > have run into the same thing with Canadian External Affairs in embassies > overseas and got into arguments, only to find out it was local citizens > handling the Visa sections run by one Canadian national who was too busy > to oversee them what with all his demands of having to attend functions > at the local Jockey club and golf course. Lodging a complaint against > External Affairs is generally useless unless you threaten them with a > press expose or high political action from their minister. > I would get your partner to complain through his Dutch member of > parliament, if you really > wanted to raise the issue further. > > By the way the here is a description and cost of a Schengen Visa plus a > pdf of the form from Dutch > embassy in Washington. > > http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN > > Of course you could always expend some time filling in a Green Card > lottery form for permanent residence in US (odds 1:100) rather than > expending the time on a complaint. Better to light a candle than curse > the darkness. > > http://www.usnis.org/ > > I have got my own back at times on Immigration types, once in Lagos > Nigeria I was asked for > dash ,mordida or baksheesh; to expedite my getting out of the country at > the airport. So I reached into my throwdown wallet (in case of robbery) > and pulled out a fistfull of Canadian Tire money > (these are discount coupons that look like money in amounts of 10 cents > through a dollar put out > by an a Canadian Automotive chain store) explained to the guy I didn't > have US cash but here was > Canadian money. I could barely keep a straight face. > > Shamil Salakhetdinov wrote: > > >Hi All, > > > >I'm sorry I'm writing about that here - I just went very crazy today about > >what they - Western Embassies and Consulates here and their bosses in Den > >Haage (Netherlands) are doing... > > > >Here is a fresh story: > > > >- I applied for business Visum (15 days of staying, one entry) several days > >ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: here > >in Consualate General they ACCEPTED this application for BUSINESS visum and > >they checked all the docs carefully) - to make that I prepared all the > >needed paperwork, get original invitation from my partner from Netherlands > >(DHL, second day delivery = rather expensive), even changed the passports to > >make them fresh new (some more bucks) because at first they said that the > >ones I had aren't good, PAID for their "services"(not that much but should > >be enough for a rather good dinner for three I think) and I started to > >wait... > >And BTW I spent quite some time on all that prepations and quite some > >bucks in total... > > > >Do you know what answer I've got today? (in fact my Netherland's partner was > >called from Den Haage - Ministry of Foreign Affairs) - they said I should > >have applied for TOURISTIC not BUSINESS visum because I plan to go with my > >kids but as I mentioned above here they CHECKED all the docs and ACCEPTED > >them... > > > >Should I fight with them looking for truth with the risk to be written in > >their "black lists" forever? > >Or should I give up and accept the "rules" of their game? - there is a whole > >business around them here - and one (including any kinds of criminals etc.) > >can buy for money any kind of Visum and freely enter West Europe or States > >or Canada... > > > >I wanted to make it direct and according to all the laws and I didn't want > >to pay to the "shadow business around them" any extra money - and I've got > >NOTHING - or I'd better say I and my partner in Netherlands got real > >mockery... And they were harsh not only with me - they were that hostile > >with my Netherland's partner too - how it comes? > > > >Shamil > > > >P.S. I know, probably Russian Embassies do something like that there in West > >Europe - but should it justify what they are doing here these ambassadors of > >"civilized" free world? > > > >-- > >e-mail: shamil at smsconsulting.spb.ru > >Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Mon Mar 10 09:55:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Mon Mar 10 09:55:00 2003 Subject: [AccessD] Replication Database, Speed Very Slow! SOLVED In-Reply-To: Message-ID: OOOPS, forgot to tell you how it was solved. Turns out having shared floppies or CDRoms causes a replication slow down. Here's the article. Thanks to Mike Kaplan the Replication and Internationalization Guru. http://trigeminal.com/usenet/usenet013.asp John Skolits -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication Database, Speed Very Slow! SOLVED -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Skolits Sent: Monday, March 10, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Replication Database, Speed Very Slow! I'm setting up a database for replication. I created a majority of the FE and now created a replica set. The database now crawls. I have a basic form that takes <1 second to open with the non replicated backend, and about 5 seconds with the replicated one. Not too big a deal, but I have a complex form with subforms on a different pages of a tab control (5 total subforms). Used to take about 4 seconds to load. Now it's 20 seconds. 30 seconds in design mode. What's up? Is there a fix? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Mar 10 10:03:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 10 10:03:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails In-Reply-To: <00bf01c2e68b$2970dbe0$b274d0d5@andypc> Message-ID: <000001c2e71e$6caf2d10$de1811d8@DanWaters> BeforeUpdate is a great method to prevent changes if a validation check requires that. The code below simply puts the focus where I want it, regardless of where it was to begin with. It can be used within a validation check, or anyplace you might find it useful. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Sunday, March 09, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails But if you cancel a BeforeUpdate you then don't need to set focus cos it never loses it. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: 09 March 2003 21:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Focus On Control When Validation Fails Rocky - If the focus is already on the control you are trying to set the focus to, setting the focus in code doesn't work. Try this: Replace txtStartingRoomNumber.SetFocus With '-- Does txtStartingRoomNumber already have the focus? If Screen.ActiveControl.Name <> txtStartingRoomNumber.Name Then txtStartingRoomNumber.SetFocus End If Note: Intellisense may try to change ActiveControl.Name to ActiveControl.Application - hold your ground and retype ActiveControl.Name over ActiveControl.Application. You need to determine the name of the control that has the focus. If you are on a subform or your form has a subform and this doesn't work there is a different solution. HTH, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, March 09, 2003 12:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Set Focus On Control When Validation Fails Dear List I have a couple of simple validation tests: If Not IsNumeric(Nz(txtStartingRoomNumber)) Then MsgBox "Starting Room Number Must Be Numeric.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If If Val(Nz(txtStartingRoomNumber)) > 9999999 Then MsgBox "Starting Room Number Must Be Less Than 7 Digits.", vbExclamation txtStartingRoomNumber.SetFocus Exit Sub End If in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus does not work. The focus ends up being set on the next control in the tab sequence. I tried the tests in the Lost Focus event with the same result. I know there must be a simple way to return the focus to the control but I can't see it. (Maybe I shouldn't work on Sunday but the kids are in Sunday school and it's quiet.) :) MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Mar 10 10:15:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 10:15:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: Message-ID: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> John: My result is weirder than yours. I have seven fields I put the validation code into the BeforeUpdate event (no need for .SetFocus, because the focus *in theory* never goes away from the control). I have a bunch of validation tests in a function: Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) If ValidationTests = False Then Cancel = True End Sub Works on three, fails on four. And I can't see ANY differences between the three that work and the four that don't. Could it be timing problem in the event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate event, see if that changes anything. Rocky Smolin Beach Access Software ----- Original Message ----- From: "John Clark" To: Sent: Monday, March 10, 2003 7:19 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > How weird...I am working on the exact same problem. I noticed that a > program that I am about to roll out accepts any date, in the many date > fields. Some of the dates need to be later than others that are there > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > Sheriff" field, and you cannot receive it before it is sent). > > I used the code: > > If datFromSheriff.Value < datToSheriff.Value Then > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > vbOKOnly, "Date Error" > datFromSheriff = "" > datFromSheriff.SetFocus > End If > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > "Before Update" (there now), and "After Update" events, but none worked. > It actually worked with "Lost Focus" but the SetFocus did not...it went > to the next field in the tab order. > > Did you get this working? > > John Clark > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > Dear List > > I have a couple of simple validation tests: > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > txtStartingRoomNumber.SetFocus > Exit Sub > End If > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > vbExclamation > txtStartingRoomNumber.SetFocus > Exit Sub > End If > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > does not work. The focus ends up being set on the next control in the > tab sequence. I tried the tests in the Lost Focus event with the same > result. > > I know there must be a simple way to return the focus to the control > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > in Sunday school and it's quiet.) :) > > MTIA, > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 10:30:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 10:30:00 2003 Subject: [AccessD] Installer wizard Message-ID: Do you have the Developers Edition? If not, you can't distribute a runtime app with any installer, free or otherwise, because you don't have a license to do so. If your customer has Access, you can give them a database. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Saturday, March 08, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Installer wizard Hello all: I have built an application in Access and want to burn it to a CD to give to my customer. Dose anyone know of an affordable Installation wizard that will create a folder at a default path and ask where the customer where he/she would like to install with a browse button? I'd like to give them the option to create a desktop shortcut or go to a web site for more options and things like that. I'm going for a professional look here and will negotiate some of my demands. Any suggestions? Scott ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 10 10:32:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 10:32:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> Message-ID: <011101c2e722$7aa2a920$6601a8c0@HAL9002> John: Turns out my results were not as weird as my programming. I had an error in the ValidationTests function. I wasn't returning False from the function on the fields that failed to work correctly when their validation test failed. Fixed it and now the code below works correctly on all fields. Yours should work as well. Does your BeforeUpdate event not work? (You don't, I think, need the .SetFocus). With much egg on face, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 8:15 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Mar 10 10:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 10:41:00 2003 Subject: [AccessD] Access and Crystal Reports Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8226E@main2.marlow.com> Interesting. The multithreading is taking place within the reporting engine, not the interpretted User code. Same with Access. Access is multi-threaded, VBA is not. Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Monday, March 10, 2003 3:15 AM To: AccessD Subject: Re: [AccessD] Access and Crystal Reports <<< Though CR doesn't allow for > multi-threaded programming in the background...does it? >>> Drew, I didn't try to do that but it might be possible based on the info in P.S of this message. > As far as VBA is concerned, > it would be a little difficult to create a > multi-threaded interpretted language. I would say this is MS who made it that way - DELPHI supports multi-threading since its first versions AFAIK - and the level of programming on DELPHI is higher than on VB/VBA IMO(well DELPHI is compiled language). What is the problem to make multi-threaded interpreted language? - the core of interpreter can easily control different threads - I don't see any technocal problems here - and you? What am I missing? (of course there should be more limitations with 'edit and continue' debugging mode but just limitations...) > VBA is still a very powerful tool in the Access arsenal. > (why would you want to multi-thread code behind a report anyways? See P.S. for the reasons... > There's something I couldn't come up with a scenario > for....at least not for a report...a form > would be something completely different.) As I noted ONE CR's drill-down 'live' report can well substitute several MS Access forms and reports - this is just a different reporting ideology, another almost parallel universe with higher level of technological evolution :) and with the gap from MS Access becoming more and more perceptible with every new release... Well, what was really bad in CR v.8.x - these are subreports(when you need a lot of them for one report) - and this is a known fact - and CR application developers managed to make advanced reports WITHOUT subreports - imagine that! - as in all areas in this life when you gain in one area you loose in another - so of course CR isn't 100% perfect... With MS Access forever! Shamil P.S. Some facts about CR: <<<+ quoting CR online line +>>>> Optimized, multithreaded Report Engine The Crystal Report Engine's enhanced multithreading capabilities and thread-safe database drivers allow you to continue working on your important tasks, while many other operations are processed simultaneously in the background. The Report Engine also minimizes the number of passes made through the data, speeds up processing with improved memory management, and handles subreports and parameters as efficiently as possible. <<<- quoting CR online line ->>>> AND... <<<+ quoting CR online line +>>>> Page-on-demand technology Page-on-demand report access lets users download only the specific report pages they need to see, thus improving response times and reducing web traffic. Further, placeholders and partial page technology allow you to view report pages and data over the Web immediately, without having to wait for the processing of large objects, such as graphics and subreports. <<<- quoting CR online line ->>>> FURTHER... <<<+ quoting CR online line +>>>> Scale with Crystal Enterprise Reports Crystal Enterprise extends the value and scalability of Crystal Reports. It provides eBusiness with a scalable, web-based solution for managing the access and delivery of hundreds or thousands of Crystal reports to every decision-maker-across the enterprise and beyond. Crystal Enterprise provides a flexible, managed reporting solution. It gives you the ability to deliver the report-design power of Crystal Reports, atop a scalable, web-based infrastructure for managing a central report repository, user security, and report scheduling and processing. <<<- quoting CR online line ->>>> And this isn't marketing hype or something like that - I've a colleague who because of his using C++ and of Crystal reports (and of course he is a very smart programmer) upsized to the IIS his very advanced payroll/HRM system system in SEVERAL weeks (less than a month) and he did all that ALONE. Short info is here - http://www.fincomplex.com/ - with real screenshots - and this software works in both modes: desktop or web-server based - one have to just load another saved configuration settings pointing to the URL of the WEB server... BTW, this his CR-based technology/framework of desktop/LAN/WAN/Web reporting can be reused... ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:40 AM Subject: RE: [AccessD] Access and Crystal Reports > I agree on all of your statements. (Though CR doesn't allow for > multi-threaded programming in the background...does it?) > > As far as VBA is concerned, it would be a little difficult to create a > multi-threaded interpretted language. You can make a VB multi-thread .exe, > but you can't run it in debug mode. > > VBA is still a very powerful tool in the Access arsenal. (why would you > want to multi-thread code behind a report anyways? There's something I > couldn't come up with a scenario for....at least not for a report...a form > would be something completely different.) > > Drew > <<< tail skipped for brevity >>> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Mar 10 10:50:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon Mar 10 10:50:01 2003 Subject: [AccessD] compatability between Windows XP and older versions of office pro ducts. Message-ID: <8213C1F49875D61195DA0002A5412A0301406D5F@mail.doe.state.fl.us> We are in the process of purchasing new computers at the office. The Department policy is new machines are installed with WindowsXP. Some folks have heard that Office 2000 running on WindowsXP has issues with opening documents which were created with Office 97 running on Windows 95. Anyone know anything about this problem? Also, regarding backwards compatability. Is there a problem with any of the products except Access with that? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 10 10:57:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 10 10:57:00 2003 Subject: [AccessD] compatability between Windows XP and older versions of office products. Message-ID: Susan, I have been running XP Pro with Office 2000 at home, almost since the day XP was released with no problems. I have Office 97 and Office 2000 installed and have yet to run across any problems. I'd be interested to heard of any issues that you run across as well. I'll also offer to check out a few documents for you, if you want, that were created in O97 under W95 to allay any fears or concerns. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Susan.Klos at fldoe.org 10-Mar-03 11:45:13 AM >>> We are in the process of purchasing new computers at the office. The Department policy is new machines are installed with WindowsXP. Some folks have heard that Office 2000 running on WindowsXP has issues with opening documents which were created with Office 97 running on Windows 95. Anyone know anything about this problem? Also, regarding backwards compatability. Is there a problem with any of the products except Access with that? From cfoust at infostatsystems.com Mon Mar 10 11:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 11:26:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: DoCmd.TransferText acExportMerge, , , , Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, March 10, 2003 12:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DoCmd or RunCommand ? Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 11:52:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 11:52:00 2003 Subject: [AccessD] normalization question Message-ID: I tend to do it at the time so I don't forget. Of course, as we get older our memory ... Uh, what was I saying? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Sunday, March 09, 2003 3:36 PM To: AccessD at databaseadvisors.com Subject: [AccessD] normalization question When you remove a field to another table (for whatever reason), do you immediately create the foreign key in the original table, or do you wait until you've completely normalized each table and then return to the tables and insert all the foreign keys then? I tend to do it later because the nature of a single field can change. Does anyone know if the relational model requires a particular routine? Just curious. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 10 11:59:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 11:59:00 2003 Subject: [AccessD] compact on close References: <02ca01c2e672$aa135890$e7e6ffcc@SusanOne> <00dc01c2e6b7$cfa49a70$6101a8c0@amd2k512> Message-ID: <02eb01c2e72d$1bc0cd00$f0e6ffcc@SusanOne> That's what I was looking for -- thanks William! Susan H. > ...if it will save at least 256Kb, it compacts ...HTH :) > http://www.zdnetindia.com/help/specials/officetips/stories/17453.html > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke From martyconnelly at shaw.ca Mon Mar 10 11:59:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 11:59:36 2003 Subject: [AccessD] Office 11 or 2003 Beta Shipping References: Message-ID: <3E6CD230.80205@shaw.ca> I posted this off to several other people; might be of interest here. Thought some people would get a chuckle out of a pound of CD's http://www.microsoft.com/office/preview/orderbeta.asp The beta kit's aforementioned 15 discs include a single disc holding Word, Excel, Outlook, PowerPoint, and Access, and individual CDs for FrontPage, Publisher, and two new apps, OneNote and InfoPath. The CDs also include Windows Server 2003 Enterprise Edition, Windows SharePoint Services, Windows SharePoint Portal Server 2.0, and Exchange Server 2003. There's also a separate disc for Outlook 2003 with Business Contact Manager. You may need a previously installed Sharepoint Server installed to get Sharepoint active. Otherwise known as Access 11 Beta software expires Dec 1 2003 Cost shipping and handling around $27 snail mail or $37 UPS plus whatever your customs tacks on The CDs also include Windows Server 2003 Enterprise Edition, Windows SharePoint Services, Windows SharePoint Portal Server 2.0, and Exchange Server 2003. There's also a separate disc for Outlook 2003 with Business Contact Manager, which is different from the stock version most everyone uses. What these server discs enable, and what makes Office 2003 special, are the collaboration features. Based on Microsoft's SharePoint technology, the suite enables users to collaborate on documents and hold meetings in ways not easily possible before. short blurb on installation http://www.zdnet.com/anchordesk/stories/story/0,10738,2912398,00.html From jeffrey.demulling at usbank.com Mon Mar 10 12:02:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon Mar 10 12:02:00 2003 Subject: [AccessD] Jeffrey F Demulling/MN/USB is out of the office. Message-ID: I will be out of the office starting 03/10/2003 and will not return until 03/17/2003. I will respond to your message when I return. Please contact Matt Lehmann (651) 244-8861 or Chris Kremmin (651) 244-4831 if you have an urgent matter. From harkins at iglou.com Mon Mar 10 12:06:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 12:06:01 2003 Subject: [AccessD] normalization question References: Message-ID: <035e01c2e72f$9f0b6b00$f0e6ffcc@SusanOne> Bill just asked me what channel my show comes on (it's a soap that I watch only on Mondays cause the kids are here the rest of the week) and I responded "Chapter 11..." I need a vacation. Susan H. > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? From bchacc at san.rr.com Mon Mar 10 12:07:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 12:07:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> Dear List I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 10 12:10:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 12:10:00 2003 Subject: [AccessD] Iterating Controls In-Reply-To: <000101c2e70e$c71e10f0$59380cd8@hargrove.internal> Message-ID: <00ca01c2e730$2bbba740$8e01a8c0@Rock> Thanks. I was experimenting with the Properties("propname") syntax and couldn't nail it down. I'll keep trying. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: March 10, 2003 9:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Arthur, The RowSourceType is a string and doesn't use constants. The dropdown is apparently a value list composed of string choices. So whatever the text is, that is what you would use for the constant. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, March 10, 2003 08:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Iterating Controls Ok my code is working now. Just one more detail to take care of... I'm looking for the constants that define the row source types of combos and listboxes. Specifically I want the one that equals "table/view/stored proc". TIA, Arthur P.S. The RTF format comes about from replying to an RTF format message. Sorry about that. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: March 9, 2003 10:56 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Iterating Controls "clearly I am now dazed and confused" Arthur ...been telling you that for years :) ...and for heavens sake, turn off the rtf format :( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 10 12:21:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 12:21:00 2003 Subject: [AccessD] Expand the Immediate Window Buffer? Message-ID: <00cf01c2e731$c4957c60$8e01a8c0@Rock> I am not sure how many lines the immediate window saves, but I want it to save more. Is there a setting to control this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 12:26:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 12:26:01 2003 Subject: [AccessD] Office 11 or 2003 Beta Shipping In-Reply-To: <3E6CD230.80205@shaw.ca> References: <3E6CD230.80205@shaw.ca> Message-ID: <1047320714.3e6cd88b0047a@hosea.qub.ac.uk> If you have the hardware I advise installing .NET server and SharePoint. FrontPage2003 has major changes and working with Sharepoint as its application server the types of data you can bind to a web page is excellent. FP 2003 also contains the worlds only WYSIWYG XSLT editor. Anyone who has worked with XSLT will realise how useful this is. You can also work with XML, Oracle, SQL Server, Access, .NET, ASP I was very impressed with FP 2003 and Sharepoint. Cant say Access impressed me that much but the XML features of Office in general are good. Martin From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 12:35:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 12:35:00 2003 Subject: [AccessD] normalization question In-Reply-To: References: Message-ID: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait > until you've completely normalized each table and then return to the > tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 John.Clark at niagaracounty.com Mon Mar 10 12:39:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 10 12:39:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails Message-ID: I put the following in the "Before Update" event: If datFromSheriff.Value < datToSheriff.Value Then MsgBox "The return date cannot be previous to the Sent to Sheriff date", vbOKOnly, "Date Error" Cancel = True Me!datFromSheriff.Undo datFromSheriff = "" datFromSheriff.SetFocus End If And it now works fine. I actually got it after reading Andy's suggestion about "Cancel." I meant to send an Email that I got it, but I was called away from my desk for a couple of hours. Thanks! John W Clark >>> bchacc at san.rr.com 03/10/03 11:31AM >>> John: Turns out my results were not as weird as my programming. I had an error in the ValidationTests function. I wasn't returning False from the function on the fields that failed to work correctly when their validation test failed. Fixed it and now the code below works correctly on all fields. Yours should work as well. Does your BeforeUpdate event not work? (You don't, I think, need the .SetFocus). With much egg on face, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 8:15 AM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 10 12:53:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 12:53:00 2003 Subject: [AccessD] normalization question References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> Message-ID: <03c601c2e736$36e85040$f0e6ffcc@SusanOne> Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. The > theory is that the data is normalised before you actually create the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do you > > immediately create the foreign key in the original table, or do you > > wait > > until you've completely normalized each table and then return to the > > tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > 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 szeller at cce.umn.edu Mon Mar 10 12:55:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Mon Mar 10 12:55:00 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: I'm not familiar with the Static flag. Can you explain how this works and how I implement it? Couldn't find anything by this title in help. Thanks. --Susan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 5:55 PM To: Susan Zeller; accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close > seem like 3 obvious choices depending on what you're doing in the > code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an > Acess XP ADP in Access 2002 format. I want to run a bit of code on > start of the application so I created a macro called AutoExec which > has one step: RunCode and in it I call a function called LOAD which is > public and is in a module. When I start my application, it says it > can't find Load. What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 13:10:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 13:10:01 2003 Subject: [AccessD] normalization question In-Reply-To: <03c601c2e736$36e85040$f0e6ffcc@SusanOne> References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> <03c601c2e736$36e85040$f0e6ffcc@SusanOne> Message-ID: <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> When making the list before its finalised. I would generally take the user or who ever over the diagrams etc and get agreement before actually doing anything. FKs etc all go in to the diagrams. That way you dont forget to do them when you come to build the tables. Martin Quoting Susan Harkins : > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the structures. > The > > theory is that the data is normalised before you actually create the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we > get > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > you > > > immediately create the foreign key in the original table, or do > you > > > wait > > > until you've completely normalized each table and then return to > the > > > tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > 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 DWUTKA at marlow.com Mon Mar 10 13:15:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 13:15:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82271@main2.marlow.com> Is the file marked as read only? (The file you are exporting too.) Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 10, 2003 12:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] TransferText Failling Dear List I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Mon Mar 10 13:16:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon Mar 10 13:16:00 2003 Subject: [AccessD] TransferText Failling Message-ID: Hi Rocky, What is the extension of the filename you are trying to export to? Remember that Access is particular about that and will only export to .txt or .csv or .tab or a couple other magic extensions. Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] TransferText Failling >Date: Mon, 10 Mar 2003 10:07:04 -0800 > >Dear List > >I'm trying to use the TransferText method of exporting a table to a comma >delimited file. I get "Error 3027: Cannot Update. Database or object is >read-only" when issuing: > >DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > >where varFileName contains a valid path and file name. Has anyone seen >this before? I have but can't remember why or what the fix was. > >MTIA, > >Rocky Smolin >Beach Access Software > > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From sgsax at ksu.edu Mon Mar 10 13:31:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 13:31:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> Message-ID: <1047324695.4534.270.camel@sgsax-th4022c> Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From sgsax at ksu.edu Mon Mar 10 13:36:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 13:36:00 2003 Subject: [AccessD] normalization question In-Reply-To: <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> References: <1047321257.3e6cdaa90af4d@hosea.qub.ac.uk> <03c601c2e736$36e85040$f0e6ffcc@SusanOne> <1047323404.3e6ce30cf190e@hosea.qub.ac.uk> Message-ID: <1047324943.4590.279.camel@sgsax-th4022c> I just did this for a potential client. It started out with an email they sent describing what they wanted from the application. I analyzed it and took into account what I knew about their organization. I then put together an ER diagram and a long-hand list of tables, fields, types, and notes regarding keys. This is what I presented the client with as my base starting point. We discussed it and they made suggestions and/or clarifications on some of the points. As soon as they sign the contract, I'm ready to run with it with little or no table modification from here on out. Seth On Mon, 2003-03-10 at 13:10, Mwp.Reid at Queens-Belfast.AC.UK wrote: > When making the list before its finalised. I would generally take the user or > who ever over the diagrams etc and get agreement before actually doing anything. > > FKs etc all go in to the diagrams. That way you dont forget to do them when you > come to build the tables. > > Martin > > Quoting Susan Harkins : > > > Yes, I agree... > > > > but in the process of making your paper lists -- when? > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Monday, March 10, 2003 1:34 PM > > Subject: RE: [AccessD] normalization question > > > > > > > > > > you do it before turning the PC on when your designing the structures. > > The > > > theory is that the data is normalised before you actually create the > > tables > > > physically. > > > > > > Martin > > > > > > (<: > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > > get > > > > older our memory ... Uh, what was I saying? > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > When you remove a field to another table (for whatever reason), do > > you > > > > immediately create the foreign key in the original table, or do > > you > > > > wait > > > > until you've completely normalized each table and then return to > > the > > > > tables and insert all the foreign keys then? > > > > > > > > I tend to do it later because the nature of a single field can > > change. > > > > > > > > Does anyone know if the relational model requires a particular > > > > routine? > > > > > > > > Just curious. > > > > > > > > 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 -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Mon Mar 10 13:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 13:43:00 2003 Subject: [AccessD] normalization question Message-ID: Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 martyconnelly at shaw.ca Mon Mar 10 13:46:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 13:46:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> Message-ID: <3E6CEB38.404@shaw.ca> I would complain (umm... make a request for clarification or advice) to the Head Office rather than locally. "Better to complain to the organ grinder than the monkey". This is an English aphorism referring to street buskers who would play a portable windup organ and have a little monkey running around with a cup to collect spare change. Here is the mailing address for Ministry in the Hague The Netherlands Ministry of Foreign Affairs Visitors Address: Bezuidenhoutseweg 67, The Hague tel. +31 70 3486486; fax. + 31 70 3484848; The Netherlands Ministry of Foreign Affairs Postal Address: PO Box 20061 2500 EB The Hague Or email complaint page http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X2X55346X5 or If you have any questions, please check the Frequently Asked Questions first. If you have still not found an answer to your question, then you can call the Communication department on weekdays from 9 a.m. to 12:30 p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. see: in english Visa Applications http://www.immigratiedienst.nl/ Probably a phone call to their communication department in external affairs for clarification would quickly resolve the matter. They aren't clear on their forms about very short business trips or actually working for a company on a 3 month contract or a business man who goes to Holland to solicit business and takes along his wife so she can shop or sitesee or a technician who goes to Holland to repair a machine. A 10 minute phone call to Europe from Canada only costs a little over a dollar, I don't know about your costs. Also when you applied, Holland was going through a National election where one of the major topics was Illegal Immigration and assylum seekers. So there may have been political direction to be hesitant or over zealous in the checking of visas, to avoid political embarassment to the powers that be, during the election period. This wasn't hard for me to check up. I was a Civil (Silly) Servant for a few years and can find my way around . You do learn skills as a civil servant. Things like reading upside down and backwards so you can read a letter on a desk you are not supposed to see. I can carry two passports EU and Canadian and still get into trouble over there with the regulations. Shamil Salakhetdinov wrote: >THNX for your info Marty! >Very much appreciated! > > > >> it isn't worth the hassle to complain >>about some minor functionary or bureaucrat >> >> >OK, I decided to reapply for the Visum if they are asking to do so but I'd >like to have some documents left on my hands(unfortunately I didn't make the >copy of the first Visa application) > >I'd like to write a letter to the head of the Consulate-General with request >for their help of solving this small misapprehension ASAP - how should I >proceed with them to let me to pass this letter to him and to allow me to >meet with him/his representative and to officially register my letter with >help request and explanation (my vision) of situation (of course without any >complaints)? > > > >>filling in a Green Card lottery form for permanent >>residence in US (odds 1:100) >> >> >You propose me to immigrate to the States? A plenty of work there and a room >for five people? - I still prefer to stay here in Russia and find a way to >freely travel around the World - should be doable but needs some time to >solve this without immigration to the States... > >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: >Sent: Sunday, March 09, 2003 4:48 AM >Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > >>I would write it off as the cost of doing business, it isn't worth the >>hassle to complain about some minor functionary or bureaucrat who >>probably doesn't understand all the rules and is too afraid to ask. I >>have run into the same thing with Canadian External Affairs in embassies >>overseas and got into arguments, only to find out it was local citizens >>handling the Visa sections run by one Canadian national who was too busy >>to oversee them what with all his demands of having to attend functions >>at the local Jockey club and golf course. Lodging a complaint against >>External Affairs is generally useless unless you threaten them with a >>press expose or high political action from their minister. >> I would get your partner to complain through his Dutch member of >>parliament, if you really >>wanted to raise the issue further. >> >> By the way the here is a description and cost of a Schengen Visa plus a >>pdf of the form from Dutch >>embassy in Washington. >> >>http://www.netherlands-embassy.org/article.asp?articleref=AR00000396EN >> >> Of course you could always expend some time filling in a Green Card >>lottery form for permanent residence in US (odds 1:100) rather than >>expending the time on a complaint. Better to light a candle than curse >>the darkness. >> >> http://www.usnis.org/ >> >> I have got my own back at times on Immigration types, once in Lagos >>Nigeria I was asked for >>dash ,mordida or baksheesh; to expedite my getting out of the country at >>the airport. So I reached into my throwdown wallet (in case of robbery) >>and pulled out a fistfull of Canadian Tire money >>(these are discount coupons that look like money in amounts of 10 cents >>through a dollar put out >>by an a Canadian Automotive chain store) explained to the guy I didn't >>have US cash but here was >>Canadian money. I could barely keep a straight face. >> >>Shamil Salakhetdinov wrote: >> >> >> >>>Hi All, >>> >>>I'm sorry I'm writing about that here - I just went very crazy today >>> >>> >about > > >>>what they - Western Embassies and Consulates here and their bosses in Den >>>Haage (Netherlands) are doing... >>> >>>Here is a fresh story: >>> >>>- I applied for business Visum (15 days of staying, one entry) several >>> >>> >days > > >>>ago for me and my two children(15 and 17 years old) (IMPORTANT NOTE: >>> >>> >here > > >>>in Consualate General they ACCEPTED this application for BUSINESS visum >>> >>> >and > > >>>they checked all the docs carefully) - to make that I prepared all the >>>needed paperwork, get original invitation from my partner from >>> >>> >Netherlands > > >>>(DHL, second day delivery = rather expensive), even changed the passports >>> >>> >to > > >>>make them fresh new (some more bucks) because at first they said that the >>>ones I had aren't good, PAID for their "services"(not that much but >>> >>> >should > > >>>be enough for a rather good dinner for three I think) and I started to >>>wait... >>>And BTW I spent quite some time on all that prepations and quite some >>>bucks in total... >>> >>>Do you know what answer I've got today? (in fact my Netherland's partner >>> >>> >was > > >>>called from Den Haage - Ministry of Foreign Affairs) - they said I should >>>have applied for TOURISTIC not BUSINESS visum because I plan to go with >>> >>> >my > > >>>kids but as I mentioned above here they CHECKED all the docs and ACCEPTED >>>them... >>> >>>Should I fight with them looking for truth with the risk to be written in >>>their "black lists" forever? >>>Or should I give up and accept the "rules" of their game? - there is a >>> >>> >whole > > >>>business around them here - and one (including any kinds of criminals >>> >>> >etc.) > > >>>can buy for money any kind of Visum and freely enter West Europe or >>> >>> >States > > >>>or Canada... >>> >>>I wanted to make it direct and according to all the laws and I didn't >>> >>> >want > > >>>to pay to the "shadow business around them" any extra money - and I've >>> >>> >got > > >>>NOTHING - or I'd better say I and my partner in Netherlands got real >>>mockery... And they were harsh not only with me - they were that hostile >>>with my Netherland's partner too - how it comes? >>> >>>Shamil >>> >>>P.S. I know, probably Russian Embassies do something like that there in >>> >>> >West > > >>>Europe - but should it justify what they are doing here these ambassadors >>> >>> >of > > >>>"civilized" free world? >>> >>>-- >>>e-mail: shamil at smsconsulting.spb.ru >>>Web: http://www.smsconsulting.spb.ru/shamil_s >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Mon Mar 10 13:46:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 13:46:59 2003 Subject: [AccessD] AutoExec Macro Question Message-ID: You dim a boolean as static inside the routine. One you set it, it stays set for that session. Static fConnection As Boolean Charlotte Foust -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Monday, March 10, 2003 10:54 AM To: accessd at databaseadvisors.com Subject: re: [AccessD] AutoExec Macro Question I'm not familiar with the Static flag. Can you explain how this works and how I implement it? Couldn't find anything by this title in help. Thanks. --Susan -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 06, 2003 5:55 PM To: Susan Zeller; accessd at databaseadvisors.com Subject: RE: [AccessD] AutoExec Macro Question Use a STATIC flag in the function and only create the connection the first time the function is run. Then you can safely call it from the splash screen no matter how many times the splash screen is opened. > Chris, > > I know, I know! I have never used a Macro before, but in this case, > my splash screen is also my main menu page and so users return to it > over and over. The code that I wanted to call in the Autoexec Marco > creates a connetion to my SQL Server using "Application Role" > security. The way this works, I can only run this code once during > the application. If it's called a second time, it gives an error. > > I changed the name of the function from Load to basLoad can put > basLoad() in the macro. None of that works. So, I'm building a > separate splash screen and putting the basLoad on open of that form. > > Still seems a mystery to me, though. > > --Susan > > -----Original Message----- > From: Chris Mackin [mailto:chris at denverdb.com] > Sent: Wednesday, March 05, 2003 4:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] AutoExec Macro Question > > > "What am I doing wrong?" > > Using a Macro. Assuming you have a startup form selected you can call > that code from any of the events of that form, Open, Load or Close > seem like 3 obvious choices depending on what you're doing in the > code. > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Zeller > Sent: Wednesday, March 05, 2003 3:30 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] AutoExec Macro Question > > > I'm trying to use an AutoExec macro for the first time. I have an > Acess XP ADP in Access 2002 format. I want to run a bit of code on > start of the application so I created a macro called AutoExec which > has one step: RunCode and in it I call a function called LOAD which is > public and is in a module. When I start my application, it says it > can't find Load. What am I doing wrong? > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 10 13:49:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 13:49:00 2003 Subject: [AccessD] normalization question Message-ID: Susan, Whether you do it on paper or on the PC, it usually is an iterative process, at least in my experience. By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. And you will notice that some data fields split over several tables should be combined into one table. It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 12:50 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. > The theory is that the data is normalised before you actually create > the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do > > you immediately create the foreign key in the original table, or do > > you wait until you've completely normalized each table and then > > return to the tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can > > change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > Susan H. From harkins at iglou.com Mon Mar 10 13:59:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 13:59:00 2003 Subject: [AccessD] normalization question References: Message-ID: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along you > will discover that one or more of the tables you have already designed > needs to be split since some of the data fields apply only to the > subject of the table while other data fields does not. And you will > notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we get > > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > > > you immediately create the foreign key in the original table, or do > > > you wait until you've completely normalized each table and then > > > return to the tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > > > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > Susan H. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From steve.grant at stgsolutions.com Mon Mar 10 14:08:00 2003 From: steve.grant at stgsolutions.com (Steve Grant) Date: Mon Mar 10 14:08:00 2003 Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Message-ID: Hi Arthur, Yeah! Works like a charm. Here is what I did in case someone else gets the same error: I created a new module (I called it bas_StaticFunctions) Created the two functions: Static Function StartDate() As Date StartDate = CDate(Forms.frm_Param.txt_StartInvoiceDate) End Function Static Function EndDate() As Date EndDate = CDate(Forms.frm_Param.txt_EndInvoiceDate) End Function In the criteria section of the query I put: Between StartDate() And EndDate() Note: The form "frm_Param" as to be opened in order for this to work. Note also that no validation is made in the functions StartDate() and EndDate() so validation for dates has to be done at the form level. Thanks a million! Steve -----Message d'origine----- De : accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]De la part de Arthur Fuller Envoye : Monday, March 10, 2003 09:01 A : accessd at databaseadvisors.com Objet : RE: [AccessD] Crosstab Querry with parameter on Form (A97) IME the best way to get around the limits of crosstab queries is to first create a query that gets all the data you need, then create a crosstab query that uses the first query as its source. Capture the values from your form using static functions, and then call those in the first query. The crosstab won't even see them. If you're unfamiliar with static functions, search the message base and you should find several messages in which I describe their purpose and use. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Steve Grant Sent: March 10, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Crosstab Querry with parameter on Form (A97) Access 97 Hi all, I am running into a problem that eludes me. I have a query that uses a form to get it's parameters. This is what's in the criteria section of the query. Between [forms].[frm_Param]![txt_StartInvoiceDate] And [forms]![frm_Param].[txt_EndInvoiceDate] When I run that query, everything works fine, i.e. the correct records are displayed. But, when I use that query in a crosstab query, I get the following error msg: "The Microsoft Jet Database engine does not recognise [forms].[frm_Param]![txt_StartInvoiceDate] as a valid field or expression." The crosstab query works fine if I use dates instead of a reference to a field on a form. So if I put: Between #01/01/2003# And #01/31/2003# in the non crosstab query, the crosstab query works fine. I tried putting the criteria directly in the crosstab query and I get the same error msg. Anyone as an idea why this is hapening? Thanks, Steve From cfoust at infostatsystems.com Mon Mar 10 14:12:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 14:12:01 2003 Subject: [AccessD] normalization question Message-ID: Until recently, I liked to use Visio to design the schema. When I created a relationship between to tables, it would automagically insert the foreign keys. I actually liked version 5 better because it forced you to use unique field names in the schema and ONLY allowed foreign keys to use the same name when you created them by creating a relationship. Unfortunately, I lost the old, old disk 1 and can no longer install Visio 2002 on my machine because I can't give it a CD it recognizes as qualifying. Beside, MS took some of my favorite functionality (forward engineering) out of the Pro version and put it in Enterprise only :o{ Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 10, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along > you will discover that one or more of the tables you have already > designed needs to be split since some of the data fields apply only to > the subject of the table while other data fields does not. And you > will notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the > > structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin > > > > (<: > > > > > > > > Quoting Charlotte Foust : > > > > > I tend to do it at the time so I don't forget. Of course, as we > > > get > > > > older our memory ... Uh, what was I saying? > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Sunday, March 09, 2003 3:36 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] normalization question > > > > > > > > > When you remove a field to another table (for whatever reason), do > > > you immediately create the foreign key in the original table, or > > > do you wait until you've completely normalized each table and then > > > return to the tables and insert all the foreign keys then? > > > > > > I tend to do it later because the nature of a single field can > > > change. > > > > > > Does anyone know if the relational model requires a particular > > > routine? > > > > > > Just curious. > > > > > > 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 CWortz at tea.state.tx.us Mon Mar 10 14:19:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 14:19:01 2003 Subject: [AccessD] normalization question Message-ID: Susan, Those (FK's) I already know about I add as I get to them. Those I don't know about I have to go back and add later. It's all part of the iterative process. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 13:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question I agree with your Charles. It's the smart developer that can jump right in and create those tables with little or no thought to design before starting. I wouldn't attempt it. I'm just curious about the foreign keys though at this point -- more so than the actual design process. For whatever reason, I seem to remove fields until all my tables are set. Then, I go back and relate the tables by inserting foreign keys, and I'm just curious what others do. Susan H. > Susan, > > Whether you do it on paper or on the PC, it usually is an iterative > process, at least in my experience. By that I mean as you go along > you will discover that one or more of the tables you have already > designed needs to be split since some of the data fields apply only to > the subject of the table while other data fields does not. And you > will notice that some data fields split over several tables should be > combined into one table. > > It would be a very simple application, or a very astute individual, > where all the relationships are obvious from the beginning. > > Charles Wortz > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday 2003 Mar 10 12:50 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] normalization question > > Yes, I agree... > > but in the process of making your paper lists -- when? > > > ----- Original Message ----- > From: > To: > Sent: Monday, March 10, 2003 1:34 PM > Subject: RE: [AccessD] normalization question > > > > > > you do it before turning the PC on when your designing the > > structures. > > > The theory is that the data is normalised before you actually create > > the > tables > > physically. > > > > Martin From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 14:19:16 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 14:19:16 2003 Subject: [AccessD] normalization question In-Reply-To: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> Message-ID: <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> In the design you include the FKs. Matter of course. Least I do. Particulary if your using a case tool to do the ERs etc. Martin Quoting Susan Harkins : > I agree with your Charles. It's the smart developer that can jump right > in > and create those tables with little or no thought to design before > starting. > I wouldn't attempt it. > > I'm just curious about the foreign keys though at this point -- more so > than > the actual design process. > > For whatever reason, I seem to remove fields until all my tables are > set. > Then, I go back and relate the tables by inserting foreign keys, and > I'm > just curious what others do. > > Susan H. > > > > Susan, > > > > Whether you do it on paper or on the PC, it usually is an iterative > > process, at least in my experience. By that I mean as you go along > you > > will discover that one or more of the tables you have already > designed > > needs to be split since some of the data fields apply only to the > > subject of the table while other data fields does not. And you will > > notice that some data fields split over several tables should be > > combined into one table. > > > > It would be a very simple application, or a very astute individual, > > where all the relationships are obvious from the beginning. > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Monday 2003 Mar 10 12:50 > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] normalization question > > > > Yes, I agree... > > > > but in the process of making your paper lists -- when? > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Monday, March 10, 2003 1:34 PM > > Subject: RE: [AccessD] normalization question > > > > > > > > > > you do it before turning the PC on when your designing the > structures. > > > > > The theory is that the data is normalised before you actually > create > > > the > > tables > > > physically. > > > > > > Martin > > > > > > (<: > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > get > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > When you remove a field to another table (for whatever reason), > do > > > > you immediately create the foreign key in the original table, or > do > > > > you wait until you've completely normalized each table and then > > > > return to the tables and insert all the foreign keys then? > > > > > > > > I tend to do it later because the nature of a single field can > > > > change. > > > > > > > > Does anyone know if the relational model requires a particular > > > > routine? > > > > > > > > Just curious. > > > > > > > > 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 wdhindman at bellsouth.net Mon Mar 10 14:24:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 10 14:24:00 2003 Subject: [AccessD] Iterating Controls References: <009b01c2e70b$079c1040$8e01a8c0@Rock> Message-ID: <009401c2e742$ed286320$6101a8c0@amd2k512> ...but you can change the reply format to text :( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Arthur Fuller" To: Sent: Monday, March 10, 2003 8:43 AM Subject: RE: [AccessD] Iterating Controls > Ok my code is working now. Just one more detail to take care of... I'm > looking for the constants that define the row source types of combos and > listboxes. Specifically I want the one that equals "table/view/stored proc". > TIA, > Arthur > P.S. > The RTF format comes about from replying to an RTF format message. Sorry > about that. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman > Sent: March 9, 2003 10:56 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Iterating Controls > > "clearly I am now dazed and confused" Arthur > > ...been telling you that for years :) > > ...and for heavens sake, turn off the rtf format :( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Mar 10 14:24:16 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon Mar 10 14:24:16 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> Message-ID: <000d01c2e742$f2e70780$b501010a@DAISY.local> THNX Marty, I will give it another try to solve the problem without complaints - if no result then maybe I will go compainingt o the Head Office. But the chances are very high that they will not accept any of my complaints and will play fool - or you've any success stories when complaints helped to solve the situations like that mine? TIA for any additional info, Shamil ----- Original Message ----- From: "MartyConnelly" To: Sent: Monday, March 10, 2003 10:44 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > I would complain (umm... make a request for clarification or advice) to > the Head Office rather than locally. "Better to complain to the organ > grinder than the monkey". This is an English aphorism > referring to street buskers who would play a portable windup organ and > have a little monkey running around with a cup to collect spare change. > > Here is the mailing address for Ministry in the Hague > The Netherlands Ministry of Foreign Affairs > > Visitors Address: > Bezuidenhoutseweg 67, The Hague > tel. +31 70 3486486; > fax. + 31 70 3484848; > > The Netherlands Ministry of Foreign Affairs > Postal Address: > PO Box 20061 > 2500 EB The Hague > > Or email complaint page > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X 2X55346X5 > or > > If you have any questions, please check the Frequently Asked Questions > first. If you have still not found an answer to your question, then you > can call the Communication department on weekdays from 9 a.m. to 12:30 > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > see: in english Visa Applications > > http://www.immigratiedienst.nl/ > > Probably a phone call to their communication department in external > affairs for clarification would quickly resolve the matter. They aren't > clear on their forms about very short business trips or actually working > for a company on a 3 month contract or a business man who goes to > Holland to solicit business and takes along his wife so she can shop or > sitesee or a technician who goes to Holland to repair a machine. A 10 > minute phone call to Europe from Canada only costs a little over a dollar, > I don't know about your costs. > > Also when you applied, Holland was going through a National election > where one of the major topics was Illegal Immigration and assylum > seekers. So there may have been political direction to be hesitant or > over zealous in the checking of visas, to avoid political embarassment > to the powers that be, during the election period. > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > few years and can find my way around . You do learn skills as a civil > servant. Things like reading upside down and backwards > so you can read a letter on a desk you are not supposed to see. I can > carry two passports EU and Canadian and still get into trouble over > there with the regulations. > > > Shamil Salakhetdinov wrote: > > >THNX for your info Marty! > >Very much appreciated! > > > > > > > >> it isn't worth the hassle to complain > >>about some minor functionary or bureaucrat > >> > >> > >OK, I decided to reapply for the Visum if they are asking to do so but I'd > >like to have some documents left on my hands(unfortunately I didn't make the > >copy of the first Visa application) > > > >I'd like to write a letter to the head of the Consulate-General with request > >for their help of solving this small misapprehension ASAP - how should I > >proceed with them to let me to pass this letter to him and to allow me to > >meet with him/his representative and to officially register my letter with > >help request and explanation (my vision) of situation (of course without any > >complaints)? > > > > > > > >>filling in a Green Card lottery form for permanent > >>residence in US (odds 1:100) > >> > >> > >You propose me to immigrate to the States? A plenty of work there and a room > >for five people? - I still prefer to stay here in Russia and find a way to > >freely travel around the World - should be doable but needs some time to > >solve this without immigration to the States... > > > >Shamil > > <<< tail skipped for brevity >>> From harkins at iglou.com Mon Mar 10 14:31:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon Mar 10 14:31:00 2003 Subject: [AccessD] normalization question References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> Message-ID: <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> In the design, yes -- I do too. I think I'm not making my question very clear. :) Susan H. > In the design you include the FKs. Matter of course. Least I do. Particulary if > your using a case tool to do the ERs etc. > > Martin > > > Quoting Susan Harkins : > > > I agree with your Charles. It's the smart developer that can jump right > > in > > and create those tables with little or no thought to design before > > starting. > > I wouldn't attempt it. > > > > I'm just curious about the foreign keys though at this point -- more so > > than > > the actual design process. > > > > For whatever reason, I seem to remove fields until all my tables are > > set. > > Then, I go back and relate the tables by inserting foreign keys, and > > I'm > > just curious what others do. > > > > Susan H. > > > > > > > Susan, > > > > > > Whether you do it on paper or on the PC, it usually is an iterative > > > process, at least in my experience. By that I mean as you go along > > you > > > will discover that one or more of the tables you have already > > designed > > > needs to be split since some of the data fields apply only to the > > > subject of the table while other data fields does not. And you will > > > notice that some data fields split over several tables should be > > > combined into one table. > > > > > > It would be a very simple application, or a very astute individual, > > > where all the relationships are obvious from the beginning. > > > > > > Charles Wortz > > > Software Development Division > > > Texas Education Agency > > > 1701 N. Congress Ave > > > Austin, TX 78701-1494 > > > 512-463-9493 > > > CWortz at tea.state.tx.us > > > > > > > > > > > > -----Original Message----- > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > Sent: Monday 2003 Mar 10 12:50 > > > To: accessd at databaseadvisors.com > > > Subject: Re: [AccessD] normalization question > > > > > > Yes, I agree... > > > > > > but in the process of making your paper lists -- when? > > > > > > > > > ----- Original Message ----- > > > From: > > > To: > > > Sent: Monday, March 10, 2003 1:34 PM > > > Subject: RE: [AccessD] normalization question > > > > > > > > > > > > > > you do it before turning the PC on when your designing the > > structures. > > > > > > > The theory is that the data is normalised before you actually > > create > > > > the > > > tables > > > > physically. > > > > > > > > Martin > > > > > > > > (<: > > > > > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > > > I tend to do it at the time so I don't forget. Of course, as we > > get > > > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > > > > When you remove a field to another table (for whatever reason), > > do > > > > > you immediately create the foreign key in the original table, or > > do > > > > > you wait until you've completely normalized each table and then > > > > > return to the tables and insert all the foreign keys then? > > > > > > > > > > I tend to do it later because the nature of a single field can > > > > > change. > > > > > > > > > > Does anyone know if the relational model requires a particular > > > > > routine? > > > > > > > > > > Just curious. > > > > > > > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 10 14:45:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 10 14:45:01 2003 Subject: [AccessD] normalization question In-Reply-To: <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> References: <047a01c2e73f$7e37b090$f0e6ffcc@SusanOne> <1047327470.3e6cf2ef052db@hosea.qub.ac.uk> <04ce01c2e743$e6d02160$f0e6ffcc@SusanOne> Message-ID: <1047329086.3e6cf93e8f323@hosea.qub.ac.uk> As Charles says As you work over the data you begin to vreate tables etc. As you draw up the diagrams you begin to work out relationships. If I know a relationship I put the FKs in. As you repeat the prcess breaking down the data and creating relationships you add the FKs. If your using case tools you must add the FKs in oreder to get the software to create the relationships/ If you are using normilisation the FKs are created as you carry out each NF. But again its a discovery process and I would place the FKs in each entity as required as I go rather than have to go back to perhpas 200 tables and do it then. Martin Quoting Susan Harkins : > In the design, yes -- I do too. I think I'm not making my question > very > clear. :) > > Susan H. > > > > In the design you include the FKs. Matter of course. Least I do. > Particulary if > > your using a case tool to do the ERs etc. > > > > Martin > > > > > > Quoting Susan Harkins : > > > > > I agree with your Charles. It's the smart developer that can jump > right > > > in > > > and create those tables with little or no thought to design before > > > starting. > > > I wouldn't attempt it. > > > > > > I'm just curious about the foreign keys though at this point -- more > so > > > than > > > the actual design process. > > > > > > For whatever reason, I seem to remove fields until all my tables > are > > > set. > > > Then, I go back and relate the tables by inserting foreign keys, > and > > > I'm > > > just curious what others do. > > > > > > Susan H. > > > > > > > > > > Susan, > > > > > > > > Whether you do it on paper or on the PC, it usually is an > iterative > > > > process, at least in my experience. By that I mean as you go > along > > > you > > > > will discover that one or more of the tables you have already > > > designed > > > > needs to be split since some of the data fields apply only to > the > > > > subject of the table while other data fields does not. And you > will > > > > notice that some data fields split over several tables should be > > > > combined into one table. > > > > > > > > It would be a very simple application, or a very astute > individual, > > > > where all the relationships are obvious from the beginning. > > > > > > > > Charles Wortz > > > > Software Development Division > > > > Texas Education Agency > > > > 1701 N. Congress Ave > > > > Austin, TX 78701-1494 > > > > 512-463-9493 > > > > CWortz at tea.state.tx.us > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > Sent: Monday 2003 Mar 10 12:50 > > > > To: accessd at databaseadvisors.com > > > > Subject: Re: [AccessD] normalization question > > > > > > > > Yes, I agree... > > > > > > > > but in the process of making your paper lists -- when? > > > > > > > > > > > > ----- Original Message ----- > > > > From: > > > > To: > > > > Sent: Monday, March 10, 2003 1:34 PM > > > > Subject: RE: [AccessD] normalization question > > > > > > > > > > > > > > > > > > you do it before turning the PC on when your designing the > > > structures. > > > > > > > > > The theory is that the data is normalised before you actually > > > create > > > > > the > > > > tables > > > > > physically. > > > > > > > > > > Martin > > > > > > > > > > (<: > > > > > > > > > > > > > > > > > > > > Quoting Charlotte Foust : > > > > > > > > > > > I tend to do it at the time so I don't forget. Of course, as > we > > > get > > > > > > > > > > older our memory ... Uh, what was I saying? > > > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > > > From: Susan Harkins [mailto:harkins at iglou.com] > > > > > > Sent: Sunday, March 09, 2003 3:36 PM > > > > > > To: AccessD at databaseadvisors.com > > > > > > Subject: [AccessD] normalization question > > > > > > > > > > > > > > > > > > When you remove a field to another table (for whatever > reason), > > > do > > > > > > you immediately create the foreign key in the original table, > or > > > do > > > > > > you wait until you've completely normalized each table and > then > > > > > > return to the tables and insert all the foreign keys then? > > > > > > > > > > > > I tend to do it later because the nature of a single field > can > > > > > > change. > > > > > > > > > > > > Does anyone know if the relational model requires a > particular > > > > > > routine? > > > > > > > > > > > > Just curious. > > > > > > > > > > > > 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 thevigil at kabelfoon.nl Mon Mar 10 14:53:00 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Mon Mar 10 14:53:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> Message-ID: <010d01c2e746$72581f60$115b2d3e@jester> Rocky, I renewed my subscription to this list recently. And found it to be very helpful already. Didn't have anything to ask the list, yet ;-), but got some realy helpful info about some things i was about to ask the list...... Hope i will be able to help soon..... I was wondering though, Rocky, why you don't use something like: Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) Cancel = NOT ValidationTests End Sub This is how i am writing it. Is there any special reason for your syntax? Or any special reason i should NOT use my syntax? Bert-Jan Brinkhuis ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, March 10, 2003 5:15 PM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > John: > > My result is weirder than yours. I have seven fields I put the validation > code into the BeforeUpdate event (no need for .SetFocus, because the focus > *in theory* never goes away from the control). > > I have a bunch of validation tests in a function: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > If ValidationTests = False Then Cancel = True > End Sub > > Works on three, fails on four. And I can't see ANY differences between the > three that work and the four that don't. Could it be timing problem in the > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > event, see if that changes anything. > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Monday, March 10, 2003 7:19 AM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > How weird...I am working on the exact same problem. I noticed that a > > program that I am about to roll out accepts any date, in the many date > > fields. Some of the dates need to be later than others that are there > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > Sheriff" field, and you cannot receive it before it is sent). > > > > I used the code: > > > > If datFromSheriff.Value < datToSheriff.Value Then > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > vbOKOnly, "Date Error" > > datFromSheriff = "" > > datFromSheriff.SetFocus > > End If > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > "Before Update" (there now), and "After Update" events, but none worked. > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > to the next field in the tab order. > > > > Did you get this working? > > > > John Clark > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > Dear List > > > > I have a couple of simple validation tests: > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > vbExclamation > > txtStartingRoomNumber.SetFocus > > Exit Sub > > End If > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > does not work. The focus ends up being set on the next control in the > > tab sequence. I tried the tests in the Lost Focus event with the same > > result. > > > > I know there must be a simple way to return the focus to the control > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > in Sunday school and it's quiet.) :) > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Mon Mar 10 15:01:01 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon Mar 10 15:01:01 2003 Subject: [AccessD] Emulating a splitter control Message-ID: <003401c2e747$d3498420$f2308690@bbb888> Goodmorning list! I am trying to emulate the standard splitter control - treeview on the left, listview on the right and a rectangle between to act as a grabber bar. The effect works OK in the main but the mousepointer is giving me grief. If I move the cursor off the rectangle either too quickly or off the top into the header, it remains as a left-right arrow and doesn't revert to a normal pointer. Has anyone got any ideas on this? The entire code follows - Dim boolDragOn As Boolean Dim minsize As Integer Dim maxsize As Integer Dim intheight As Integer Dim intwidth As Integer Const initFormWidth = 20 Const initFormHeight = 10 Const initSplitRatio = 0.2 Private Sub Form_Close() Screen.MousePointer = 0 End Sub Private Sub Form_Deactivate() Screen.MousePointer = 0 End Sub Private Sub Form_LostFocus() Screen.MousePointer = 0 End Sub Private Sub Form_Open(Cancel As Integer) intwidth = 567 * initFormWidth '567 twips per cm multiplied by cm width intheight = 567 * initFormHeight '567 twips per cm mulitplied by cm height Me.trvMain.Left = 0 Me.trvMain.Top = 0 Me.splitbar.Left = 0 Me.splitbar.Top = 0 Me.lvwMain.Left = 0 Me.lvwMain.Top = 0 Me.Width = intwidth Me.Detail.Height = intheight Me.trvMain.Height = intheight Me.lvwMain.Height = intheight Me.splitbar.Height = intheight Me.trvMain.Width = (intwidth - 66) * initSplitRatio Me.splitbar.Left = Me.trvMain.Width + 1 Me.splitbar.Width = 64 Me.lvwMain.Left = Me.splitbar.Left + Me.splitbar.Width + 1 Me.lvwMain.Width = Me.Width - (Me.trvMain.Width + 64) ' Me.Move 300, 300, Me.Width, Me.Detail.Height DoCmd.RunCommand acCmdSizeToFitForm minsize = 300 maxsize = 300 End Sub Private Sub Form_Resize() Dim ctl As Control intheight = Me.InsideHeight - Me.FormHeader.Height - Me.FormFooter.Height For Each ctl In Me.Detail.Controls ctl.Height = bMax(intheight, 0) Next ctl Me.Detail.Height = bMax(intheight, 0) Me.lvwMain.Width = bMax(Me.InsideWidth - Me.trvMain.Width - 364, 100) intwidth = Me.trvMain.Width + Me.splitbar.Width + Me.lvwMain.Width + 2 Me.Width = intwidth End Sub Private Sub splitbar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) boolDragOn = True Me.splitbar.BackColor = 5348410 End Sub Private Sub splitbar_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) '==================TRYING TO RESET THE POINTER HERE============ If X > 0 And X < 35 Then Screen.MousePointer = 9 Else Screen.MousePointer = 0 End If '============================================================= If boolDragOn Then If (Me.trvMain.Width + X) > minsize _ And (Me.lvwMain.Width - X) > maxsize Then Me.splitbar.Left = Me.splitbar.Left + X Me.trvMain.Width = Me.trvMain.Width + X If X < 0 Then Me.lvwMain.Left = Me.lvwMain.Left + X Me.lvwMain.Width = Me.lvwMain.Width - X Else Me.lvwMain.Width = Me.lvwMain.Width - X Me.lvwMain.Left = Me.lvwMain.Left + X End If Else X = 0 End If End If End Sub Private Sub splitbar_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) boolDragOn = False Me.splitbar.BackColor = -2147483633 Screen.MousePointer = 0 End Sub Public Function bMax(v1, v2) As Variant If v1 > v2 Then bMax = v1 Else bMax = v2 End If End Function Thanks in advance Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From CWortz at tea.state.tx.us Mon Mar 10 15:03:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 10 15:03:00 2003 Subject: [AccessD] normalization question Message-ID: Martin, I couldn't have said it better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday 2003 Mar 10 14:45 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question As Charles says As you work over the data you begin to vreate tables etc. As you draw up the diagrams you begin to work out relationships. If I know a relationship I put the FKs in. As you repeat the prcess breaking down the data and creating relationships you add the FKs. If your using case tools you must add the FKs in oreder to get the software to create the relationships/ If you are using normilisation the FKs are created as you carry out each NF. But again its a discovery process and I would place the FKs in each entity as required as I go rather than have to go back to perhpas 200 tables and do it then. Martin Quoting Susan Harkins : > In the design, yes -- I do too. I think I'm not making my question > very clear. :) > > Susan H. > > > > In the design you include the FKs. Matter of course. Least I do. > Particulary if > > your using a case tool to do the ERs etc. > > > > Martin From Lambert.Heenan at AIG.com Mon Mar 10 15:11:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon Mar 10 15:11:00 2003 Subject: [AccessD] Emulating a splitter control Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897443@xlivmbx12.aig.com> Suggest that both the Treeview control and the listbox need to have a Mouse_Move event that will set the mouse point to the standard one - perhaps even the Form's detail, header and footer sections too. > -----Original Message----- > From: Bruce Bruen [SMTP:bbruen at bigpond.com] > Sent: Monday, March 10, 2003 3:59 PM > To: AccessD > Subject: [AccessD] Emulating a splitter control > > Goodmorning list! > > I am trying to emulate the standard splitter control - treeview on the > left, listview on the right and a rectangle between to act as a grabber > bar. > > The effect works OK in the main but the mousepointer is giving me grief. > If I move the cursor off the rectangle either too quickly or off the top > into the header, it remains as a left-right arrow and doesn't revert to > a normal pointer. > > Has anyone got any ideas on this? The entire code follows - > > Dim boolDragOn As Boolean > Dim minsize As Integer > Dim maxsize As Integer > Dim intheight As Integer > Dim intwidth As Integer > > Const initFormWidth = 20 > Const initFormHeight = 10 > Const initSplitRatio = 0.2 > > Private Sub Form_Close() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_Deactivate() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_LostFocus() > Screen.MousePointer = 0 > End Sub > > Private Sub Form_Open(Cancel As Integer) > > intwidth = 567 * initFormWidth '567 twips per cm multiplied by > cm width > intheight = 567 * initFormHeight '567 twips per cm mulitplied by > cm height > Me.trvMain.Left = 0 > Me.trvMain.Top = 0 > Me.splitbar.Left = 0 > Me.splitbar.Top = 0 > Me.lvwMain.Left = 0 > Me.lvwMain.Top = 0 > > Me.Width = intwidth > Me.Detail.Height = intheight > Me.trvMain.Height = intheight > Me.lvwMain.Height = intheight > Me.splitbar.Height = intheight > > Me.trvMain.Width = (intwidth - 66) * initSplitRatio > > Me.splitbar.Left = Me.trvMain.Width + 1 > Me.splitbar.Width = 64 > > Me.lvwMain.Left = Me.splitbar.Left + Me.splitbar.Width + 1 > Me.lvwMain.Width = Me.Width - (Me.trvMain.Width + 64) > > ' Me.Move 300, 300, Me.Width, Me.Detail.Height > DoCmd.RunCommand acCmdSizeToFitForm > > minsize = 300 > maxsize = 300 > > End Sub > > Private Sub Form_Resize() > Dim ctl As Control > > intheight = Me.InsideHeight - Me.FormHeader.Height - > Me.FormFooter.Height > For Each ctl In Me.Detail.Controls > ctl.Height = bMax(intheight, 0) > Next ctl > Me.Detail.Height = bMax(intheight, 0) > > Me.lvwMain.Width = bMax(Me.InsideWidth - Me.trvMain.Width - 364, > 100) > intwidth = Me.trvMain.Width + Me.splitbar.Width + Me.lvwMain.Width + > 2 > > Me.Width = intwidth > > End Sub > > Private Sub splitbar_MouseDown(Button As Integer, Shift As Integer, X As > Single, Y As Single) > boolDragOn = True > Me.splitbar.BackColor = 5348410 > End Sub > > Private Sub splitbar_MouseMove(Button As Integer, Shift As Integer, X As > Single, Y As Single) > '==================TRYING TO RESET THE POINTER HERE============ > If X > 0 And X < 35 Then > Screen.MousePointer = 9 > Else > Screen.MousePointer = 0 > End If > '============================================================= > If boolDragOn Then > If (Me.trvMain.Width + X) > minsize _ > And (Me.lvwMain.Width - X) > maxsize Then > Me.splitbar.Left = Me.splitbar.Left + X > Me.trvMain.Width = Me.trvMain.Width + X > If X < 0 Then > Me.lvwMain.Left = Me.lvwMain.Left + X > Me.lvwMain.Width = Me.lvwMain.Width - X > Else > Me.lvwMain.Width = Me.lvwMain.Width - X > Me.lvwMain.Left = Me.lvwMain.Left + X > End If > Else > X = 0 > End If > End If > > End Sub > > Private Sub splitbar_MouseUp(Button As Integer, Shift As Integer, X As > Single, Y As Single) > boolDragOn = False > Me.splitbar.BackColor = -2147483633 > Screen.MousePointer = 0 > End Sub > > Public Function bMax(v1, v2) As Variant > If v1 > v2 Then > bMax = v1 > Else > bMax = v2 > End If > End Function > > > > Thanks in advance > Bruce > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Mon Mar 10 15:14:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 10 15:14:00 2003 Subject: [AccessD] Iterating Controls: Solved In-Reply-To: <00ca01c2e730$2bbba740$8e01a8c0@Rock> Message-ID: <00f901c2e749$eea6e8a0$8e01a8c0@Rock> For those interested, here's a sub that walks the forms and grabs the data-driven record sources and within each form, the data-driven row sources for combo boxes and list boxes. Watch for wrap. '------------------------------------------------------------------------- ' Procedure : ListDataSources ' DateTime : 10/03/2003 ' Author : Arthur Fuller ' Purpose : List the data sources for all forms and data-driven controls '------------------------------------------------------------------------- Public Sub ListDataSources() Dim strOutFile As String Dim fs As Object Dim a As Object Dim frm As Form Dim ctl As Control Dim objFrm As Object Dim i As Integer strOutFile = "c:\RyersonDataSources.txt" Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile(strOutFile, True) Application.Echo False For Each objFrm In CurrentProject.AllForms i = 0 DoCmd.OpenForm objFrm.name, acDesign Set frm = Forms(objFrm.name) a.WriteLine "=========================================================================" a.WriteLine "Form: " & objFrm.name a.WriteLine "=========================================================================" Debug.Print objFrm.name & ": " & frm.RecordSource If frm.RecordSource <> "" Then a.WriteLine "RecordSource:" a.WriteLine frm.RecordSource a.WriteLine Else a.WriteLine "Unbound form" End If For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then i = 1 End If Case acListBox '110 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then i = 1 End If Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select Next ctl If i > 0 Then a.WriteLine "Data Driven Controls" a.WriteLine "--------------------" End If For Each ctl In frm.Controls Select Case ctl.Properties("ControlType") '.ControlType Case acComboBox '111 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then Debug.Print ctl.name & ": Combo Box" Debug.Print ctl.RowSource a.WriteLine "Control: " & ctl.name a.WriteLine "RowSource:" a.WriteLine ctl.RowSource a.WriteLine End If Case acListBox '110 If ctl.Properties("RowSourceType") = "Table/View/StoredProc" Then Debug.Print ctl.name & ": List Box" Debug.Print ctl.RowSource a.WriteLine "Control: " & ctl.name a.WriteLine "RowSource:" a.WriteLine ctl.RowSource a.WriteLine End If Case Else 'do nothing 'Debug.Print "Ignoring " & ctl.name End Select Next ctl Set frm = Nothing DoCmd.Close acForm, objFrm.name, acSaveNo a.WriteLine Next objFrm a.Close Application.Echo True Set frm = Nothing Set fs = Nothing Set a = Nothing Set ctl = Nothing Set objFrm = Nothing End Sub From martyconnelly at shaw.ca Mon Mar 10 15:25:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 10 15:25:00 2003 Subject: [AccessD] compatability between Windows XP and older versions of office pro ducts. References: <8213C1F49875D61195DA0002A5412A0301406D5F@mail.doe.state.fl.us> Message-ID: <3E6D0255.5060202@shaw.ca> You might want to check through back issues of woodyswatch for MS Word issues, there are some oddities. Many were patched with Office SP1 SP2 and SP3. So it depends on what you install. http://www.woodyswatch.com There is the Outlook 2000 email attachment security problem if you use this to transfer data via attachments. This was switched around in various Office SP's. And WinXP SP1 uses AES encryption rather than the older DESX alogrithm, opening these files on an older OS that uses DESX might be fatal to the files. I don't know many people that use this. see MSKB 329741 Win XP comes with MDAC 2.7 installed, so you might want to upgrade Access Jet to SP-6 If you have a reference to ADO in Access to say MDAC 2.5 or 2.1, you may have reference failures. Klos, Susan wrote: > We are in the process of purchasing new computers at the office. The > Department policy is new machines are installed with WindowsXP. Some > folks have heard that Office 2000 running on WindowsXP has issues with > opening documents which were created with Office 97 running on Windows > 95. Anyone know anything about this problem? Also, regarding > backwards compatability. Is there a problem with any of the products > except Access with that? From jim.hale at fleetpride.com Mon Mar 10 16:15:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 16:15:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Mon Mar 10 16:26:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 16:26:01 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> References: <869379ABF177D4118D3100508B5EF8730560DCE7@corp-es00> Message-ID: <1047335195.4590.464.camel@sgsax-th4022c> Jim, Try putting On Error Resume Next right before the Kill statement, and then On Error GoTo right after to re-enable your error handler. As for your formatting, have you tried looking in Help for User-Defined Number Formats? If you do, you'll see that the # character will display a digit or nothing. What you want to use is the 0 character, which will display a digit or a zero. So when you format your text for printing, you want to use Format(, "-0000.00") Hope this helps! Happy exporting! Seth On Mon, 2003-03-10 at 16:12, Hale, Jim wrote: > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From bchacc at san.rr.com Mon Mar 10 16:44:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 16:44:01 2003 Subject: [AccessD] TransferText Failling References: Message-ID: <003a01c2e756$89ed4ff0$6601a8c0@HAL9002> Well, that solved it. Thanks. .txt works. But I think Seth is probably right as well. I've used direct I/O and it's really simple and real effective. That was going to be my next move but I was just lazy and trying to save a few lines of code. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Monday, March 10, 2003 11:15 AM Subject: Re: [AccessD] TransferText Failling > Hi Rocky, > > What is the extension of the filename you are trying to export to? Remember > that Access is particular about that and will only export to .txt or .csv or > .tab or a couple other magic extensions. > > Gary Kjos > garykjos at hotmail.com > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] TransferText Failling > >Date: Mon, 10 Mar 2003 10:07:04 -0800 > > > >Dear List > > > >I'm trying to use the TransferText method of exporting a table to a comma > >delimited file. I get "Error 3027: Cannot Update. Database or object is > >read-only" when issuing: > > > >DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > >where varFileName contains a valid path and file name. Has anyone seen > >this before? I have but can't remember why or what the fix was. > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Mar 10 16:47:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 10 16:47:00 2003 Subject: [AccessD] TransferText Failling References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> <1047324695.4534.270.camel@sgsax-th4022c> Message-ID: <004401c2e756$e30b7da0$6601a8c0@HAL9002> Seth: I think you're right. I was just trying to do it in one line. I've used direct file I/O and it's simple and straightforward, especially for an old DOS guy like me. If the client wants something besides .txt I'll probably convert. This is a real simple spit it out, read it in scenario. Not much control required. No specification. Any other good reason to abandon the transfertext if it's working? Thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Seth Galitzer" To: "accessd" Sent: Monday, March 10, 2003 11:31 AM Subject: Re: [AccessD] TransferText Failling > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Mon Mar 10 16:50:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Mon Mar 10 16:50:00 2003 Subject: [AccessD] Access Solutions Drilldown In-Reply-To: <1047144877.3e6a29ad39151@hosea.qub.ac.uk> Message-ID: The survey has been closed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Saturday, March 08, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access Solutions Drilldown AND the URL WOULD BE WHAT? Martin Quoting Susan Harkins : > They wouldn't even let me take the darn thing because I haven't > "deployed" a > new application in 18 months. As if... :( > > Susan H. > > > > Has anyone else had problems with the survey? I get to page 2 and > it > > crashes IE. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow > > Sent: Saturday, March 08, 2003 10:49 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > It is the Access survey for developers Microsoft is collecting on > line > right > > now. I signed up for via Mike Gunderloy's newsletter site > (larkfarm.com). > > You might be able to sign up for it on MS site somewhere. It takes > about > 10 > > minutes or less. > > > > JB > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur > Fuller > > Sent: Saturday, March 08, 2003 7:34 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access Solutions Drilldown > > > > > > What is the Access Solutions Drilldown? I have Office 2002 Developer > but > > have never noticed this. > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Bartow > > Sent: March 7, 2003 11:57 AM > > To: AccessD > > Subject: [AccessD] Access Solutions Drilldown > > > > > > Have any of you filled out the Access Solutions Drilldown? > > > > I'm on the last page right now and this question seems to be loaded: > > > > "If the Access runtime and SQL Tools were offered for sale separately > from > > the Microsoft Office Developer Edition, would you be willing to pay > $299 > for > > the offering?" > > > > > > > > The last question concerns me. What would the point of the ODE be > then? If > > you split Runtime and SQL tools from ODE it would cause nothing but > grief > > over increased cost for me. If you created an Access Developer > Edition > which > > incorporates all of the applicable Access ODE functionality into a > seperate > > lower cost package I would consider that as desirable. > > > > JB > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 10 16:52:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon Mar 10 16:52:00 2003 Subject: [AccessD] normalization question In-Reply-To: Message-ID: Charlotte, << And we all know how closely theory matches reality. > Yeah right, I mean heck everyone is using natural keys, right? ;) Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 10, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 DWUTKA at marlow.com Mon Mar 10 16:52:27 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 10 16:52:27 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82277@main2.marlow.com> Here's my code....just writing it in the email..it's really simple to do. Function DumpRecordset(strSQL as String,strFileName as String) Dim f As Long Dim rs As recordset Dim strData as String dim i As Long set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO if rs.eof=False then rs.movefirst f=FreeFile If Dir(strFileName)<>"" Then Kill strFileName Open strFileName for binary access read as f Do Until rs.eof=True strData="" for i=0 to rs.Field.Count-1 strData=strData & rs.Field(i).Value & "," Next i strData=Left(strData,len(strData)-1) & vbcrlf Put f,,strData rs.movenext loop rs.close Close f End Function All in all, pretty simple code. (You can change the "," to whatever delimiter you want. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, March 10, 2003 4:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Mar 10 17:00:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 17:00:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCF4@corp-es00> Worked fine, thanks! Jim -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 4:27 PM To: accessd Subject: RE: [AccessD] TransferText Failling Jim, Try putting On Error Resume Next right before the Kill statement, and then On Error GoTo right after to re-enable your error handler. As for your formatting, have you tried looking in Help for User-Defined Number Formats? If you do, you'll see that the # character will display a digit or nothing. What you want to use is the 0 character, which will display a digit or a zero. So when you format your text for printing, you want to use Format(, "-0000.00") Hope this helps! Happy exporting! Seth On Mon, 2003-03-10 at 16:12, Hale, Jim wrote: > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ 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 Mar 10 17:05:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 10 17:05:00 2003 Subject: [AccessD] AutoExec Macro Question In-Reply-To: Message-ID: <3E6DA6D0.23344.292256@localhost> > I'm not familiar with the Static flag. Can you explain how this works > and how I implement it? Couldn't find anything by this title in help. > Not "the" Static flag, "a" Static flag. A flag is a variable (freqently a Boolean) which you use to signal the state of something. If you Dim it as a Static variable, it's state doesn't change from call to call of the function. You can use it to tell whether the function has been called before and therefore only run a particular piece of code once. Here's an example which: Function Test(Optional reset As Long) As Long Static flgAlreadyRun As Boolean If reset = -1 Then flgAlreadyRun = False MsgBox "Function reset to 'Uncalled'" Exit Function End If If flgAlreadyRun Then MsgBox "You've already called this function once" Else MsgBox "This is the first time you've called this function" flgAlreadyRun = True End If End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From sgsax at ksu.edu Mon Mar 10 17:15:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Mon Mar 10 17:15:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <004401c2e756$e30b7da0$6601a8c0@HAL9002> References: <014601c2e72f$dfbf2380$6601a8c0@HAL9002> <1047324695.4534.270.camel@sgsax-th4022c> <004401c2e756$e30b7da0$6601a8c0@HAL9002> Message-ID: <1047338112.4590.523.camel@sgsax-th4022c> On Mon, 2003-03-10 at 16:46, Rocky Smolin - Beach Access Software wrote: > > Any other good reason to abandon the transfertext if it's working? > Ummm.... more lines of code means you can pad your bill a bit. :) I know, no decent and honest person would do this, unless the client was a real pain the tuchas. You did say a "good" reason. Other than greater flexibility, I can't really think of one. TransferText has its limits, your own code does not. I've seen cases where transfertext absolutely failed and direct file I/O was flawless and faster to boot. I guess that's about it. Enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From stuart at lexacorp.com.pg Mon Mar 10 17:16:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 10 17:16:00 2003 Subject: [AccessD] PDF for word ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294A78@NT04> Message-ID: <3E6DA960.16196.332778@localhost> For a free alternative to Acrobat, take a lot at MakePDF on my site. This is a front end to Ghostscript and it handles mixed pages with no problems. > Adobe acrobat can mix landscape and portrait, and it works well. But it's > not something you want to purchase unless you are going to use it often. I > use it to submit documents to other companies and to the government. It > will work with Word, Excel, and Access. > > Jim Hewson > > -----Original Message----- > From: James Hale [mailto:jhale at houston.rr.com] > Sent: Saturday, March 08, 2003 12:57 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] PDF for word ... > > > The only way I have been able to mix landscape and portrait in the same > document is with Word and this doesn't always work well either. I presume > Adobe acrobat can do the trick but I have been to cheap to spring for a > copy. > > Jim Hale > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Sunday, March 02, 2003 1:55 AM > To: James Hale > Subject: Re: [AccessD] PDF for word ... > > > Hi James > > So which products do? > > /gustav > > > > I have found that many of these products don't handle a mixture of > portrait > > and landscape pages in the same report. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jim.hale at fleetpride.com Mon Mar 10 17:17:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 17:17:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <869379ABF177D4118D3100508B5EF8730560DCFD@corp-es00> Thanks Jim H -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 10, 2003 4:52 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Here's my code....just writing it in the email..it's really simple to do. Function DumpRecordset(strSQL as String,strFileName as String) Dim f As Long Dim rs As recordset Dim strData as String dim i As Long set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO if rs.eof=False then rs.movefirst f=FreeFile If Dir(strFileName)<>"" Then Kill strFileName Open strFileName for binary access read as f Do Until rs.eof=True strData="" for i=0 to rs.Field.Count-1 strData=strData & rs.Field(i).Value & "," Next i strData=Left(strData,len(strData)-1) & vbcrlf Put f,,strData rs.movenext loop rs.close Close f End Function All in all, pretty simple code. (You can change the "," to whatever delimiter you want. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, March 10, 2003 4:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] TransferText Failling Seth, I happened to be writing a little routine to dump plan data to a text file so the mention of your code was very timely. Thanks! several comments: If the file doesn't exist the killfile line gives an error. I added a filexists test. Second "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the Print statement. I changed binary to Append and the code works. I need my amount field in the text file formatted as "-####.##" but -2000.00 is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be correctly formatted in the print statement? Regards, Jim Hale -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 10, 2003 1:32 PM To: accessd Subject: Re: [AccessD] TransferText Failling Rocky, Dump TransferText like a bad prom date and use file I/O manually to generate your text file. You have much more control of the output and I have NEVER had it fail on me. I've got sample code on my website. Look under Downloads for "File I/O in VB". There should be enough there to get you started. I'd be happy to answer any questions if you have any. Seth On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > Dear List > > I'm trying to use the TransferText method of exporting a table to a comma delimited file. I get "Error 3027: Cannot Update. Database or object is read-only" when issuing: > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > where varFileName contains a valid path and file name. Has anyone seen this before? I have but can't remember why or what the fix was. > > MTIA, > > Rocky Smolin > Beach Access Software > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 10 17:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 10 17:36:00 2003 Subject: [AccessD] normalization question Message-ID: Now, don't YOU start! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, March 10, 2003 2:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Charlotte, << And we all know how closely theory matches reality. > Yeah right, I mean heck everyone is using natural keys, right? ;) Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 10, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Yes, Martin. And we all know how closely theory matches reality. Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, March 10, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question you do it before turning the PC on when your designing the structures. The theory is that the data is normalised before you actually create the tables physically. Martin (<: Quoting Charlotte Foust : > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Sunday, March 09, 2003 3:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] normalization question > > > When you remove a field to another table (for whatever reason), do you > immediately create the foreign key in the original table, or do you > wait until you've completely normalized each table and then return to > the tables and insert all the foreign keys then? > > I tend to do it later because the nature of a single field can change. > > Does anyone know if the relational model requires a particular > routine? > > Just curious. > > 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 EricGoetz at EGIsystems.com Mon Mar 10 17:57:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Mon Mar 10 17:57:00 2003 Subject: [AccessD] AXP form events for filter that returns no records Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FD@servera22.doma.ops> Hi, I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. TIA, Eric From jim.hale at fleetpride.com Mon Mar 10 18:48:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon Mar 10 18:48:00 2003 Subject: [AccessD] normalization question Message-ID: <869379ABF177D4118D3100508B5EF8730560DD11@corp-es00> LOL. Well it beats chapter 7. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 10, 2003 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Bill just asked me what channel my show comes on (it's a soap that I watch only on Mondays cause the kids are here the rest of the week) and I responded "Chapter 11..." I need a vacation. Susan H. > I tend to do it at the time so I don't forget. Of course, as we get > older our memory ... Uh, what was I saying? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Mon Mar 10 20:02:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon Mar 10 20:02:00 2003 Subject: [AccessD] Jeffrey F Demulling/MN/USB is out of the office. Message-ID: I will be out of the office starting 03/10/2003 and will not return until 03/17/2003. I will respond to your message when I return. Please contact Matt Lehmann (651) 244-8861 or Chris Kremmin (651) 244-4831 if you have an urgent matter. From stephen at bondsoftware.co.nz Mon Mar 10 20:06:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon Mar 10 20:06:00 2003 Subject: [AccessD] DoCmd or RunCommand ? Message-ID: <70F3D727890C784291D8433E9C418F29038979@server.bondsoftware.co.nz> Thanks Charlotte and Paul - I was having one of those brain things .... -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, 11 March 2003 6:22 a.m. To: accessd at databaseadvisors.com Subject: RE: [AccessD] DoCmd or RunCommand ? DoCmd.TransferText acExportMerge, , , , Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, March 10, 2003 12:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] DoCmd or RunCommand ? Stephen, Think it's something like DoCmd.Transfertext, look up in access help for more Info, I can't recall off-hand what the various parts are. Sorry. Paul From: Stephen Bond Date: Mon 10/Mar/2003 03:28 GMT To: accessd at databaseadvisors.com Subject: [AccessD] DoCmd or RunCommand ? What is the DAO syntax to do the equivalent menu command : File > Export > (WordMerge type and filename) TIA Stephen Bond Otatara, South Island, New Zealand * tel 03 213 1256 fax 03 213 0123 __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Mon Mar 10 23:35:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 10 23:35:00 2003 Subject: [AccessD] AXP form events for filter that returns no records References: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FD@servera22.doma.ops> Message-ID: <003801c2e78f$e90602a0$6101a8c0@amd2k512> ...look at RecordCount in your Help file ...actual code differs depending upon whether you are using DAO or ADO ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Eric Goetz" To: Sent: Monday, March 10, 2003 6:59 PM Subject: [AccessD] AXP form events for filter that returns no records > Hi, > > I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. > > When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. > > TIA, > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 11 00:20:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 00:20:00 2003 Subject: [AccessD] Set Focus On Control When Validation Fails References: <00e101c2e720$3578bcb0$6601a8c0@HAL9002> <010d01c2e746$72581f60$115b2d3e@jester> Message-ID: <00cf01c2e796$4c7434f0$6601a8c0@HAL9002> Bert-Jan: I always found my syntax to be a bit more self-documenting. But I suppose it's what you're used to. Yours is more compact and elegant, but mine reads more like a regular sentence. I'll bet the object code is the same, though. Rocky ----- Original Message ----- From: "Bert-Jan Brinkhuis" To: Sent: Monday, March 10, 2003 12:48 PM Subject: Re: [AccessD] Set Focus On Control When Validation Fails > Rocky, > > I renewed my subscription to this list recently. And found it to be very > helpful already. Didn't have anything to ask the list, yet ;-), but got some > realy helpful info about some things i was about to ask the list...... > Hope i will be able to help soon..... > > I was wondering though, Rocky, why you don't use something like: > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > Cancel = NOT ValidationTests > End Sub > > This is how i am writing it. Is there any special reason for your syntax? Or > any special reason i should NOT use my syntax? > > Bert-Jan Brinkhuis > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Monday, March 10, 2003 5:15 PM > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > John: > > > > My result is weirder than yours. I have seven fields I put the validation > > code into the BeforeUpdate event (no need for .SetFocus, because the focus > > *in theory* never goes away from the control). > > > > I have a bunch of validation tests in a function: > > > > Private Sub txtBarCodePrefix_BeforeUpdate(Cancel As Integer) > > If ValidationTests = False Then Cancel = True > > End Sub > > > > Works on three, fails on four. And I can't see ANY differences between > the > > three that work and the four that don't. Could it be timing problem in > the > > event sequence? Maybe I'll try putting a delay loop in the BeforeUpdate > > event, see if that changes anything. > > > > Rocky Smolin > > Beach Access Software > > > > ----- Original Message ----- > > From: "John Clark" > > To: > > Sent: Monday, March 10, 2003 7:19 AM > > Subject: Re: [AccessD] Set Focus On Control When Validation Fails > > > > > > > How weird...I am working on the exact same problem. I noticed that a > > > program that I am about to roll out accepts any date, in the many date > > > fields. Some of the dates need to be later than others that are there > > > (for instance, there is a "Sent to Sheriff" field, and a "Returned from > > > Sheriff" field, and you cannot receive it before it is sent). > > > > > > I used the code: > > > > > > If datFromSheriff.Value < datToSheriff.Value Then > > > MsgBox "This date cannot be previous to the Sent to Sheriff Date", > > > vbOKOnly, "Date Error" > > > datFromSheriff = "" > > > datFromSheriff.SetFocus > > > End If > > > > > > And I have tried it in the "On Lost Focus", "On Change" (stupid), > > > "Before Update" (there now), and "After Update" events, but none worked. > > > It actually worked with "Lost Focus" but the SetFocus did not...it went > > > to the next field in the tab order. > > > > > > Did you get this working? > > > > > > John Clark > > > > > > > > > >>> bchacc at san.rr.com 03/09/03 01:45PM >>> > > > Dear List > > > > > > I have a couple of simple validation tests: > > > > > > If Not IsNumeric(Nz(txtStartingRoomNumber)) Then > > > MsgBox "Starting Room Number Must Be Numeric.", vbExclamation > > > txtStartingRoomNumber.SetFocus > > > Exit Sub > > > End If > > > > > > If Val(Nz(txtStartingRoomNumber)) > 9999999 Then > > > MsgBox "Starting Room Number Must Be Less Than 7 Digits.", > > > vbExclamation > > > txtStartingRoomNumber.SetFocus > > > Exit Sub > > > End If > > > > > > in the AfterUpdate event of txtStartingRoomNumber. But the SetFocus > > > does not work. The focus ends up being set on the next control in the > > > tab sequence. I tried the tests in the Lost Focus event with the same > > > result. > > > > > > I know there must be a simple way to return the focus to the control > > > but I can't see it. (Maybe I shouldn't work on Sunday but the kids are > > > in Sunday school and it's quiet.) :) > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 11 00:23:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 00:23:00 2003 Subject: [AccessD] TransferText Failling References: <2F8793082E00D4119A1700B0D0216BF801D82277@main2.marlow.com> Message-ID: <00d701c2e796$b1a20050$6601a8c0@HAL9002> Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to do. > > Function DumpRecordset(strSQL as String,strFileName as String) > Dim f As Long > Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object is > read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 00:49:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 00:49:00 2003 Subject: [AccessD] TransferText Failling In-Reply-To: <00d701c2e796$b1a20050$6601a8c0@HAL9002> Message-ID: <3E6E12CF.4625.BDA780@localhost> I work on the principle that if you are going to use anything more than once, assign it to a variable, otherwise just use it directly. Generally you will find that gives you optimal performance. On 10 Mar 2003 at 22:23, Rocky Smolin - Beach Access S wrote: > Drew: > > Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db > as the object? > -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From bbruen at bigpond.com Tue Mar 11 05:19:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 11 05:19:00 2003 Subject: [AccessD] Expand the Immediate Window Buffer? In-Reply-To: <00cf01c2e731$c4957c60$8e01a8c0@Rock> Message-ID: <000001c2e7bf$954fcd00$5d338690@bbb888> Don't know - never tried! :-) But every time I've had the same problem the simplest solution was to stream the output to a text file, viz Open op.txt as #1:do a bunch of immediate using print #1 instead of debug.print: close #1 I dont know what your trying to achieve Arthur, but as I say, this has always been the easiest way for me to do it. hth Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, March 11, 2003 5:21 AM To: 'AccessD' Subject: [AccessD] Expand the Immediate Window Buffer? I am not sure how many lines the immediate window saves, but I want it to save more. Is there a setting to control this? TIA, Arthur --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Tue Mar 11 05:33:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 05:33:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From paul.hartland at fsmail.net Tue Mar 11 05:41:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 05:41:00 2003 Subject: [AccessD] Opening Outlook from VB6 Message-ID: <20030311114019.VSDR3409.fep06-svc.ttys.com@localhost> To all, This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Tue Mar 11 05:44:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 11 05:44:01 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> References: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <6015109926.20030311124333@cactus.dk> Hi paul If this is the only purpose of pubCallingForm, you could pass the name of the calling in OpenArgs when you open the other form. When this opens, read the name of the calling form from OpenArgs ... /gustav > I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also > assigns the variable the form name. > (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then > is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. > Anybody have any idea as to why this is happening ? From artful at rogers.com Tue Mar 11 06:52:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 06:52:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <000601c2e7cc$ed3fef10$8e01a8c0@Rock> A misplaced END statement? Does everything compile fine? Have you tried setting a break point on a change to the public variable? And finally, you might want to use a static function rather than a public variable. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 11, 2003 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Public variable losing contents To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Tue Mar 11 07:12:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 07:12:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311113246.VRYO3409.fep06-svc.ttys.com@localhost> Message-ID: <3E6D9A18.8682.151AC4@localhost> On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. From paul.hartland at fsmail.net Tue Mar 11 07:38:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 07:38:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <20030311133743.BZPB2393.fep10-svc.ttys.com@localhost> Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Tue Mar 11 07:44:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 07:44:01 2003 Subject: [AccessD] Public variable losing contents Message-ID: Paul, Variables declared in a form's module are only in scope while the form is open, even if they are declared public. Variables you want to last throughout the session must be declared in standard modules. That is one part of the O-O paradigm that Access follows. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday 2003 Mar 11 07:38 To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From artful at rogers.com Tue Mar 11 07:52:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 07:52:00 2003 Subject: [AccessD] Public variable losing contents In-Reply-To: <20030311133743.BZPB2393.fep10-svc.ttys.com@localhost> Message-ID: <000001c2e7d5$40f8e960$8e01a8c0@Rock> A variable declared inside a form module is not public, even if you use the public keyword. In a module, a public variable IS public. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 11, 2003 8:38 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Tue Mar 11 07:52:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 07:52:20 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE26@exchange.pgdp> Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 11 07:59:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 07:59:00 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Mar 11 08:01:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 08:01:00 2003 Subject: [AccessD] Opening Outlook from VB6 In-Reply-To: <20030311114019.VSDR3409.fep06-svc.ttys.com@localhost> Message-ID: <3E6E78F1.6352.35DF352@localhost> Shell() ? > To all, > > This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 > > Thanks in advance > > Paul Hartland > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Tue Mar 11 08:14:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 08:14:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 11 08:22:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 11 08:22:01 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <005101c2e7da$f5253ba0$6401a8c0@default> MessageVirginia, Here's some ideas: 1) Make a form that they can type information into and hold the info in a table. If there are photos you can store them (if necessary) or link them in the same folder as the db. Then just print from a preformatted report. 2) Make use of the webbrowser control to view external Office documents. ----- Original Message ----- From: Hollis,Virginia To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 11, 2003 9:12 AM Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Tue Mar 11 08:23:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 11 08:23:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Tue Mar 11 08:23:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 08:23:16 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Mar 11 09:05:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 11 09:05:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <002401c2e7df$95edad20$6601a8c0@HAL9002> Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 09:12:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 09:12:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Tue Mar 11 09:23:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 11 09:23:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> References: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: <1047396173.6591.105.camel@sgsax-th4022c> Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Tue Mar 11 09:24:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 09:24:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Message-ID: <000901c2e7e2$5ca8d9b0$8a3c0cd8@hargrove.internal> Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Tue Mar 11 09:39:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Tue Mar 11 09:39:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B02@NEWMAN_EXC> Here is the code that I have on my form to link to a jpg image. I think you should be able to link to any kind of file you want with the same theory: Private Sub cmdPickPath_Click() Dim cdl As CommonDlg Set cdl = New CommonDlg cdl.InitDir = "\\kramer_app\applications\databases\human_resources\badgemaker\images\" cdl.ShowOpen Me.PicPath = cdl.FileName Set cdl = Nothing imgview.Picture = PicPath End Sub Hth Brenda -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 9:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 11 09:50:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 09:50:01 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: <000001c2e7e5$baddf2b0$8e01a8c0@Rock> Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 09:57:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 09:57:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 11 10:00:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 10:00:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <000501c2e7e7$412a7b80$8e01a8c0@Rock> I had a similar problem. In my case I have a hierarchy of Tours 1:M Events 1:M Packages. At any level there may be multiple documents (in my case URLs). So I created a URLs table with a TourID, an EventID and a PackageID. The structure violates BCNF but c?est la guerre :-). It does let me present a list of URLs in a subform, and to add as many URLs as I want at each of the 3 levels, without any complex queries. (Fuller?s Law # 4: anything Access can do should be left to Access to do.) So. The table may contain one URL for the Madonna tour, leading to her site. After that, there may be URLs for some or all dates on the tour, leading say to a page describing the venue, with a seating diagram. After that, there may be an URL for the package offered, say ?Hard Rock Caf?? in Toronto. In Access MDBs this is trivial to set up since URLs are a recognized data type (hyperlink). In SQL it?s a teensy bit tougher, you have to code the double-click event to open the URL of interest. The point of all this is to suggest that a 1:1 relationship between documents and database objects may be incorrect. IMO you are on the right track. Create a publicly-visible directory to house your documents, then store only the paths to same. Evolve the 1:1 relationship into 1:M and let your users do what they will. HTH. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 11 10:12:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:12:07 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 11 10:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:16:00 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Message-ID: <00ec01c2e7e9$6f964330$6101a8c0@amd2k512> MessageVirginia http://www.mvps.org/access/ has a good common dialogs sample to start with http://www.candace-tripp.com/access_downloads.htm has a picture in database sample ...from the combination of those, you should be able to build any file selection/storage/reference solution you need ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Hollis,Virginia To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 11, 2003 10:56 AM Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 11 10:19:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 10:19:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> Message-ID: <001801c2e7ea$16b7e830$8a3c0cd8@hargrove.internal> I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul From artful at rogers.com Tue Mar 11 10:20:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 10:20:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2A@exchange.pgdp> Message-ID: <000001c2e7ea$0e8b7820$8e01a8c0@Rock> You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 11 10:23:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 10:23:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2B@exchange.pgdp> Message-ID: <001901c2e7ea$9a824f70$8a3c0cd8@hargrove.internal> Virginia, Whenever I am looking for information on a particular topic, I have actually found it more useful to do a generic internet search using Google (www.google.com) than to limit myself to the MS KB. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 11 10:25:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:25:01 2003 Subject: [AccessD] Adding Attachments References: <000001c2e7ea$0e8b7820$8e01a8c0@Rock> Message-ID: <016a01c2e7ea$b8d8ba90$6101a8c0@amd2k512> Message...can't fool us Arthur, we all know you've always been an Old Fart :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 11:19 AM Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 11 10:30:09 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:30:09 2003 Subject: [AccessD] TransferText Failling Message-ID: According to the stuff I've read, doing something like Set rst = CurrentDb.OpenRecordset ... Etc., doesn't return a persistent object, so when you go to use the recordset later on in code, it isn't there anymore. Using CurrentDb() to set a database object variable makes it persist. I know that, unlike using DBEngine(0)(0), every time you call CurrentDb you get a new pointer rather than reusing the existing one. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, March 10, 2003 10:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TransferText Failling Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to > do. > > Function DumpRecordset(strSQL as String,strFileName as String) Dim f > As Long Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text > file so the mention of your code was very timely. Thanks! several > comments: If the file doesn't exist the killfile line gives an error. > I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with > the Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this > be correctly formatted in the print statement? Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and > I have NEVER had it fail on me. I've got sample code on my website. > Look under Downloads for "File I/O in VB". There should be enough > there to get you started. I'd be happy to answer any questions if you > have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software > wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object > is read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone > > seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 11 10:32:09 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 10:32:09 2003 Subject: [AccessD] Opening Outlook from VB6 Message-ID: As an alternative to Shell, you can use CreateObject and create a late bound instance of the application object for automation servers. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 3:40 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook from VB6 To all, This may sound like a very stupid question, but I think I have gone totally brain dead, could someone please tell me the best way to open an external program, something like MS Outlook using Visual Basic 6 Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at earthlink.net Tue Mar 11 10:37:04 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 10:37:04 2003 Subject: [AccessD] Word Automation Message-ID: Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From wdhindman at bellsouth.net Tue Mar 11 10:45:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 10:45:01 2003 Subject: [AccessD] TransferText Failling References: Message-ID: <01b401c2e7ed$8f5a4b40$6101a8c0@amd2k512> ...now THAT is interesting AND useful ...learned something new today and its still early :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Charlotte Foust" To: Sent: Tuesday, March 11, 2003 11:26 AM Subject: RE: [AccessD] TransferText Failling > According to the stuff I've read, doing something like Set rst = > CurrentDb.OpenRecordset ... Etc., doesn't return a persistent object, so > when you go to use the recordset later on in code, it isn't there > anymore. Using CurrentDb() to set a database object variable makes it > persist. I know that, unlike using DBEngine(0)(0), every time you call > CurrentDb you get a new pointer rather than reusing the existing one. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, March 10, 2003 10:23 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] TransferText Failling > > > Drew: > > Is there any advantage to using CurrentDB. vs set db=CurrentDB and using > db as the object? > > Rocky > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, March 10, 2003 2:52 PM > Subject: RE: [AccessD] TransferText Failling > > > > Here's my code....just writing it in the email..it's really simple to > > do. > > > > Function DumpRecordset(strSQL as String,strFileName as String) Dim f > > As Long Dim rs As recordset > > Dim strData as String > > dim i As Long > > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > > if rs.eof=False then rs.movefirst > > f=FreeFile > > If Dir(strFileName)<>"" Then Kill strFileName > > Open strFileName for binary access read as f > > Do Until rs.eof=True > > strData="" > > for i=0 to rs.Field.Count-1 > > strData=strData & rs.Field(i).Value & "," > > Next i > > strData=Left(strData,len(strData)-1) & vbcrlf > > Put f,,strData > > rs.movenext > > loop > > rs.close > > Close f > > End Function > > > > All in all, pretty simple code. (You can change the "," to whatever > > delimiter you want. > > > > Drew > > > > -----Original Message----- > > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > > Sent: Monday, March 10, 2003 4:13 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] TransferText Failling > > > > > > Seth, > > I happened to be writing a little routine to dump plan data to a text > > file so the mention of your code was very timely. Thanks! several > > comments: If the file doesn't exist the killfile line gives an error. > > I added a > filexists > > test. Second > > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with > > the Print statement. I changed binary to Append and the code works. > > > > I need my amount field in the text file formatted as "-####.##" > but -2000.00 > > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this > > be correctly formatted in the print statement? Regards, > > Jim Hale > > > > -----Original Message----- > > From: Seth Galitzer [mailto:sgsax at ksu.edu] > > Sent: Monday, March 10, 2003 1:32 PM > > To: accessd > > Subject: Re: [AccessD] TransferText Failling > > > > > > Rocky, > > > > Dump TransferText like a bad prom date and use file I/O manually to > > generate your text file. You have much more control of the output and > > > I have NEVER had it fail on me. I've got sample code on my website. > > Look under Downloads for "File I/O in VB". There should be enough > > there to get you started. I'd be happy to answer any questions if you > > > have any. > > > > Seth > > > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software > > wrote: > > > Dear List > > > > > > I'm trying to use the TransferText method of exporting a table to a > comma > > delimited file. I get "Error 3027: Cannot Update. Database or object > > > is read-only" when issuing: > > > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > > > where varFileName contains a valid path and file name. Has anyone > > > seen > > this before? I have but can't remember why or what the fix was. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Mar 11 11:07:14 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 11:07:14 2003 Subject: [AccessD] Select all controls where Visible = No? In-Reply-To: Message-ID: <000001c2e7f0$a0561ac0$8e01a8c0@Rock> Yes, trying to select them all in design view. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Mar 11 11:36:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 11 11:36:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From harkins at iglou.com Tue Mar 11 11:57:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 11:57:00 2003 Subject: [AccessD] ADO Command object Message-ID: <094501c2e7f7$a0688d20$f0e6ffcc@SusanOne> I see a lot of code that uses the Command object but connects via a Connection object, when a Command object can do the same thing. I assume this arrangement nets advantages -- can someone name a few? Susan H. From artful at rogers.com Tue Mar 11 11:58:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue Mar 11 11:58:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: Message-ID: <000501c2e7f7$a1cb2a60$8e01a8c0@Rock> Sounds cool. Can it import all the stuff from Outlook, or some of it? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 11, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Tue Mar 11 12:03:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 11 12:03:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: There are importers, but I've never had to try them :) -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Sounds cool. Can it import all the stuff from Outlook, or some of it? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 11, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora And my favorite feature - everything is in one directory. If you rebuild or get a new PC, simply backup the directory and move it over. On installation, point it to the directory (in the installation), and you are back in business with everything in its place. Mark -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 11, 2003 6:23 AM To: accessd Subject: Re: [AccessD] OT- Recommendations on Eudora Rocky, Eudora is and always will be my absolute favorite email client. It is relatively lightweight, easy to use, automatically decodes attachments (which makes it easy to scan them for viri), and is immune to Outlook exploits. It can handle mailboxes (folder) as big as 50MB or larger. It doesn't use a crappy database format (like pst for Outlook) that is prone to corruption and bloating. It has flexible filtering and a nice address book. It only does email and nothing else, and it does a damn fine job with it. The current version is a unified download, which includes the Light (free, fewer features) version, the Paid (full-featured, costs money) version, and a Sponsored (full-featured, free, uses a small banner-type ad) version. I personally have never missed any of the features from Paid or Sponsored mode and have always uses Light mode. I love it and highly recommend it. I only wish I could find something comparable in linux... Seth On Tue, 2003-03-11 at 09:04, Rocky Smolin - Beach Access Software wrote: > Dear List: > > I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From chris at denverdb.com Tue Mar 11 12:08:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Tue Mar 11 12:08:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <094501c2e7f7$a0688d20$f0e6ffcc@SusanOne> Message-ID: One major one is that the Command object has the parameters collection that is vital to either passing parameters to a Stored Procedure or a paramterized Query. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 10:56 AM To: AccessD at databaseadvisors.com Subject: [AccessD] ADO Command object I see a lot of code that uses the Command object but connects via a Connection object, when a Command object can do the same thing. I assume this arrangement nets advantages -- can someone name a few? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Mar 11 12:18:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue Mar 11 12:18:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: <5.2.0.9.0.20030312070932.00bc2270@mail.dalyn.co.nz> At 11/03/2003, you wrote: >Dear List: > >I'm considering switching mail programs. Does anyone have any experience >with Eudora Light? I'm currently using Outlook Express. MTIA > >Rocky I concur with Seth. I have always used Eudora and am currently using 5.2 Sponsored mode. I am not sure of the differences between light and sponsored but sponsored has more features for searching messages and filtering. By making the ad as small as possible it sits in a corner of my screen and I hardly notice it. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Tue Mar 11 12:20:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 11 12:20:01 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030311142214.BYRO3194.fep12-svc.ttys.com@localhost> Message-ID: <000001c2e7fa$cea67190$de1811d8@DanWaters> Paul, This is the code I've been using. What this does NOT do is move the focus back to the Access Window after Outlook has been opened. That's why I put in a message box to tell the user what to do. You can find the code for FormattedMsgBox on the Trigeminal web site. If anyone knows how to re-display the Access window after Outlook has opened, that sure would be helpful. HTH, Dan Waters ________________________________________________________________________ __________ Private Sub OpenOutlook() On Error GoTo EH Dim objOutlook As Object Dim stgApplication As String '-- Path to Outlook stgApplication = "C:\Program Files\Microsoft Office\Office10\Office10\OUTLOOK.EXE" '-- check to see if Outlook is open. If not then error 429 is raised Set objOutlook = GetObject(, "Outlook.Application") Exit Sub EH: Application.Echo True GlngErrNumber = Err.Number GstgErrDescription = Err.Description Select Case GlngErrNumber Case 429 FormattedMsgBox "Outlook will now open. After it is open move back to QMS.@ @", vbOKOnly, "Open Outlook" Call Shell(stgApplication, 1) Case Else Call GlobalErrors("", GlngErrNumber, GstgErrDescription, CurrentObjectName, "OpenOutlook") End Select End Sub ________________________________________________________________________ __________ -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 8:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RGeldart at detma.org Tue Mar 11 12:22:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 12:22:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: Add me to the list of very satisfied Eudora light users. I've used Eudora for five or six years, long before the Lite/Pro split, and opted for the Lite version. The ads are quite unobtrusive (I think I've only clicked on one since I've had it), and I haven't noticed anything additional I should have. I also use Norton AV/SystemWorks and ZoneAlert, which work quite compatibly with Eudora. Bob Geldart -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, March 11, 2003 10:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky From John.Clark at niagaracounty.com Tue Mar 11 12:37:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 12:37:00 2003 Subject: [AccessD] Painted into a corner Message-ID: I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark From RGeldart at detma.org Tue Mar 11 12:41:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 12:41:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: List, I'm doing an output to file routine in a module. I have a number of variables dimmed as long -- c1, c2, c3, c4, ... c20 The data file is required to put each data field on a separate line: tDate c1 c2 ... c20 My data is a single recordset of a query. I make a number of calculations and then output all the results: c1 = rst!FieldOne c2 = rst!FieldTwo c3 = rst!FieldThree c4 = c1 + c2 + c3 ... Print #1, c1 Print #1, c2 Print #1, c3 Print #1, c4 ... It seems to be inefficient to have 20 lines of "Print #1, c..." Is there a way I could run a loop something like? For i = 1 to 20 Print #1, "c" + i Next i I know that specifically won't work as I tried it, but I hope you can see what I'm driving at. I would like to loop through variables (c1...c20) and do a Print# for each. Thanks for your help, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training From dwaters at usinternet.com Tue Mar 11 12:48:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue Mar 11 12:48:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE26@exchange.pgdp> Message-ID: <000001c2e7fe$a3d30420$de1811d8@DanWaters> Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Tue Mar 11 12:51:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 12:51:00 2003 Subject: [AccessD] Painted into a corner Message-ID: I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 11 12:52:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 12:52:00 2003 Subject: [AccessD] ADO Command object References: Message-ID: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Hmmm... my understanding was that you needed the Command object to use CommandType, so how would using a Connection object to connect be an advantage with parameters? Susan H. > One major one is that the Command object has the parameters collection that > is vital to either passing parameters to a Stored Procedure or a > paramterized Query. > > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 10:56 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ADO Command object > > > I see a lot of code that uses the Command object but connects via a > Connection object, when a Command object can do the same thing. I assume > this arrangement nets advantages -- can someone name a few? > > 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 DWUTKA at marlow.com Tue Mar 11 13:01:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:01:00 2003 Subject: [AccessD] TransferText Failling Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227B@main2.marlow.com> I believe there actually is. From what I remember, there was some issue with using CurrentDB, that it could fail for some reason with certain circumstances, but for the life of me, I don't remember what they were. I personally have never had a problem with using CurrentDB, in fact, I had the opposite, I had a switchboard (on a db I didn't make), where MS's code set db=currentDB, and it was failing. Replacing the variable object with just plain CurrentDB solved the problem. Odd, eh? Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, March 11, 2003 12:23 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TransferText Failling Drew: Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db as the object? Rocky ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, March 10, 2003 2:52 PM Subject: RE: [AccessD] TransferText Failling > Here's my code....just writing it in the email..it's really simple to do. > > Function DumpRecordset(strSQL as String,strFileName as String) > Dim f As Long > Dim rs As recordset > Dim strData as String > dim i As Long > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > if rs.eof=False then rs.movefirst > f=FreeFile > If Dir(strFileName)<>"" Then Kill strFileName > Open strFileName for binary access read as f > Do Until rs.eof=True > strData="" > for i=0 to rs.Field.Count-1 > strData=strData & rs.Field(i).Value & "," > Next i > strData=Left(strData,len(strData)-1) & vbcrlf > Put f,,strData > rs.movenext > loop > rs.close > Close f > End Function > > All in all, pretty simple code. (You can change the "," to whatever > delimiter you want. > > Drew > > -----Original Message----- > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > Sent: Monday, March 10, 2003 4:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] TransferText Failling > > > Seth, > I happened to be writing a little routine to dump plan data to a text file > so the mention of your code was very timely. Thanks! several comments: If > the file doesn't exist the killfile line gives an error. I added a filexists > test. Second > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with the > Print statement. I changed binary to Append and the code works. > > I need my amount field in the text file formatted as "-####.##" but -2000.00 > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > correctly formatted in the print statement? > Regards, > Jim Hale > > -----Original Message----- > From: Seth Galitzer [mailto:sgsax at ksu.edu] > Sent: Monday, March 10, 2003 1:32 PM > To: accessd > Subject: Re: [AccessD] TransferText Failling > > > Rocky, > > Dump TransferText like a bad prom date and use file I/O manually to > generate your text file. You have much more control of the output and I > have NEVER had it fail on me. I've got sample code on my website. Look > under Downloads for "File I/O in VB". There should be enough there to > get you started. I'd be happy to answer any questions if you have any. > > Seth > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > Dear List > > > > I'm trying to use the TransferText method of exporting a table to a comma > delimited file. I get "Error 3027: Cannot Update. Database or object is > read-only" when issuing: > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > where varFileName contains a valid path and file name. Has anyone seen > this before? I have but can't remember why or what the fix was. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EricGoetz at EGIsystems.com Tue Mar 11 13:02:00 2003 From: EricGoetz at EGIsystems.com (Eric Goetz) Date: Tue Mar 11 13:02:00 2003 Subject: [AccessD] AXP form events for filter that returns no records Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB0130FF@servera22.doma.ops> Hi, It sounds like I'll be counting the records in a record set. I'm not sure when I count them in the chain of events. How can I find out when the form's recordset gets the filter applied after I assign the "FilterOn" property of the form to "True", and can I still cancel the filter then? Or, do I create my own recordset to count the number of records the filter will be returning, and if it is more than zero, I let the event propagate so the filter gets applied to the form's recordset? In a more general sense, where do I go to find out the interaction between events and the form's recordset? Should I build diagnostic code to dump the form's recordset after each event that I can find in the chain? Is there a hook in the event processing that I can use to trigger code to log each event that occurs (like a Spy program?) How can I tell when the form's recordset gets changed? TIA, Eric -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Mon 3/10/2003 9:34 PM To: accessd at databaseadvisors.com Cc: Subject: Re: [AccessD] AXP form events for filter that returns no records ...look at RecordCount in your Help file ...actual code differs depending upon whether you are using DAO or ADO ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Eric Goetz" To: Sent: Monday, March 10, 2003 6:59 PM Subject: [AccessD] AXP form events for filter that returns no records > Hi, > > I'm have a form with an option group that allows the user to select from a set of filters. When the one of the options is selected, I use the AfterUpdate event of the frame containing the option to set Me.Filter to the appropriate string. This works great when the filter causes the forms record set to return more than zero records. > > When the filter causes zero records for the form, none of my controls are displayed. I would like to handle this possibly by cancelling the option button selection and displaying a dialog box that says that no records meet the criteria of the filter. How do I go about that? I'm thinking that I might need to use the BeforeUpdate event of the frame, but how do I find out how many records the filter will return? I'm looking through my references to find out when that record set gets filtered and how to cancel, but I could sure use some help. > > TIA, > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6450 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 11 13:02:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:02:22 2003 Subject: [AccessD] Public variable losing contents Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227C@main2.marlow.com> Are you ending your code anywhere...that will reset your globals. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 5:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Public variable losing contents To all, I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name. (i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form. The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form. But when the special pay rates form is called, pubCallingForm is set back to null. Anybody have any idea as to why this is happening ? Thanks in advance Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:03:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:03:00 2003 Subject: [AccessD] Public variable losing contents Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227D@main2.marlow.com> Don't be confused. Forms are class modules. When you use the Public statement within a class module (such as a form), you are creating a property, NOT a global variable. Public only creates a global variable when placed within the declarations of a standard module. Drew -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, March 11, 2003 7:38 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] Public variable losing contents Got around it, but I can't see why....... I was declaring the variable public inside the startup form, I removed it from the startup form and placed it inside a module same as before public pubCallingForm and it now works fine and thats the only change I made......CONFUSED....... Paul From: "Bryan Carbonnell" Date: Tue 11/Mar/2003 13:11 GMT To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public variable losing contents On 11 Mar 2003 at 11:32, paul.hartland at fsmail.net wrote: > fields on the calling form. But when the special pay rates form is > called, pubCallingForm is set back to null. > > Anybody have any idea as to why this is happening ? Paul, Put a Watch on the variable pubCallingForm, making sure the context is set to all procedures and all modules. You can set the watch to stop the code when the value changes, so you can see where the value is being changed. -- Bryan Carbonnell - carbonnb at sympatico.ca Warning: dates on calendar are closer than they appear. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:05:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227E@main2.marlow.com> You can use an OLE object field, however I recommend either storing the path to the file, or using a BLOB. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 11 13:05:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:05:59 2003 Subject: [AccessD] Adding Attachments Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8227F@main2.marlow.com> http://www.mvps.org/Access has a nice module that uses API calls to ask the user for a file name. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 11, 2003 9:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Can you direct me to where I can find information on how to use the Common Dialog control? I searched help & MS knowledge base, but I could not find anything that tells how to make it work. I have never used any of the ActiveX items under More Controls, for that reason - never know what to do with them. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, March 11, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, What I did was use the Common Dialog control (you can also use File Dialog but it won't work in a runtime app) to allow the user to pick the current location of the file. Then I move a copy of it into a designated folder path and store the full pathname (path and file name) in a database string field. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 13:10:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 13:10:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Message-ID: <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> Command objects allow you to work with Stored Procedures containing output parameters. Allow you to sue prepared statements YOu can call a command multiple times Command Objects can be reused within an application IS this what your after? martin Quoting Susan Harkins : > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters > collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I > assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 chris at denverdb.com Tue Mar 11 13:11:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Tue Mar 11 13:11:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> Message-ID: I think I misunderstood your question, you're asking why create a connection object just to use that connection object for the .ActiveConnection of a Command? If you're just using the currentproject.connection I can't really see any advantage of first creating a Connection object and using that instead, seems to just add extra overhead. But if you're connection object is to any other backend than the CurrentProject.Connection you need to the Connection object to establish a valid connection first using the .ConnectionString etc.... HTH, Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Hmmm... my understanding was that you needed the Command object to use CommandType, so how would using a Connection object to connect be an advantage with parameters? Susan H. > One major one is that the Command object has the parameters collection that > is vital to either passing parameters to a Stored Procedure or a > paramterized Query. > > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 10:56 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] ADO Command object > > > I see a lot of code that uses the Command object but connects via a > Connection object, when a Command object can do the same thing. I assume > this arrangement nets advantages -- can someone name a few? > > 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 scott.marcus at ae.ge.com Tue Mar 11 13:15:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Tue Mar 11 13:15:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2D@bwam02msx.ae.ge.com> John, This can be done using a "Union" query. The whole thing could possibly be done in one query I just need to know the table structure. Scott Marcus -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 1:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Painted into a corner I have actually created...easier than I thought...two more queries. Each of these does one of the sections. My original query giving the first group of numbers, I already had. Now I have created two more queries...each doing one of the latter two sections. Now, is there a way to bring them together? I am going to try sub-reports, but I am guessing that this won't do it. >>> John.Clark at niagaracounty.com 03/11/03 01:34PM >>> I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 13:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 13:19:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82280@main2.marlow.com> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From John.Clark at niagaracounty.com Tue Mar 11 13:20:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 13:20:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I think I've got it. I really thought I was sunk this time. Sub Reports, to my surprise actually worked. From DMcAfee at haascnc.com Tue Mar 11 13:22:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue Mar 11 13:22:00 2003 Subject: [AccessD] Select all controls where Visible = No? Message-ID: <657FB70438B7D311AF320090279C1801026D7940@EXCHMAIL> What I usually do is disable all non-visible fields, so in design view, I can quickly tell which are viewable and which aren't, along with a label like "NonViewableCompanyID". I also usually place them all near each other (like in a corner). By doing this you can either quickly drag a window around all of them to quickly change them back to visible (or some other change) or press CTRL+A (and holding SHIFT, click on the fields that you don't want to select) HTH David McAfee -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, March 11, 2003 9:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? Yes, trying to select them all in design view. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Select all controls where Visible = No? What are you trying to do, select them in design view? Cause you can't select non-visible controls at runtime. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 7:49 AM To: AccessD Subject: [AccessD] Select all controls where Visible = No? Is there some magic keystroke that will do this? TIA, Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 11 13:25:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 13:25:01 2003 Subject: [AccessD] ADO Command object References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> Message-ID: <09b801c2e803$d63db770$f0e6ffcc@SusanOne> No. Let me restate this and see if I can do better. I often see Command objects in the form Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Set cnn = New ADODB.Connection cnn.Open connectionstring Set cmd = New ADODB.Command Set cmd.ActiveConnection = cnn when Dim strConn As String Dim cmd As ADODB.command strConn = connectionstring Set cmd = New ADODB.command With cmd .ActiveConnection = strConn ... End With will do -- I don't see the purpose of connecting the Command object via a Connection object. I'm assuming that it's required for certain tasks, so what would those tasks be? So far, I've not run into anything, but then, I'm use to simple examples. Susan H. ----- Original Message ----- From: To: Sent: Tuesday, March 11, 2003 2:08 PM Subject: Re: [AccessD] ADO Command object > Command objects allow you to work with Stored Procedures containing output > parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to use > > CommandType, so how would using a Connection object to connect be an > > advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via a > > > Connection object, when a Command object can do the same thing. I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 BBarabash at TappeConstruction.com Tue Mar 11 13:28:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 13:28:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B4@TAPPEEXCH01> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. Another (slower) method, would be to use DCount statements on each of the 9 textboxes. Its ControlSource would look something like: =DCount("*","tblCases","Status=1 AND Type='ADC'") =DCount("*","tblCases","Status=1 AND Type='HR'") =DCount("*","tblCases","Status=1 AND Type='MA'") =DCount("*","tblCases","Status=2 AND Type='ADC'") ... -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner I got fancy w/my latest program, and now cannot seem to complete the project. That is, I cannot finish the last report. This due to my own stubbornness and stupidity, but I'm guessing that somebody on the list can either guide me to an answer, or at least say, "That can't be done you idiot!" ...thus saving me time looking for a solution. Many of you offered advice, while I was building my drop-down box...it was the one that listed a category, that was not able to be chosen, and "details", under these categories, that were indented slightly. The box, in its drop down state, looks like this: CASES W/NO ERRORS FOUND ADC HR MA DENIED/WITHDRAWN ADC HR MA GRANT REDUCTION ADC HR MA I then found out that they needed a report that had totals for each type, within a time period, and I have gotten close, with Jim DeMarco's advice. I used a query that makes a subset of the main table limited by date...this comes from a form with a start and ending date. I then use another query that uses this query, along w/the table with the info for the combo box above, to total each category. I get the following for the time period that I have chosen: CASES W/NO ERRORS FOUND ADC 1 CASES W/NO ERRORS FOUND HR 4 CASES W/NO ERRORS FOUND MA 2 DENIED/WITHDRAWN HR 1 GRANT REDUCTION ADC 3 GRANT REDUCTION HR 1 GRANT REDUCTION MA 2 I also sum up the counts with the following formula behind a text box: "=Sum([Count])" This is close, but the are telling me that they need to know: 1) How many of each detail (i.e. "ADC", "HR", "MA") 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", "DENIED/WITHDRAWN", "GRANT REDUCTION") It looks like a crosstab query, but I don't even know what a crosstab query is. I have a total mental block, when it comes to these things...I just don't get them! Is this what I should be looking at? Or, is there another way to pull these out? For instance, if I pull apart the "CASES W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? I need to end up with: CASES W/NO ERRORS FOUND 7 DENIED/WITHDRAWN 1 GRANT REDUCTION 6 ADC 4 HR 6 MA 4 in addition to what I currently have. I am currently investigating doing each of these in its own query, but then how do I blend them, assuming I am able to figure it out. A Humongous thanks to whoever can help me out! I am so far behind schedule, that it isn't funny. The next project in line has a due date of April 1st (the start of their fiscal year), and that one is much bigger than my current one. I am already thinking of just giving them a "shell" so they can input, and then finish the program around it. John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Mar 11 13:28:23 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 13:28:23 2003 Subject: [AccessD] ADO Command object References: Message-ID: <09be01c2e804$3f528100$f0e6ffcc@SusanOne> I'm using it to connect to other databases on my local system -- including a local SQL Server. Function EditAccessNorthwind() Dim strConn As String Dim cmd As ADODB.command Dim rst As ADODB.Recordset strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Program Files\Microsoft Office\" & _ "Office10\Samples\Northwind.mdb;" Set cmd = New ADODB.command With cmd .ActiveConnection = strConn .CommandText = "UPDATE Employees " & _ "SET Title = 'Account Executive' " & _ "WHERE Title = 'Sales Representative'" .Execute End With End Function Function EditSQLServerNorthwind() Dim strConn As String Dim cmd As ADODB.command Dim rst As ADODB.Recordset strConn = "Provider=SQLOLEDB;" & _ "Server=(local);" & _ "Initial Catalog=Northwind;" & _ "Integrated Security=SSPI;" Set cmd = New ADODB.command With cmd .ActiveConnection = strConn .CommandText = "UPDATE Employees " & _ "SET Title = 'Account Executive' " & _ "WHERE Title = 'Sales Representative'" .Execute End With Set cmd = Nothing End Function Susan H. > I think I misunderstood your question, you're asking why create a connection > object just to use that connection object for the .ActiveConnection of a > Command? If you're just using the currentproject.connection I can't really > see any advantage of first creating a Connection object and using that > instead, seems to just add extra overhead. But if you're connection object > is to any other backend than the CurrentProject.Connection you need to the > Connection object to establish a valid connection first using the > .ConnectionString etc.... > > HTH, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Tuesday, March 11, 2003 11:52 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 cfoust at infostatsystems.com Tue Mar 11 13:45:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 13:45:00 2003 Subject: [AccessD] ADO Command object Message-ID: >>Allow you to sue prepared statements Lawyers are everywhere these day!! ROTFL Charlotte Foust -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, March 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Command objects allow you to work with Stored Procedures containing output parameters. Allow you to sue prepared statements YOu can call a command multiple times Command Objects can be reused within an application IS this what your after? martin Quoting Susan Harkins : > Hmmm... my understanding was that you needed the Command object to use > CommandType, so how would using a Connection object to connect be an > advantage with parameters? > > Susan H. > > > > One major one is that the Command object has the parameters > collection > that > > is vital to either passing parameters to a Stored Procedure or a > > paramterized Query. > > > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > Harkins > > Sent: Tuesday, March 11, 2003 10:56 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] ADO Command object > > > > > > I see a lot of code that uses the Command object but connects via a > > Connection object, when a Command object can do the same thing. I > assume > > this arrangement nets advantages -- can someone name a few? > > > > 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 hsimpson88 at hotmail.com Tue Mar 11 13:49:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 11 13:49:00 2003 Subject: [AccessD] TransferText Failling Message-ID: DAO is assumed with CurrentDb: copy the little sub below and watch it choke on the CurrentDb loop. The reason is, CurrentDb is a function that returns an implicit object variable pointing at a database object. It is not an object variable in and of itself. It returns a new pointer each time it is called so the For Each loop can never work as this loop requires a persistent object. No problem for the db object variable. Sub DBvsCurDB() Dim db As Database Dim tdf As TableDef Set db = CurrentDb For Each tdf In db.TableDefs MsgBox tdf.Name Next For Each tdf In CurrentDb MsgBox tdf.Name Next End Sub Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] TransferText Failling >Date: Tue, 11 Mar 2003 13:00:20 -0600 > >I believe there actually is. From what I remember, there was some issue >with using CurrentDB, that it could fail for some reason with certain >circumstances, but for the life of me, I don't remember what they were. > >I personally have never had a problem with using CurrentDB, in fact, I had >the opposite, I had a switchboard (on a db I didn't make), where MS's code >set db=currentDB, and it was failing. Replacing the variable object with >just plain CurrentDB solved the problem. > >Odd, eh? > >Drew > >-----Original Message----- >From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] >Sent: Tuesday, March 11, 2003 12:23 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] TransferText Failling > > >Drew: > >Is there any advantage to using CurrentDB. vs set db=CurrentDB and using db >as the object? > >Rocky > >----- Original Message ----- >From: "Drew Wutka" >To: >Sent: Monday, March 10, 2003 2:52 PM >Subject: RE: [AccessD] TransferText Failling > > > > Here's my code....just writing it in the email..it's really simple to >do. > > > > Function DumpRecordset(strSQL as String,strFileName as String) > > Dim f As Long > > Dim rs As recordset > > Dim strData as String > > dim i As Long > > set rs=CurrentDB.OpenRecordset(strSQL) 'this is for Access 97 and DAO > > if rs.eof=False then rs.movefirst > > f=FreeFile > > If Dir(strFileName)<>"" Then Kill strFileName > > Open strFileName for binary access read as f > > Do Until rs.eof=True > > strData="" > > for i=0 to rs.Field.Count-1 > > strData=strData & rs.Field(i).Value & "," > > Next i > > strData=Left(strData,len(strData)-1) & vbcrlf > > Put f,,strData > > rs.movenext > > loop > > rs.close > > Close f > > End Function > > > > All in all, pretty simple code. (You can change the "," to whatever > > delimiter you want. > > > > Drew > > > > -----Original Message----- > > From: Hale, Jim [mailto:jim.hale at fleetpride.com] > > Sent: Monday, March 10, 2003 4:13 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] TransferText Failling > > > > > > Seth, > > I happened to be writing a little routine to dump plan data to a text >file > > so the mention of your code was very timely. Thanks! several comments: >If > > the file doesn't exist the killfile line gives an error. I added a >filexists > > test. Second > > "Open strOutfile For Binary As intFileDesc" doesn't seem to work with >the > > Print statement. I changed binary to Append and the code works. > > > > I need my amount field in the text file formatted as "-####.##" >but -2000.00 > > is printed as -2000; 2000.20 is printed as 2000.2, etc. How can this be > > correctly formatted in the print statement? > > Regards, > > Jim Hale > > > > -----Original Message----- > > From: Seth Galitzer [mailto:sgsax at ksu.edu] > > Sent: Monday, March 10, 2003 1:32 PM > > To: accessd > > Subject: Re: [AccessD] TransferText Failling > > > > > > Rocky, > > > > Dump TransferText like a bad prom date and use file I/O manually to > > generate your text file. You have much more control of the output and I > > have NEVER had it fail on me. I've got sample code on my website. Look > > under Downloads for "File I/O in VB". There should be enough there to > > get you started. I'd be happy to answer any questions if you have any. > > > > Seth > > > > On Mon, 2003-03-10 at 12:07, Rocky Smolin - Beach Access Software wrote: > > > Dear List > > > > > > I'm trying to use the TransferText method of exporting a table to a >comma > > delimited file. I get "Error 3027: Cannot Update. Database or object >is > > read-only" when issuing: > > > > > > DoCmd.TransferText acExportDelim, , "tblAddRooms", varFileName > > > > > > where varFileName contains a valid path and file name. Has anyone >seen > > this before? I have but can't remember why or what the fix was. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From cfoust at infostatsystems.com Tue Mar 11 13:50:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 13:50:00 2003 Subject: [AccessD] ADO Command object Message-ID: Well, the Connection object has properties that make it easier to see and set the various pieces of the connection string instead of creating one huge string that you then may have to debug when it doesn't work. You can't get there through the Command object. It also has the errors collection you'll need for any error trapping. I personally find it easier to work with cnn.Errors than having to go through the command object first. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, March 11, 2003 11:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object No. Let me restate this and see if I can do better. I often see Command objects in the form Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Set cnn = New ADODB.Connection cnn.Open connectionstring Set cmd = New ADODB.Command Set cmd.ActiveConnection = cnn when Dim strConn As String Dim cmd As ADODB.command strConn = connectionstring Set cmd = New ADODB.command With cmd .ActiveConnection = strConn ... End With will do -- I don't see the purpose of connecting the Command object via a Connection object. I'm assuming that it's required for certain tasks, so what would those tasks be? So far, I've not run into anything, but then, I'm use to simple examples. Susan H. ----- Original Message ----- From: To: Sent: Tuesday, March 11, 2003 2:08 PM Subject: Re: [AccessD] ADO Command object > Command objects allow you to work with Stored Procedures containing > output parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to > > use CommandType, so how would using a Connection object to connect > > be an advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via > > > a Connection object, when a Command object can do the same thing. > > > I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 13:56:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 13:56:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: References: Message-ID: <1047412509.3e6e3f1d6909e@hosea.qub.ac.uk> LOL You know what I meant. Martin Quoting Charlotte Foust : > >>Allow you to sue prepared statements > > Lawyers are everywhere these day!! ROTFL > > Charlotte Foust > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, March 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Command objects allow you to work with Stored Procedures containing > output > parameters. > > Allow you to sue prepared statements > > YOu can call a command multiple times > > Command Objects can be reused within an application > > IS this what your after? > > > martin > > Quoting Susan Harkins : > > > Hmmm... my understanding was that you needed the Command object to > use > > > CommandType, so how would using a Connection object to connect be an > > > advantage with parameters? > > > > Susan H. > > > > > > > One major one is that the Command object has the parameters > > collection > > that > > > is vital to either passing parameters to a Stored Procedure or a > > > paramterized Query. > > > > > > Chris Mackin > > > www.denverdb.com > > > Denver Database Consulting, LLC > > > > > > > > > -----Original Message----- > > > From: accessd-admin at databaseadvisors.com > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > Harkins > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] ADO Command object > > > > > > > > > I see a lot of code that uses the Command object but connects via a > > > > Connection object, when a Command object can do the same thing. I > > assume > > > this arrangement nets advantages -- can someone name a few? > > > > > > 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 harkins at iglou.com Tue Mar 11 14:02:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 14:02:00 2003 Subject: [AccessD] ADO Command object References: Message-ID: <0a0f01c2e808$fb7bc450$f0e6ffcc@SusanOne> How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of creating > one huge string that you then may have to debug when it doesn't work. > You can't get there through the Command object. It also has the errors > collection you'll need for any error trapping. I personally find it > easier to work with cnn.Errors than having to go through the command > object first. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, March 11, 2003 11:24 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > No. Let me restate this and see if I can do better. > > I often see Command objects in the form > > Dim cnn As ADODB.Connection > Dim cmd As ADODB.Command > Set cnn = New ADODB.Connection > cnn.Open connectionstring > Set cmd = New ADODB.Command > Set cmd.ActiveConnection = cnn > > when > > Dim strConn As String > Dim cmd As ADODB.command > strConn = connectionstring > Set cmd = New ADODB.command > With cmd > .ActiveConnection = strConn > ... > End With > > will do -- I don't see the purpose of connecting the Command object via > a Connection object. I'm assuming that it's required for certain tasks, > so what would those tasks be? So far, I've not run into anything, but > then, I'm use to simple examples. > > Susan H. > > ----- Original Message ----- > From: > To: > Sent: Tuesday, March 11, 2003 2:08 PM > Subject: Re: [AccessD] ADO Command object > > > > Command objects allow you to work with Stored Procedures containing > > output parameters. > > > > Allow you to sue prepared statements > > > > YOu can call a command multiple times > > > > Command Objects can be reused within an application > > > > IS this what your after? > > > > > > martin > > > > Quoting Susan Harkins : > > > > > Hmmm... my understanding was that you needed the Command object to > > > use CommandType, so how would using a Connection object to connect > > > be an advantage with parameters? > > > > > > Susan H. > > > > > > > > > > One major one is that the Command object has the parameters > > > collection > > > that > > > > is vital to either passing parameters to a Stored Procedure or a > > > > paramterized Query. > > > > > > > > Chris Mackin > > > > www.denverdb.com > > > > Denver Database Consulting, LLC > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-admin at databaseadvisors.com > > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] ADO Command object > > > > > > > > > > > > I see a lot of code that uses the Command object but connects via > > > > a Connection object, when a Command object can do the same thing. > > > > I > > > assume > > > > this arrangement nets advantages -- can someone name a few? > > > > > > > > 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 mikedorism at ntelos.net Tue Mar 11 14:28:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue Mar 11 14:28:00 2003 Subject: [AccessD] ADO Command object In-Reply-To: <0a0f01c2e808$fb7bc450$f0e6ffcc@SusanOne> Message-ID: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> Since I'm working strictly in an ADP, I don't bother to use the Connection object at all. I can see using it if I needed to connect to something other than the CurrentProject.Connection (or anything you can get to through it). In my error handler code, I cycle through the CurrentProject.Connection.Errors collection for information relating to the failure of the Command object. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, March 11, 2003 03:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of > creating one huge string that you then may have to debug when it > doesn't work. You can't get there through the Command object. It also > has the errors collection you'll need for any error trapping. I > personally find it easier to work with cnn.Errors than having to go > through the command object first. > > Charlotte Foust From BBarabash at TappeConstruction.com Tue Mar 11 14:41:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 14:41:00 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From cfoust at infostatsystems.com Tue Mar 11 14:43:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 11 14:43:00 2003 Subject: [AccessD] ADO Command object Message-ID: You have to get to the connection through the command object. For Each errADO In cmd.ActiveConnection.Errors Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, March 11, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object How do you handle errors in a Command object then? Susan H. > Well, the Connection object has properties that make it easier to see > and set the various pieces of the connection string instead of > creating one huge string that you then may have to debug when it > doesn't work. You can't get there through the Command object. It also > has the errors collection you'll need for any error trapping. I > personally find it easier to work with cnn.Errors than having to go > through the command object first. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, March 11, 2003 11:24 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > No. Let me restate this and see if I can do better. > > I often see Command objects in the form > > Dim cnn As ADODB.Connection > Dim cmd As ADODB.Command > Set cnn = New ADODB.Connection > cnn.Open connectionstring > Set cmd = New ADODB.Command > Set cmd.ActiveConnection = cnn > > when > > Dim strConn As String > Dim cmd As ADODB.command > strConn = connectionstring > Set cmd = New ADODB.command > With cmd > .ActiveConnection = strConn > ... > End With > > will do -- I don't see the purpose of connecting the Command object > via a Connection object. I'm assuming that it's required for certain > tasks, so what would those tasks be? So far, I've not run into > anything, but then, I'm use to simple examples. > > Susan H. > > ----- Original Message ----- > From: > To: > Sent: Tuesday, March 11, 2003 2:08 PM > Subject: Re: [AccessD] ADO Command object > > > > Command objects allow you to work with Stored Procedures containing > > output parameters. > > > > Allow you to sue prepared statements > > > > YOu can call a command multiple times > > > > Command Objects can be reused within an application > > > > IS this what your after? > > > > > > martin > > > > Quoting Susan Harkins : > > > > > Hmmm... my understanding was that you needed the Command object to > > > use CommandType, so how would using a Connection object to connect > > > be an advantage with parameters? > > > > > > Susan H. > > > > > > > > > > One major one is that the Command object has the parameters > > > collection > > > that > > > > is vital to either passing parameters to a Stored Procedure or a > > > > paramterized Query. > > > > > > > > Chris Mackin > > > > www.denverdb.com > > > > Denver Database Consulting, LLC > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-admin at databaseadvisors.com > > > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > > Sent: Tuesday, March 11, 2003 10:56 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] ADO Command object > > > > > > > > > > > > I see a lot of code that uses the Command object but connects > > > > via > > > > a Connection object, when a Command object can do the same thing. > > > > I > > > assume > > > > this arrangement nets advantages -- can someone name a few? > > > > > > > > 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 RGeldart at detma.org Tue Mar 11 14:55:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue Mar 11 14:55:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: I found a way to do it that works almost as well... Dim cr as string cr = vbCrLf Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; c7; cr; c8; cr; c9; cr; c10 Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; c16; cr; c17; cr; c18; cr; c19; cr; c20 ... It allows me to condense the code so I can output ten data items per line. Thanks, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: Geldart, Robert [mailto:RGeldart at detma.org] > Sent: Tuesday, March 11, 2003 1:40 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Iteration construct to print variables > > > List, > > I'm doing an output to file routine in a module. > > I have a number of variables dimmed as long -- c1, c2, c3, > c4, ... c20 > > The data file is required to put each data field on a separate line: > tDate > c1 > c2 > ... > c20 > > My data is a single recordset of a query. I make a number of > calculations > and then output all the results: > > c1 = rst!FieldOne > c2 = rst!FieldTwo > c3 = rst!FieldThree > c4 = c1 + c2 + c3 > ... > Print #1, c1 > Print #1, c2 > Print #1, c3 > Print #1, c4 > ... > > It seems to be inefficient to have 20 lines of "Print #1, > c..." Is there a > way I could run a loop something like? > > For i = 1 to 20 > Print #1, "c" + i > Next i > > I know that specifically won't work as I tried it, but I hope > you can see > what I'm driving at. I would like to loop through variables > (c1...c20) and > do a Print# for each. > > Thanks for your help, > > Bob Geldart > RGeldart at detma.org > Massachusetts Department of Employment & Training > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Tue Mar 11 15:12:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 15:12:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) I looked up the error and it says: Possible causes with Microsoft Access: ? You have a parameter in a crosstab query or in a query that a crosstab query or chart is based on, and the parameter data type isn't explicitly specified in the Query Parameters dialog box. To solve the problem: ? In the query that contains the parameter, specify the parameter and its data type in the Query Parameters dialog box. And; ?Set the ColumnHeadings property for the query that contains the parameter. I didn't see a "Query Parameters" dialog box, so I then looked up "PARAMETERS Declaration" in the Access help...this is A97 BTW...and it gave me sample code: PARAMETERS [Enter a Last Name:] Text; SELECT * FROM Employees WHERE LastName = [Enter a Last Name:]; and this looks simple enough...for a single, user input, parameter...but I have the following line: >=[Forms]![PrintMenu]![txtStartDate] And <=[Forms]![PrintMenu]![txtEndDate] So, to throw a wrench in the works, I not only have two parameters, but they are located on a form. It may sound stupid, but what is actually my parameter(s) here? I now know where the "Query Parameters" is, but either way, I don't understand what exactly I am declaring. Thanks for the help though...I actually see the cross-tab idea a little clearer now...not there yet, but it will. John W Clark >>> BBarabash at tappeconstruction.com 03/11/03 02:28PM >>> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. From CWortz at tea.state.tx.us Tue Mar 11 15:16:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 11 15:16:00 2003 Subject: [AccessD] Painted into a corner Message-ID: John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) From martyconnelly at shaw.ca Tue Mar 11 15:25:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 11 15:25:01 2003 Subject: [AccessD] Searching M$'s KB References: <003e01c2e4da$c6bdb4c0$6101a8c0@amd2k512> Message-ID: <3E6E542A.9090906@shaw.ca> I have missed the ability to search the MS Knowledge base by just typing in mskb 814033 in the URL in IE 6.0 and Win XP and going directly to the article. This may still exist in IE5.5 (US version) automatically without the tweak , haven't got a copy to test. Today I just read an Article in Woodyswatch WinXP newsletter of how to put back in with MS TweakUI PowerToys. Hurrah! Click on current article 10/3/2003 http://www.woodyswatch.com/winxp/index.asp William Hindman wrote: > ...I've been know to be wrong :) > William Hindman > > ----- Original Message ----- > From: John W. Colby > To: accessd at databaseadvisors.com > > Sent: Friday, March 07, 2003 1:41 PM > Subject: RE: [AccessD] Searching M$'s KB > > Flattery will get you everywhere. ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of > William Hindman > Sent: Friday, March 07, 2003 7:20 AM > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Searching M$'s KB > > ...and it is exactly that mix that makes this, for me at > least, much more valuable than any other Access list or > newsgroup ...its fairly well balanced between Access gurus and > those with the level of experience I originally brought to the > list ...not a day goes by that I don't learn something > entirely new and useful in my work, or better yet, catch a > glimpse of gurus exchanging salvos in debates that illuminate > the Access landscape for all of us ...so as far as I'm > concerned, bring it on ...the lurkers finally popping up with > the thing that's stumped them for days ...or sages like JC > asking questions that I don't even begin to understand until > days later when I've absorbed the equivalent of a post-grad > semester in database design. > William Hindman > > ----- Original Message ----- > From: Wortz, Charles > To: accessd at databaseadvisors.com > > Sent: Friday, March 07, 2003 7:02 AM > Subject: RE: [AccessD] Searching M$'s KB > > I have to respectively disagree with Susan and Arthur. I > don't mind answering a commonly asked question if the > person seems to have put forth some effort to solve the > problem. But I do not like to have people come to the list > as a first-ditch effort to ask common questions. > The reason I stay active on this list is because there are > a lot of difficult and/or unusual questions that pop up > that help us all when we get to similar situations. Susan > has asked some questions that seemed very simple on the > surface, but when people start to answer them it turned > out that there were deeper meanings than most of us were > aware of. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Thursday 2003 Mar 06 16:28 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Searching M$'s KB > > It?s a first-ditch effort J > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: March 6, 2003 10:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Searching M$'s KB > > I know that at times I have told listers that the answer > is in M$'s KB without giving an article number. Sorry > about that, but now you have no excuse for not looking it > up yourself before asking the list. > > ==============I always come to the list when I find > myself stuck. It's the first place I try. Not the KB, > not the wide, wide, world of the web. Why? Because if > there's an answer to be had, it is probably here. In > fact, AccessD has been mentioned in two of my book > acknowledgements. Why should anyone waste time > spinning their wheels looking for something they might > not find. Even if info is found, trying to apply it to > what you're doing can be as much a problem as finding > it! Especially the MK articles, because they're almost > always out of date! > > That just isn't very efficient. In our business, time > is just as important as accuracy. > > No one on this list should waste precious time looking > up what someone here already knows. It doesn't make > sense. This list is not a last ditch effort -- "I've > looked everywhere else..." > > Susan H. > > ------------------------------------------------------------------------ > Get your copy today at http://www.eMailBoss.com > From jbartow at earthlink.net Tue Mar 11 15:32:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 15:32:00 2003 Subject: [AccessD] Word Automation In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> Message-ID: Hi Brett, I'm just putting out feelers here. I don't remember this being discussed before and I usually preview at least the subject lines of AccessD mail but it could've been one of those subject lines that never dies where the discussion just keeps changing. I'll check the archives. Mail Merge does work good if you're on the same versions of Word and Access. Otherwise it causes some (minor to me) irritations that are not to well recieved by end-users. I sell these apps to customers and they don't like all kinds of dialog boxes popping up, it "scares them" :o) -If you have W2k and A97 it will intially want to convert the DB. After you say no the first time you're OK but a lot of end users just freak out! -It will pop up another instance of the Access DB where the merge data is coming from (sometimes the extra process closes with Word and somtimes not) -W97 and W2k can't read an A97 MDE data source it has to be a MDB -W97 can't read the A2k format so for these issues you have to jump through all kinds of extra hoops converting the data to a format W97 can read. I wish I could jsut make them all have the same version but I'm not that good... JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, March 11, 2003 2:42 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Word Automation I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Tue Mar 11 15:38:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Tue Mar 11 15:38:00 2003 Subject: [AccessD] Painted into a corner Message-ID: Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From mwhittinghill at symphonyinfo.com Tue Mar 11 15:41:01 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue Mar 11 15:41:01 2003 Subject: [AccessD] Word Automation References: Message-ID: <005901c2e817$4a451b50$0300000a@Pascal> I don't know if this is relevant, but what we do here with Mail Merge is export the data as a text file from Access, then use that text file as the source document for the Word mail merge. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: "John Bartow" To: Sent: Tuesday, March 11, 2003 3:32 PM Subject: RE: [AccessD] Word Automation > Hi Brett, > I'm just putting out feelers here. I don't remember this being discussed > before and I usually preview at least the subject lines of AccessD mail but > it could've been one of those subject lines that never dies where the > discussion just keeps changing. I'll check the archives. > > Mail Merge does work good if you're on the same versions of Word and Access. > > Otherwise it causes some (minor to me) irritations that are not to well > recieved by end-users. I sell these apps to customers and they don't like > all kinds of dialog boxes popping up, it "scares them" :o) > > -If you have W2k and A97 it will intially want to convert the DB. After you > say no the first time you're OK but a lot of end users just freak out! > -It will pop up another instance of the Access DB where the merge data is > coming from (sometimes the extra process closes with Word and somtimes not) > > -W97 and W2k can't read an A97 MDE data source it has to be a MDB > -W97 can't read the A2k format > > so for these issues you have to jump through all kinds of extra hoops > converting the data to a format W97 can read. > > I wish I could jsut make them all have the same version but I'm not that > good... > > JB > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Tuesday, March 11, 2003 2:42 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Word Automation > > > I've seen this discussed before on this list, and wondered why people are > rolling their own mail merge routines? Personally, I find bookmarks > cumbersome to work with and mail merge has always worked well for me with > minimal effort. > > > -----Original Message----- > From: John Bartow [mailto:jbartow at earthlink.net] > Sent: Tuesday, March 11, 2003 10:38 AM > To: AccessD > Subject: [AccessD] Word Automation > > > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail merges > with your bookmark style automation? > > Basically use bokmarks and some looping scheme to dump addresses it a > prepared letter/envelope, creating one document with all of the merged > letters/envelopes. > > JB > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Tue Mar 11 15:47:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue Mar 11 15:47:00 2003 Subject: [AccessD] Word Automation Message-ID: If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From jbartow at earthlink.net Tue Mar 11 15:55:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 15:55:00 2003 Subject: [AccessD] Word Automation In-Reply-To: Message-ID: Henry, Interesting note. Similar to Bryan's technique in his articles in Many-to-Many. Do you do mail merges via bookmarks? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Tuesday, March 11, 2003 3:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 11 15:55:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 15:55:26 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82287@main2.marlow.com> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From harkins at iglou.com Tue Mar 11 16:02:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 11 16:02:01 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> Message-ID: <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> > Since I'm working strictly in an ADP, I don't bother to use the Connection > object at all. I can see using it if I needed to connect to something other > than the CurrentProject.Connection (or anything you can get to through it). =============I'm not sure what this means. I'm not using CurrentProject.Connection, but a connection string that's connecting to whatever I want. I don't seem to have lost a thing by doing so -- I still don't see the advantage of using the Connection object instead of a connection string. I'm not arguing -- I just don't understand. The light's not going on. :) Susan H. From carbonnb at sympatico.ca Tue Mar 11 16:30:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 16:30:01 2003 Subject: [AccessD] Word Automation In-Reply-To: Message-ID: <3E6E1CEA.31646.21420E7@localhost> On 11 Mar 2003 at 10:37, John Bartow wrote: > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail > merges with your bookmark style automation? John, This is just off the top of my head, and totally untested. You will need a "master" merge document. Create this first. It should be just a blank doc to start. Run the bookmark merge, one record at a time. Save that document temporarily. Insert the "temp" document you just created at the end of the "master" merge document. and loop. You may want to kill the temp doc after you have inserted it. Also, you will need to insert a page break after you insert the file so that the next doc starts at the top of the next page. This will give you one document with all the resulting merges in one. Just as a side note, the master document I'm talking about here does NOT have anything to do with Word's Master Document feature. It's just a plain jane blank document that will hold the resulting merges. -- Bryan Carbonnell - carbonnb at sympatico.ca If you never fail, you're not trying hard enough. From carbonnb at sympatico.ca Tue Mar 11 16:35:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 11 16:35:01 2003 Subject: [AccessD] Word Automation In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C6B5@TAPPEEXCH01> Message-ID: <3E6E1E1B.4752.218C48C@localhost> On 11 Mar 2003 at 14:41, Brett Barabash wrote: > I've seen this discussed before on this list, and wondered why people > are rolling their own mail merge routines? Personally, I find > bookmarks cumbersome to work with and mail merge has always worked > well for me with minimal effort. I don't like Word's Mail Merge feature because I don't feel I have the control I want, which I feel that I have with the bookmark merge. I also haven't figured out how to do a 1-M merge into Word yet (such as a sales invoice 1 customer record with many items purchased). I think it has something to do with a catalog merge, but I'm not sure. That's why I use automation for my merges. -- Bryan Carbonnell - carbonnb at sympatico.ca Normal people worry me. From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 11 16:39:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 11 16:39:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <1047422326.3e6e6576aafeb@hosea.qub.ac.uk> Current project connection is a conenction string Quoting Susan Harkins : > > > > Since I'm working strictly in an ADP, I don't bother to use the > Connection > > object at all. I can see using it if I needed to connect to > something > other > > than the CurrentProject.Connection (or anything you can get to > through > it). > > =============I'm not sure what this means. I'm not using > CurrentProject.Connection, but a connection string that's connecting > to > whatever I want. I don't seem to have lost a thing by doing so -- I > still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. > :) > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jbartow at earthlink.net Tue Mar 11 16:43:00 2003 From: jbartow at earthlink.net (John Bartow) Date: Tue Mar 11 16:43:00 2003 Subject: [AccessD] Word Automation In-Reply-To: <3E6E1CEA.31646.21420E7@localhost> Message-ID: Bryan, Thanks, I'll give it a try. JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 11, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Word Automation On 11 Mar 2003 at 10:37, John Bartow wrote: > Bryan (or any other word gurus out there), > Can you think of a way to elegantly replace my (word automation) mail > merges with your bookmark style automation? John, This is just off the top of my head, and totally untested. You will need a "master" merge document. Create this first. It should be just a blank doc to start. Run the bookmark merge, one record at a time. Save that document temporarily. Insert the "temp" document you just created at the end of the "master" merge document. and loop. You may want to kill the temp doc after you have inserted it. Also, you will need to insert a page break after you insert the file so that the next doc starts at the top of the next page. This will give you one document with all the resulting merges in one. Just as a side note, the master document I'm talking about here does NOT have anything to do with Word's Master Document feature. It's just a plain jane blank document that will hold the resulting merges. -- Bryan Carbonnell - carbonnb at sympatico.ca If you never fail, you're not trying hard enough. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 16:51:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 16:51:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE28@exchange.pgdp> Message-ID: <3E6EF537.4670.AFC8F@localhost> If you have a table with just a single field of the "OLE Object", you can have them insert as many PDFs, Word documents etc as you want into the table. You can even set them up with a simple form containing a file browser and code behind it to save the selected file into the table to make it easier for them. > I really do not know what I am after :-) I am open for any ideas because I > sure can't think of any... > > Make a folder to store the attachments and they would place them in the > directory? Would it matter if they were .pdf or .doc or any type of file? > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 7:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > You can have a hyperlink field in a table in which the link to the external > document is placed. Is this what you are after? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 07:51 > To: accessd at databaseadvisors.com > Subject: [AccessD] Adding Attachments > > > Is there a way to add a document as an attachment to a database? > > The database is used to request services. The data is entered by a customer > and sometimes the customer needs to add additional documentation to support > their request. The attachment might be a sketch or Word file. > > Does anyone have any idea how this might be done? > > Virginia > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:03:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:03:01 2003 Subject: [AccessD] Iteration construct to print variables In-Reply-To: Message-ID: <3E6EF802.13447.15E69D@localhost> That's what arrays are for. Dim lngTemp(20) as Long Dim lngCounter as Long ... For lngCounter = 1 to 20 Print #1, lngTemp(lngCounter) Next > List, > > I'm doing an output to file routine in a module. > > I have a number of variables dimmed as long -- c1, c2, c3, c4, ... c20 > > The data file is required to put each data field on a separate line: > tDate > c1 > c2 > ... > c20 > > My data is a single recordset of a query. I make a number of calculations > and then output all the results: > > c1 = rst!FieldOne > c2 = rst!FieldTwo > c3 = rst!FieldThree > c4 = c1 + c2 + c3 > ... > Print #1, c1 > Print #1, c2 > Print #1, c3 > Print #1, c4 > ... > > It seems to be inefficient to have 20 lines of "Print #1, c..." Is there a > way I could run a loop something like? > > For i = 1 to 20 > Print #1, "c" + i > Next i > > I know that specifically won't work as I tried it, but I hope you can see > what I'm driving at. I would like to loop through variables (c1...c20) and > do a Print# for each. > > Thanks for your help, > > Bob Geldart > RGeldart at detma.org > Massachusetts Department of Employment & Training > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:10:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:10:00 2003 Subject: [AccessD] Painted into a corner In-Reply-To: Message-ID: <3E6EF9A3.5866.1C4407@localhost> You don't need a crosstab. Create a query with a series of fields like: NoErrors:Sum(IIf(Instr(Description,"CASES",1,0))) ADC: Sum(Iif(Instr(Description,"ADR",1,0))) etc > I got fancy w/my latest program, and now cannot seem to complete the > project. That is, I cannot finish the last report. This due to my own > stubbornness and stupidity, but I'm guessing that somebody on the list > can either guide me to an answer, or at least say, "That can't be done > you idiot!" ...thus saving me time looking for a solution. > > Many of you offered advice, while I was building my drop-down box...it > was the one that listed a category, that was not able to be chosen, and > "details", under these categories, that were indented slightly. The box, > in its drop down state, looks like this: > > CASES W/NO ERRORS FOUND > ADC > HR > MA > DENIED/WITHDRAWN > ADC > HR > MA > GRANT REDUCTION > ADC > HR > MA > > I then found out that they needed a report that had totals for each > type, within a time period, and I have gotten close, with Jim DeMarco's > advice. I used a query that makes a subset of the main table limited by > date...this comes from a form with a start and ending date. I then use > another query that uses this query, along w/the table with the info for > the combo box above, to total each category. I get the following for the > time period that I have chosen: > > CASES W/NO ERRORS FOUND ADC 1 > CASES W/NO ERRORS FOUND HR 4 > CASES W/NO ERRORS FOUND MA 2 > DENIED/WITHDRAWN HR 1 > GRANT REDUCTION ADC 3 > GRANT REDUCTION HR 1 > GRANT REDUCTION MA 2 > > > I also sum up the counts with the following formula behind a text box: > "=Sum([Count])" > > This is close, but the are telling me that they need to know: > > 1) How many of each detail (i.e. "ADC", "HR", "MA") > > 2) How many of each category (i.e. "CASES W/NO ERRORS FOUND", > "DENIED/WITHDRAWN", "GRANT REDUCTION") > > It looks like a crosstab query, but I don't even know what a crosstab > query is. I have a total mental block, when it comes to these things...I > just don't get them! Is this what I should be looking at? Or, is there > another way to pull these out? For instance, if I pull apart the "CASES > W/NO ERRORS FOUND" from the "ADC" could I count the common occurrences? > I need to end up with: > > CASES W/NO ERRORS FOUND 7 > DENIED/WITHDRAWN 1 > GRANT REDUCTION 6 > > ADC 4 > HR 6 > MA 4 > > in addition to what I currently have. > > I am currently investigating doing each of these in its own query, but > then how do I blend them, assuming I am able to figure it out. > > > A Humongous thanks to whoever can help me out! I am so far behind > schedule, that it isn't funny. The next project in line has a due date > of April 1st (the start of their fiscal year), and that one is much > bigger than my current one. I am already thinking of just giving them a > "shell" so they can input, and then finish the program around it. > > John W Clark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:20 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:20 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE31@exchange.pgdp> I guess I just don't understand... what is the use of making a field a Hyperlink type if you still have to click the Insert Hyperlink button to make it work? It just seems to me that you should be able to type the document name (Test.doc) in the field & it would work. I was able to get the Open dialog box to work & place the select document name into the hyperlink field. But what good is it if you still have to open the Insert Hyperlink and Browse to find the document and set it as a hyperlink?? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 11 17:24:37 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 11 17:24:37 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE30@exchange.pgdp> Is there one that opens the LinkToFile dialog? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Mar 11 17:26:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 17:26:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B6@TAPPEEXCH01> John, This is an interesting wrinkle indeed! For some reason, crosstab queries won't accept form control references as parameters unless you declare them as parameters. All other queries work fine. So, to get it to work, you need to declare 2 parameters: Parameter Name: [Forms]![PrintMenu]![txtStartDate] Datatype: Date/Time Parameter Name: [Forms]![PrintMenu]![txtEndDate] Datatype: Date/Time I just tested this out, and it works great! -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) I looked up the error and it says: Possible causes with Microsoft Access: ? You have a parameter in a crosstab query or in a query that a crosstab query or chart is based on, and the parameter data type isn't explicitly specified in the Query Parameters dialog box. To solve the problem: ? In the query that contains the parameter, specify the parameter and its data type in the Query Parameters dialog box. And; ?Set the ColumnHeadings property for the query that contains the parameter. I didn't see a "Query Parameters" dialog box, so I then looked up "PARAMETERS Declaration" in the Access help...this is A97 BTW...and it gave me sample code: PARAMETERS [Enter a Last Name:] Text; SELECT * FROM Employees WHERE LastName = [Enter a Last Name:]; and this looks simple enough...for a single, user input, parameter...but I have the following line: >=[Forms]![PrintMenu]![txtStartDate] And <=[Forms]![PrintMenu]![txtEndDate] So, to throw a wrench in the works, I not only have two parameters, but they are located on a form. It may sound stupid, but what is actually my parameter(s) here? I now know where the "Query Parameters" is, but either way, I don't understand what exactly I am declaring. Thanks for the help though...I actually see the cross-tab idea a little clearer now...not there yet, but it will. John W Clark >>> BBarabash at tappeconstruction.com 03/11/03 02:28PM >>> It sounds like you need a cross-tab result on your report, that looks something like this: Status ADC HR MA ====================================== CASES W/NO ERRORS FOUND ## ## ## DENIED/WITHDRAWN ## ## ## GRANT REDUCTION ## ## ## Cross-tab queries are fairly easy to implement, but a little tricky to describe. I could give you the boring SQL to do it, but it is WAY easier to use the Query grid to design them. They consist of 3 elements: row heading, column heading, and value. In this case, the status is the row heading, the ADC/HR/MA specification is the column heading, and the count is the value. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Mar 11 17:26:14 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue Mar 11 17:26:14 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6B7@TAPPEEXCH01> Aha, I see! I've experienced the same behavior you mentioned, so as a result I never use Access tables/queries as a mail merge data source. I use a delimited text file instead, and use good ol' file I/O in Access to write the records to the file. As for cross-version compatibility with this method, how about Access 2.0 merging to Word 2000 documents? Works like a champ! -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation Hi Brett, I'm just putting out feelers here. I don't remember this being discussed before and I usually preview at least the subject lines of AccessD mail but it could've been one of those subject lines that never dies where the discussion just keeps changing. I'll check the archives. Mail Merge does work good if you're on the same versions of Word and Access. Otherwise it causes some (minor to me) irritations that are not to well recieved by end-users. I sell these apps to customers and they don't like all kinds of dialog boxes popping up, it "scares them" :o) -If you have W2k and A97 it will intially want to convert the DB. After you say no the first time you're OK but a lot of end users just freak out! -It will pop up another instance of the Access DB where the merge data is coming from (sometimes the extra process closes with Word and somtimes not) -W97 and W2k can't read an A97 MDE data source it has to be a MDB -W97 can't read the A2k format so for these issues you have to jump through all kinds of extra hoops converting the data to a format W97 can read. I wish I could jsut make them all have the same version but I'm not that good... JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, March 11, 2003 2:42 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Word Automation I've seen this discussed before on this list, and wondered why people are rolling their own mail merge routines? Personally, I find bookmarks cumbersome to work with and mail merge has always worked well for me with minimal effort. -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Tuesday, March 11, 2003 10:38 AM To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Mar 11 17:45:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:45:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE31@exchange.pgdp> Message-ID: <3E6F01C8.16065.3C12D5@localhost> Do it in code, rather than having the user working with that clumsy "Insert hyperlink' A hyperlink field is just a plain text field with the display text followed the hyperlink text surrounded by '#''s Instead of inserting strFileOpenReturn, insert strDisplayText & "#" & strFileOpenReturn & "#" > I guess I just don't understand... what is the use of making a field a > Hyperlink type if you still have to click the Insert Hyperlink button to > make it work? It just seems to me that you should be able to type the > document name (Test.doc) in the field & it would work. > > I was able to get the Open dialog box to work & place the select document > name into the hyperlink field. But what good is it if you still have to open > the Insert Hyperlink and Browse to find the document and set it as a > hyperlink?? > > Virginia > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Tue Mar 11 17:52:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 17:52:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Message-ID: <3E6F037D.14751.42BD4F@localhost> 1. Put a common dialog control on your form 2. Put a button on your form 3 Behind the button put Private Sub Command1_Click() CmnDlg.ShowOpen If CmnDlg.FileName > " " Then rs!HyperlinkField = "Attached Document" "#" & CmnDlg.FileName & "#" End If End Sub > Ok, I found Sub TestGetFileName() in ADH. > > You mentioned posting the results to a control. Do I need to have a button > on the form that opens the GetFileName? Then what transfers this file name > to the field? > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > You don't need to use URLs if you don't want to. I use code from ADH that > calls the Windows API to open the GetFile dialog, then posts the result to a > control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it you're > an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the app path > with a relative reference. The Replace function does it in one line: > > > > Replace( strExp as String, strFind as String, strReplace as String ) > > > > HTH, > > A. > > > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 10:12 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Do you know if there is a way to default the hyperlink to use "relative path > to hyperlink"? > > > > It always wants to use http:\\ for the hyperlink instead of the path. I set > the Base to the directory and folder. I set a field to Hyperlink, I was > hoping that all the customer would have to do is type the name of the > document into the field (Test Attach.doc) and it would open the hyperlink to > the document. Is this correct? What am I missing? > > > > ************ > > The archives only show the past 3 months, how do you get to the previous > messages? > > > > Virginia > > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 8:23 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > Virginia, > > > > Since you are storing the files externally to Access and only storing a link > (path name) to the files in Access, it makes no difference to Access what > types of files they are. Linking to external files is a frequent subject on > this list so you should be able to find a lot of hints in the archives. > Some non-obvious search terms that may help are "Image files" and "bloat." > > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 08:13 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I really do not know what I am after :-) I am open for any ideas because I > sure can't think of any... > > > > Make a folder to store the attachments and they would place them in the > directory? Would it matter if they were .pdf or .doc or any type of file? > > > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Tuesday, March 11, 2003 7:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > Virginia, > > > > You can have a hyperlink field in a table in which the link to the external > document is placed. Is this what you are after? > > Charles Wortz > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Tuesday 2003 Mar 11 07:51 > To: accessd at databaseadvisors.com > Subject: [AccessD] Adding Attachments > > Is there a way to add a document as an attachment to a database? > > > > The database is used to request services. The data is entered by a customer > and sometimes the customer needs to add additional documentation to support > their request. The attachment might be a sketch or Word file. > > > > Does anyone have any idea how this might be done? > > > > Virginia > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Tue Mar 11 18:01:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 11 18:01:08 2003 Subject: [AccessD] Adding Attachments References: <000001c2e7fe$a3d30420$de1811d8@DanWaters> Message-ID: <003501c2e82a$85fdabe0$6101a8c0@amd2k512> MessageDan ...the FSO is a really nice new tool ...I was so enthused I converted an entire app over to using it before discovering it doesn't work in a runtime environment :((((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 1:47 PM Subject: RE: [AccessD] Adding Attachments Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From davide at dalyn.co.nz Tue Mar 11 18:04:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue Mar 11 18:04:00 2003 Subject: [AccessD] Deleting record (Column Reference Constraint) Message-ID: <5.2.0.9.0.20030312130307.00b37d90@mail.dalyn.co.nz> AXP/SQL2K I have a subform which causes an error message when I delete a record from it - DELETE statement conflicted with COLUMN REFERENCE constraint 'tblCustInvoiceMeter_FK00'. BOL doesn't seem to help. There are no related records to the one I am deleting. Can anyone enlighten me on the problem? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From stephen at bondsoftware.co.nz Tue Mar 11 18:47:00 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 18:47:00 2003 Subject: [AccessD] Access to Word - DDE link Message-ID: <70F3D727890C784291D8433E9C418F298E93@server.bondsoftware.co.nz> Can I have comments from the list about DDE links and Access security. From bbruen at bigpond.com Tue Mar 11 19:02:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Tue Mar 11 19:02:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? Message-ID: <000001c2e832$800ade80$de308690@bbb888> Hi List, I am trying to use a form that may appear as a subform or on its own. If it?s a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don?t know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From DWUTKA at marlow.com Tue Mar 11 19:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 19:22:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Mar 11 19:24:59 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 19:24:59 2003 Subject: [AccessD] Access to Word - DDE link Message-ID: <70F3D727890C784291D8433E9C418F29038980@server.bondsoftware.co.nz> The first line should read 1. Set objWord = GetObject("C:\JA45.dot","Word.Document") Sorry about that. Stephen -----Original Message----- From: Stephen Bond Sent: Wednesday, 12 March 2003 1:47 p.m. To: 'accessd at databaseadvisors.com' Subject: Access to Word - DDE link Can I have comments from the list about DDE links and Access security. From stephen at bondsoftware.co.nz Tue Mar 11 19:25:21 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue Mar 11 19:25:21 2003 Subject: [AccessD] Word Automation Message-ID: <70F3D727890C784291D8433E9C418F2903897F@server.bondsoftware.co.nz> I got some good help from ADH 97 (p.1214ff) and ADH 2000 Vol 1 (p.945 ff). Works well. Stephen Bond -----Original Message----- From: John Bartow [mailto:jbartow at earthlink.net] Sent: Wednesday, 12 March 2003 5:38 a.m. To: AccessD Subject: [AccessD] Word Automation Bryan (or any other word gurus out there), Can you think of a way to elegantly replace my (word automation) mail merges with your bookmark style automation? Basically use bokmarks and some looping scheme to dump addresses it a prepared letter/envelope, creating one document with all of the merged letters/envelopes. JB From d.dick at uws.edu.au Tue Mar 11 19:30:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Tue Mar 11 19:30:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <002401c2e7df$95edad20$6601a8c0@HAL9002> Message-ID: Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 11 19:34:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 11 19:34:00 2003 Subject: [AccessD] Iteration construct to print variables References: Message-ID: <3E6E8E89.5040801@shaw.ca> How about dim c(20) as long ' or use variant dim i as long then something like c(1) = rst !fieldone c(4) =c(1) +c(2) debug.print concstring(c()) where Function concstring(arrc()) As String 'concatenate array to string Dim strTemp As String Dim k As Long strTemp = "" For k = 1 To UBound(arrc) strTemp = strTemp & arrc(k) & vbCrLf Next k concstring = strTemp End Function Geldart, Robert wrote: >I found a way to do it that works almost as well... > >Dim cr as string >cr = vbCrLf > > Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; c7; cr; c8; cr; >c9; cr; c10 > Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; c16; cr; c17; cr; >c18; cr; c19; cr; c20 > ... > >It allows me to condense the code so I can output ten data items per line. > >Thanks, >Bob Geldart >RGeldart at detma.org >Massachusetts Department of Employment & Training > > > > >>-----Original Message----- >>From: Geldart, Robert [mailto:RGeldart at detma.org] >>Sent: Tuesday, March 11, 2003 1:40 PM >>To: 'accessd at databaseadvisors.com' >>Subject: [AccessD] Iteration construct to print variables >> >> >>List, >> >>I'm doing an output to file routine in a module. >> >>I have a number of variables dimmed as long -- c1, c2, c3, >>c4, ... c20 >> >>The data file is required to put each data field on a separate line: >> tDate >> c1 >> c2 >> ... >> c20 >> >>My data is a single recordset of a query. I make a number of >>calculations >>and then output all the results: >> >> c1 = rst!FieldOne >> c2 = rst!FieldTwo >> c3 = rst!FieldThree >> c4 = c1 + c2 + c3 >> ... >> Print #1, c1 >> Print #1, c2 >> Print #1, c3 >> Print #1, c4 >> ... >> >>It seems to be inefficient to have 20 lines of "Print #1, >>c..." Is there a >>way I could run a loop something like? >> >> For i = 1 to 20 >> Print #1, "c" + i >> Next i >> >>I know that specifically won't work as I tried it, but I hope >>you can see >>what I'm driving at. I would like to loop through variables >>(c1...c20) and >>do a Print# for each. >> >>Thanks for your help, >> >>Bob Geldart >>RGeldart at detma.org >>Massachusetts Department of Employment & Training >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Tue Mar 11 20:02:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 20:02:01 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8228C@main2.marlow.com> A few things Darren. First of all, if you are all moving to an Exchange server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email virus protection. We have had it for going on 2 and a half years, and the reason I am plugging it, is because in that 2 and a half years, we have only had ONE minor issue with a virus. (A little over a year ago, they had viruses that attached to the MIME attachment format, which are usually 'run' by Media Player.....ScanMail let 2 of those through, until we updated the virus engine.)(There is an Add-in called eManager which allows for filtering spam on the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 here). Next, as to your view points on Outlook. I personally use OE at home. OE does all that I need...just plain old email. I use Outlook 2000 at work, and it also does all that I need. (Just plain email .....I can't tell you how confused some of my co-workers are when I decline meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try and organize! ). Anyhow, the Rules wizard on Outlook is actually far more powerful then you may realize. First of all, a lot of rules set in Outlook 2000 can be set ON THE SERVER. This is very handy, because it reduces the work that your client machine has to do. As far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you can stack as many actions into a rule that you want), and it let's you select what sound you want to play. If you are using a version older then 2000, I would kick and scream until they let you use Outlook 2000. In my opinion Outlook 2000 was the most improved component of the normal Office 2k suite (PowerPoint's conversion of a presentation to a web page is far superior in 2k over it's 97 version....and Front Page 2000 leaves it's predecessor in the dust). Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday, March 11, 2003 7:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Mar 11 23:17:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 11 23:17:00 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8228C@main2.marlow.com> Message-ID: <3E6F4F7E.18736.16BA2E3@localhost> > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email . Ahem, I wish you Outlook and OE did just do just plain email. Then we wouldn't get all the HTML baggage that comes along with your message This is what is ACTUALLY sent by your wonderful MS email software when you are sending "plain old email" > Date: Tue, 11 Mar 2003 20:01:29 -0600 > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C2E83B.4BB43150 > Content-Type: text/plain; > charset="iso-8859-1" > > A few things Darren. First of all, if you are all moving to an Exchange > server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server > side email virus protection. We have had it for going on 2 and a half > years, and the reason I am plugging it, is because in that 2 and a half > years, we have only had ONE minor issue with a virus. (A little over a year > ago, they had viruses that attached to the MIME attachment format, which are > usually 'run' by Media Player.....ScanMail let 2 of those through, until we > updated the virus engine.)(There is an Add-in called eManager which allows > for filtering spam on the server level.....(it works better in Exchange > 2000, unfortunately we run 5.5 here). > > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email .....I can't tell > you how confused some of my co-workers are when I decline meetings...because > I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try > and organize! ). Anyhow, the Rules wizard on Outlook is actually far > more powerful then you may realize. First of all, a lot of rules set in > Outlook 2000 can be set ON THE SERVER. This is very handy, because it > reduces the work that your client machine has to do. As far as a playing a > sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you > can stack as many actions into a rule that you want), and it let's you > select what sound you want to play. > > If you are using a version older then 2000, I would kick and scream until > they let you use Outlook 2000. In my opinion Outlook 2000 was the most > improved component of the normal Office 2k suite (PowerPoint's conversion of > a presentation to a web page is far superior in 2k over it's 97 > version....and Front Page 2000 leaves it's predecessor in the dust). > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Tuesday, March 11, 2003 7:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT- Recommendations on Eudora > > > Hi Rocky > I totally agree with all the others who comment positively on Eudora. > Our Firm (An Australian University) is moving in the opposite direction. > We will be using Exchange and as a result have all been asked to move > from Eudora to Outlook. > > After using Outlook for the last 2 months I cannot bag it enough. I am > convinced it is > the software incarnation of the Prince of Darkness himself. It is tripe. > Eudora is vastly superior in every way from an email point of view. > > > > One of my most used and thus most missed features of Eudora was... > I could assign a sound file when one of my filters was activated. > (Outlook calls them rules. What a PITA they are in Outlook too) > Like the rest of you I get about 80 to 120 emails a day. Everything was > filtered, > I mean everything, and I had different sound files playing when certain > rules cut in. > I miss it so much. All I can do in outlook is activate 1 single sound when > any email arrives. That's it. > It was a great tool to make sure important/urgent emails got the appropriate > attention. > > Anyway, Eudora IM not so HO is vastly superior. > > I want to go back to Eudora but our IT doods say nope. > > Darren > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach > Access Software > Sent: Wednesday, 12 March 2003 2:05 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT- Recommendations on Eudora > > > Dear List: > > I'm considering switching mail programs. Does anyone have any experience > with Eudora Light? I'm currently using Outlook Express. MTIA > > Rocky > > > > ------_=_NextPart_001_01C2E83B.4BB43150 > Content-Type: text/html; > charset="iso-8859-1" > > > > > > > > > > >
A few > things Darren.  First of all, if you are all moving to an Exchange server, > I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email > virus protection.  We have had it for going on 2 and a half years, and the > reason I am plugging it, is because in that 2 and a half years, we have only had > ONE minor issue with a virus.  (A little over a year ago, they had viruses > that attached to the MIME attachment format, which are usually 'run' by Media > Player.....ScanMail let 2 of those through, until we updated the virus > engine.)(There is an Add-in called eManager which allows for filtering spam on > the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 > here).
>
size=2> 
>
Next, > as to your view points on Outlook.  I personally use OE at home.  OE > does all that I need...just plain old email.  I use Outlook 2000 at work, > and it also does all that I need.  (Just plain email <grin>.....I > can't tell you how confused some of my co-workers are when I decline > meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too > frazzled to try and organize! <VBG>).  Anyhow, the Rules wizard on > Outlook is actually far more powerful then you may realize.  First of all, > a lot of rules set in Outlook 2000 can be set ON THE SERVER.  This is very > handy, because it reduces the work that your client machine has to do.  As > far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a > sound' option (you can stack as many actions into a rule that you want), and it > let's you select what sound you want to play.
>
size=2> 
>
If you > are using a version older then 2000, I would kick and scream until they let you > use Outlook 2000.  In my opinion Outlook 2000 was the most improved > component of the normal Office 2k suite (PowerPoint's conversion of a > presentation to a web page is far superior in 2k over it's 97 version....and > Front Page 2000 leaves it's predecessor in the dust).
>
size=2> 
>
size=2>Drew
>
>
size=2>-----Original Message-----
From: Darren Dick > [mailto:d.dick at uws.edu.au]
Sent: Tuesday, March 11, 2003 7:28 > PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] > OT- Recommendations on Eudora

>
Hi > Rocky
>
I totally agree > with all the others who comment positively on Eudora.
>
Our Firm (An > Australian University) is moving in the opposite > direction.
>
We will be using > Exchange size=2>and as a result have all been asked to move
>
from Eudora to > Outlook.
>
<Rant Mode > On>
>
After using > Outlook for the last 2 months I cannot bag it enough. I am convinced it > is
>
the software > incarnation of the Prince of Darkness himself. It is > tripe.
>
Eudora is vastly > superior in every way from an email point of view.
>
>
<Rant Mode > Off>
>
size=2> 
>
One of my most > used and thus most missed features of Eudora was...
>
I could assign a > sound file size=2>when one of my filters was activated.
>
(Outlook calls > them rules. What a PITA they are in Outlook too)
>
Like the rest of > you I get about 80 to 120 emails a day. Everything was > filtered,
>
I mean > everything, and I had different sound files playing when certain rules cut > in.
>
I miss it so > much. All I can do in outlook is activate 1 single sound when any email > arrives. That's it.
>
It was a great > tool to make sure important/urgent emails got the appropriate > attention.
>
size=2> 
>
Anyway, Eudora > IM not so HO is vastly superior.
>
size=2> 
>
I want to go > back to Eudora but our IT doods say nope. <sigh>
>
class=437193000-12032003> 
>
size=2>Darren
>
size=2> 
>
>
size=2>-----Original Message-----
From: > accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software
Sent: Wednesday, 12 March 2003 2:05 > AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] > OT- Recommendations on Eudora

>
Dear List:
>
 
>
I'm considering switching mail programs.  > Does anyone have any experience with Eudora Light?  I'm currently using > Outlook Express.  MTIA
>
 
>
Rocky
>
size=2> 
-- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Mar 11 23:42:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 11 23:42:01 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> Is THIS better? Darren's original email was in HTML format, so Outlook defaulted to that format in the reply. It's just a matter of switching to Plain text in from the Format Menu. I could set it to default to whatever format I want, I prefer Rich Text or HTML actually, because it provides a bit more flexibility with some things I email off list. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, March 11, 2003 11:17 PM To: Drew Wutka; accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora > Next, as to your view points on Outlook. I personally use OE at home. OE > does all that I need...just plain old email. I use Outlook 2000 at work, > and it also does all that I need. (Just plain email . Ahem, I wish you Outlook and OE did just do just plain email. Then we wouldn't get all the HTML baggage that comes along with your message This is what is ACTUALLY sent by your wonderful MS email software when you are sending "plain old email" From subs at solution-providers.ie Wed Mar 12 03:17:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 12 03:17:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <003501c2e879$eed68c00$346da8c0@IEW001> Hello Susan, Would the explanation be that in your sample code With cmd .ActiveConnection = strConn It appears that the connection is being initialised here. Perhaps in the other example, it reads clearer when you are passing in a live cnn connection rather than strCnn. Having said that, you could use cnn in both scenario's. I do think ( as I think you do ), that your way is neater. For a further question on this, see my new thread 'Using Global Connctions' Best Regards Mark L. Breen Solution Providers Ltd Ireland ----- Original Message ----- From: "Susan Harkins" To: Sent: Tuesday, March 11, 2003 10:01 PM Subject: Re: [AccessD] ADO Command object -- I still don't see the advantage of using the Connection object instead of a connection string. I'm not arguing -- I just don't understand. The light's not going on. :) Susan H. From subs at solution-providers.ie Wed Mar 12 03:23:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Wed Mar 12 03:23:00 2003 Subject: [AccessD] Using Global Connctions References: <096401c2e7ff$40d039a0$f0e6ffcc@SusanOne> <1047409732.3e6e3444ba5ec@hosea.qub.ac.uk> <09b801c2e803$d63db770$f0e6ffcc@SusanOne> Message-ID: <003b01c2e87a$ad95b940$346da8c0@IEW001> Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks From paul.hartland at fsmail.net Wed Mar 12 03:58:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 03:58:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312095705.CGOJ2393.fep10-svc.ttys.com@localhost> Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From scott.marcus at ae.ge.com Wed Mar 12 05:53:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 05:53:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2E@bwam02msx.ae.ge.com> John, Using your example I have the following table where description would be the 'Generic Types' you have such as..."CASES W/NO ERRORS FOUND ADC" or "DENIED/WITHDRAWN HR". The 'GenericTypes' appear multiple times in the table The Table ("tblTypes"): *ID, autonumber Description, Text Two queries are then done to get the two different types such as "CASES W/NO ERRORS FOUND" or "ADC" The Types queries: qryTypes1... SELECT Trim(Right([Description],3)) AS Type FROM tblTypes; qryTypes2... SELECT Trim(Left([Description],Len([Description])-3)) AS Type FROM tblTypes; From gustav at cactus.dk Wed Mar 12 06:57:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 06:57:01 2003 Subject: [AccessD] OT- Recommendations on Eudora In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82291@main2.marlow.com> Message-ID: <10211185283.20030312135642@cactus.dk> Hi Drew > Is THIS better? Certainly. Thank you. /gustav > Darren's original email was in HTML format, so Outlook defaulted to that > format in the reply. It's just a matter of switching to Plain text in from > the Format Menu. .. From artful at rogers.com Wed Mar 12 07:10:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 12 07:10:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE2E@exchange.pgdp> Message-ID: <000001c2e898$961a6360$8e01a8c0@Rock> On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 10:12 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Do you know if there is a way to default the hyperlink to use "relative path to hyperlink"? It always wants to use http:\\ for the hyperlink instead of the path. I set the Base to the directory and folder. I set a field to Hyperlink, I was hoping that all the customer would have to do is type the name of the document into the field (Test Attach.doc) and it would open the hyperlink to the document. Is this correct? What am I missing? ************ The archives only show the past 3 months, how do you get to the previous messages? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 8:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, Since you are storing the files externally to Access and only storing a link (path name) to the files in Access, it makes no difference to Access what types of files they are. Linking to external files is a frequent subject on this list so you should be able to find a lot of hints in the archives. Some non-obvious search terms that may help are "Image files" and "bloat." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 08:13 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I really do not know what I am after :-) I am open for any ideas because I sure can't think of any... Make a folder to store the attachments and they would place them in the directory? Would it matter if they were .pdf or .doc or any type of file? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Tuesday, March 11, 2003 7:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, You can have a hyperlink field in a table in which the link to the external document is placed. Is this what you are after? Charles Wortz -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday 2003 Mar 11 07:51 To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Susan.Klos at fldoe.org Wed Mar 12 07:18:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 07:18:01 2003 Subject: [AccessD] Word Automation Message-ID: <8213C1F49875D61195DA0002A5412A0301406D6B@mail.doe.state.fl.us> Henry, I would like to learn more about how you do this. I have a new client who is doing a merge currently from Excel. His Master word document is set up with a bunch of field codes. He does a mail merge from excel and has a bunch of if statements in the master document that put different responses in depending on the information in the excel field. He know he needs to store the data in Access and we have had a session (he wants to learn Access at the same time we are doing this) where he learned how to create tables, set primary keys and relationships. There are 4 or 5 tables at present, but there is no table set up that would hold the responses yet. He is comfortable with the way he has set up his word document and I am not sure how to show him that storing everything in Access would be better than doing it the way he is currently. My gut feeling is that it would be. I will try to give you an example of what he has in his word document.

blah blah blah {IF{MERGEFIELED whatever}="a" "Some text goes here"}blah blah blah. He might have several of these if statements depending on what is in the field. ie a=some text b=some other text c=some other text altogether The field from the database might also trigger a document that is on the network that gets merged into the master doc at some point. The master doc is an RFP / Contract. The RFP gets filled in first then the contract gets filled in. I guess what I am asking is 1)should the text be held in the database rather than the codes that trigger the if statements in the word doc. 2)would just inserting merge fields into the doc work or should bookmarks be used? Why would bookmarks be better if they are? Maybe you could recommend a book that would be good background on this sort of thing. -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, March 11, 2003 4:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Word Automation If you invest a significant amount of work in Word, you will find that an Automation session of Word run by Access can iterate the bookmarks collection of the document object. I have given the users a list of bookmark names that they can use in any document. If they save that document as a template in a particular folder, that template file will appear in a callback filled combo of documents that may be created from a record or query. Double click of any template file in the combo will create a new Word doc based on the template for the record or each record in a query should that source be selected. For versatility with things like date datatypes, users have been trained to use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 Mar'. Since bookmarks can not contain punctuation, should punctuation be required, the Date must be broken down into components with the punctuation between bookmarks. If the suffix of any bookmark containing a parsable format string ends in 'ord' and begins with 'DocDate', then the appropriate th, rd or nd suffix is appended in Word. Should the document require the current month or the month of a project start date or an invoice date or whatever, in several places, the bookmark name cannot be repeated. In that case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. For things like this, all that happens is that the application iterates and parses each bookmark name and selects the appropriate field and format to write to Word. Should the field parsed data type happen to be currency, a formatCurrency function is called that formats the data to a currency string. Users may now point any query at any document in their custom templates folder and Access will generate a series of documents. What's more, the users need only be able to set parameters from a multi field filter interface and not only is the query customized accordingly, related records are pulled even though they may not be required by the document. The price of flexibility is a bit of overhead in the queries as a Project record may have related invoice data when all that is needed is PO information. Not one of the users I deal with knows how to generate a merge, never mind a query, but they can select a record from a combo and punch a button. And now, they can even use the insert menu from Word and insert one of about 200 allowed bookmark names. They have even figured out how to save the file in their custom template folder. The biggest training hurdle was to get them to add a suffix to a field name of the bookmark should it be required in more than one place in the document. Although considerable effort and thought went into the original system, it is now virtually maintenance free and I am rarely called in for minor changes to existing document templates or even entirely new documents. Hen >From: Brett Barabash >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Tue, 11 Mar 2003 14:41:35 -0600 > >I've seen this discussed before on this list, and wondered why people are >rolling their own mail merge routines? Personally, I find bookmarks >cumbersome to work with and mail merge has always worked well for me with >minimal effort. > > >-----Original Message----- >From: John Bartow [mailto:jbartow at earthlink.net] >Sent: Tuesday, March 11, 2003 10:38 AM >To: AccessD >Subject: [AccessD] Word Automation > > >Bryan (or any other word gurus out there), >Can you think of a way to elegantly replace my (word automation) mail >merges >with your bookmark style automation? > >Basically use bokmarks and some looping scheme to dump addresses it a >prepared letter/envelope, creating one document with all of the merged >letters/envelopes. > >JB >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Mar 12 07:29:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 07:29:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312095705.CGOJ2393.fep10-svc.ttys.com@localhost> Message-ID: <000201c2e89b$8864fd90$ae310cd8@hargrove.internal> Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Mar 12 07:40:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 07:40:00 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312133922.CSHM5236.fep03-svc.ttys.com@localhost> Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From CWortz at tea.state.tx.us Wed Mar 12 07:44:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 07:44:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: Darren, Sorry to hear your University has gone over to the Dark Side. My shop is strictly M$. The only things we have on our PC's that do not come from M$ are some apps that make working with M$ Windows and Office easier. When M$ finally gets around to adding those features to Windows/Office, then those independent apps will go too. Back in the dark ages when IBM dominated the mainframe market, they invented the FUD factor to intimidate managers into going all IBM. Now M$ uses the FUD factor on managers to go all M$. Until managers become technically sophisticated, somebody will always be able to get away with FUD and we techies will have to suffer. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday 2003 Mar 11 19:28 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Wed Mar 12 07:57:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed Mar 12 07:57:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> Message-ID: <000001c2e89e$d0aa6560$29308690@bbb888> Thanks Drew! Must have been having on of Colby's senior moments, I've used the same construct 2^n times and it never occurred to me this time. Thanks again Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, March 12, 2003 12:21 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From Susan.Klos at fldoe.org Wed Mar 12 08:00:01 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 08:00:01 2003 Subject: [AccessD] Building a search form Message-ID: <8213C1F49875D61195DA0002A5412A0301406D6D@mail.doe.state.fl.us> I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 12 08:14:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 08:14:00 2003 Subject: [AccessD] Building a search form Message-ID: Susan, You can set up almost any combination when you build the SQL. I have a search form that contains up to 13 variables the user can search on. (Thirteen was all that fitted on the form neatly.) The user enters values into any of the fields (and the operator to use, and depending on the operator whether they needed to enter both a minimum and maximum value or only a single value) they want to use in the search. When the hit the Search button I then go through each field to determine if it is selected. If it is I then build the proper SQL expression for it and add it to the SQL string. When all fields have been tested and the SQL string completed, it is then executed. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Wednesday 2003 Mar 12 07:54 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Wed Mar 12 08:17:00 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed Mar 12 08:17:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <004101c2e8a2$8e649e60$a2c50a44@hr.cox.net> Is there any way to hide the Close button on an Access 97 application window? The client just wants an "Exit Application" button on the main menu form as the only way to terminate the application. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Mar 12 08:30:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 08:30:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312133922.CSHM5236.fep03-svc.ttys.com@localhost> Message-ID: <000001c2e8a4$0a45eab0$ae310cd8@hargrove.internal> What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Mar 12 08:32:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed Mar 12 08:32:01 2003 Subject: [AccessD] Opening Outlook if closed code not working Message-ID: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From Lambert.Heenan at AIG.com Wed Mar 12 08:32:16 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 08:32:16 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744A@xlivmbx12.aig.com> Short of sub-classing the application window, the answer is no. However, your workaround is to have the application's main form monitor the value of a form scope variable. The variable will be set to False when the appropriate "Close the application button" is clicked. Then define an Unload event for the application's main form. The unload event has a Cancel parameter. When set to True it prevents the form from unloading. So if the uses just hits the Access window's close button, the form's unload event will be cancelled and the application will continue to run. Of course you would also put a MsgBox call in the unload event telling the user's to hit the correct button. Lambert > -----Original Message----- > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > Sent: Wednesday, March 12, 2003 9:21 AM > To: Access List > Subject: [AccessD] Hide Close button in application window > > Is there any way to hide the Close button on an Access 97 application > window? The client just wants an "Exit Application" button on the main > menu form as the only way to terminate the application. > > Thanks, > Barb Ryan From RGeldart at detma.org Wed Mar 12 08:34:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Wed Mar 12 08:34:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: Barbara, I build a short macro called mac_Exit, with the single command Quit. Put this on a button on my Main Menu, labeled "Exit database and Quit Access" HTH, Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Wednesday, March 12, 2003 9:21 AM To: Access List Subject: [AccessD] Hide Close button in application window Is there any way to hide the Close button on an Access 97 application window? The client just wants an "Exit Application" button on the main menu form as the only way to terminate the application. Thanks, Barb Ryan From Lambert.Heenan at AIG.com Wed Mar 12 08:37:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 08:37:00 2003 Subject: [AccessD] Hide Close button in application window Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> P.S. I forgot to mention that the applications "main menu" form obviously must never be unloaded during normal use. So either hide it when other forms are opened or just open the other forms on top of the menu form. > -----Original Message----- > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > Sent: Wednesday, March 12, 2003 9:21 AM > To: Access List > Subject: [AccessD] Hide Close button in application window > > Is there any way to hide the Close button on an Access 97 application > window? The client just wants an "Exit Application" button on the main > menu form as the only way to terminate the application. > > Thanks, > Barb Ryan From JRojas at tnco-inc.com Wed Mar 12 08:41:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed Mar 12 08:41:00 2003 Subject: [AccessD] Report Print Margins Message-ID: <806536912C472E4A9D6515DF2E57261E0C58F7@mercury.tnco-inc.com> Hello All, I have experienced, for some time now, that when I create a report that doesn't use the standard margins of 1" that the margins sometimes resets to 1" after a compact and repair. It also seems to reset even without a compact and repair (according to users). Most of the reports that I create end up having margins of .5" and it gets a little annoying when I have to restore the margins every so often. Anyone have an explanation of why this is happening? Is there a way to stop this from happening? Thanks! Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From michael.mattys at adelphia.net Wed Mar 12 08:48:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed Mar 12 08:48:00 2003 Subject: [AccessD] Report Print Margins References: <806536912C472E4A9D6515DF2E57261E0C58F7@mercury.tnco-inc.com> Message-ID: <008801c2e8a7$d1544ae0$6401a8c0@default> Joe, Karen kicked me about this the other day. Apparently, if you have Name-Autocorrect on in the Options ( as it is *by default* in A2K) then you'll get this problem with report margins. Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Joe Rojas" To: Sent: Wednesday, March 12, 2003 8:56 AM Subject: [AccessD] Report Print Margins > Hello All, > > I have experienced, for some time now, that when I create a report that > doesn't use the standard margins of 1" that the margins sometimes resets to > 1" after a compact and repair. It also seems to reset even without a compact > and repair (according to users). > > Most of the reports that I create end up having margins of .5" and it gets a > little annoying when I have to restore the margins every so often. > > Anyone have an explanation of why this is happening? Is there a way to stop > this from happening? > > Thanks! > Joe Rojas > jrojas at tnco-inc.com > > > > > This electronic transmission is strictly confidential to TNCO, Inc. and > intended solely for the addressee. It may contain information which is > covered by legal, professional, or other privileges. If you are not the > intended addressee, or someone authorized by the intended addressee to > receive transmissions on behalf of the addressee, you must not retain, > disclose in any form, copy, or take any action in reliance on this > transmission. If you have received this transmission in error, please notify > the sender as soon as possible and destroy this message. While TNCO, Inc. > uses virus protection, the recipient should check this email and any > attachments for the presence of viruses. TNCO, Inc. accepts no liability for > any damage caused by any virus transmitted by this email. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomadatn at bellsouth.net Wed Mar 12 09:26:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Wed Mar 12 09:26:00 2003 Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 References: <009b01c2e70b$079c1040$8e01a8c0@Rock> <002501c2e70d$fe29ab50$6400000a@dogbert2k> Message-ID: <001501c2e8ac$3c9853b0$6400000a@dogbert2k> Just a note to pass on my experiences with the above combination. I use Access 2000 ADP's whenever I can because I think they're much more flexible and easy to use. I especially need to be able to sort tables and views to analize and check data. I use both Enterprise Manager and Access 2000 to modify tables and views and Stored procedures and to move tables between the production database and the development database. However I've recently had some problems and think Access might be the cause. I've had several corrupt views and when I copied a small report menu table from Production to Development and back to Production, I found an added chr(10) at the beginning of an nText field. This broke some code that used that field and after I finally figured out what the problem was I coded around it. I've decided to use Enterprise Manager to do all modifications and to copy objects from the Production to the Development database and back. I will also use Enterprise Manager to run all stored procedures. I'll just use the Access ADP's to check data. If anyone has any comments I'd love to hear them. Thanks - Tom From BarbaraRyan at cox.net Wed Mar 12 09:31:01 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed Mar 12 09:31:01 2003 Subject: [AccessD] Hide Close button in application window References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> Message-ID: <007801c2e8ac$f3bf1380$a2c50a44@hr.cox.net> Thanks, Lambert.... that worked! ----- Original Message ----- From: Heenan, Lambert To: Sent: Wednesday, March 12, 2003 9:36 AM Subject: RE: [AccessD] Hide Close button in application window > P.S. I forgot to mention that the applications "main menu" form obviously > must never be unloaded during normal use. So either hide it when other forms > are opened or just open the other forms on top of the menu form. > > > -----Original Message----- > > From: Barbara Ryan [SMTP:BarbaraRyan at cox.net] > > Sent: Wednesday, March 12, 2003 9:21 AM > > To: Access List > > Subject: [AccessD] Hide Close button in application window > > > > Is there any way to hide the Close button on an Access 97 application > > window? The client just wants an "Exit Application" button on the main > > menu form as the only way to terminate the application. > > > > Thanks, > > Barb Ryan > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Wed Mar 12 09:34:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 12 09:34:00 2003 Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 Message-ID: Tom, I think you are asking where others create views and sprocs? I mostly use Query Analyzer for this. Sometimes I do some preliminary SQL building by using EM to design a view, but I always use QA in the end. One of the reasons for this is that I have found that EM doesn't allow complicated structures whereas QA does. Some of my views are pages long with complicated case statements, etc. The ohther thing I like about QA is that I can document my code better. I created a custom template in QA that allows me to document basic things like who I am ,when I built the object, what it does in a consistent format. All my apps are ADP's, but I never create my views or sprocs there. Never really thought about doing it until recently. Questions on that appear in another post on the Access-SQL list. --Susan -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Wednesday, March 12, 2003 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2000 ADP's, Sql Server 7 and VB6 Just a note to pass on my experiences with the above combination. I use Access 2000 ADP's whenever I can because I think they're much more flexible and easy to use. I especially need to be able to sort tables and views to analize and check data. I use both Enterprise Manager and Access 2000 to modify tables and views and Stored procedures and to move tables between the production database and the development database. However I've recently had some problems and think Access might be the cause. I've had several corrupt views and when I copied a small report menu table from Production to Development and back to Production, I found an added chr(10) at the beginning of an nText field. This broke some code that used that field and after I finally figured out what the problem was I coded around it. I've decided to use Enterprise Manager to do all modifications and to copy objects from the Production to the Development database and back. I will also use Enterprise Manager to run all stored procedures. I'll just use the Access ADP's to check data. If anyone has any comments I'd love to hear them. Thanks - Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Mar 12 09:56:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 12 09:56:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> <003501c2e879$eed68c00$346da8c0@IEW001> Message-ID: <00b301c2e8ae$f7ae6430$0100007f@SusanOne> Exactly Mark -- you can use a connection string or a connection object. The latter requires more code, but the connection string, as Charlotte or Doris pointed out (sorry, I can't remember which one of you said that), the connection string can be a pain to work with. Other than that though, I can really find no advantage to using a Connection object. I expected to find some benefit, such as properties or methods available only via the Connect object, because most of the code samples I see uses the Connection object, but other than perspective, I can see no advantage. I'll keep digging around a little, but so far, I've not really turned up anything. Susan H. > > Would the explanation be that in your sample code > > With cmd > .ActiveConnection = strConn > > It appears that the connection is being initialised here. Perhaps in the > other example, it reads clearer when you are passing in a live cnn > connection rather than strCnn. > > Having said that, you could use cnn in both scenario's. > > I do think ( as I think you do ), that your way is neater. > > For a further question on this, see my new thread 'Using Global Connctions' > > Best Regards > > > Mark L. Breen > Solution Providers Ltd > Ireland > > > > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 11, 2003 10:01 PM > Subject: Re: [AccessD] ADO Command object > > > -- I still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. :) > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From my.lists at verizon.net Wed Mar 12 10:07:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed Mar 12 10:07:00 2003 Subject: [AccessD] ADO Command object References: <000001c2e80c$f6e5c4a0$8b3d0cd8@hargrove.internal> <0b3f01c2e819$c61ab260$f0e6ffcc@SusanOne> Message-ID: <003201c2e8b1$9ef3d2f0$b615010a@FHTAPIA> Susan, Check out YOURS and Martin's book (Sql: From Access to SQL Server) pages 643 (1st Note), and pages 668-670 for an explanation of why you would use a connection object. -Francisco http://rcm.netfirms.com On Tuesday, March 11, 2003 2:01 PM [GMT-8], Susan Harkins wrote: :: Since I'm working strictly in an ADP, I don't bother to use the :: Connection object at all. I can see using it if I needed to connect :: to something other than the CurrentProject.Connection (or anything :: you can get to through it). : : =============I'm not sure what this means. I'm not using : CurrentProject.Connection, but a connection string that's connecting : to whatever I want. I don't seem to have lost a thing by doing so -- : I still don't see the advantage of using the Connection object : instead of a connection string. : : I'm not arguing -- I just don't understand. The light's not going on. : :) : : Susan H. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From weeden1949 at hotmail.com Wed Mar 12 10:21:00 2003 From: weeden1949 at hotmail.com (Greg S) Date: Wed Mar 12 10:21:00 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744B@xlivmbx12.aig.com> <007801c2e8ac$f3bf1380$a2c50a44@hr.cox.net> Message-ID: Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com From DWUTKA at marlow.com Wed Mar 12 10:39:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:39:14 2003 Subject: [AccessD] Building a search form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82293@main2.marlow.com> Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? From DWUTKA at marlow.com Wed Mar 12 10:39:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:39:59 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82294@main2.marlow.com> I think we all have moments like that, regardless of our age, or relation to JC! Drew -----Original Message----- From: Bruce Bruen To: accessd at databaseadvisors.com Sent: 3/12/03 7:53 AM Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? Thanks Drew! Must have been having on of Colby's senior moments, I've used the same construct 2^n times and it never occurred to me this time. Thanks again Bruce -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, March 12, 2003 12:21 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? This is from my new MiniCalendar database....still in development...but the function works fine. Private Function AmIASubForm() As Boolean On Error GoTo ErrorHandler Dim varTemp varTemp = Me.Parent AmIASubForm = True Exit Function ErrorHandler: Err.Clear AmIASubForm = False End Function -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Tuesday, March 11, 2003 6:58 PM To: AccessD Subject: [AccessD] How do I tell if a form is opened as a subform or not? Hi List, I am trying to use a form that may appear as a subform or on its own. If it's a subform then I want to maximise it in its parent control space, if not then it should be sized to fit the form. But how do I tell where it is being opened? The following doesn't work: On Error Resume Next If Not IsNull(Me.Parent.Name) Then boolIsSubform = True DoCmd.Maximize Else boolIsSubform = False End If On Error GoTo 0 Ignore the fact that the docmd works on the parent, I am not worried about that at the moment, only that I don't know how to test the "subformedness". Tia Bruce --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 12 10:46:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 10:46:01 2003 Subject: [AccessD] Painted into a corner Message-ID: This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From DWUTKA at marlow.com Wed Mar 12 10:50:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 10:50:00 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82295@main2.marlow.com> Yes, two suggestions. First, make a brand new .mdw file, not just a copy. You're copy may already be partially corrupted. Next, put the .mdw file on the local machines, with the Front End. There is really no need to have the .mdw on the network, unless you have users changing their passwords frequently. Drew -----Original Message----- From: Greg S To: accessd at databaseadvisors.com Sent: 3/12/03 10:20 AM Subject: [AccessD] Mdw File Growing in Size, then Corrupted Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 11:12:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 11:12:00 2003 Subject: [AccessD] notes on mdb bloat Message-ID: <1047489135.8377.32.camel@sgsax-th4022c> Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From gustav at cactus.dk Wed Mar 12 11:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 11:14:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82289@main2.marlow.com> Message-ID: <7026574902.20030312181312@cactus.dk> Hi Drew That was an awful lot of code to replace something like these two lines: Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > This is from my new MiniCalendar database....still in development...but the > function works fine. > Private Function AmIASubForm() As Boolean > On Error GoTo ErrorHandler > Dim varTemp > varTemp = Me.Parent > AmIASubForm = True > Exit Function > ErrorHandler: > Err.Clear > AmIASubForm = False > End Function > -----Original Message----- > From: Bruce Bruen [mailto:bbruen at bigpond.com] > Sent: Tuesday, March 11, 2003 6:58 PM > To: AccessD > Subject: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi List, > I am trying to use a form that may appear as a subform or on its own. > If it's a subform then I want to maximise it in its parent control > space, if not then it should be sized to fit the form. > But how do I tell where it is being opened? The following doesn't work: > On Error Resume Next > If Not IsNull(Me.Parent.Name) Then > boolIsSubform = True > DoCmd.Maximize > Else > boolIsSubform = False > End If > On Error GoTo 0 > Ignore the fact that the docmd works on the parent, I am not worried > about that at the moment, only that I don't know how to test the > "subformedness". From cfoust at infostatsystems.com Wed Mar 12 11:26:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 11:26:01 2003 Subject: [AccessD] notes on mdb bloat Message-ID: Seth, Unicode in 2000 accounts for most of the size difference. Some other "features" like Name Autocorrect and subdatasheets can also balloon the size. I'm surprised at the time it's taking for the 2000 to 97 conversion though. I've never seen it take that long. Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 9:12 AM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ 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 Mar 12 11:26:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 11:26:31 2003 Subject: [AccessD] notes on mdb bloat Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389744C@xlivmbx12.aig.com> At least some of the A2K bloat will be because it's using Unicode text - two bytes per character, not one. > -----Original Message----- > From: Seth Galitzer [SMTP:sgsax at ksu.edu] > Sent: Wednesday, March 12, 2003 12:12 PM > To: accessd > Subject: [AccessD] notes on mdb bloat > > Greetings, > > Just wanted to share an observation with y'all. We have one app which > needs both A2K and A97 versions. It's not a big deal. It just means > that every time we make any changes to the FE, wee need to back-port it > to A97 using the built-in tool. Before I do this, I always run a > compact-and-repair first. Having done this several times now, I have > noticed two things. > > 1) The conversion process seems to take an inordinately long time. I > haven't timed it, but it seems to take at least 5 minutes, if not > longer. This is not a large or complex app. It's a bit sloppy (I > inherited it from a previous, inexperienced Access user), but I've fixed > a lot of that. It's not a big deal, I just start it and then check on > it until it's done. Not a big deal, but I'm wondering what the hangup > is. > > 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just > under 600KB. What the heck does A2K require in the file that adds that > much overhead? Like I said, this is not a terribly complex or large > app. This is also not a big deal, it just takes longer to download > updates to the users' computers. > > I'm not really looking for answers here, just wanted to share what I've > observed. If anyone can corroborate this experience and has some ideas, > I'd be interested from an academic standpoint to see what you think. > > Share and enjoy! > > Seth > > > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Wed Mar 12 11:40:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 12 11:40:00 2003 Subject: [AccessD] Word Automation Message-ID: I have done a few simple merges but generally rely on bookmarks simply because I find them simpler and more intuitive when using VBA. Using bookmarks lets you move all the decision logic into a code module rather than a bunch of inline If statements. Note also, that bookmarks in conjunction with VBA permit you to use code to insert not only text but form fields or merge codes and do complex conditional formatting not possible with merge codes alone. The main reason I use automation is that VBA permits me to create folders and save files in folders with specific names and verify the existence of templates and existing documents. Something an unsophisticated user may not be able to do is customize a query to a specific set of records or quickly find a list of templates appropriate to a certain kind of record. My document generation form opens from one of several main forms as a pop up. When opened from a member form, a document template selection combo is filled with a list of all documents in a folder beneath the path to the database containing the table tblMembers in a subfolder named \MemberTemplates\. Another combo permits me to pop a membership filtering parameter form that sets the query of people to whom the chosen document should be sent. If this isn't selected, a document only for the current member record is created. The doc generation form also has a series of checkboxes that 1) Print the Document, 2) Save the Document in the Member Record Folder, 3) Save the document in the Output Folder 4) Create if Document Doesn't exist 5) Overwrite if exists 6)Suffix with new number if exists. A typical example is, we have 400 members who need a renewal notice. The user can select Renewal Notice as the Document Type. The user may excessively filter the target list. When they select a broader filter, they may choose to generate all the docs again or simply create those that don't already exist. A bonus is that each document may be saved in each member's folder but for batch printing, all the files can be generated into a single folder and emailed from a single folder yet a copy can remain on each member file. I have failed to have much luck with merge codes in documents with form fields and with codes in headers and footers. Also, should the text span 1 or more than one page in various circumstances, doing it with VBA lets you select a different subsequent page header and adapt automatically to different document lengths. VBA also permits to you use password protected documents and lock and unlock programmatically. I can't point to any particular books as I have many and they all have their strengths. A good place to start is www.helenfeddema.com/ online and of course, the examples at this www.databaseadvisors.com. I'll see if I can whittle out an example of some stuff and move this offline for the time being. Hen >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Wed, 12 Mar 2003 08:12:23 -0500 > >Henry, I would like to learn more about how you do this. I have a new >client who is doing a merge currently from Excel. His Master word document >is set up with a bunch of field codes. He does a mail merge from excel and >has a bunch of if statements in the master document that put different >responses in depending on the information in the excel field. He know he >needs to store the data in Access and we have had a session (he wants to >learn Access at the same time we are doing this) where he learned how to >create tables, set primary keys and relationships. There are 4 or 5 tables >at present, but there is no table set up that would hold the responses yet. >He is comfortable with the way he has set up his word document and I am not >sure how to show him that storing everything in Access would be better than >doing it the way he is currently. My gut feeling is that it would be. I >will try to give you an example of what he has in his word document. > >

blah blah blah {IF{MERGEFIELED whatever}="a" "Some text goes here"}blah >blah blah. He might have several of these if statements depending on what >is in the field. ie a=some text b=some other text c=some other text >altogether The field from the database might also trigger a document that >is on the network that gets merged into the master doc at some point. > >The master doc is an RFP / Contract. The RFP gets filled in first then the >contract gets filled in. > >I guess what I am asking is 1)should the text be held in the database >rather >than the codes that trigger the if statements in the word doc. 2)would just >inserting merge fields into the doc work or should bookmarks be used? Why >would bookmarks be better if they are? > >Maybe you could recommend a book that would be good background on this sort >of thing. > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Tuesday, March 11, 2003 4:47 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Word Automation > > >If you invest a significant amount of work in Word, you will find that an >Automation session of Word run by Access can iterate the bookmarks >collection of the document object. I have given the users a list of >bookmark names that they can use in any document. If they save that >document as a template in a particular folder, that template file will >appear in a callback filled combo of documents that may be created from a >record or query. Double click of any template file in the combo will >create > >a new Word doc based on the template for the record or each record in a >query should that source be selected. > >For versatility with things like date datatypes, users have been trained to >use a bookmark named DocDate for 'March 11, 2003' or DocDate_dd_mmm for '11 >Mar'. Since bookmarks can not contain punctuation, should punctuation be >required, the Date must be broken down into components with the punctuation >between bookmarks. If the suffix of any bookmark containing a parsable >format string ends in 'ord' and begins with 'DocDate', then the appropriate >th, rd or nd suffix is appended in Word. Should the document require the >current month or the month of a project start date or an invoice date or >whatever, in several places, the bookmark name cannot be repeated. In that >case, the users Prefix the bookmark with DocDate1, DocDate2 and so on. > >For things like this, all that happens is that the application iterates and >parses each bookmark name and selects the appropriate field and format to >write to Word. Should the field parsed data type happen to be currency, a >formatCurrency function is called that formats the data to a currency >string. > >Users may now point any query at any document in their custom templates >folder and Access will generate a series of documents. What's more, the >users need only be able to set parameters from a multi field filter >interface and not only is the query customized accordingly, related records >are pulled even though they may not be required by the document. The price >of flexibility is a bit of overhead in the queries as a Project record may >have related invoice data when all that is needed is PO information. > >Not one of the users I deal with knows how to generate a merge, never mind >a > >query, but they can select a record from a combo and punch a button. And >now, they can even use the insert menu from Word and insert one of about >200 > >allowed bookmark names. They have even figured out how to save the file in >their custom template folder. The biggest training hurdle was to get them >to add a suffix to a field name of the bookmark should it be required in >more than one place in the document. > >Although considerable effort and thought went into the original system, it >is now virtually maintenance free and I am rarely called in for minor >changes to existing document templates or even entirely new documents. > > >Hen > > >From: Brett Barabash > >Reply-To: accessd at databaseadvisors.com > >To: "'accessd at databaseadvisors.com'" > >Subject: RE: [AccessD] Word Automation > >Date: Tue, 11 Mar 2003 14:41:35 -0600 > > > >I've seen this discussed before on this list, and wondered why people are > >rolling their own mail merge routines? Personally, I find bookmarks > >cumbersome to work with and mail merge has always worked well for me with > >minimal effort. > > > > > >-----Original Message----- > >From: John Bartow [mailto:jbartow at earthlink.net] > >Sent: Tuesday, March 11, 2003 10:38 AM > >To: AccessD > >Subject: [AccessD] Word Automation > > > > > >Bryan (or any other word gurus out there), > >Can you think of a way to elegantly replace my (word automation) mail > >merges > >with your bookmark style automation? > > > >Basically use bokmarks and some looping scheme to dump addresses it a > >prepared letter/envelope, creating one document with all of the merged > >letters/envelopes. > > > >JB > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From MPorter at acsalaska.com Wed Mar 12 11:41:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed Mar 12 11:41:00 2003 Subject: [AccessD] OT- Recommendations on Eudora Message-ID: With regards to mail filters, I strongly recommend www.mailwasher.net . it's a free utilitiy that is independent of your email client that scrubs your accounts on the server level (unlimited accounts including Hotmail), deleting unwanted emails there. Calls your email client after it's done to collect the rest. Great filter ability with RegExp capability. It's an excellent email add-on to any email program. If you get a signifigant amount of junk email it's well worth the cost of NOTHING :) Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 11, 2003 5:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT- Recommendations on Eudora A few things Darren. First of all, if you are all moving to an Exchange server, I would like to HIGHLY recommend TrendMicro's ScanMail, as a server side email virus protection. We have had it for going on 2 and a half years, and the reason I am plugging it, is because in that 2 and a half years, we have only had ONE minor issue with a virus. (A little over a year ago, they had viruses that attached to the MIME attachment format, which are usually 'run' by Media Player.....ScanMail let 2 of those through, until we updated the virus engine.)(There is an Add-in called eManager which allows for filtering spam on the server level.....(it works better in Exchange 2000, unfortunately we run 5.5 here). Next, as to your view points on Outlook. I personally use OE at home. OE does all that I need...just plain old email. I use Outlook 2000 at work, and it also does all that I need. (Just plain email .....I can't tell you how confused some of my co-workers are when I decline meetings...because I HATE having a calendar/scheduler in my Outlook...I'm too frazzled to try and organize! ). Anyhow, the Rules wizard on Outlook is actually far more powerful then you may realize. First of all, a lot of rules set in Outlook 2000 can be set ON THE SERVER. This is very handy, because it reduces the work that your client machine has to do. As far as a playing a sound....the rules wizard in Outlook 2000 has a 'play a sound' option (you can stack as many actions into a rule that you want), and it let's you select what sound you want to play. If you are using a version older then 2000, I would kick and scream until they let you use Outlook 2000. In my opinion Outlook 2000 was the most improved component of the normal Office 2k suite (PowerPoint's conversion of a presentation to a web page is far superior in 2k over it's 97 version....and Front Page 2000 leaves it's predecessor in the dust). Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Tuesday, March 11, 2003 7:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT- Recommendations on Eudora Hi Rocky I totally agree with all the others who comment positively on Eudora. Our Firm (An Australian University) is moving in the opposite direction. We will be using Exchange and as a result have all been asked to move from Eudora to Outlook. After using Outlook for the last 2 months I cannot bag it enough. I am convinced it is the software incarnation of the Prince of Darkness himself. It is tripe. Eudora is vastly superior in every way from an email point of view. One of my most used and thus most missed features of Eudora was... I could assign a sound file when one of my filters was activated. (Outlook calls them rules. What a PITA they are in Outlook too) Like the rest of you I get about 80 to 120 emails a day. Everything was filtered, I mean everything, and I had different sound files playing when certain rules cut in. I miss it so much. All I can do in outlook is activate 1 single sound when any email arrives. That's it. It was a great tool to make sure important/urgent emails got the appropriate attention. Anyway, Eudora IM not so HO is vastly superior. I want to go back to Eudora but our IT doods say nope. Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, 12 March 2003 2:05 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT- Recommendations on Eudora Dear List: I'm considering switching mail programs. Does anyone have any experience with Eudora Light? I'm currently using Outlook Express. MTIA Rocky This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 12 11:46:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 11:46:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> References: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: <1128525026.20030312184542@cactus.dk> Hi Seth What happens if you "forward port" the A97 version to A2000? /gustav > Greetings, > Just wanted to share an observation with y'all. We have one app which > needs both A2K and A97 versions. It's not a big deal. It just means > that every time we make any changes to the FE, wee need to back-port it > to A97 using the built-in tool. Before I do this, I always run a > compact-and-repair first. Having done this several times now, I have > noticed two things. > 1) The conversion process seems to take an inordinately long time. I > haven't timed it, but it seems to take at least 5 minutes, if not > longer. This is not a large or complex app. It's a bit sloppy (I > inherited it from a previous, inexperienced Access user), but I've fixed > a lot of that. It's not a big deal, I just start it and then check on > it until it's done. Not a big deal, but I'm wondering what the hangup > is. > 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just > under 600KB. What the heck does A2K require in the file that adds that > much overhead? Like I said, this is not a terribly complex or large > app. This is also not a big deal, it just takes longer to download > updates to the users' computers. > I'm not really looking for answers here, just wanted to share what I've > observed. If anyone can corroborate this experience and has some ideas, > I'd be interested from an academic standpoint to see what you think. > Share and enjoy! > Seth From Susan.Klos at fldoe.org Wed Mar 12 11:46:45 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed Mar 12 11:46:45 2003 Subject: [AccessD] Building a search form Message-ID: <8213C1F49875D61195DA0002A5412A0301406D75@mail.doe.state.fl.us> Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Mar 12 11:50:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 12 11:50:01 2003 Subject: [AccessD] Mdw File Growing in Size, then Corrupted In-Reply-To: Message-ID: Hi Greg: My first question would be to ask if anyone has changed the access rights to a specific folder...For example: the directory where the lock-file is created must allow both read, write and delete rights or the file will not get created or/and written to when a user logs in and will not be written to or/and deleted when the user or last user logs out. Maybe put the FE and lock-files on the user stations. The security mdw file may be totally corrupted and will required recreation. It might be time to create a new FE and BE databases... (Create a blank DB and copy all the objects from the old to new DB.) I have found that I/O errors, like abruptly losing connection to the BE data is the fastest way to corrupt a MDB database. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Greg S Sent: Wednesday, March 12, 2003 8:21 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mdw File Growing in Size, then Corrupted Hello everyone! I have a real puzzler (for me). The database is secure using Access's security. It's Access 97, SP2. The database is split, with the application (Front End) residing on each user's workstation, and the Back End residing on the server. The mdw security file is also on the same server as the BE, but in a different folder. The number of users at any given time varies from 10-20, with a maximum of 12 actually entering/modifying data. There are five viewing stations where the Public can access records, but no data entry is allowed. There are also 5 Terminal Servers allowed access, but, like the Public, they can only view records (uhh, so I guess that makes a maximum of 22 users...). The BE is about 500 MB. The mdw file (RecUsers.mdw) is usually only about 140Kb. This setup has been working since May 2002 without this happening. Then, about two weeks ago, some of the users started getting the message "File Locked by Another User..." or something similar to that for the RecUser.mdw file when they tried to start Access on their workstation. Those who were currently in the database (and, accordingly, in the mdw file as well) were unaffected until they closed Access and tried to open it again. The only resolution to it, once one person has been locked out, is to kick EVERYONE out, delete the corrupted mdw file, replace it with a copy, and let'em all back in. HOWEVER, that isn't always easy either becuase some of the time the system will not allow us to delete the mdw file (In use, or so Windows thinks), so we end up having to reboot the server (which makes the County Recorder unhappy...), breaking any real or imagined link to the mdw file, then delete it and replace it with a fresh copy. The server, an HP, is a 4-drive raid and has had to have two drives replaced within the last 3 months. We noticed that during this last 'binge' of lockouts, one of the drives was down and it had to be replaced. The corruption of the mdw file occurred more often during the time when the drive was down, but it still occurs when all drives were ok, but just not as often. I can't see WHY this would make any difference at all, but there was a relationship of number of corruptions in a given time frame to one of the drives being down. The RecUser.mdw file, after it has been 'corrupted' or starts locking people out, will not allow me to open it with Access, which I can normally do, but states that it's not a recognized database type or it's corrupted. If I run repair, it's then ok and can be opened normally and even reused by everyone. Has anyone seen this kind of behavior before? If so, was there a fix? Any clues or suggestions would be appreciated. TIA!!! Greg Smith Weeden1949 at hotmail.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Mar 12 11:50:23 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed Mar 12 11:50:23 2003 Subject: [AccessD] Access/Oracle Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From artful at rogers.com Wed Mar 12 12:20:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed Mar 12 12:20:01 2003 Subject: [AccessD] Building a search form In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406D6D@mail.doe.state.fl.us> Message-ID: <000001c2e8c3$e5570f70$8e01a8c0@Rock> Base the form on a query that grabs both? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Klos, Susan Sent: March 12, 2003 8:54 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.marcus at ae.ge.com Wed Mar 12 12:22:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:22:00 2003 Subject: [AccessD] Access/Oracle Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D2F@bwam02msx.ae.ge.com> I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Mar 12 12:23:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 12 12:23:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: Hi Seth: Just a personal observation. When working with some of the older databases, like FoxBASE, the programmer could decide to append a record or recall a record when adding it to the data file. The append was always faster and recall was always slower because it had to find a deleted record position in the data file and then insert it. This process worked great if the data file was configured with fixed-length records. In fact the recall method was not allowed on a data file that had been created to allow variable length records. My understanding of the MDB files are that: 1. They are designed as variable length record files. 2. All the objects are stuffed in the MDB blob, first come first serve. 3. When storing records/objects the system first attempts to 'recall' a existing 'empty' same or larger space or gives up and appends the record/object to the end of the file, what ever is faster. 4. There is no definitive file rebuilding routine even though the compact process is supposed to do that. The compact process just removes the spaces where a complete object has been deleted and is still completely intact. There is still little spaces left where smaller records/objects were stuffed into holes left when larger objected were modified and shuffled to other positions or simply deleted. These small cushion spaces between objects are left and not tracked. Eventually they build up in the MDB and we have a 'Bloated' file. This is simply my theory but it makes sense when relating these issues to Access's predecessors. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 9:12 AM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Wed Mar 12 12:29:59 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Wed Mar 12 12:29:59 2003 Subject: [AccessD] Access/Oracle Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD6@srciml1.ds.doc.state.or.us> Thanks Scott, Pointers is exactly what I will need and any place on the net that you know of that has information on Oracle. I have not really embarked on anything that has to do with Oracle so this is going to be a new avenue for me. It is going to be fun but I am sure agrivating at times. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader (541)881-4808 -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 11:22 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access/Oracle I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:31:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:31:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82297@main2.marlow.com> Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:34:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:34:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82298@main2.marlow.com> I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From scott.marcus at ae.ge.com Wed Mar 12 12:37:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:37:00 2003 Subject: [AccessD] Access/Oracle Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> Oracle has a website with all their documentation on it. It also has examples for Oracle specific syntax/features. You may have to join there developer network. I joined a few years ago and it was free (don't know if it still is). Scott -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 1:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access/Oracle Thanks Scott, Pointers is exactly what I will need and any place on the net that you know of that has information on Oracle. I have not really embarked on anything that has to do with Oracle so this is going to be a new avenue for me. It is going to be fun but I am sure agrivating at times. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader (541)881-4808 -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 11:22 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access/Oracle I have done this many times. What are you looking for? Pointers? I have noticed that pass-thru queries work better(but requires you use Oracle only syntax for SQL) than attaching tables and running queries based off those attachments. Provided that the user has the proper privleges, attaching the tables to the front end (replacing the existing attached access tables)is the whole beauty (well not the only advantage) of splitting your database into front-end back-end. Very little else needs to be done. Scott Marcus -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Wednesday, March 12, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access/Oracle I am about to embark on a project to right a front end that will connect to a back End Oracle database. Has anyone had any experience in this area or know of where I can find good information on techniques? Any help anyone can provide would be great. Thanks Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 12:37:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 12:37:35 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> I know, it's just one of my coding habits. I only use 'resume next' when I want to completely ignore errors. If I am expecting an error...to use it (as in my example), or I am just handling unexpected errors, then I always use On Error Goto... Make sense? (your code is smaller....can't deny that!) Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:13 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew That was an awful lot of code to replace something like these two lines: Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > This is from my new MiniCalendar database....still in development...but the > function works fine. > Private Function AmIASubForm() As Boolean > On Error GoTo ErrorHandler > Dim varTemp > varTemp = Me.Parent > AmIASubForm = True > Exit Function > ErrorHandler: > Err.Clear > AmIASubForm = False > End Function > -----Original Message----- > From: Bruce Bruen [mailto:bbruen at bigpond.com] > Sent: Tuesday, March 11, 2003 6:58 PM > To: AccessD > Subject: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi List, > I am trying to use a form that may appear as a subform or on its own. > If it's a subform then I want to maximise it in its parent control > space, if not then it should be sized to fit the form. > But how do I tell where it is being opened? The following doesn't work: > On Error Resume Next > If Not IsNull(Me.Parent.Name) Then > boolIsSubform = True > DoCmd.Maximize > Else > boolIsSubform = False > End If > On Error GoTo 0 > Ignore the fact that the docmd works on the parent, I am not worried > about that at the moment, only that I don't know how to test the > "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 12:43:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 12:43:01 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits From scott.marcus at ae.ge.com Wed Mar 12 12:44:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:44:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D31@bwam02msx.ae.ge.com> John, Check out the queries I gave you earlier for doing this all in queries. You see that you can add a constant to each of your queries in the union that will sort the types within your groups(each sub-query). It looks like this... SELECT '1' as Major, query1.* FROM query1 UNION SELECT '2' as Major, query2.* FROM query2 Drew is correct. Add the ORDER BY clause to the last query in the union. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner This works...but...I get it in the following order, when I run the query: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 These are the correct numbers, but I cannot figure out anything that I can order it by. I am going to try a few more things, but then, I just have to pump it out to them. I have another program waiting, that has a April 1st deadline, and I don't know if I could meet that mark, even if I started on it today. I really appreciate your help, and I learned a lot from this too! Thanks! >>> DWUTKA at marlow.com 03/11/03 04:54PM >>> No problem. Just remember that the Unions can be the true SQL too. So the various querries could actually be in the Union Query, instead of making the Union query's SQL point to them. (Does that make sense?) Go get some rest! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday, March 11, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, No, you did not make this complex...I think I actually understand everything that you are saying. I am attempting to try this now, but I think I am going to surrender for the evening. I am getting some interesting results, but I am tired and need a break. When I say interesting, I actually mean that they are promising. I'll pick it up again at 7:30AM tomorrow! So far, I am using: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Thank you very much for your help! Good Night! John W Clark >>> DWUTKA at marlow.com 03/11/03 02:19PM >>> John, just use a Union query. A union query in Access must be written in SQL, but it's pretty simple. Let's say you had this table: tblClients: FirstName LastName and this table: tblPersonnel: FirstName LastName Now, let's say we had this data: tblClients: FirstName LastName Bob Smith George Blue Harry Jones tblPersonnel: FirstName LastName John Jacobs Greg Myst Anna Grant Okay, now you want a query to show both your clients and your personnel in the same fields. To show just the clients, this SQL would work: Select FirstName, LastName From scott.marcus at ae.ge.com Wed Mar 12 12:46:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:46:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D32@bwam02msx.ae.ge.com> Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Wed Mar 12 12:49:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 12:49:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D33@bwam02msx.ae.ge.com> Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 12 12:53:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 12:53:00 2003 Subject: [AccessD] Access/Oracle In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> References: <768A0EA6FF8CB34FA522978966E5D52E559D30@bwam02msx.ae.ge.com> Message-ID: <6832505200.20030312195202@cactus.dk> Of course, Scott, OTN is a must for Mike: http://technet.oracle.com /gustav > Oracle has a website with all their documentation on it. It also has examples > for Oracle specific syntax/features. You may have to join there developer > network. I joined a few years ago and it was free (don't know if it still is). > Scott > -----Original Message----- > From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] > Sent: Wednesday, March 12, 2003 1:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access/Oracle > Thanks Scott, > Pointers is exactly what I will need and any place on the net that you > know of that has information on Oracle. I have not really embarked on > anything that has to do with Oracle so this is going to be a new avenue > for me. It is going to be fun but I am sure agrivating at times. > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > (541)881-4808 From sgsax at ksu.edu Wed Mar 12 13:02:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:02:00 2003 Subject: [AccessD] Access/Oracle In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD4@srciml1.ds.doc.state.or.us> Message-ID: <1047495718.8435.166.camel@sgsax-th4022c> Mike, I wrote a VB app that connects to an Oracle BE. It operates completely disconnected, no bound controls or anything. I used ADO instead of DAO because everything I've seen says it's better suited for this kind of thing. This app is supposed to run constantly with very little user interaction. Here's what I've learned: 1) The Oracle ODBC drivers are a major pain to install. The installer is all java, and if you don't have a compatible JRE, you need to download install one first. They are also BIG. Takes a long time to install them, and they are fat and heavy. Performance seems OK though. 2) I frequently get errors (usually after about 72 hours of constant running) that basically say the app was unable to connect to the Oracle server. I have no idea if the problem is with the server or my app. When this happens, the app will not connect again until I stop the app and restart it. I don't know if this is a problem with the ODBC drivers, or ADO, or what. I create a new Connection object each time I want to dump data (every 15 minutes), and then throw it away when I'm done. So it may be a memory leak, but I have no real way of telling. If it is, I'm not sure who to blame, the ODBC driver or VB. I have no idea how this translates to Access, but I should think that it would behave similarly using unbound forms. Bound may be a whole different story. I've been tempted to move the whole BE to MySQL and see what the difference is in performance and stability. Hope you find any of this useful. Seth On Wed, 2003-03-12 at 11:49, Gowey Mike W wrote: > > I am about to embark on a project to right a front end that will connect > to a back End Oracle database. Has anyone had any experience in this > area or know of where I can find good information on techniques? Any > help anyone can provide would be great. > > Thanks > > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From DMcAfee at haascnc.com Wed Mar 12 13:09:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed Mar 12 13:09:00 2003 Subject: [AccessD] Building a search form Message-ID: <657FB70438B7D311AF320090279C1801026D7947@EXCHMAIL> You can do it several ways. Does your first combo list only Topics (textually), or do you have a hidden column 0 with an ID? If no hidden ID field, then you can run code in the second combo box's OnEnter event. Something Like (OTTOMH): If me.cboTopic = "(All)" then Me.cboQuestions.rowsource = "qryQuestionsAll" Else Me.cboQuestions.rowsource = "qryQuestionsFiltered" End IF Or, if you are using a hidden Column(0), using ONE question query you can do something like: 1. Create a Union Query for the rowsource for cboTopic: SELECT TopicID, TopicTitle FROM tblTopics UNION SELECT "*" AS TopicID, "(All)" AS TopicTitle ORDER BY TopicTitle ASC; 2. In your cbo.Question's rowsource query, create a column like (Also OTTOMH): SELECT Q.ID, Q.Title FROM tblQuestions AS Q INNER JOIN tblTopicQuestionJunction AS TQJ ON TQJ.QID = Q.ID WHERE (((([Forms]![YourForm]![cboTopic] = "*") Or ([Forms]![YourForm]![cboTopic] = [QID]))=True)) GROUP BY Q.ID, Q.title ORDER BY Q.title; HTH David McAfee -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Wednesday, March 12, 2003 9:41 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Building a search form Drew, my problem with that is the way I synchronize two combo boxes. Each is set to a query and I use the ID in the first combo as the criteria for the query used as a source for the second box. Now, what criteria do I use for "all"? -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 11:38 AM To: ''accessd at databaseadvisors.com' ' Subject: RE: [AccessD] Building a search form Hmmmm, why not just have two combos, Topic and Question. Have an 'all' in the Topic question, so that you can either select a Topic (and on the Onclick requery the Question combo based on the Topic selection), or a question. Drew -----Original Message----- From: Klos, Susan To: 'accessd at databaseadvisors.com' Sent: 3/12/03 7:54 AM Subject: [AccessD] Building a search form I am creating a FAQ database. I have the following tables: tblQuestion; tblTopic; tblSource; tblReference; tblRelationship. I am trying to build a search form that can be used to find either the Topic, Question, or Question when the Topic is known (in other words choose the topic first then the questions relating to that topic show up in the question dropdown. I could do either the Topic or Question or the Question when the Topic is known. How do I do both on one form? From sgsax at ksu.edu Wed Mar 12 13:11:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:11:00 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1128525026.20030312184542@cactus.dk> References: <1047489135.8377.32.camel@sgsax-th4022c> <1128525026.20030312184542@cactus.dk> Message-ID: <1047496262.8435.182.camel@sgsax-th4022c> Gustav, I hadn't even thought of that. I tried it just now, and the resulting mdb is 1.5MB. Still three times as big as the A97 version, but not as big as the base A2K version. The unicode comments make sense, I had forgotten about that, too. Oh well, more interesting info from the developer front... Seth On Wed, 2003-03-12 at 11:45, Gustav Brock wrote: > Hi Seth > > What happens if you "forward port" the A97 version to A2000? > > /gustav > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Wed Mar 12 13:14:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:14:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback Thanks _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Wed Mar 12 13:16:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed Mar 12 13:16:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAE93@exchange.pgdp> Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 12 13:17:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 13:17:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82299@main2.marlow.com> Message-ID: <2033976946.20030312201634@cactus.dk> Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". From cfoust at infostatsystems.com Wed Mar 12 13:19:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:19:01 2003 Subject: [AccessD] notes on mdb bloat Message-ID: Open the 2000 version, look at a few forms and close it again. Is it back to the 2MB? There is some bloat in 2k just opening the database. :o{ Charlotte Foust -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 11:11 AM To: accessd Subject: Re: [AccessD] notes on mdb bloat Gustav, I hadn't even thought of that. I tried it just now, and the resulting mdb is 1.5MB. Still three times as big as the A97 version, but not as big as the base A2K version. The unicode comments make sense, I had forgotten about that, too. Oh well, more interesting info from the developer front... Seth On Wed, 2003-03-12 at 11:45, Gustav Brock wrote: > Hi Seth > > What happens if you "forward port" the A97 version to A2000? > > /gustav > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 13:25:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 13:25:01 2003 Subject: [AccessD] sniggling problem with treeview Message-ID: <1047497097.8377.198.camel@sgsax-th4022c> Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From John.Clark at niagaracounty.com Wed Mar 12 13:31:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 13:31:01 2003 Subject: [AccessD] Painted into a corner Message-ID: Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Mar 12 13:38:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 12 13:38:00 2003 Subject: [AccessD] Adding Attachments Message-ID: Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSkolits at CorporateDataDesign.com Wed Mar 12 13:40:01 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 13:40:01 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D33@bwam02msx.ae.ge.com> Message-ID: Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 12 13:41:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 13:41:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: References: Message-ID: <12635404098.20030312204021@cactus.dk> Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. From cfoust at infostatsystems.com Wed Mar 12 13:47:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 13:47:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: The globals vanish when you hit an unhandled error. Can you truly say you NEVER have any such errors in your apps? The environment in VB just seems to lead to fewer instances of that behavior. I still don't like globals. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:40 AM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 12 13:54:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 13:54:00 2003 Subject: [AccessD] Word Automation Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BC@TAPPEEXCH01> >Brett, >That's a good idea. Do you have some code you can send me that I can start >with? Since this is definitely on-topic, I'm posting this to the list. Here goes: Normally, I keep the data source text file in a consistent location, and manually open the MailMerge data source in Word. Access has the built-in ability to export a table/query to a delimited file (there is even a "Mail Merge" option in the file type list). I use file I/O to do it instead, to allow me more control over where the data comes from (i.e. multiple queries). By default Word uses tabs as field delimiters and carriage returns as record delimiters. Some of my documents require embedded tabs and carriage returns, so I use tildes (~) as my field delimiters and carats (^) as my record delimiters. When you open the data source in the Word Mail Merge helper, it will ask you to specify these delimiters. Here is a routine I wrote to generate a Mail Merge data source based on any table or query: Public Sub CreateMergeDataSource(ByVal strTblQry As String, ByVal strFilePath As String) Const cFieldDelim = "~" Const cRecordDelim = "^" Dim db As DAO.Database Dim rs As DAO.Recordset Dim fld As DAO.Field Dim lngFileNo As Long Dim strBuffer As String Set db = CurrentDb() Set rs = db.OpenRecordset(strTblQry, dbOpenSnapshot) 'Initialize field name list (first line of data source) For Each fld In rs.Fields Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Name & Chr$(34) & cFieldDelim End Select Next fld strBuffer = strBuffer & cRecordDelim 'Loop through all records in source table/query Do Until rs.EOF For Each fld In rs.Fields Select Case fld.Type Case dbGUID, dbLongBinary, dbMemo 'Do not include these types of fields Case Else strBuffer = strBuffer & Chr$(34) & fld.Value & Chr$(34) & cFieldDelim End Select Next fld strBuffer = strBuffer & cRecordDelim rs.MoveNext Loop rs.Close 'Generate data source text file lngFileNo = FreeFile Open strFilePath For Output As #lngFileNo Print #lngFileNo, strBuffer Close #lngFileNo Set rs = Nothing Set db = Nothing End Sub From rusty.hammond at cpiqpc.com Wed Mar 12 14:00:00 2003 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Wed Mar 12 14:00:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> > I have an app that imports a text file, makes some changes to the data, > then exports the updated data to another text file. The client would like > to be able to have the Access program automatically send the new file to > an FTP server on the internet. > > Has anyone automated sending a file to an FTP server from A2K? The server > requires login name and password. Any ideas and suggestions are > appreciated. > > > Rusty Hammond > From BBarabash at TappeConstruction.com Wed Mar 12 14:06:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 14:06:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BD@TAPPEEXCH01> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 12 14:28:01 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Wed Mar 12 14:28:01 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <1047500895.8377.207.camel@sgsax-th4022c> Rusty, There are, of course, many ways to do this. One of the easier ways is to use the Internet Transfer Control, one of the MS ActiveX controls you sould get with Access. I've got a demo for its usage on my website. The demo uses http, but you should be able to easily change it to ftp instead. Go to my downloads page and look for "Get Web Document Demo". Seth On Wed, 2003-03-12 at 13:59, Rusty Hammond wrote: > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From andy at minstersystems.co.uk Wed Mar 12 14:33:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 12 14:33:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: Message-ID: <006c01c2e8d6$2096e300$b274d0d5@andypc> John Just the kind of thing the BEU (Backend Upgrader) will do for you. (couldn't resist the plug) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Skolits > Sent: 12 March 2003 18:44 > To: AccessD at databaseadvisors.com > Subject: [AccessD] How to Delete or modify an index in VBA > > > Anyone know how to delete an index in VBA after it's already > been added to a collection. Another option would be to modify > it (add a field) or to set it's Unique property to false. Any > of these would be fine. > > I know how to Create an index, just can't delete it. I am > using DAO but could also use ADO if that's the better solution. > > > John Skolits > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From gustav at cactus.dk Wed Mar 12 14:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 14:37:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: References: Message-ID: <3538770769.20030312213628@cactus.dk> Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav From gustav at cactus.dk Wed Mar 12 14:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 12 14:47:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <1047500895.8377.207.camel@sgsax-th4022c> References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> <1047500895.8377.207.camel@sgsax-th4022c> Message-ID: <239345545.20030312214603@cactus.dk> Hi Rusty You can also check out http://www.pacific.net/~ken/software/ where wcl_ftp and an Access module is free to download and use. Also, check the archive for "FTP" - lots of hits. /gustav > There are, of course, many ways to do this. One of the easier ways is > to use the Internet Transfer Control, one of the MS ActiveX controls you > sould get with Access. I've got a demo for its usage on my website. > The demo uses http, but you should be able to easily change it to ftp > instead. Go to my downloads page and look for "Get Web Document Demo". > Seth > On Wed, 2003-03-12 at 13:59, Rusty Hammond wrote: >> > I have an app that imports a text file, makes some changes to the data, >> > then exports the updated data to another text file. The client would like >> > to be able to have the Access program automatically send the new file to >> > an FTP server on the internet. >> > >> > Has anyone automated sending a file to an FTP server from A2K? The server >> > requires login name and password. Any ideas and suggestions are >> > appreciated. From cfoust at infostatsystems.com Wed Mar 12 14:47:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 14:47:20 2003 Subject: [AccessD] Using Global Connctions Message-ID: If that's your last word, Gustav, then the rest of us can drivel on unchecked. As for "believers", I believe what I see daily. If you are able to write immaculate code that NEVER errors, then I kiss you hands and feet, but I also reserve judgement until I have the evidence of my own eyes. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 12:36 PM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Mar 12 14:49:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 12 14:49:00 2003 Subject: [AccessD] PDF for word ... Message-ID: <869379ABF177D4118D3100508B5EF8730560E059@corp-es00> Thank you very much. I'm playing with it now. Jim bhale -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 10, 2003 5:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] PDF for word ... For a free alternative to Acrobat, take a lot at MakePDF on my site. This is a front end to Ghostscript and it handles mixed pages with no problems. > Adobe acrobat can mix landscape and portrait, and it works well. But it's > not something you want to purchase unless you are going to use it often. I > use it to submit documents to other companies and to the government. It > will work with Word, Excel, and Access. > > Jim Hewson > > -----Original Message----- > From: James Hale [mailto:jhale at houston.rr.com] > Sent: Saturday, March 08, 2003 12:57 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] PDF for word ... > > > The only way I have been able to mix landscape and portrait in the same > document is with Word and this doesn't always work well either. I presume > Adobe acrobat can do the trick but I have been to cheap to spring for a > copy. > > Jim Hale > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Sunday, March 02, 2003 1:55 AM > To: James Hale > Subject: Re: [AccessD] PDF for word ... > > > Hi James > > So which products do? > > /gustav > > > > I have found that many of these products don't handle a mixture of > portrait > > and landscape pages in the same report. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Mar 12 15:00:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed Mar 12 15:00:01 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <1047497097.8377.198.camel@sgsax-th4022c> Message-ID: <000001c2e8da$8296ca30$ae310cd8@hargrove.internal> Could it be that you have your code in the Click event instead of the NodeClick event? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 02:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Mar 12 15:00:24 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed Mar 12 15:00:24 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <5.2.0.9.0.20030313095223.00bc9b68@mail.dalyn.co.nz> Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From garciad at kentri.org Wed Mar 12 15:12:00 2003 From: garciad at kentri.org (Dwylene Garcia) Date: Wed Mar 12 15:12:00 2003 Subject: [AccessD] Report criteria using form Message-ID: I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia From scott.marcus at ae.ge.com Wed Mar 12 15:17:03 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 15:17:03 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D34@bwam02msx.ae.ge.com> John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Mar 12 15:24:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 12 15:24:01 2003 Subject: [AccessD] Painted into a corner Message-ID: I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 15:27:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 15:27:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <006c01c2e8d6$2096e300$b274d0d5@andypc> Message-ID: Ya' know. I've often though about the BEU and John C's stuff, but I have built so many functions in my Framework to do most of the features, I decided not to. I never had to change indexes before (because my designs are always so perfect!) :) So, index handling wasn't in my frame work. Some day (in all my free time), I'll look at the BEU and others but not in the near future. Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, March 12, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA John Just the kind of thing the BEU (Backend Upgrader) will do for you. (couldn't resist the plug) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Skolits > Sent: 12 March 2003 18:44 > To: AccessD at databaseadvisors.com > Subject: [AccessD] How to Delete or modify an index in VBA > > > Anyone know how to delete an index in VBA after it's already > been added to a collection. Another option would be to modify > it (add a field) or to set it's Unique property to false. Any > of these would be fine. > > I know how to Create an index, just can't delete it. I am > using DAO but could also use ADO if that's the better solution. > > > John Skolits > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Wed Mar 12 15:30:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Wed Mar 12 15:30:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D35@bwam02msx.ae.ge.com> John, What I posted to you earlier would be 5 queries (you could make into 3), would be dynamic, and require no sub-queries. Scott -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Mar 12 15:37:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 15:37:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6BF@TAPPEEXCH01> Actually, you CAN get there from here, but it is a little trickier. I just assumed that you wanted all 3 columns to appear on the report regardless of the data. If you save the query, and use the query name as your report's recordsource, Access is fine with using a crosstab query for a report recordsource. The problem is, if your column names are dynamic, how do you setup textbox control sources for your report? Columns that were present with one criteria disappear with another! I have successfully used dynamic crosstab queries for reports by looping through the fields in the underlying query in the Report_Open event and setting the ControlSource properties accordingly. If you want, I can walk you through this... -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 15:42:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 15:42:00 2003 Subject: [AccessD] Building a search form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229D@main2.marlow.com> Simple, for your first combo box, let's say we are talking about tblKB, and you have the TopicID, QID and Question fields, with TopicID and TopicText in tblTopics For the First combo box, use this query: Select "All" As TopicText, 0 As TopicID From BBarabash at TappeConstruction.com Wed Mar 12 15:49:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed Mar 12 15:49:01 2003 Subject: [AccessD] Painted into a corner Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6C0@TAPPEEXCH01> For the heck of it, let me post the dynamic column query code for you. Use it as you please. For this sample, we will assume: - The name of the query is qryRptXTab. - The Report contains multiple unbound textboxes named txtCol1, txtCol2, txtCol3... Private Sub Report_Open () Dim db As DAO.Database Dim qdf As DAO.QueryDef Dim prm As DAO.Parameter Dim fld As DAO.Field Dim lngCol As Long Set db = DBEngine(0)(0) Set qdf = db.QueryDefs("qryRptXTab") 'Because this query references form controls, we need to evaluate 'them and supply the control values to the query For Each prm In qdf.Parameters prm.Value = Eval(prm.Name) Next prm For Each fld In qdf.Fields Select Case fld.Name Case "MyRowFieldName","MyOtherRowFieldName" 'These fields are setup at design time; skip them Case Else 'Dynamically fill the unbound textboxes with the remaining fields lngCol = lngCol + 1 Me("txtCol" & lngCol).ControlSource = fld.Name End Select Next fld Set db = Nothing Set qdf = Nothing End Sub -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark From jim.hale at fleetpride.com Wed Mar 12 15:56:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 12 15:56:00 2003 Subject: [AccessD] Painted into a corner Message-ID: <869379ABF177D4118D3100508B5EF8730560E093@corp-es00> Page 727 of the ADH has code that may solve your problem. HTH Jim Hale -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I was just reading something in the MS knowledgebase, right before I read this Email, and I was thinking, "Don't tell me..." And, now you are giving me confirmation..."you can't get there from here." I entered in the names in the properties and it worked like a charm...again I learn something. The whole point of going about it the way I did though(i.e. dynamically), was to allow for flexibility. Therefore, typing in the names, severely defeats the purpose. Yesterday, I had come up with a way of getting the same information into the report, only it was in a different format. I did this by using three separate queries, and three sub-reports. I am going ahead with that, and I added a button on my reports menu that runs the query, and the can print that if they need to. I might just take it out, after I let them see it. Thank you for your help! John W Clark >>> BBarabash at tappeconstruction.com 03/12/03 03:07PM >>> Access is rejecting it as a report recordsource because cross-tab queries can have a dynamic number of columns, depending on the data. For example, if you don't have any records with an MA status, that column will disappear. To ensure that the columns always appear, regardless of whether or not there is supporting data, specify the column list as follows: -Open the query in design view -Right click on the gray header area of the query and select "Query Properties" -In the Column Headings field, type a column delimited list of the columns you want to show. For Example: 'ADC',"HR','MA' This will add an IN clause after the PIVOT statement, and the query will always have a fixed number of columns. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, March 12, 2003 1:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner Actually, I typed "[Forms]![PrintMenu]![txtStartDate]" and "[Forms]![PrintMenu]![txtEndDate]" into the "Query Parameters" box (two separate entries, of course), and I indicated that they were of the "Date/Time" type, and Voila! It worked. I now have a crosstab query that looks like: txtResult Total Of txtControlNum ADC HR MA MA ONLY NPA FS CASES W/NO ERRORS FOUND 102 28 27 23 24 DENIED / WITHDRAWN 104 24 27 26 27 GRANT REDUCTION 102 27 25 24 26 I was thinking, "How great! Now I can pump this into the report, and be finished w/it!" But, Nooooooo! I didn't forsee that I couldn't just use this as a datasource for a report. Am I missing something here?! Can't you use a crosstab query for a report? I know this can't be right, and therefore I am having a stupidity moment...to bad it seems to be lasting longer than you're average "fleeting moment!" John >>> CWortz at tea.state.tx.us 03/11/03 04:15PM >>> John, The Jet engine does not know about Access forms. You need to assign '[Forms]![PrintMenu]![txtStartDate]' to a variable and use the variable in the SQL. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Tuesday 2003 Mar 11 15:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Painted into a corner I decided to give this a try because you make it sound so simple. After creating the query, I get an error, "The Microsoft Jet database engine does not recognize '[Forms]![PrintMenu]![txtStartDate]' as a valid field name or expression. (Error 3070) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:07:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:07:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229E@main2.marlow.com> Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Wed Mar 12 16:10:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:10:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8229F@main2.marlow.com> I don't really want to kick start another debate, but just exactly how does a Global work differently from VB to VBA? They work EXACTLY the same way, so how can one be better then the other? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Wed Mar 12 16:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:22:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> I know what you are saying about intentionally looking for an error. It gives me an uneasy feeling too, but there are some things that just absolutely require it. As far as your code, I'm pretty tired so I could be wrong on this, but I think I could trigger a false positive with your code. If you opened formA, then opened formB, then set the source object on a subform on FormA to FormB, you will now have FormB as a subform on FormA, but your function will say False, because FormB was the last form to be put into the form's collection AND it is also now a subform. (Actually, just tried it, and it did say false from the subform) I know, it wouldn't be a common occurrence, but the error method is guaranteed to be correct. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 1:17 PM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:25:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:25:00 2003 Subject: [AccessD] sniggling problem with treeview Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A1@main2.marlow.com> Seth, it seems like you have something else 'absorbing' the first click. Either you have a control that is 'taking' focus and you aren't catching it (so the first click is only setting focus to the treeview...the second fires the actual on click event), or it is possible that your code is corrupt. Try decompile/recompile, or just porting everything into a new database. Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Wednesday, March 12, 2003 1:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:29:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:29:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A2@main2.marlow.com> ROTFLOL. The globals vanish when you hit an unhandled error in VB too. Actually, step back, they don't vanish when you hit an unhandled error, only if you click the END button. If you select Debug, then you just get ported to the appropriate place in your code....globals still intact. In VB the default behavior on an error is to just dump to the code(When running in debug mode...when running compiled, your entire app stops). The reason Access gives you a choice, is so that code problems don't delay data stuff. You could have a minor glitch in your code, but you are pulling data through a query. You want to pull all of the data, before getting to the code problem, so providing the 'end' option allows for that. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions The globals vanish when you hit an unhandled error. Can you truly say you NEVER have any such errors in your apps? The environment in VB just seems to lead to fewer instances of that behavior. I still don't like globals. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:40 AM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JSkolits at CorporateDataDesign.com Wed Mar 12 16:32:00 2003 From: JSkolits at CorporateDataDesign.com (John Skolits) Date: Wed Mar 12 16:32:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D34@bwam02msx.ae.ge.com> Message-ID: Trying to make me look bad eh? :) Actually, I did look and still couldn't easily find the 'drop' feature. I no longer use the Access 97 help file, but still couldn't seem to find it in A2K help. Must be my old age. John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 4:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Mar 12 16:32:33 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed Mar 12 16:32:33 2003 Subject: [AccessD] notes on mdb bloat In-Reply-To: <1047489135.8377.32.camel@sgsax-th4022c> Message-ID: In addition to the unicode comments, don't forget that the page size went from 2K to 4K as well. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Seth Galitzer Sent: Wednesday, March 12, 2003 12:12 PM To: accessd Subject: [AccessD] notes on mdb bloat Greetings, Just wanted to share an observation with y'all. We have one app which needs both A2K and A97 versions. It's not a big deal. It just means that every time we make any changes to the FE, wee need to back-port it to A97 using the built-in tool. Before I do this, I always run a compact-and-repair first. Having done this several times now, I have noticed two things. 1) The conversion process seems to take an inordinately long time. I haven't timed it, but it seems to take at least 5 minutes, if not longer. This is not a large or complex app. It's a bit sloppy (I inherited it from a previous, inexperienced Access user), but I've fixed a lot of that. It's not a big deal, I just start it and then check on it until it's done. Not a big deal, but I'm wondering what the hangup is. 2) The A2K FE mdb is currently right around 2MB. The A97 FE mdb is just under 600KB. What the heck does A2K require in the file that adds that much overhead? Like I said, this is not a terribly complex or large app. This is also not a big deal, it just takes longer to download updates to the users' computers. I'm not really looking for answers here, just wanted to share what I've observed. If anyone can corroborate this experience and has some ideas, I'd be interested from an academic standpoint to see what you think. Share and enjoy! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 12 16:32:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:32:56 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A3@main2.marlow.com> Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Mar 12 16:36:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 16:36:01 2003 Subject: [AccessD] Report criteria using form Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A4@main2.marlow.com> A quick fix for this, if you don't mind losing the * wildcard, you can use the In statement...so your criteria in the query would look like this: In([What Department(s)? (Seperate with a comma ',')]) Then '2 West,Education' should bring up both of those departments. Off hand, to make that process be more forgiving, I would resort to coding the criteria. Drew -----Original Message----- From: Dwylene Garcia [mailto:garciad at kentri.org] Sent: Wednesday, March 12, 2003 3:11 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report criteria using form I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia _______________________________________________ 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 Mar 12 16:40:11 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed Mar 12 16:40:11 2003 Subject: [AccessD] Intentional Errors Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897456@xlivmbx12.aig.com> Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert From stuart at lexacorp.com.pg Wed Mar 12 16:57:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 12 16:57:00 2003 Subject: [AccessD] Report criteria using form In-Reply-To: Message-ID: <3E7047F3.2837.3F4026@localhost> The query will be puttin quotes around the string in txtDepartment so your criteria will end up as something like Like '"2 West" or "Education"' (note the single quotes in there) or Like "2 West or Education" The simplest way around it is - don't set any criteria in the underlying query. Have it just report all Departments. Then set the criteria when you open the report strCriteria = "Like " & txtDepartment DoCmd.OpenReport "MyReport",acViewPreview,,strCriteria Just make sure you do use quotes around anything like "2 West" What I tend to do in cases like this to avoid the problems of users getting the quoting syntax wrong is create a listbox with "Extended Mutiselect" and fill it with all possible department names. That way the user can just select the departments he wants. I use something like: Dim lngLoopcount As Long Dim lngItems As Long Dim strItem As String Dim strOr As String Dim strDQ As String strDQ = Chr$(34) 'Double Quotes For lngCounter = 0 To lstDepartments.ListCount - 1 If lstDepartments(lngcount).Selected Then lngItems = lngItems + 1 strItem = lstDepartments(lngcount).ItemData Replace strItem, strDQ, strDQ & strDQ ' take care of any double quotes in Dept name If lngItems = 1 Then strCriteria = strDQ & strItem & strDQ Else strCriteria = strCriteria & " or " & strDQ & strItem & strDQ End If End If Next > I have built a form to run a report that allows the user to set various > criteria using the following in the criteria line of the underlying > query of the report: Like > [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm > looking for one particular department such as "education" or all > departments which is obtained by using "*". I can't get it to work if I > want to run the report for two separate departments. I have tried the > following entries in the textbox: > > 2 West Or Education > > "2 West" Or "Education" > > > I have verified that there are records for both departments. I have > put the criteria directly in the query and it does work... I just can't > get it to work through the form. > > Any suggestions? > > Dwylene Garcia > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 12 16:57:30 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 12 16:57:30 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <3E7047F3.23888.3F3F0E@localhost> > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > A small (17Kb) PowerBasic utility I wrote: "FTPSend will upload a specified file to a web site based on parameters passed to it on the command line or in an encrypted parameter file. By putting it in a batch file or calling it from a macro/procedure in another application, you can automate updating of files on your site. " Grab it from my website below. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From hsimpson88 at hotmail.com Wed Mar 12 17:34:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 12 17:34:00 2003 Subject: [AccessD] Word Automation Message-ID: Here is some code that I've culled for finding bookmarks and writing field data to them together with a few ancilliary functions. The additional is for sorting queries and template names in the arrays prior to filling the callbacks. I cannot include all the code here as it is very extensive and I've culled some of the error handling. The code below is derived from a demo that I gave to a client and relies on a naming convention in the bookmark naming to match field data to bookmarks. If I were to include all the code for parsing out repeated use of the same field and parsing dates and other formatting, there would be a great deal more. One of the nice things that is done in the sample, and there may be a function or two missing, is that it checks the bookmarks and identifies any non matching bookmarks that the user has created. Note also that this uses a hard coded fixed query to get the fields that may be written. It is easily modified to point to other saved queries with broader or narrower collections of fields. First, the callback functions for the Doc template selection and Query selection templates. If the user does not select a query, a document is generated for the current Member record. Dim mstrTable As String 'Table of Primary Record to which docs are related, parsed from Opening Args Dim mlngFileID As Long 'Long PK of record from which Doc form is opened, parsed from Opening Args Dim mstrPath As String 'Path to File Folder based on Table and PK above and Path to BE Dim marDocNames As Variant 'Callback data array for Templates combo. Below path to Table Dim mlngIDot As Long 'Count of above Dim marQryNames As Variant 'Callback data array for Recipient Query combo Dim mlngIQry As Long 'Count of above Private Sub GetTemplates() 'Fills array with all template docs in the table's template folder for the template combo callback Dim strFileName As String Dim strFilePath As String strFilePath = fnDbPath & mstrTable & "\Templates\" strFileName = Dir(strFilePath & "*.Dot", vbDirectory) ReDim marDocNames(0, 0) Do While Len(strFileName) If Not (strFileName = ".." Or strFileName = ".") Then ReDim Preserve marDocNames(0, mlngIDot) marDocNames(0, mlngIDot) = Left$(strFileName, Len(strFileName) - 4) strFileName = Dir mlngIDot = mlngIDot + 1 End If Loop qSort marDocNames, 0, False, 0 End Sub Private Sub GetQuerys() 'Fills Array for combo query callback listing all queries in the database Dim strPrefix As String Dim db As DAO.Database Dim qdf As QueryDef Set db = CurrentDb strPrefix = "" 'removed, ordinarily a passed in parameter ReDim marQryNames(0, 0) For Each qdf In db.QueryDefs If Left$(qdf.Name, Len(strPrefix)) = strPrefix Then ReDim Preserve marQryNames(0, mlngIQry) marQryNames(0, mlngIQry) = qdf.Name mlngIQry = mlngIQry + 1 End If Next qSort marQryNames, 0, False, 0 db.Close Set db = Nothing Set qdf = Nothing End Sub Function Dot(fld As Control, ID As Variant, Row As Long, Col As Long, Code As Variant) As Variant 'Word template callback for cboDocType Dim ReturnVal As Variant ReturnVal = Null Select Case Code Case acLBInitialize ReturnVal = mlngIDot Case acLBOpen ReturnVal = Timer Case acLBGetRowCount ReturnVal = mlngIDot Case acLBGetColumnCount ReturnVal = 1 Case acLBGetColumnWidth ReturnVal = -1 Case acLBGetValue ReturnVal = marDocNames(0, Row) Case acLBGetFormat Case acLBEnd End Select Dot = ReturnVal End Function Function Qry(fld As Control, ID As Variant, Row As Long, Col As Long, Code As Variant) As Variant 'cboQuery filling function Dim ReturnVal As Variant ReturnVal = Null Select Case Code Case acLBInitialize ReturnVal = mlngIQry Case acLBOpen ReturnVal = Timer Case acLBGetRowCount ReturnVal = mlngIQry Case acLBGetColumnCount ReturnVal = 1 Case acLBGetColumnWidth ReturnVal = -1 Case acLBGetValue ReturnVal = marQryNames(0, Row) Case acLBGetFormat Case acLBEnd End Select Qry = ReturnVal End Function Private Sub cmdNewDoc_Click() Dim r As DAO.Recordset Dim r2 As DAO.Recordset Dim owdApp As Word.Application Dim owdDoc As Word.Document Dim strTemplate As String Dim owdBkm As Word.Bookmark Dim strFld As String Dim strFileName As String Dim lngTemp As Long Dim strFormat As String Dim strWrite As String Dim blnBkmChecked As Boolean If Len(Me.cboQuery) Then Set r2 = CurrentDb.OpenRecordset(Me.cboQuery) If Not r2.EOF Then Do Until r2.EOF Set r = CurrentDb.OpenRecordset("SELECT tblMember.*, Locale, Province, MemberType " & _ "FROM (tblProvince RIGHT JOIN (tblLocale RIGHT JOIN tblMember ON tblLocale." & _ "LocaleID = tblMember.LocaleID) ON tblProvince.ProvinceID = tblLocale.ProvinceID) " & _ "INNER JOIN tblMemberType ON tblMember.MemberTypeID = tblMemberType.MemberTypeID " & _ "WHERE ContactID = " & r2!ContactID) strTemplate = fnDbPath & mstrTable & "\Templates\" & Me.cboDocType & ".dot" If fnWordTemplate(owdApp, owdDoc, strTemplate) Then With owdDoc On Error Resume Next If blnBkmChecked = False Then fnCheckBookMarks r, owdDoc blnBkmChecked = True End If For Each owdBkm In owdDoc.Bookmarks If InStr(owdBkm.Name, "__") Then lngTemp = InStr(owdBkm.Name, "__") + 2 strFormat = Mid$(owdBkm.Name, lngTemp) strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = Format$(r(strFld), strFormat) ElseIf InStr(owdBkm.Name, "_") Then strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = r(strFld) Else strFld = owdBkm.Name strWrite = r(strFld) End If owdBkm.Select owdApp.Selection = strWrite Next End With If Me.chkMemberFolder = True Then strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & r2!ContactID & "\" & fnFileNameOK(Me.cboDocType)) & "doc" fnFolders mstrTable & "\" & r2!ContactID & "\" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If If Me.chkGroupFolder = True Then fnFolders mstrTable & "\" & Me.cboQuery & "\" strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & Me.cboQuery & "\" & fnFileNameOK(r!FirstName & " " & r!LastName & "-" & Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If If Me.chkPrint = True Then owdDoc.PrintOut End If If Me.chkOpenDocs = False Then owdDoc.Close SaveChanges:=wdDoNotSaveChanges End If strFileName = fnFileSuffix(fnDbPath & mstrTable & "\" & r!FirstName & " " & r!LastName & "-" & fnFileNameOK(Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName End If End If owdApp.Visible = True r2.MoveNext Loop End If Else Set r = CurrentDb.OpenRecordset("SELECT tblMember.*, Locale, Province, MemberType " & _ "FROM (tblProvince RIGHT JOIN (tblLocale RIGHT JOIN tblMember ON tblLocale." & _ "LocaleID = tblMember.LocaleID) ON tblProvince.ProvinceID = tblLocale.ProvinceID) " & _ "INNER JOIN tblMemberType ON tblMember.MemberTypeID = tblMemberType.MemberTypeID " & _ "WHERE ContactID = " & mlngFileID) strTemplate = fnDbPath & mstrTable & "\Templates\" & Me.cboDocType & ".dot" If fnWordTemplate(owdApp, owdDoc, strTemplate) Then With owdDoc On Error Resume Next fnCheckBookMarks r, owdDoc For Each owdBkm In owdDoc.Bookmarks If InStr(owdBkm.Name, "__") Then lngTemp = InStr(owdBkm.Name, "__") + 2 strFormat = Mid$(owdBkm.Name, lngTemp) strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = Format$(r(strFld), strFormat) ElseIf InStr(owdBkm.Name, "_") Then strFld = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) strWrite = r(strFld) Else strFld = owdBkm.Name strWrite = r(strFld) End If owdBkm.Select owdApp.Selection = strWrite Next End With If Me.chkMemberFolder = True Then strFileName = fnFileSuffix(mstrPath & fnFileNameOK(Me.cboDocType)) & "doc" owdDoc.SaveAs strFileName If Len(Dir(strFileName)) = 0 Then MsgBox "File Save Error. Can't save " & strFileName Else Me.sfrmDocumentList.Form.AddToArray Mid$(strFileName, Len(mstrPath) + 1), FileLen(strFileName), "fax*" End If End If If Me.chkPrint = True Then owdDoc.PrintOut End If If Me.chkOpenDocs = False Then owdDoc.Close SaveChanges:=wdDoNotSaveChanges End If End If owdApp.Visible = True End If On Error Resume Next r.Close Set r = Nothing r2.Close Set r2 = Nothing Set owdDoc = Nothing Set owdApp = Nothing End Sub This code above is in a form with some of the check boxes I mentioned. It has combos that are filled by callback for templates in a location beneath the path to the table container file and a combo filled with queries with a prefixed naming convention. I culled out the prefix code. Function fnDbPath() As String Dim lngPos As Long Dim lngPosStrt As Long Dim lngPosExit As Long Dim strFile As String strFile = CurrentDb.Name lngPosStrt = 2 Do Until lngPosStrt = 1 lngPos = InStr(lngPosStrt, strFile, "\") lngPosStrt = lngPos + 1 If lngPosStrt <> 1 Then lngPosExit = lngPosStrt - 1 Loop fnDbPath = Left$(strFile, lngPosExit) End Function Public Function fnWordTemplate(owdApp As Word.Application, owdDoc As Word.Document, strTemplate As String, Optional blnClose As Boolean = False) As Boolean Dim lngCount As Long If Len(Dir(strTemplate)) Then fnReturnWord owdApp, blnClose lngCount = owdApp.Documents.Count Set owdDoc = owdApp.Documents.Add(Template:=strTemplate, newtemplate:=False) If owdApp.Documents.Count = lngCount + 1 Then fnWordTemplate = True Else MsgBox "Unable to create new document" End If Else MsgBox "The template file: " & strTemplate & _ " was not found. Unable to create document." Exit Function End If End Function Public Function fnCheckBookMarks(r As DAO.Recordset, owdDoc As Word.Document) Dim owdBkm As Word.Bookmark Dim strBkm() As String Dim lngI As Long Dim lngJ As Long Dim blnFound As Boolean ReDim strBkm(1, owdDoc.Bookmarks.Count - 1) For Each owdBkm In owdDoc.Bookmarks strBkm(0, lngI) = owdBkm.Name If InStr(owdBkm.Name, "__") Then strBkm(1, lngI) = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) ElseIf InStr(owdBkm.Name, "_") Then strBkm(1, lngI) = Left(owdBkm.Name, InStr(owdBkm.Name, "_") - 1) Else strBkm(1, lngI) = owdBkm.Name End If lngI = lngI + 1 Next For lngI = 0 To owdDoc.Bookmarks.Count - 1 For lngJ = 0 To r.Fields.Count - 1 If strBkm(1, lngI) = r(lngJ).Name Then blnFound = True Exit For Debug.Print lngI & " = " & lngJ End If Next If blnFound = False Then MsgBox strBkm(1, lngI) & " was not found in the recordset but is a bookmark in " & _ "the Template." & vbCrLf & vbCrLf & "This bookmark cannot be filled from the " & _ "recordset. It will require a query that returns a field with that name." End If blnFound = False Next End Function Function fnFixFileName(ByVal strIn As String, strMapIn As String, ByVal strMapOut As String) As String Dim IntI As Integer Dim intPos As Integer Dim strChar As String * 1 Dim strout As String If Len(strMapIn) > 0 Then If Len(strMapOut) > 0 Then strMapOut = Left$(strMapOut & String(Len(strMapIn), Right$(strMapOut, 1)), Len(strMapIn)) End If For IntI = 1 To Len(strIn) strChar = Mid$(strIn, IntI, 1) intPos = InStr(1, strMapIn, strChar) If intPos > 0 Then strout = strout & Mid$(strMapOut, intPos, 1) Else strout = strout & strChar End If Next IntI End If fnFixFileName = strout End Function Function fnFileNameOK(strIn As String) As String Dim strout As String strout = fnFixFileName(strIn, "/\?*" & Chr$(34), "-") fnFileNameOK = fnFixFileName(strout, ".", "") End Function Sub qSort(varAr As Variant, fld As Long, Asc As Boolean, NumberCol As Long, Optional lngL As _ Long = -2, Optional lngR As Long = -2) Dim lngI As Long Dim lngK As Long Dim lngJ As Long Dim varMid As Variant If lngL = -2 Then lngL = LBound(varAr, 2) If lngR = -2 Then lngR = UBound(varAr, 2) If lngL < lngR Then lngJ = (lngL + lngR) \ 2 varMid = varAr(fld, lngJ) lngI = lngL lngK = lngR If Asc Then Do Do While varAr(fld, lngI) > varMid lngI = lngI + 1 Loop Do While varAr(fld, lngK) < varMid lngK = lngK - 1 Loop If lngI <= lngK Then Swap varAr, lngI, lngK, NumberCol lngI = lngI + 1 lngK = lngK - 1 End If Loop Until lngI > lngK Else Do Do While varAr(fld, lngI) < varMid lngI = lngI + 1 Loop Do While varAr(fld, lngK) > varMid lngK = lngK - 1 Loop If lngI <= lngK Then Swap varAr, lngI, lngK, NumberCol lngI = lngI + 1 lngK = lngK - 1 End If Loop Until lngI > lngK End If If lngK <= lngJ Then qSort varAr, fld, Asc, NumberCol, lngL, lngK qSort varAr, fld, Asc, NumberCol, lngI, lngR Else qSort varAr, fld, Asc, NumberCol, lngI, lngR qSort varAr, fld, Asc, NumberCol, lngL, lngK End If End If End Sub Private Sub Swap(varArr As Variant, lng1 As Long, lng2 As Long, NumCol As Long) Dim varTemp As Variant Dim lngN As Long For lngN = 0 To NumCol varTemp = varArr(lngN, lng2) varArr(lngN, lng2) = varArr(lngN, lng1) varArr(lngN, lng1) = varTemp Next End Sub Hen >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Word Automation >Date: Wed, 12 Mar 2003 08:12:23 -0500 > >Henry, I would like to learn more about how you do this. _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From DWUTKA at marlow.com Wed Mar 12 18:15:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 18:15:01 2003 Subject: [AccessD] Intentional Errors Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A6@main2.marlow.com> I have only ever dabbled in C (VC++), but I have lots of experience with VB and VBA. The queasy feeling comes from not being able to handle ALL errors from within VB. There are times where your code can trigger an error that you cannot handle. For instance, if you have a corrupt database, and you try to open a form that msaccess.exe runs into an unhandled error for, then your code will fail, and Access will shut down. Granted, knowing that you may get an error, that you can handle, and getting broadsided by something you can't trap are two different things. And I don't think I have ever seen an unexpected error in a routine that I expected an error to be a valid 'response'. However, it's kind of like the feeling you may get sometimes in bed, when you feel like you are falling. You are not falling, but the sensation is there, and it just triggers the fight or flight response! Know what I mean? I completely agree that catching 'expected' errors is a very valid method of writing code...in fact, in some API calls, getting an error is the only 'response' you get back...the error message is the result of the API. Drew -----Original Message----- From: Heenan, Lambert To: Access-D Email (E-mail) Sent: 3/12/03 4:39 PM Subject: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at hotmail.com Wed Mar 12 18:18:00 2003 From: mmmtbig at hotmail.com (Myke) Date: Wed Mar 12 18:18:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software In-Reply-To: <20030312230800.16930.74354.Mailman@databaseadvisors.com> Message-ID: <003d01c2e8f5$f5130090$6501a8c0@tbig3> Note: I am using a hotmail email account to post to AccessD because attempted posts from my BellSouth.Net email account bounce back. Soon I will buy a new PC and drop the oldest one from the lineup in my office. I'd like some opinions on PCs. I'm an independent developer working from a home office with a DSL connection. I live about 20 miles north of Atlanta. I use a keyboard video mouse sharing device for all the PCs. I don't like fixing hardware so I'd like a good onsite service contract. I don't need an OS or software installed because I'm a MSDN subscriber. I'd like to have less white noise from power supply/fans. I'd like to use temperature monitoring software because most of the failures I've had were due to a fan malfunctioning and the heat killing a hard disk. Opinions on the following would be welcome: Intel vs. AMD; DVD RW for backup; Same day onsite service; Best value monitor configuration. The easy decision is to buy a Dell. Anyone have suggestions? TIA, Myke From cfoust at infostatsystems.com Wed Mar 12 18:53:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 12 18:53:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: You just explained in another post what I meant. They don't work differently but the environment is different. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 2:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions I don't really want to kick start another debate, but just exactly how does a Global work differently from VB to VBA? They work EXACTLY the same way, so how can one be better then the other? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions Globals work better in VB than in Access IMHO. But a global connection object is more than just a global variable, and I don't think there are really better ways to do that. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 10:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From wdhindman at bellsouth.net Wed Mar 12 18:57:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 18:57:01 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: <003d01c2e8f5$f5130090$6501a8c0@tbig3> Message-ID: <00c801c2e8fb$81e3f1f0$6101a8c0@amd2k512> Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" To: Sent: Wednesday, March 12, 2003 7:17 PM Subject: [AccessD] OT: Buying a PC for Developing Software > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Mar 12 19:27:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 19:27:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server References: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBAE@cpixchng-1.cpiqpc.net> Message-ID: <00f301c2e8ff$a7139c60$6101a8c0@amd2k512> Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Wed Mar 12 19:38:00 2003 From: papparuff at attbi.com (John Ruff) Date: Wed Mar 12 19:38:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server In-Reply-To: <00f301c2e8ff$a7139c60$6101a8c0@amd2k512> Message-ID: <016401c2e900$f8315690$6401a8c0@papparuff> Would not this file be a good candidate for the Database Advisors Download site? John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, March 12, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the > > data, then exports the updated data to another text file. The > > client would like > > to be able to have the Access program automatically send the new > > file to an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Wed Mar 12 19:40:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed Mar 12 19:40:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: <657FB70438B7D311AF320090279C1801026D7949@EXCHMAIL> Amen William! 1. This must be my problem (pacbell.com) why many of my posts are bounced (or waiting for Moderator approval) 2. no comment 3. Same here, I built an AMD 1400 2 years ago for about $1400. It included: 19" View Sonic monitor (Trinitron flat tube), 1 GB PC-133 Mem, 60 GB HDD (now 140), ATI All-In-Wonder Video Card (32MB), Sound Blaster Platinum, iWill MB, 24x CDRW. A month or two later my company upgraded my work computer to a Dell Dimension 8100, 17" monitor, 256MB (now up to 768) 400Mhz Rambus memory, 40GB HDD, Nvidia Geforce 2 MX4X (32MB), Sound Blaster 64V PCI, 8x CDRW (now upgraded to 24x). Its funny how the two differ. The Dell was several hundred dollars more. At home, I can listen to music, burn CDs, re-encode an mpg movie/TV show, have Outlook Open, Access 97 & 2000 open, SQL EM & QA running (all at the same time). SQL Statements run quick, no bog to the system at all. The Dell at work, well if I'm burning a CD, that's about all I can do, because the system crawls. I've updated drivers, upgraded the CDRW drive to a faster one (which helped a bit), wiped the system clean and no difference. I've upgraded the memory by adding another 512, this also helped a bit. but I often wish I were home working on my home system. The prices are so much cheaper now on the systems, that I can build a box for about $400 to $600 that kicks over my current home system. I was a big Intel supporter and didn't want to follow the advised of friends and coworkers to make the switch over to AMD...I'm glad I did! I've even heard complaints from co-workers who were on Celeron 600 boxes & PIII boxes who switched over the Dell 1600 Mhz boxes that they are slower too! 4. A computer vendor who sold my P-166 told me to forget about contracts and warranties on computers. If something DOES fail in a year, the replacement part is always faster, cheaper & better the original (and usually less than the price of the contract). 5. See #3 above :) just my 2 cents. David McAfee -----Original Message----- From:William Hindman Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke From DWUTKA at marlow.com Wed Mar 12 20:11:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 12 20:11:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A7@main2.marlow.com> Yes, I am working on the issue. Rosehosting just got back to me tonight, and they verified nothing was wrong on their end, that the only way to track this down is from the sending end, so tomorrow I get to be Rambo and go rattle some cages at BellSouth! Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/12/03 6:57 PM Subject: Re: [AccessD] OT: Buying a PC for Developing Software Myke 1) ...everyone with a Bellsouth account is being bounced ...Drew is working on the problem which has existed since late Feb now :( 2) ...I like Dell for clients but they don't sell what you spec. 3) ...I still build my own development systems because its the only way I can get exactly what I want ...try the Atlanta Computer Show that runs at least monthly ...deal with a local vendor at the show and you can get exactly what you want assembled and tested while you wait for around 10% less than you can find it anywhere else. 4) ...service contracts are pass? ...PCs are now commodity items ...the cost of a service call can often run more than the PC cost ...build it yourself and you won't need a service contract. 5) ...I use AMD cpus ...don't have anything against Intel's except the premium you pay ...AMDs have proved to be extremely reliable and compatible ime. HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Myke" To: Sent: Wednesday, March 12, 2003 7:17 PM Subject: [AccessD] OT: Buying a PC for Developing Software > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ 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 Mar 12 20:14:00 2003 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Wed Mar 12 20:14:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBB4@cpixchng-1.cpiqpc.net> This sounds pretty good William. If you don't mind sending me a copy that would be great. I'm also looking at the ActiveX control that Seth made me aware of. Thanks to everyone else who responded. I'm trying to stay with a solution that I know the client will have all the extra pieces for it in place already. Rusty -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, March 12, 2003 7:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server Rusty ...I have a small app that I cobbled together from others code a couple of years ago for a client that does almost exactly this ...imports data from another mdb, updates it, exports it to a text file and automatically ftps it to an ftp server on the net using a login name and password ...still working every day without a hitch ...its about 250Kb zipped if your e-mail can handle it and you're interested ...its in AXP now but was a straight conversion from A97 ...HTH :) ...per list netiquette, I will not respond to any on list "me toos" :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Rusty Hammond" To: Sent: Wednesday, March 12, 2003 2:59 PM Subject: [AccessD] A2K - Automate sending a file to an FTP server > > I have an app that imports a text file, makes some changes to the data, > > then exports the updated data to another text file. The client would like > > to be able to have the Access program automatically send the new file to > > an FTP server on the internet. > > > > Has anyone automated sending a file to an FTP server from A2K? The server > > requires login name and password. Any ideas and suggestions are > > appreciated. > > > > > > Rusty Hammond > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Mar 12 20:47:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed Mar 12 20:47:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A3@main2.marlow.com> Message-ID: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: >Sounds like the broadband connections changed their DNS or WINS settings, >so they can't resolve the computer names anymore. > >Drew >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Wednesday, March 12, 2003 2:59 PM >To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >Subject: [AccessD] OT - Mapping dialup drive with broadband > >Cross post AccessD, AccessL > >This is slightly related as my users can't synchronise unless we can get >them connected :( > >Previously my users had normal modems and were able to dial into a server >and map drives ok. > >Two of them have connected to broadband lines. Now when they disconnect >the broadband connection and use their modems to connect to the server >they are able to make a connection but are not able to map drives. The >error they get is - > >"The following error occurred while trying to connect F: to >\\OAServer\OAServer > The computer or sharename could not be found. Make sure you typed it > correctly, and try again." > >Does anyone know of any issues with broadband (or similar high speed >connections) that interfere when going back to normal 56k modems? > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Mar 12 21:05:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed Mar 12 21:05:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <003501c2e82a$85fdabe0$6101a8c0@amd2k512> Message-ID: <000101c2e90d$300277f0$de1811d8@DanWaters> Ouch! Thanks for letting me know before I did the same thing! Dan -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, March 11, 2003 6:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Adding Attachments Dan ...the FSO is a really nice new tool ...I was so enthused I converted an entire app over to using it before discovering it doesn't work in a runtime environment :((((( William Hindman "We have gone forth from our shores repeatedly over the last 100 years . . . and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: Dan Waters To: accessd at databaseadvisors.com Sent: Tuesday, March 11, 2003 1:47 PM Subject: RE: [AccessD] Adding Attachments Yes! Look through File System Objects (FSO). A starter on FSO is at http://support.microsoft.com/default.aspx?scid=kb;en-us;186118. This is code that provides a lot of ability with file manipulation. Files can be copied to a permanent location on a server, and can then be re-opened using a hyperlink to that file. Your code will need to re-name the file so that it is identified with the particular database record, and FSO can do that as well. I created a table to store these hyperlinks, since a singe record can have more than one attachment. Also, go to http://www.candace-tripp.com/access_downloads.htm and download the Windows Common Dialog demo prepared by Candace Tripp. (I still appreciate Candace's work on these every time I save another attachment.) The Common Dialog will get the full path to a saved file, which can then be used by FSO to move or copy files. Have Fun! Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Tuesday, March 11, 2003 7:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Adding Attachments Is there a way to add a document as an attachment to a database? The database is used to request services. The data is entered by a customer and sometimes the customer needs to add additional documentation to support their request. The attachment might be a sketch or Word file. Does anyone have any idea how this might be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Mar 12 21:38:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed Mar 12 21:38:01 2003 Subject: [AccessD] Access/Oracle References: <05EBB8A3BEB95B4F8216BE4EF48607784AFDD6@srciml1.ds.doc.state.or.us> Message-ID: <3E6FFCF2.60800@shaw.ca> Here is a generic site covering SQL, Oracle and DB2 http://searchdatabase.techtarget.com/ Gowey Mike W wrote: >Thanks Scott, > >Pointers is exactly what I will need and any place on the net that you >know of that has information on Oracle. I have not really embarked on >anything that has to do with Oracle so this is going to be a new avenue >for me. It is going to be fun but I am sure agrivating at times. > >Mike Gowey, MCP >Technical Support Analyst >SRCI ISSD Team Leader >(541)881-4808 > > >-----Original Message----- >From: Marcus, Scott (GEAE, RHI Consulting) >[mailto:scott.marcus at ae.ge.com] >Sent: Wednesday, March 12, 2003 11:22 AM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Access/Oracle > > >I have done this many times. What are you looking for? Pointers? > >I have noticed that pass-thru queries work better(but requires you use >Oracle only syntax for SQL) than attaching tables and running queries >based off those attachments. Provided that the user has the proper >privleges, attaching the tables to the front end (replacing the existing >attached access tables)is the whole beauty (well not the only advantage) >of splitting your database into front-end back-end. Very little else >needs to be done. > >Scott Marcus > >-----Original Message----- >From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] >Sent: Wednesday, March 12, 2003 12:50 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access/Oracle > > > >I am about to embark on a project to right a front end that will connect >to a back End Oracle database. Has anyone had any experience in this >area or know of where I can find good information on techniques? Any >help anyone can provide would be great. > >Thanks > >Mike Gowey, MCP >Technical Support Analyst >SRCI ISSD Team Leader > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 pacific.net.hk Wed Mar 12 22:46:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Wed Mar 12 22:46:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Message-ID: <000a01c2e91b$599c00a0$2900a8c0@BITSNB02> Another thing you can try is instead of mapping \\OAserver\Oaserver, trying using the ip address of the server. eg \\192.168.0.11\OAserver This bypasses wins/dns and unless they need to browse the network should solve the issue. Another thing to keep in mind is that win9x doesn't handle switching like this very well. Not sure if you are using win2k/xp as you didn't mention it. My main notebook is Win2K, and I often hibernate as opposed to shutdown as it keeps my workspace. Using win2k I can switch from home to work, to clients networks with no issue. Win2K releases the network configuration cleanly in my experience and grabs a new one at whatever site I am at if DHCP is set up. Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, 13 March, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Wed Mar 12 23:23:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 12 23:23:00 2003 Subject: [AccessD] A2K - Automate sending a file to an FTP server References: <016401c2e900$f8315690$6401a8c0@papparuff> Message-ID: <004c01c2e920$9e3f2980$6101a8c0@amd2k512> John ...I used quite a bit of ADH code which can't be publicly posted. :( William Hindman "The tree of liberty only grows when watered by the blood of tyrants." Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John Ruff" To: Sent: Wednesday, March 12, 2003 8:36 PM Subject: RE: [AccessD] A2K - Automate sending a file to an FTP server > Would not this file be a good candidate for the Database Advisors Download > site? > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of William Hindman > Sent: Wednesday, March 12, 2003 5:27 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K - Automate sending a file to an FTP server > > > Rusty > > ...I have a small app that I cobbled together from others code a couple of > years ago for a client that does almost exactly this ...imports data from > another mdb, updates it, exports it to a text file and automatically ftps it > to an ftp server on the net using a login name and password ...still working > every day without a hitch ...its about 250Kb zipped if your e-mail can > handle it and you're interested ...its in AXP now but was a straight > conversion from A97 ...HTH :) > > ...per list netiquette, I will not respond to any on list "me toos" :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants." > Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "Rusty Hammond" > To: > Sent: Wednesday, March 12, 2003 2:59 PM > Subject: [AccessD] A2K - Automate sending a file to an FTP server > > > > > I have an app that imports a text file, makes some changes to the > > > data, then exports the updated data to another text file. The > > > client would > like > > > to be able to have the Access program automatically send the new > > > file to an FTP server on the internet. > > > > > > Has anyone automated sending a file to an FTP server from A2K? The > server > > > requires login name and password. Any ideas and suggestions are > > > appreciated. > > > > > > > > > Rusty Hammond > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From medela at eunet.yu Wed Mar 12 23:59:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Wed Mar 12 23:59:00 2003 Subject: [AccessD] Is form open in another database Message-ID: <00d701c2e925$4f94aa80$0100a8c0@razvoj> Cross posted to Access-L & AccessD My customers use the same BE file, which resides on the server, through their local FE files. Is there a way to check if a specific form is open on a specific machine or any of the machines? Because I need to kick out all users before running some append and delete queries. Many TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Thu Mar 13 00:21:01 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Thu Mar 13 00:21:01 2003 Subject: [AccessD] Re: Is form open in another database References: <00d601c2e925$4e98e560$0100a8c0@razvoj> Message-ID: <009001c2e929$1dbad670$0eb62904@amd2k> What I do now is create a text file called lockout w/ a time, when a specific form is open all it would have to do is check for this file, all specific forms that need to check if the BE's been locked out would check this file first and if it existed then BOOT! -Francisco http://rcm.netfirms.com/ On Wednesday, March 12, 2003 9:56 PM [GMT -8], Ervin Brindza wrote: : Cross posted to Access-L & AccessD : : My customers use the same BE file, which resides on the server, : through their local FE files. Is there a way to check if a specific : form is open on a specific machine or any of the machines? Because I : need to kick out all users before running some append and delete : queries. : : Many TIA, : : Ervin : From medela at eunet.yu Thu Mar 13 01:08:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Thu Mar 13 01:08:00 2003 Subject: [AccessD] Is form open in another database References: <00d601c2e925$4e98e560$0100a8c0@razvoj> <009001c2e929$1dbad670$0eb62904@amd2k> Message-ID: <004801c2e92e$e4d7a3a0$0100a8c0@razvoj> Francisco, thanks for the quick response :) I have 3 disputable forms(e.g. frmA, frmB, frmC), and have a couple of users(1 user on each machine, e.g. PC1, PC2, PC3, PC4, PC5). The solution might be to create files for each active form for each machine(e.g. A4.txt, A5.txt then the form frmA is active on PC4 and PC5) and when the form is closed then to delete the appropriate file. I think it'll be the best solution because there is just a couple of forms and users. Maybe someone can suggest a better solution, to make less files and to check are files empty? Many thanks for the idea, best regards, Ervin > What I do now is create a text file called lockout w/ a time, when a > specific form is open all it would have to do is check for this file, all > specific forms that need to check if the BE's been locked out would check > this file first and if it existed then BOOT! > > -Francisco > http://rcm.netfirms.com/ > > On Wednesday, March 12, 2003 9:56 PM [GMT -8], > Ervin Brindza wrote: > > : Cross posted to Access-L & AccessD > : > : My customers use the same BE file, which resides on the server, > : through their local FE files. Is there a way to check if a specific > : form is open on a specific machine or any of the machines? Because I > : need to kick out all users before running some append and delete > : queries. > : > : Many TIA, > : > : Ervin > : > > > From medela at eunet.yu Thu Mar 13 02:48:00 2003 From: medela at eunet.yu (Ervin Brindza) Date: Thu Mar 13 02:48:00 2003 Subject: [AccessD] Is form open in another database References: <3E70D177.13060.FFF51E@localhost> Message-ID: <003201c2e93c$ef548b00$0100a8c0@razvoj> Stuart, great idea, it's almost friday here :) Many thanks, Ervin ----- Original Message ----- From: "Stuart McLachlan" To: "Ervin Brindza" Sent: 13 March, 2003 9:44 AM Subject: Re: [AccessD] Is form open in another database > Why not a system table in the BE. > > tdlOpenForms: > fldUserName > fldFormName > > In the on_open of the form write a record to the table > in the on_close, delete the matching record. > > > Francisco, > > thanks for the quick response :) > > I have 3 disputable forms(e.g. frmA, frmB, frmC), and have a couple of > > users(1 user on each machine, e.g. PC1, PC2, PC3, PC4, PC5). The solution > > might be to create files for each active form for each machine(e.g. A4.txt, > > A5.txt then the form frmA is active on PC4 and PC5) and when the form is > > closed then to delete the appropriate file. I think it'll be the best > > solution because there is just a couple of forms and users. > > Maybe someone can suggest a better solution, to make less files and to check > > are files empty? > > Many thanks for the idea, best regards, > > Ervin > > > > > What I do now is create a text file called lockout w/ a time, when a > > > specific form is open all it would have to do is check for this file, all > > > specific forms that need to check if the BE's been locked out would check > > > this file first and if it existed then BOOT! > > > > > > -Francisco > > > http://rcm.netfirms.com/ > > > > > > On Wednesday, March 12, 2003 9:56 PM [GMT -8], > > > Ervin Brindza wrote: > > > > > > : Cross posted to Access-L & AccessD > > > : > > > : My customers use the same BE file, which resides on the server, > > > : through their local FE files. Is there a way to check if a specific > > > : form is open on a specific machine or any of the machines? Because I > > > : need to kick out all users before running some append and delete > > > : queries. > > > : > > > : Many TIA, > > > : > > > : Ervin > > > : > > > > > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > From gustav at cactus.dk Thu Mar 13 03:42:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 13 03:42:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> Message-ID: <1176975750.20030313104053@cactus.dk> Hi Drew > I know what you are saying about intentionally looking for an error. It > gives me an uneasy feeling too, but there are some things that just > absolutely require it. Of course, and no problem with that. However, I can't imagine why one would do as described in your example - I've never designed a form to be used as both a main form and a subform and indeed not at the same time - but, well, never say never. /gustav > As far as your code, I'm pretty tired so I could be wrong on this, but I > think I could trigger a false positive with your code. If you opened formA, > then opened formB, then set the source object on a subform on FormA to > FormB, you will now have FormB as a subform on FormA, but your function will > say False, because FormB was the last form to be put into the form's > collection AND it is also now a subform. (Actually, just tried it, and it > did say false from the subform) > I know, it wouldn't be a common occurrence, but the error method is > guaranteed to be correct. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav >> I know, it's just one of my coding habits. I only use 'resume next' when >> I >> want to completely ignore errors. If I am expecting an error...to use it >> (as in my example), or I am just handling unexpected errors, then I always >> use On Error Goto... >> Make sense? (your code is smaller....can't deny that!) >> Drew >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, March 12, 2003 11:13 AM >> To: Drew Wutka >> Subject: Re: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi Drew >> That was an awful lot of code to replace something like these two >> lines: >> >> Private Function IsSubform() As Boolean >> On Error Resume Next >> IsSubform = Me.Parent.hWnd >> End Function >> >> /gustav >>> This is from my new MiniCalendar database....still in development...but >>> the function works fine. >>> Private Function AmIASubForm() As Boolean >>> On Error GoTo ErrorHandler >>> Dim varTemp >>> varTemp = Me.Parent >>> AmIASubForm = True >>> Exit Function >>> ErrorHandler: >>> Err.Clear >>> AmIASubForm = False >>> End Function >>> -----Original Message----- >>> From: Bruce Bruen [mailto:bbruen at bigpond.com] >>> Sent: Tuesday, March 11, 2003 6:58 PM >>> To: AccessD >>> Subject: [AccessD] How do I tell if a form is opened as a subform or >>> not? >>> Hi List, >>> I am trying to use a form that may appear as a subform or on its own. >>> If it's a subform then I want to maximise it in its parent control >>> space, if not then it should be sized to fit the form. >>> But how do I tell where it is being opened? The following doesn't work: >>> On Error Resume Next >>> If Not IsNull(Me.Parent.Name) Then >>> boolIsSubform = True >>> DoCmd.Maximize >>> Else >>> boolIsSubform = False >>> End If >>> On Error GoTo 0 >>> Ignore the fact that the docmd works on the parent, I am not worried >>> about that at the moment, only that I don't know how to test the >>> "subformedness". From scott.marcus at ae.ge.com Thu Mar 13 06:19:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 06:19:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D36@bwam02msx.ae.ge.com> Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From scott.marcus at ae.ge.com Thu Mar 13 06:24:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 06:24:00 2003 Subject: [AccessD] How to Delete or modify an index in VBA Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D37@bwam02msx.ae.ge.com> Not trying to make you look bad, forgive me if I sounded that way. Remember that there is more than one way to skin a cat. I hear that the help files in 2000+ absolutely stink. Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Trying to make me look bad eh? :) Actually, I did look and still couldn't easily find the 'drop' feature. I no longer use the Access 97 help file, but still couldn't seem to find it in A2K help. Must be my old age. John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 4:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA John, Fortunately, you don't to remember to look up 'Drop' to find out that it is used to delete an index. You can look up 'INDEX' and get the same information. Glad to have helped... Scott Marcus -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 2:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Delete or modify an index in VBA Scott, Thanks! Just so you know I'm not a real dufuss, I did spend about 1/2 hour chekcing the online help files , MS knowledge base and some of my other favorite Access site before posting the question. I seacrhed for 'delete indexes' or 'deleting index" and other variations and still no luck. Had I searched for 'Drop', I would have found it! Oh Well! Thanks!!! John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Wednesday, March 12, 2003 1:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How to Delete or modify an index in VBA Straight form the Access97 Help file... Sub DropX1() Dim dbs As Database ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Delete NewIndex from the Employees table. dbs.Execute "DROP INDEX NewIndex ON Employees;" dbs.Close End Sub Scott -----Original Message----- From: John Skolits [mailto:JSkolits at corporatedatadesign.com] Sent: Wednesday, March 12, 2003 1:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] How to Delete or modify an index in VBA Anyone know how to delete an index in VBA after it's already been added to a collection. Another option would be to modify it (add a field) or to set it's Unique property to false. Any of these would be fine. I know how to Create an index, just can't delete it. I am using DAO but could also use ADO if that's the better solution. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 13 07:05:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:05:01 2003 Subject: [AccessD] ADO Command object In-Reply-To: <00b301c2e8ae$f7ae6430$0100007f@SusanOne> Message-ID: <000901c2e961$0b372ca0$8e01a8c0@Rock> Maybe this is what you want, Susan? With a connection object you can do things like this: Debug.print CurrentProject.Connection.Properties("User ID") -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 12, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO Command object Exactly Mark -- you can use a connection string or a connection object. The latter requires more code, but the connection string, as Charlotte or Doris pointed out (sorry, I can't remember which one of you said that), the connection string can be a pain to work with. Other than that though, I can really find no advantage to using a Connection object. I expected to find some benefit, such as properties or methods available only via the Connect object, because most of the code samples I see uses the Connection object, but other than perspective, I can see no advantage. I'll keep digging around a little, but so far, I've not really turned up anything. Susan H. > > Would the explanation be that in your sample code > > With cmd > .ActiveConnection = strConn > > It appears that the connection is being initialised here. Perhaps in > the other example, it reads clearer when you are passing in a live cnn > connection rather than strCnn. > > Having said that, you could use cnn in both scenario's. > > I do think ( as I think you do ), that your way is neater. > > For a further question on this, see my new thread 'Using Global Connctions' > > Best Regards > > > Mark L. Breen > Solution Providers Ltd > Ireland > > > > > ----- Original Message ----- > From: "Susan Harkins" > To: > Sent: Tuesday, March 11, 2003 10:01 PM > Subject: Re: [AccessD] ADO Command object > > > -- I still > don't see the advantage of using the Connection object instead of a > connection string. > > I'm not arguing -- I just don't understand. The light's not going on. > :) > > 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 bheid at appdevgrp.com Thu Mar 13 07:11:00 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu Mar 13 07:11:00 2003 Subject: [AccessD] Intentional Errors Message-ID: <916187228923D311A6FE00A0CC3FAA30332E6E@ADGSERVER> I think that sometimes this is the ONLY way to handle certain issues. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Wednesday, March 12, 2003 5:40 PM To: Access-D Email (E-mail) Subject: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Thu Mar 13 07:12:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 13 07:12:01 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <000a01c2e91b$599c00a0$2900a8c0@BITSNB02> References: <5.2.0.9.0.20030313154114.00b46310@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030313225227.024b7d38@mail.dalyn.co.nz> The users are on XP. Thanks for the suggestion - will try it out. David At 13/03/2003, you wrote: >Another thing you can try is instead of mapping >\\OAserver\Oaserver, trying using the ip >address of the server. eg >\\192.168.0.11\OAserver > >This bypasses wins/dns and unless they need to browse the network should >solve the issue. > >Another thing to keep in mind is that win9x doesn't handle switching like >this very well. Not sure if you are using win2k/xp as you didn't mention >it. My main notebook is Win2K, and I often hibernate as opposed to >shutdown as it keeps my workspace. Using win2k I can switch from home to >work, to clients networks with no issue. Win2K releases the network >configuration cleanly in my experience and grabs a new one at whatever >site I am at if DHCP is set up. > >Stuart > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson >Sent: Thursday, 13 March, 2003 10:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT - Mapping dialup drive with broadband > >Aha!. Where do I find those settings so that I can check? > >David > >At 12/03/2003, you wrote: >>Sounds like the broadband connections changed their DNS or WINS settings, >>so they can't resolve the computer names anymore. >> >>Drew >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: Wednesday, March 12, 2003 2:59 PM >>To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >>Subject: [AccessD] OT - Mapping dialup drive with broadband >> >>Cross post AccessD, AccessL >>This is slightly related as my users can't synchronise unless we can get >>them connected :( >>Previously my users had normal modems and were able to dial into a server >>and map drives ok. >>Two of them have connected to broadband lines. Now when they disconnect >>the broadband connection and use their modems to connect to the server >>they are able to make a connection but are not able to map drives. The >>error they get is - >> >>"The following error occurred while trying to connect F: to >>\\OAServer\OAServer >> The computer or sharename could not be found. Make sure you typed it >> correctly, and try again." >> >>Does anyone know of any issues with broadband (or similar high speed >>connections) that interfere when going back to normal 56k modems? >>Regards >>David Emerson >>DALYN Software Ltd >>25b Cunliffe St, Johnsonville >>Wellington, New Zealand >>Ph/Fax (877) 456-1205 > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 13 07:16:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:16:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D32@bwam02msx.ae.ge.com> Message-ID: <000a01c2e962$97c82ba0$8e01a8c0@Rock> In case JC is too busy, I'll step up. I never use globals. For equivalent functionality I always use static functions. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: March 12, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From RGeldart at detma.org Thu Mar 13 07:20:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu Mar 13 07:20:00 2003 Subject: [AccessD] Iteration construct to print variables Message-ID: Stuart, and Marty, A little further explanation (there's always more....) 1. There are actually 97 data fields to be output. I used 20 as it seemed an easier number to deal with, theoretically. 2. The module produces a data file for uploading state agency data to a Federal database. Feds refer to the data fields as "cells", thus identifying the data items "c1", "c2", ... "c97". 3. The data comes from a Query which is also used for an internal report. Thus, I have more meaningful fieldnames ("num_Lapse_Under8") which I recode as "c10" in the module, for ease of debugging and understanding what the Feds are expecting. 4. I do computation of sums on my report. However, Feds take totals as data cells, so I need to compute them in the module. Not a problem, but Feds have c1...c8 as column totals, and c9, c17, c25, c33, etc, as row totals. All of this would seem to make arrays, or any logical sequential action by cell name or cell number a real problem. So I've settled on incorporating a number of Print statements. It ain't pretty, but it works alright. I do thank you for your time and suggestions. Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Tuesday, March 11, 2003 8:34 PM > > > How about > > dim c(20) as long ' or use variant > dim i as long > > then something like > c(1) = rst !fieldone > c(4) =c(1) +c(2) > > debug.print concstring(c()) > > where > > Function concstring(arrc()) As String > 'concatenate array to string > Dim strTemp As String > Dim k As Long > strTemp = "" > For k = 1 To UBound(arrc) > strTemp = strTemp & arrc(k) & vbCrLf > Next k > concstring = strTemp > > End Function > > Geldart, Robert wrote: > > >I found a way to do it that works almost as well... > > > >Dim cr as string > >cr = vbCrLf > > > > Print #1, c1; cr; c2; cr; c3; cr; c4; cr; c5; cr; c6; cr; > > Print #1, c11; cr; c12; cr; c13; cr; c14; cr; c15; cr; > > ... > > > >It allows me to condense the code so I can output ten data > >items per line. > > > >Bob Geldart > > > >>-----Original Message----- > >>From: Geldart, Robert [mailto:RGeldart at detma.org] > >>Sent: Tuesday, March 11, 2003 1:40 PM > >> > >>I'm doing an output to file routine in a module. > >> > >>I have a number of variables dimmed as long -- c1, c2, c3, > >>c4, ... c20 > >> > >>The data file is required to put each data field on a separate line: > >> tDate > >> c1 > >> c2 > >> ... > >> c20 > >> > >>My data is a single recordset of a query. I make a number of > >>calculations and then output all the results: > >> > >> c1 = rst!FieldOne > >> c2 = rst!FieldTwo > >> c3 = rst!FieldThree > >> c4 = c1 + c2 + c3 > >> ... > >> Print #1, c1 > >> Print #1, c2 > >> Print #1, c3 > >> Print #1, c4 > >> ... > >> > >>It seems to be inefficient to have 20 lines of "Print #1, > >>c..." Is there a way I could run a loop something like? > >> > >> For i = 1 to 20 > >> Print #1, "c" + i > >> Next i > >> > >>I know that specifically won't work as I tried it, but I hope > >>you can see what I'm driving at. I would like to loop through variables > >>(c1...c20) and do a Print# for each. > >> > >> > >>Bob Geldart From artful at rogers.com Thu Mar 13 07:23:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:23:01 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <1047497097.8377.198.camel@sgsax-th4022c> Message-ID: <001301c2e963$91c92d70$8e01a8c0@Rock> I have never seen this, Seth. In the M:M article I wrote on treeviews I showed population of both a parent and a child form (i.e. click on a parent node and the child form disappears; click on an unrelated child and the parent form refreshes to display the right parent data). I used single-click throughout and it works fine. Maybe you could check your code against mine and see what you're doing differently. A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: March 12, 2003 2:25 PM To: accessd Subject: [AccessD] sniggling problem with treeview Hi all, We're using the treeview control in one of our applications right now for form navigation (kind of like Susan's method for using a listbox for navigation in this month's Inside Microsoft Access). Basically, when you (single-)click on a child node, the appropriate subform should open, or action fire. Populating the treeview is working great, as is collapsing and expanding branches at will. We had some trouble with the icons for a while, but finally found a documented bug and were able to work around it, so they are working fine now also. Everything is working pretty well, except for one final bug. Occasionally, and it seems like probably 10%-20% or the time when you click on a node, the desired subform does not open until you double-click on it. This is more of an annoyance than a critical bug. After all, the subform does open after a double-click. But it is supposed to fire on a single-click. Any of you treeview veterans come across this? What did you do to fix or work around it? We tried some third-party treeview controls to see if there was a better one out there, but they didn't want to work in Access, only VB. Any recommendations are welcome. Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Thu Mar 13 07:25:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu Mar 13 07:25:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software Message-ID: Myke, I'll agree with the folks that have said build your own system. You get exactly what you want, nothing more, nothing less. Now on to the CPU, the things religious wars are made of :-)) I will highly recommend AMDs. You get a better bang for your buck. I built a 1.4 GHz Athlon system about 18 months ago and it cost me about ? the price of a comparable Intel. The MoBo was cheaper as well. I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz AMD) and I find that even thought he AMD has a lower speed, the overall system is faster. Yes, I have actually done benchmarks on both systems and the AMD always came back faster. The only thing that you will need to watch is the temp. I've been working on getting my CPU temp down for about 4 months now. I get it down to a comfortable level and then it slowly creeps up over a week or so. So I tweak and clean again and it drops again, but rises after a while. Dells are good machines, that's my Intel system at work and I haven't had a problem with it since I've had it. Just my $0.02 CAD worth from an AMD fan. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> Note: I am using a hotmail email account to post to AccessD because attempted posts from my BellSouth.Net email account bounce back. Soon I will buy a new PC and drop the oldest one from the lineup in my office. I'd like some opinions on PCs. I'm an independent developer working from a home office with a DSL connection. I live about 20 miles north of Atlanta. I use a keyboard video mouse sharing device for all the PCs. I don't like fixing hardware so I'd like a good onsite service contract. I don't need an OS or software installed because I'm a MSDN subscriber. I'd like to have less white noise from power supply/fans. I'd like to use temperature monitoring software because most of the failures I've had were due to a fan malfunctioning and the heat killing a hard disk. Opinions on the following would be welcome: Intel vs. AMD; DVD RW for backup; Same day onsite service; Best value monitor configuration. The easy decision is to buy a Dell. Anyone have suggestions? TIA, Myke _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 13 07:29:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 13 07:29:01 2003 Subject: [AccessD] Report criteria using form In-Reply-To: Message-ID: <001c01c2e964$7f1b1d40$8e01a8c0@Rock> Didn't I send you code a while back that constructs an IN() clause from the multiple selections in a listbox? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dwylene Garcia Sent: March 12, 2003 4:11 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report criteria using form I have built a form to run a report that allows the user to set various criteria using the following in the criteria line of the underlying query of the report: Like [Forms]![frmAttendenceReports]![txtDepartment]. This works great if I'm looking for one particular department such as "education" or all departments which is obtained by using "*". I can't get it to work if I want to run the report for two separate departments. I have tried the following entries in the textbox: 2 West Or Education "2 West" Or "Education" I have verified that there are records for both departments. I have put the criteria directly in the query and it does work... I just can't get it to work through the form. Any suggestions? Dwylene Garcia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From juliea at eccs-seattle.com Thu Mar 13 07:42:00 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 07:42:00 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: I am using the following code to send a report to Word, then conduct a search and replace for the search phrase used to create the report. The problem: This only works once, then I have to reboot in order for it to work again.... Any one know a reliable way to do this repetitively? Search, send results to word, then bold the search phrases. Thanks, DoCmd.RunCommand acCmdOutputToRTF With Selection.Find .ClearFormatting With .Replacement ' .ClearFormatting .Font.Name = "Arial" .Font.Size = 24 .Font.AllCaps = True .Font.Bold = True End With .Forward = True .Wrap = wdFindContinue .Execute FindText:=strCriteria(0), _ Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) End With Julie Alley Emerald City Computer Solutions, Inc. Juliea at eccs-seattle.com Cell: 206-235-0954 Office: 206-932-6618 Fax: 206-938-7941 Web site: http://www.eccs-seattle.com WARNING: The information contained in this e-mail is confidential. The information is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please immediately notify us by a collect telephone call to 206.932.6618 and return the original message to us by e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From juliea at eccs-seattle.com Thu Mar 13 07:44:01 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 07:44:01 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: I am using the following code to send a report to Word, then conduct a search and replace for the search phrase used to create the report. The problem: This only works once, then I have to reboot in order for it to work again.... Any one know a reliable way to do this repetitively? Search, send results to word, then bold the search phrases. Thanks, DoCmd.RunCommand acCmdOutputToRTF With Selection.Find .ClearFormatting With .Replacement ' .ClearFormatting .Font.Name = "Arial" .Font.Size = 24 .Font.AllCaps = True .Font.Bold = True End With .Forward = True .Wrap = wdFindContinue .Execute FindText:=strCriteria(0), _ Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) End With Julie Alley Emerald City Computer Solutions, Inc. Juliea at eccs-seattle.com Cell: 206-235-0954 Office: 206-932-6618 Fax: 206-938-7941 Web site: http://www.eccs-seattle.com WARNING: The information contained in this e-mail is confidential. The information is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please immediately notify us by a collect telephone call to 206.932.6618 and return the original message to us by e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Thu Mar 13 07:55:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 07:55:00 2003 Subject: [AccessD] Painted into a corner Message-ID: ORDER BY doesn't do it, because I can only seem to be able to use "Findings" or "Count" and these don't do it for me. "Findings" is the default anyhow, and "Count" would be of no use. Just as an FYI...it was news to me anyhow...I was able to use "ORDER BY Findings" after the first select statement and after the last, with the same results. I guess this makes sense. Also, it occurs to me that I may not be clear in what I want. I want this: Findings Count ADC 79 CASES W/NO ERRORS FOUND 102 CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN 104 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION 102 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 HR 79 MA 47 MA ONLY 26 NPA FS 77 To look like this: Findings Count CASES W/NO ERRORS FOUND ADC 28 CASES W/NO ERRORS FOUND HR 27 CASES W/NO ERRORS FOUND MA 23 CASES W/NO ERRORS FOUND NPA FS 24 DENIED / WITHDRAWN ADC 24 DENIED / WITHDRAWN HR 27 DENIED / WITHDRAWN MA ONLY 26 DENIED / WITHDRAWN NPA FS 27 GRANT REDUCTION ADC 27 GRANT REDUCTION HR 25 GRANT REDUCTION MA 24 GRANT REDUCTION NPA FS 26 CASES W/NO ERRORS FOUND 102 DENIED / WITHDRAWN 104 GRANT REDUCTION 102 ADC 79 HR 79 MA 47 MA ONLY 26 NPA FS 77 * The spaces aren't necessary...I am just emphasizing the different groupings. I have basically decided to present what I have to them...I have really got to get this off of my plate, even if I have to come back to it later. I have all the data they need, only it isn't in the format that they are used to. I think I have actually gotten more caught up in it than I needed to. They don't seem that picky, but I don't like not being able to do something, which is my problem, and I don't have time to be this way right now. I would like to thank everybody for their help though...my skills as an Access/VBA programmer have grown so much, and it is directly linked to my participation on this list. Thanks again! John W Clark >>> scott.marcus at ae.ge.com 03/12/03 01:42PM >>> John, Check out the queries I gave you earlier for doing this all in queries. You see that you can add a constant to each of your queries in the union that will sort the types within your groups(each sub-query). It looks like this... SELECT '1' as Major, query1.* FROM query1 UNION SELECT '2' as Major, query2.* FROM query2 Drew is correct. Add the ORDER BY clause to the last query in the union. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Painted into a corner I think to 'sort' a Union Query, you put the Field to sort by in the last union segment. (Maybe it needs to be in all....) Sorry, running on about 2 hours of sleep, and I'm already starting to feel drained...(and it's only noon here). Drew From bob at renaissancesiding.com Thu Mar 13 07:59:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 07:59:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E93E.B52B6780.bob@renaissancesiding.com> Dear Fellow Listers: I am in over my head (again)! I am trying to prevent users from opening a second instance of Microsoft Access (A97). The code below was taken directly from Microsoft's Knowledge Base (A97=167843, A2K=197593). It works *perfectly* - if the other instance is windowed; it doesn't work at all if the other instance is either minimized or maximized. I need it to work no matter what the state of the currently running instance. I placed the CBF in the Switchboard, as my AutoExec macro loads the switchboard when the database is opened. Any suggestions, of course, are greatly appreciated! TIA, Bob Gajewski *** SWITCHBOARD CBF *** =============================================== Private Sub Form_Open(Cancel As Integer) ' Check for instance of Access already running. If GetCountOfWindows(hWndAccessApp, "Microsoft Access") > 2 Then ' I changed the original value of 1 to 2, as the error condition occurred _ on every initial open when the value was 1. Cancel = True MsgBox "Please use the instance of Microsoft Access that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub =============================================== *** MODULE "modStartup" *** =============================================== Option Compare Database Option Explicit '------------------------------------------ ' Global Declarations Section Of The Module '------------------------------------------ Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, _ ByVal wCmd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, ByVal CCh As Long) _ As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) _ As Long Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 ' This function returns the Caption Text of each window passed to ' it. If a window does not have a Caption bar, then this function ' returns a zero-length string ("") Function GetAppName(Lnghwnd As Long) Dim LngResult As Long Dim StrWinText As String * 255 Dim LngCCh As Long LngResult = GetWindowText(Lnghwnd, StrWinText, 255) GetAppName = Left(StrWinText, LngResult) End Function ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function =============================================== From sgsax at ksu.edu Thu Mar 13 08:10:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 13 08:10:00 2003 Subject: [AccessD] sniggling problem with treeview In-Reply-To: <001301c2e963$91c92d70$8e01a8c0@Rock> References: <001301c2e963$91c92d70$8e01a8c0@Rock> Message-ID: <1047564631.10021.0.camel@sgsax-th4022c> Arthur, This is exactly what we're trying to do. I'll check out your code later today. Thanks! Seth On Thu, 2003-03-13 at 07:22, Arthur Fuller wrote: > I have never seen this, Seth. In the M:M article I wrote on treeviews I > showed population of both a parent and a child form (i.e. click on a parent > node and the child form disappears; click on an unrelated child and the > parent form refreshes to display the right parent data). I used single-click > throughout and it works fine. Maybe you could check your code against mine > and see what you're doing differently. > > A. > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From John.Clark at niagaracounty.com Thu Mar 13 08:31:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 08:31:01 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark From BBarabash at TappeConstruction.com Thu Mar 13 08:37:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu Mar 13 08:37:01 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C6C1@TAPPEEXCH01> Um... If you are using the query as a report recordsource, your ORDER BY clause has absolutely no effect. Report sorting is handled by the Sorting & Grouping dialog in Report design view. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Thu Mar 13 08:46:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 13 08:46:01 2003 Subject: [AccessD] ADO Command object References: <000901c2e961$0b372ca0$8e01a8c0@Rock> Message-ID: <00ff01c2e96f$38835d10$194afccc@SusanOne> If you can't do it with a Command object, that's what I'm after. :) Thanks Arthur, I'll check it out! Susan H. > Maybe this is what you want, Susan? With a connection object you can do > things like this: > > Debug.print CurrentProject.Connection.Properties("User ID") > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: March 12, 2003 10:46 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADO Command object > > > Exactly Mark -- you can use a connection string or a connection object. The > latter requires more code, but the connection string, as Charlotte or Doris > pointed out (sorry, I can't remember which one of you said that), the > connection string can be a pain to work with. Other than that though, I can > really find no advantage to using a Connection object. I expected to find > some benefit, such as properties or methods available only via the Connect > object, because most of the code samples I see uses the Connection object, > but other than perspective, I can see no advantage. I'll keep digging around > a little, but so far, I've not really turned up anything. > > Susan H. > > > > > > Would the explanation be that in your sample code > > > > With cmd > > .ActiveConnection = strConn > > > > It appears that the connection is being initialised here. Perhaps in > > the other example, it reads clearer when you are passing in a live cnn > > connection rather than strCnn. > > > > Having said that, you could use cnn in both scenario's. > > > > I do think ( as I think you do ), that your way is neater. > > > > For a further question on this, see my new thread 'Using Global > Connctions' > > > > Best Regards > > > > > > Mark L. Breen > > Solution Providers Ltd > > Ireland > > > > > > > > > > ----- Original Message ----- > > From: "Susan Harkins" > > To: > > Sent: Tuesday, March 11, 2003 10:01 PM > > Subject: Re: [AccessD] ADO Command object > > > > > > -- I still > > don't see the advantage of using the Connection object instead of a > > connection string. > > > > I'm not arguing -- I just don't understand. The light's not going on. > > :) > > > > 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 Mwp.Reid at Queens-Belfast.AC.UK Thu Mar 13 08:52:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu Mar 13 08:52:00 2003 Subject: [AccessD] OT: Buying a PC for Developing Software In-Reply-To: References: Message-ID: <1047566265.3e7097b9dd293@hosea.qub.ac.uk> I have two Dells. a dimension and an Optiplex. Both Great. Have also a built Server which works really well. Never had problem with the Dells. Windows software YES, the Hardware, Nope. Also using Cable Modem. That has been giving me all sort of problems this ast week Quoting Bryan Carbonnell : > Myke, > > I'll agree with the folks that have said build your own system. You get > exactly what you want, nothing more, nothing less. > > Now on to the CPU, the things religious wars are made of :-)) > > I will highly recommend AMDs. You get a better bang for your buck. I > built a 1.4 GHz Athlon system about 18 months ago and it cost me about ? > the price of a comparable Intel. The MoBo was cheaper as well. > > I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz AMD) > and I find that even thought he AMD has a lower speed, the overall > system is faster. Yes, I have actually done benchmarks on both systems > and the AMD always came back faster. > > The only thing that you will need to watch is the temp. I've been > working on getting my CPU temp down for about 4 months now. I get it > down to a comfortable level and then it slowly creeps up over a week or > so. So I tweak and clean again and it drops again, but rises after a > while. > > Dells are good machines, that's my Intel system at work and I haven't > had a problem with it since I've had it. > > Just my $0.02 CAD worth from an AMD fan. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> > Note: I am using a hotmail email account to post to AccessD because > attempted posts from my BellSouth.Net email account bounce back. > > Soon I will buy a new PC and drop the oldest one from the lineup in my > office. I'd like some opinions on PCs. > > I'm an independent developer working from a home office with a DSL > connection. I live about 20 miles north of Atlanta. I use a keyboard > video mouse sharing device for all the PCs. I don't like fixing > hardware > so I'd like a good onsite service contract. I don't need an OS or > software installed because I'm a MSDN subscriber. I'd like to have > less > white noise from power supply/fans. I'd like to use temperature > monitoring software because most of the failures I've had were due to > a > fan malfunctioning and the heat killing a hard disk. > > Opinions on the following would be welcome: > Intel vs. AMD; > DVD RW for backup; > Same day onsite service; > Best value monitor configuration. > > The easy decision is to buy a Dell. Anyone have suggestions? > > TIA, > Myke > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From scott.marcus at ae.ge.com Thu Mar 13 09:05:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu Mar 13 09:05:00 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D38@bwam02msx.ae.ge.com> I'm sorry it took you so long to figure this out but, I told you about this in a previous response! <> Scott -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 13 10:14:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 10:14:00 2003 Subject: [AccessD] Painted into a corner...ORDER BY Solved Message-ID: Yes, you are absolutely correct. But, I was concentrating on the query first, and didn't worry about the report until afterwards, so I needed this for my tests. I then copied my SQL code into the datasource of the report...and...to behonest, I still forgot to remove the ORDER BY statement, so it remains in there for now. Thanks for your help...I am a little less leary of crosstabs now, due to your help! John W Clark >>> BBarabash at tappeconstruction.com 03/13/03 09:37AM >>> Um... If you are using the query as a report recordsource, your ORDER BY clause has absolutely no effect. Report sorting is handled by the Sorting & Grouping dialog in Report design view. -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, March 13, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Painted into a corner...ORDER BY Solved I no sooner sent this out, and I got a brainstorm (Ow! My head hurts, now. Must rest). I changed the Union query's SQL from: SELECT Findings, Count FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count FROM qryCountsOne UNION SELECT txtResult, Count FROM qryCountsTwo; Into: SELECT Findings, Count, "3" AS tag FROM qryFindingsCntByPeriod UNION SELECT txtResultSpec, Count, "1" AS tag FROM qryCountsOne UNION SELECT txtResult, Count, "2" AS tag FROM qryCountsTwo ORDER BY tag; This allowed me to dictate the order in the query, and thusly in the report. I actually have about the same result that I had a couple of days ago, but it is down to one query and a single report (i.e. no sub-reports). John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Thu Mar 13 10:18:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 10:18:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E952.17B197E0.bob@renaissancesiding.com> William: Thanks for the reply! I understand that this is a module called "mdlCheckMultipleInstances", but I do not know how to call this directly from the autoexec. Could you help me just a little more here? I hate to impose, but I truly appreciate the assistance!! Thanks, Bob On Thursday, March 13, 2003 10:27 AM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > Bob > > ....I use the following code module that was passed to me on this list long > ago ...I call it in an autoexec ...it works for me regardless of the app's > windowed state ...either giving the user a msgbox if the second app is > visible or restoring the first it if its minimized and then closing ...HTH > :) > From HollisVJ at pgdp.usec.com Thu Mar 13 10:18:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 10:18:35 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB0@exchange.pgdp> I found the below code (Save_DriveJ) on Microsoft. It will open the Save dialog, Except it does not actually save the same file. When I click on the name of the file that is placed in the field 'attachments' it is not the same file, it has the correct title, but it overwrites the text in the file to show only the words, Attached Document. Virginia This is what I put on the command button on the form: *********** Dim strFile As String strFile = GetOpenFile("J:\RCSEAtt\", "Select a File To Attach") Call Save_DriveJ If CmnDlg.FileName > " " Then Attachments = "Attached Document" & "#" & CmnDlg.FileName & "#" End If *************** Function Save_DriveJ() Dim X As Integer Do CmnDlg.Action = 2 'save file If UCase(Left(CmnDlg.FileName, 1)) <> "J" Then MsgBox "You must save file to drive J only" Else Exit Do End If DoEvents Loop X = FreeFile Open CmnDlg.FileName For Output As #X Attachments.SetFocus Print #X, Attachments.Text Close #X MsgBox "File has been saved to drive J" -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 13, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Mar 13 10:21:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 13 10:21:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <00af01c2e979$b993a1d0$036fa8c0@DellLaptop> References: <00af01c2e979$b993a1d0$036fa8c0@DellLaptop> Message-ID: <2730925959.20030313172003@cactus.dk> Hi Lawrence You need to set it for every detail. Try this: Me.Difference.Visible = (Me.Difference <> 0) /gustav > Using Access XP. I calculated field in the detail section of a report > that compares an invoice amount with a check amount. I'd like the > textbox to display if the value of the textbox does not equal zero. I've > tried to use the following code in the "OnFormat" property of the detail > section: > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > On Error GoTo ERR_OnFormat > If Me.Difference = 0 Then > Me.Difference.Visible = False > End If > Exit_ERR_OnFormat: > Exit Sub > ERR_OnFormat: > MsgBox Err.Description > Resume Exit_ERR_OnFormat > End Sub > This code correctly detects the first textbox where the value <>0, but > doesn't find any others (I've checked, and I should have a couple of > other textboxes displaying). From joconnell at indy.rr.com Thu Mar 13 10:22:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu Mar 13 10:22:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail Message-ID: <059201c2e97c$d12d0400$6601a8c0@joe.indy.rr.com> Larry, If your textbox has a transparent background and transparent border, try changing the source for the textbox to display nothing. The source would be something like this: = Iif(datafield=0,"",datafield) Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 11:06 AM Subject: [AccessD] Conditional Display of TextBox in Report Detail |Greetings: | |Using Access XP. I calculated field in the detail section of a report |that compares an invoice amount with a check amount. I'd like the |textbox to display if the value of the textbox does not equal zero. I've |tried to use the following code in the "OnFormat" property of the detail |section: | |Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) |On Error GoTo ERR_OnFormat | | If Me.Difference = 0 Then | Me.Difference.Visible = False | End If | |Exit_ERR_OnFormat: | Exit Sub | |ERR_OnFormat: | MsgBox Err.Description | Resume Exit_ERR_OnFormat | |End Sub | |This code correctly detects the first textbox where the value <>0, but |doesn't find any others (I've checked, and I should have a couple of |other textboxes displaying). | |Thanks in advance for your help. | |Larry Mrazek |LCM Research, Inc. |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 HollisVJ at pgdp.usec.com Thu Mar 13 10:22:13 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 10:22:13 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Mar 13 11:24:00 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu Mar 13 11:24:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897466@xlivmbx12.aig.com> You need to set a reference to the Windows Script Host Object Model > From: Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 13, 2003 11:21 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file > to a specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file > they need to attach. Then the Save dialog box opens to the directory & > folder where the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > > The Save dialog opens, and places the file name in the > attachments field, but it does not Save the file to the folder & > directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the > path name and reject all path names that start with a drive letter and > only accept UNC path names. Thus, the only drives on their computers that > pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia > [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) > to a common network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will > attach a file that is stored on their computer, which obviously will make > it unavailable to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little > button whose text is just 3 dots. The OnClick fires the code I posted. The > user navigates to a file and selects ok, then the code plugs the complete > filename into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I > need to have a button on the form that opens the GetFileName? Then what > transfers this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I > use code from ADH that calls the Windows API to open the GetFile dialog, > then posts the result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said > function or its API declaration. Of course I could change all the variable > names and the function name and claim it as my own work, which is how I > learned to program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and > before you know it you're an Old Fart.) > > > > The function called above returns an absolute path, > but given same and knowledge of the app directory, it's a simple matter to > replace the app path with a relative reference. The Replace function does > it in one line: > > > > Replace( strExp as String, strFind as String, > strReplace as String ) > > > > HTH, > > A. > From mikedorism at ntelos.net Thu Mar 13 11:29:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 13 11:29:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> Message-ID: <002d01c2e986$453d2600$3d320cd8@hargrove.internal> Add a reference to the "Microsoft Scripting Runtime" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 11:21 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Mar 13 11:30:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 11:30:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB4@exchange.pgdp> I added the reference & still receive the same error. Virginia -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Thursday, March 13, 2003 11:24 AM To: 'accessd at databaseadvisors.com' Cc: 'HollisVJ at pgdp.usec.com' Subject: RE: [AccessD] Adding Attachments You need to set a reference to the Windows Script Host Object Model > From: Hollis,Virginia [SMTP:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 13, 2003 11:21 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file > to a specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file > they need to attach. Then the Save dialog box opens to the directory & > folder where the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > > The Save dialog opens, and places the file name in the > attachments field, but it does not Save the file to the folder & > directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the > path name and reject all path names that start with a drive letter and > only accept UNC path names. Thus, the only drives on their computers that > pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia > [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) > to a common network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will > attach a file that is stored on their computer, which obviously will make > it unavailable to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little > button whose text is just 3 dots. The OnClick fires the code I posted. The > user navigates to a file and selects ok, then the code plugs the complete > filename into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I > need to have a button on the form that opens the GetFileName? Then what > transfers this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I > use code from ADH that calls the Windows API to open the GetFile dialog, > then posts the result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said > function or its API declaration. Of course I could change all the variable > names and the function name and claim it as my own work, which is how I > learned to program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and > before you know it you're an Old Fart.) > > > > The function called above returns an absolute path, > but given same and knowledge of the app directory, it's a simple matter to > replace the app path with a relative reference. The Replace function does > it in one line: > > > > Replace( strExp as String, strFind as String, > strReplace as String ) > > > > HTH, > > A. > From wdhindman at bellsouth.net Thu Mar 13 11:53:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 11:53:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access References: <01C2E952.17B197E0.bob@renaissancesiding.com> Message-ID: <001101c2e989$543c1410$6101a8c0@amd2k512> Bob ...just put "RunCode" in a macro Action line and "winCheckMultipleInstances (True)" in the Function Name line ...without the quotes of course ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Bob Gajewski" To: Sent: Thursday, March 13, 2003 11:17 AM Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > William: > > Thanks for the reply! I understand that this is a module called > "mdlCheckMultipleInstances", but I do not know how to call this directly > from the autoexec. Could you help me just a little more here? I hate to > impose, but I truly appreciate the assistance!! > > Thanks, > Bob > > On Thursday, March 13, 2003 10:27 AM, William Hindman > [SMTP:wdhindman at bellsouth.net] wrote: > > Bob > > > > ....I use the following code module that was passed to me on this list > long > > ago ...I call it in an autoexec ...it works for me regardless of the > app's > > windowed state ...either giving the user a msgbox if the second app is > > visible or restoring the first it if its minimized and then closing > ...HTH > > :) > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From my.lists at verizon.net Thu Mar 13 12:01:29 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu Mar 13 12:01:29 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: Message-ID: <004c01c2e98a$c0831550$b615010a@FHTAPIA> Myke, IF you are going to build your own masterpice, I recommend you do a little research... right now your TOP OF THE LINE chipset mb's for AMD are the NForce2 chipset based systems, any will do from any manufacturere. For Intel the top contender right now is their native intel chipset or SIS. As for noise, I have an AMD XP +2000 (1.667ghz) w/ a Volcano 7 cooling fan, and THAT is the noisy part of it, Recently I've been checking out cooling solutions such as the "Alpha PAL8045" it is very nice, multi-pin forrest and if you combine it w/ a whisper quiet fan you should be good. On average my CPU runs about 104F. When I'm running processes intensive software such as converting a Video or Playing a 3D Game I've seen it go as Hot as 113F but no more than that. I've included some links that I hope you find useful in your search for the perfect development system. On the whole I don't have a problem with Dell, except to say that you'll NEVER know how much faster an AMD pc would be unless you go over to your friends house to find out he Runs 100 more things at once with less lag on his AMD based system :D. All things PC related : http://www.tomshardware.com/ http://anandtech.com/ CPU Cooler review, Very nice :D http://www.dansdata.com/coolercomp.htm Motherboard Links http://www.motherboards.org http://amdzone.com/ http://intelzone.com/ -Francisco http://rcm.netfirms.com On Thursday, March 13, 2003 5:24 AM [GMT-8], Bryan Carbonnell wrote: : Myke, : : I'll agree with the folks that have said build your own system. You : get exactly what you want, nothing more, nothing less. : : Now on to the CPU, the things religious wars are made of :-)) : : I will highly recommend AMDs. You get a better bang for your buck. I : built a 1.4 GHz Athlon system about 18 months ago and it cost me : about ? the price of a comparable Intel. The MoBo was cheaper as : well. : : I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz : AMD) and I find that even thought he AMD has a lower speed, the : overall system is faster. Yes, I have actually done benchmarks on : both systems and the AMD always came back faster. : : The only thing that you will need to watch is the temp. I've been : working on getting my CPU temp down for about 4 months now. I get it : down to a comfortable level and then it slowly creeps up over a week : or so. So I tweak and clean again and it drops again, but rises after : a while. : : Dells are good machines, that's my Intel system at work and I haven't : had a problem with it since I've had it. : : Just my $0.02 CAD worth from an AMD fan. : : Bryan Carbonnell : bryan_carbonnell at cbc.ca : :::: mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> : Note: I am using a hotmail email account to post to AccessD because : attempted posts from my BellSouth.Net email account bounce back. : : Soon I will buy a new PC and drop the oldest one from the lineup in my : office. I'd like some opinions on PCs. : : I'm an independent developer working from a home office with a DSL : connection. I live about 20 miles north of Atlanta. I use a keyboard : video mouse sharing device for all the PCs. I don't like fixing : hardware : so I'd like a good onsite service contract. I don't need an OS or : software installed because I'm a MSDN subscriber. I'd like to have : less : white noise from power supply/fans. I'd like to use temperature : monitoring software because most of the failures I've had were due to : a : fan malfunctioning and the heat killing a hard disk. : : Opinions on the following would be welcome: : Intel vs. AMD; : DVD RW for backup; : Same day onsite service; : Best value monitor configuration. : : The easy decision is to buy a Dell. Anyone have suggestions? : : TIA, : Myke From HollisVJ at pgdp.usec.com Thu Mar 13 12:18:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu Mar 13 12:18:01 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB6@exchange.pgdp> That solved the reference problem. But now I am lost, I have tried so many different combinations of trying to make this work, I don't know which end is up anymore. I do not know how to put this all together to select the file attachment from whatever drive, move it to the drive & folder I want it in, enter the name into the Attachment (hyperlink) field so someone can click the name & open the file. Virginia -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 11:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Add a reference to the "Microsoft Scripting Runtime" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 11:21 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I get User defined type not defined Error on: Dim fso As FileSystemObject This is in 97, does that make a difference? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, March 13, 2003 10:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You have to do a FileCopy from the first selected location to the second selected location in order to actually move the file. Public Sub MoveFile(strOldPath As String, strOldName As String, _ strNewPath As String, strNewName As String) On Error GoTo ErrorHandler Dim fso As FileSystemObject Dim strOldFile As String DoCmd.Hourglass True strOldFile = strOldPath & strOldName If Dir(strNewPath, vbDirectory) = "" Then Set fso = New FileSystemObject fso.CreateFolder strNewPath End If FileCopy strOldFile, strNewName DoCmd.Hourglass False Exit Sub ErrorHandler: Call HandleErrors(Err, strMyName, "MoveFile") End Sub Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, March 13, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments I have been playing around with the dialog to Save the file to a specified folder. Tell me if anyone thinks this will work... Use the Open file dialog so the user can select the file they need to attach. Then the Save dialog box opens to the directory & folder where the attachment needs to be saved. Once they save the file it places the file name in the field 'attachments' which is a hyperlink field. Now, the problem... (there's always a catch) How do I make the Save dialog box actually "Save" the file?! The Save dialog opens, and places the file name in the attachments field, but it does not Save the file to the folder & directory. Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 12, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Virginia, If I was doing it I would add code that checks the path name and reject all path names that start with a drive letter and only accept UNC path names. Thus, the only drives on their computers that pass are shared drives. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Wednesday 2003 Mar 12 13:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Is there a way to have the attachment saved (moved?) to a common network drive, or the directory the database is stored? I got to thinking, there will be the user that will attach a file that is stored on their computer, which obviously will make it unavailable to everyone that needs the attachment. Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, March 12, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments On my forms I have the text field beside a little button whose text is just 3 dots. The OnClick fires the code I posted. The user navigates to a file and selects ok, then the code plugs the complete filename into the text field (in this case BigImagePath). -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 11, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Ok, I found Sub TestGetFileName() in ADH. You mentioned posting the results to a control. Do I need to have a button on the form that opens the GetFileName? Then what transfers this file name to the field? Virginia -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 11, 2003 10:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments You don't need to use URLs if you don't want to. I use code from ADH that calls the Windows API to open the GetFile dialog, then posts the result to a control on my form, like so: With Me .BigImagePath = ahtCommonFileOpenSave() End With To cohere to the licensing I cannot post said function or its API declaration. Of course I could change all the variable names and the function name and claim it as my own work, which is how I learned to program, but now that I'm an old fart I don't do that any more. (Fuller's Law #3: You start out a Young Turk and before you know it you're an Old Fart.) The function called above returns an absolute path, but given same and knowledge of the app directory, it's a simple matter to replace the app path with a relative reference. The Replace function does it in one line: Replace( strExp as String, strFind as String, strReplace as String ) HTH, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 13 13:19:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu Mar 13 13:19:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <01C2E96B.6F7B76D0.bob@renaissancesiding.com> William Okay - I didn't have the "(True)" parameter. The code works perfectly now. I did make a modification to bypass giving the user an option: ****************************************************** ' Original Code ' If fConfirm Then ' If MsgBox(sMyCaption & " is already open@" _ ' & "Do you want to open a second instance of this database?@", _ ' vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function ' End If ' Modified Code - The user will not be given a choice! If fConfirm Then If MsgBox("The National Jobs database is already open.", _ vbOKOnly + vbExclamation) = vbYes Then Exit Function End If ****************************************************** Thanks so much! Bob On Thursday, March 13, 2003 12:53 PM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > Bob > > ....just put "RunCode" in a macro Action line and "winCheckMultipleInstances > (True)" in the Function Name line ...without the quotes of course ...HTH :) > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > ----- Original Message ----- > From: "Bob Gajewski" > To: > Sent: Thursday, March 13, 2003 11:17 AM > Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > > > > William: > > > > Thanks for the reply! I understand that this is a module called > > "mdlCheckMultipleInstances", but I do not know how to call this directly > > from the autoexec. Could you help me just a little more here? I hate to > > impose, but I truly appreciate the assistance!! > > > > Thanks, > > Bob > > > > On Thursday, March 13, 2003 10:27 AM, William Hindman > > [SMTP:wdhindman at bellsouth.net] wrote: > > > Bob > > > > > > ....I use the following code module that was passed to me on this list > > long > > > ago ...I call it in an autoexec ...it works for me regardless of the > > app's > > > windowed state ...either giving the user a msgbox if the second app is > > > visible or restoring the first it if its minimized and then closing > > ...HTH > > > :) > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From wdhindman at bellsouth.net Thu Mar 13 13:38:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 13:38:01 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access References: <01C2E96B.6F7B76D0.bob@renaissancesiding.com> Message-ID: <002301c2e998$04863400$6101a8c0@amd2k512> ...de nada ...but the thanks belong to AccessD, I just passed on what I had once been given by others here when I asked for help :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Bob Gajewski" To: Sent: Thursday, March 13, 2003 2:18 PM Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > William > > Okay - I didn't have the "(True)" parameter. The code works perfectly now. I did make a modification to bypass giving the user an option: > > ****************************************************** > ' Original Code > ' If fConfirm Then > ' If MsgBox(sMyCaption & " is already open@" _ > ' & "Do you want to open a second instance of this database?@", _ > ' vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function > ' End If > > ' Modified Code - The user will not be given a choice! > If fConfirm Then > If MsgBox("The National Jobs database is already open.", _ > vbOKOnly + vbExclamation) = vbYes Then Exit Function > End If > ****************************************************** > > Thanks so much! > > Bob > > > On Thursday, March 13, 2003 12:53 PM, William Hindman [SMTP:wdhindman at bellsouth.net] wrote: > > Bob > > > > ....just put "RunCode" in a macro Action line and "winCheckMultipleInstances > > (True)" in the Function Name line ...without the quotes of course ...HTH :) > > > > William Hindman > > "All it takes for evil to prevail is for good men to do nothing." Edmund > > Burke > > > > > > ----- Original Message ----- > > From: "Bob Gajewski" > > To: > > Sent: Thursday, March 13, 2003 11:17 AM > > Subject: RE: [AccessD] (A97) Prevent multiple instances of Access > > > > > > > William: > > > > > > Thanks for the reply! I understand that this is a module called > > > "mdlCheckMultipleInstances", but I do not know how to call this directly > > > from the autoexec. Could you help me just a little more here? I hate to > > > impose, but I truly appreciate the assistance!! > > > > > > Thanks, > > > Bob > > > > > > On Thursday, March 13, 2003 10:27 AM, William Hindman > > > [SMTP:wdhindman at bellsouth.net] wrote: > > > > Bob > > > > > > > > ....I use the following code module that was passed to me on this list > > > long > > > > ago ...I call it in an autoexec ...it works for me regardless of the > > > app's > > > > windowed state ...either giving the user a msgbox if the second app is > > > > visible or restoring the first it if its minimized and then closing > > > ...HTH > > > > :) > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Mar 13 14:14:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 14:14:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark From CWortz at tea.state.tx.us Thu Mar 13 14:24:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 13 14:24:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: John, If you want the other departments to come to you first, they need to know what you can do for them. Toot your own horn! Maybe you can set up an electronic newsletter letting others know what you in IT do and what you have done recently. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 13 14:13 To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark From John.Clark at niagaracounty.com Thu Mar 13 14:48:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu Mar 13 14:48:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: Did this. I actually helped to start a county usergroup back in 1997, and this usergroup puts out a monthly newsletter. And, I do toot my horn a little bit...I tell them, "I can do that," for almost anything I see. And my coworkers advertise me very well. But I am in my office 95% of the time, and don't get to see the users, unless I am already doing work for them. I spoke with a few coworkers of one of the woman who does a great deal of "my" work...she works in nursing as a clerical worker, and is constantly programming, and even doing PC repair...This woman has brought down the whole network before. They say that they understand my compliant, but I am so busy, and they can't always wait for me. I told them that first of all I am busier because I have to constantly fix problems caused by people like "their friend." And, that if they keep picking up my slack, I'll never get any help hired. This same woman has also done work for nearby departments, other than her own. Another woman wrote a program for Social Services, but has since transferred to Employment and Training. Now she says, "she can no longer support this program, and they will have to call Data Processing" (our department's stupid name, from the days of mainframe and printing). I have to work on that program tomorrow. Take care! John W Clark >>> CWortz at tea.state.tx.us 03/13/03 03:23PM >>> John, If you want the other departments to come to you first, they need to know what you can do for them. Toot your own horn! Maybe you can set up an electronic newsletter letting others know what you in IT do and what you have done recently. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Mar 13 14:13 To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Mar 13 14:53:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 14:53:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this In-Reply-To: Message-ID: <000101c2e9a2$7ae1d730$de1811d8@DanWaters> John - Great Story! Venting is a good thing. From dwaters at usinternet.com Thu Mar 13 14:53:15 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 14:53:15 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Message-ID: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Mar 13 14:55:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu Mar 13 14:55:01 2003 Subject: [AccessD] OT Voice activated applications...hardware In-Reply-To: Message-ID: Hi All: Has anyone heard of voice activated software/hardware that will allow inter-action between an application that say might be written in Access? MTIA Jim From cfoust at infostatsystems.com Thu Mar 13 15:15:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 15:15:00 2003 Subject: [AccessD] OT Voice activated applications...hardware Message-ID: There are speech recognition tools in Office 2002. Is that what you're looking for? Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, March 13, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Voice activated applications...hardware Hi All: Has anyone heard of voice activated software/hardware that will allow inter-action between an application that say might be written in Access? MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Mar 13 15:32:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 13 15:32:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Message-ID: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> The problem with shelling out to a program is that control doesn't pass back to the calling program until the shelled out program closes. That is why I asked you what you needed to do with Outlook that you couldn't do via VBA. In my code I pass the bolOutlook variable back to the calling routine via the function so that when I'm done working with Outlook, I know whether I need to shut it down or not. Here is the code that calls the function I sent you earlier (uses Redemption to bypass Outlook Security): Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String) On Error GoTo ErrorHandler Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim bolOpen As Boolean bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe .Recipients.Add SendTo If IsMissing(SendCC) = False Then .Recipients.Add SendCC .Recipients.ResolveAll .Subject = SendSubj .Body = SendBody If SendEdit = True Then .Display Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 13, 2003 03:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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 Thu Mar 13 15:42:01 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu Mar 13 15:42:01 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <059201c2e97c$d12d0400$6601a8c0@joe.indy.rr.com> Message-ID: <00fc01c2e9a9$58faee20$036fa8c0@DellLaptop> Thanks for the hints Joe & Gustav ... I'm now seeing some more wackiness for the report, as it is giving me incorrect values for the textbox (for example it is evaluating the expression: 17804.94 - 17804.94 to equal -3.637978807E-12. I'm going to go over this report to see if they built it correctly. Thanks again for the hints. Larry Mrazek LCM Research, Inc. lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Thursday, March 13, 2003 10:23 AM To: accessd at databaseadvisors.com; lmrazek at lcm-res.com Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail Larry, If your textbox has a transparent background and transparent border, try changing the source for the textbox to display nothing. The source would be something like this: = Iif(datafield=0,"",datafield) Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 11:06 AM Subject: [AccessD] Conditional Display of TextBox in Report Detail |Greetings: | |Using Access XP. I calculated field in the detail section of a report |that compares an invoice amount with a check amount. I'd like the |textbox to display if the value of the textbox does not equal zero. |I've tried to use the following code in the "OnFormat" property of the |detail |section: | |Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On |Error GoTo ERR_OnFormat | | If Me.Difference = 0 Then | Me.Difference.Visible = False | End If | |Exit_ERR_OnFormat: | Exit Sub | |ERR_OnFormat: | MsgBox Err.Description | Resume Exit_ERR_OnFormat | |End Sub | |This code correctly detects the first textbox where the value <>0, but |doesn't find any others (I've checked, and I should have a couple of |other textboxes displaying). | |Thanks in advance for your help. | |Larry Mrazek |LCM Research, Inc. |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 - - From joconnell at indy.rr.com Thu Mar 13 15:59:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu Mar 13 15:59:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail Message-ID: <071a01c2e9ab$e7d26540$6601a8c0@joe.indy.rr.com> Larry, Be sure that all fields that contain monetary amounts are defined as Currrency and not as Double. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 4:49 PM Subject: RE: [AccessD] Conditional Display of TextBox in Report Detail |Thanks for the hints Joe & Gustav ... I'm now seeing some more wackiness |for the report, as it is giving me incorrect values for the textbox (for |example it is evaluating the expression: 17804.94 - 17804.94 to equal |-3.637978807E-12. I'm going to go over this report to see if they built |it correctly. | |Thanks again for the hints. | |Larry Mrazek |LCM Research, Inc. |lmrazek at lcm-res.com |http://www.lcm-res.com | |-----Original Message----- |From: accessd-admin at databaseadvisors.com |[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell |Sent: Thursday, March 13, 2003 10:23 AM |To: accessd at databaseadvisors.com; lmrazek at lcm-res.com |Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail | | |Larry, | |If your textbox has a transparent background and transparent border, try |changing the source for the textbox to display nothing. The source |would be something like this: = Iif(datafield=0,"",datafield) | |Joe O'Connell |joconnell at indy.rr.com | | |-----Original Message----- |From: Lawrence Mrazek |To: accessd at databaseadvisors.com |Date: Thursday, March 13, 2003 11:06 AM |Subject: [AccessD] Conditional Display of TextBox in Report Detail | | ||Greetings: || ||Using Access XP. I calculated field in the detail section of a report ||that compares an invoice amount with a check amount. I'd like the ||textbox to display if the value of the textbox does not equal zero. ||I've tried to use the following code in the "OnFormat" property of the ||detail ||section: || ||Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On | ||Error GoTo ERR_OnFormat || || If Me.Difference = 0 Then || Me.Difference.Visible = False || End If || ||Exit_ERR_OnFormat: || Exit Sub || ||ERR_OnFormat: || MsgBox Err.Description || Resume Exit_ERR_OnFormat || ||End Sub || ||This code correctly detects the first textbox where the value <>0, but ||doesn't find any others (I've checked, and I should have a couple of ||other textboxes displaying). || ||Thanks in advance for your help. || ||Larry Mrazek ||LCM Research, Inc. ||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 |- | | |- | |_______________________________________________ |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 Mar 13 16:13:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> References: <20030312143105.CTYM5236.fep03-svc.ttys.com@localhost> Message-ID: <3E718F20.14941.293ABF@localhost> > Doris, > > The problem I had with using CreateObject was that Outlook closed when > the object variable went out of scope, or when Access was closed. > > Opening Outlook using Shell will open Outlook so that it will stay open, > but upon opening the Outlook window becomes Active instead of the Access > window. > > Is there a way out of this dilemma? > A vbMinimizedNoFocus second paramter *should* do it. Are you sure it doesn't -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:13:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:37 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB1@exchange.pgdp> Message-ID: <3E718F20.31093.293BA5@localhost> Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the second > selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a specified > folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where the > attachment needs to be saved. > > Once they save the file it places the file name in the field 'attachments' > which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments field, > but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and reject all > path names that start with a drive letter and only accept UNC path names. > Thus, the only drives on their computers that pass are shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common network > drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that is > stored on their computer, which obviously will make it unavailable to > everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is just > 3 dots. The OnClick fires the code I posted. The user navigates to a file > and selects ok, then the code plugs the complete filename into the text > field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a button > on the form that opens the GetFileName? Then what transfers this file name > to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH that > calls the Windows API to open the GetFile dialog, then posts the result to a > control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it you're > an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the app path > with a relative reference. The Replace function does it in one line: > > > > Replace( strExp as String, strFind as String, strReplace as String ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:13:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:13:50 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEB0@exchange.pgdp> Message-ID: <3E718F20.5029.293C81@localhost> > I found the below code (Save_DriveJ) on Microsoft. It will open the Save > dialog, Except it does not actually save the same file. When I click on the > name of the file that is placed in the field 'attachments' it is not the > same file, it has the correct title, but it overwrites the text in the file > to show only the words, Attached Document. > That's what you told it to do Try this instead (Store the directory where you want to save the attachments in strNewPath) strFilePathname = CmnDlg.Filename strFilename = Mid$(InstrRev(strFilePathname,"\")) strNewFilename = StrNewPath & strFilename Filecopy strFilePathname strNewFilename -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Mar 13 16:14:04 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 16:14:04 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> References: <000001c2e9a2$7aaf7c90$de1811d8@DanWaters> Message-ID: <3E718F20.4935.2939BA@localhost> > The problem with shelling out to a program is that control doesn't pass back > to the calling program until the shelled out program closes. Quite the opposite, the Shell() function is asynchronous. It rdoes NOT wait for the shelled application to finish. That's why you hvae to jump through rings at times to prevent the rest of your code running too soon. One of my wishes is for a synchronour Shell in VB/VBA -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Thu Mar 13 16:31:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:31:01 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D36@bwam02msx.ae.ge.com> Message-ID: Marcus, >It's built around them being sloppy coding practice in any programming language. Precisely. Sloppy programming habits. Globals serve a purpose, but they should be few and far between. The biggest problem is that anyone can SET them. And that always leads to problems. By having "Read only" globals, i.e. globals that are set by (for example) a class opening and having no way to otherwise set the global, or having functions that check the write to the global to ensure that they are not being trashed accidentally goes along way towards ameliorating the problem. BTW, global really is a misnomer. You have scope. Global can be global to a class (for instance), where any function in the class can read / write the variable. Global can be global to a module, where any object in the module can read / write the variable, but nothing outside the module can see the variable. Or it can be truly global where anything in the entire application can read / write the variable. Much of the problem with globals is that they have to be understood by everyone that can see them (has them in their scope). Class global variables are actually quite useful. Since a class typically has a single author, that author understands the purpose, and therefore can use the global appropriately. I routinely dim my class variables private in the header, set them, then access them directly in the functions inside the class. Why pass things around unnecessarily? OTOH, a truly global variable can be set (and cleared) by anyone who has access to the code. Again, that is not necessarily bad, there is a time and a place, but to do that with every variable you create leads to chaos. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: Thursday, March 13, 2003 7:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5944 bytes Desc: not available URL: From jcolby at colbyconsulting.com Thu Mar 13 16:34:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:34:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Charlotte, You too can never have an unhandled error. Download the one and only VBErrHandler from our list website. Tell it to insert error handlers in all functions in all modules, forms and reports. Use it religiously as you create new functions. There is no excuse for unhandled errors! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, March 12, 2003 3:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions If that's your last word, Gustav, then the rest of us can drivel on unchecked. As for "believers", I believe what I see daily. If you are able to write immaculate code that NEVER errors, then I kiss you hands and feet, but I also reserve judgement until I have the evidence of my own eyes. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 12:36 PM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Hi Charlotte > The globals vanish when you hit an unhandled error. Can you truly say > you NEVER have any such errors in your apps? Yes. That will be my last word in this thread. Should anyone (new) lister be interested beyond, please search the archive thoroughly for an endless old thread on globals and "believers" in their habit of vanishing. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2580 bytes Desc: not available URL: From jcolby at colbyconsulting.com Thu Mar 13 16:39:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:39:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2033976946.20030312201634@cactus.dk> Message-ID: Gustav, How about: 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A SUBFORM? Function ccIsSubForm(frm As Form) As Boolean Dim str As String On Error Resume Next str = frm.Parent.Name ccIsSubForm = (err = 0) On Error GoTo 0 End Function If a form has a valid parent property then it is by definition embedded in another something. It may be in a tab control, or a form, but it will be a subform. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, March 12, 2003 2:17 PM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I don't like at all coding where you rely on error generation. It may very well be quick and dirty code and some like that, but I try to use it as the last resort only. Previously I have posted this small function for the same purpose - it could have been for the benefit of Arthur "the static lover" as you'll see. It is not much larger than your code: Private Function IsSubform() As Boolean Static booSubform As Boolean Static lngFormsCount As Long If lngFormsCount = 0 Then lngFormsCount = Forms.Count booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, vbTextCompare) End If IsSubform = booSubform End Function /gustav > I know, it's just one of my coding habits. I only use 'resume next' when I > want to completely ignore errors. If I am expecting an error...to use it > (as in my example), or I am just handling unexpected errors, then I always > use On Error Goto... > Make sense? (your code is smaller....can't deny that!) > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 11:13 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > That was an awful lot of code to replace something like these two > lines: > > Private Function IsSubform() As Boolean > On Error Resume Next > IsSubform = Me.Parent.hWnd > End Function > > /gustav >> This is from my new MiniCalendar database....still in development...but > the >> function works fine. >> Private Function AmIASubForm() As Boolean >> On Error GoTo ErrorHandler >> Dim varTemp >> varTemp = Me.Parent >> AmIASubForm = True >> Exit Function >> ErrorHandler: >> Err.Clear >> AmIASubForm = False >> End Function >> -----Original Message----- >> From: Bruce Bruen [mailto:bbruen at bigpond.com] >> Sent: Tuesday, March 11, 2003 6:58 PM >> To: AccessD >> Subject: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi List, >> I am trying to use a form that may appear as a subform or on its own. >> If it's a subform then I want to maximise it in its parent control >> space, if not then it should be sized to fit the form. >> But how do I tell where it is being opened? The following doesn't work: >> On Error Resume Next >> If Not IsNull(Me.Parent.Name) Then >> boolIsSubform = True >> DoCmd.Maximize >> Else >> boolIsSubform = False >> End If >> On Error GoTo 0 >> Ignore the fact that the docmd works on the parent, I am not worried >> about that at the moment, only that I don't know how to test the >> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3592 bytes Desc: not available URL: From martyconnelly at shaw.ca Thu Mar 13 16:39:17 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 16:39:17 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text References: Message-ID: <3E71087D.40106@shaw.ca> Wildeyed Guess Are you creating more than one version of word application when you run this code and running out of memory You need to use the CreateObject() if Word is not open. So Test for set appword= GetObject("Word.Application") If Err.Number = 492 Then set appword= CreateObject("Word.Application") Julie A. Alley wrote: > I am using the following code to send a report to Word, then conduct a > search and replace for the search phrase used to create the report. > > The problem: This only works once, then I have to reboot in order for > it to work again.... Any one know a reliable way to do this repetitively? > > Search, send results to word, then bold the search phrases. > > Thanks, > > > > DoCmd.RunCommand acCmdOutputToRTF > > With Selection.Find > .ClearFormatting > With .Replacement > ' .ClearFormatting > .Font.Name = "Arial" > .Font.Size = 24 > .Font.AllCaps = True > .Font.Bold = True > End With > .Forward = True > .Wrap = wdFindContinue > .Execute FindText:=strCriteria(0), _ > Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) > End With > > > Julie Alley > Emerald City Computer Solutions, Inc. > > Juliea at eccs-seattle.com > > Cell: 206-235-0954 > Office: 206-932-6618 > Fax: 206-938-7941 > Web site: http://www.eccs-seattle.com > > WARNING: The information contained in this e-mail is confidential. > The information is intended only for the use of the individual or > entity to whom it is addressed. If you are not the intended > recipient, or the employee or agent responsible for delivering it to > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this e-mail in error, > please immediately notify us by a collect telephone call > to 206.932.6618 and return the original message to us by e-mail. > Thank you. > From lmrazek at lcm-res.com Thu Mar 13 16:48:00 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu Mar 13 16:48:00 2003 Subject: [AccessD] Conditional Display of TextBox in Report Detail In-Reply-To: <071a01c2e9ab$e7d26540$6601a8c0@joe.indy.rr.com> Message-ID: <011601c2e9b2$8a4b8210$036fa8c0@DellLaptop> Hi Joe. That fixed it! Report is running correctly now. Thanks again for your help. Larry Mrazek LCM Research, Inc. lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Thursday, March 13, 2003 3:59 PM To: accessd at databaseadvisors.com; lmrazek at lcm-res.com Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail Larry, Be sure that all fields that contain monetary amounts are defined as Currrency and not as Double. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Lawrence Mrazek To: accessd at databaseadvisors.com Date: Thursday, March 13, 2003 4:49 PM Subject: RE: [AccessD] Conditional Display of TextBox in Report Detail |Thanks for the hints Joe & Gustav ... I'm now seeing some more |wackiness for the report, as it is giving me incorrect values for the |textbox (for example it is evaluating the expression: 17804.94 - |17804.94 to equal -3.637978807E-12. I'm going to go over this report to |see if they built it correctly. | |Thanks again for the hints. | |Larry Mrazek |LCM Research, Inc. |lmrazek at lcm-res.com |http://www.lcm-res.com | |-----Original Message----- |From: accessd-admin at databaseadvisors.com |[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe O'Connell |Sent: Thursday, March 13, 2003 10:23 AM |To: accessd at databaseadvisors.com; lmrazek at lcm-res.com |Subject: Re: [AccessD] Conditional Display of TextBox in Report Detail | | |Larry, | |If your textbox has a transparent background and transparent border, |try changing the source for the textbox to display nothing. The source |would be something like this: = Iif(datafield=0,"",datafield) | |Joe O'Connell |joconnell at indy.rr.com | | |-----Original Message----- |From: Lawrence Mrazek |To: accessd at databaseadvisors.com |Date: Thursday, March 13, 2003 11:06 AM |Subject: [AccessD] Conditional Display of TextBox in Report Detail | | ||Greetings: || ||Using Access XP. I calculated field in the detail section of a report ||that compares an invoice amount with a check amount. I'd like the ||textbox to display if the value of the textbox does not equal zero. ||I've tried to use the following code in the "OnFormat" property of the ||detail ||section: || ||Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) ||On | ||Error GoTo ERR_OnFormat || || If Me.Difference = 0 Then || Me.Difference.Visible = False || End If || ||Exit_ERR_OnFormat: || Exit Sub || ||ERR_OnFormat: || MsgBox Err.Description || Resume Exit_ERR_OnFormat || ||End Sub || ||This code correctly detects the first textbox where the value <>0, but ||doesn't find any others (I've checked, and I should have a couple of ||other textboxes displaying). || ||Thanks in advance for your help. || ||Larry Mrazek ||LCM Research, Inc. ||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 |- | | |- | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - - From DWUTKA at marlow.com Thu Mar 13 16:48:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 16:48:30 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A8@main2.marlow.com> Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. For ipconfig, using 'ipconfig /all' displays all information..including WINS and DNS Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 8:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [ mailto:davide at dalyn.co.nz ] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Mar 13 16:51:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 16:51:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> Actually, the code I posted was from my new MiniCalendar, which could be used as a subform, or as a stand alone, or both at the same time. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, March 13, 2003 3:41 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew > I know what you are saying about intentionally looking for an error. It > gives me an uneasy feeling too, but there are some things that just > absolutely require it. Of course, and no problem with that. However, I can't imagine why one would do as described in your example - I've never designed a form to be used as both a main form and a subform and indeed not at the same time - but, well, never say never. /gustav > As far as your code, I'm pretty tired so I could be wrong on this, but I > think I could trigger a false positive with your code. If you opened formA, > then opened formB, then set the source object on a subform on FormA to > FormB, you will now have FormB as a subform on FormA, but your function will > say False, because FormB was the last form to be put into the form's > collection AND it is also now a subform. (Actually, just tried it, and it > did say false from the subform) > I know, it wouldn't be a common occurrence, but the error method is > guaranteed to be correct. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav >> I know, it's just one of my coding habits. I only use 'resume next' when >> I >> want to completely ignore errors. If I am expecting an error...to use it >> (as in my example), or I am just handling unexpected errors, then I always >> use On Error Goto... >> Make sense? (your code is smaller....can't deny that!) >> Drew >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, March 12, 2003 11:13 AM >> To: Drew Wutka >> Subject: Re: [AccessD] How do I tell if a form is opened as a subform or >> not? >> Hi Drew >> That was an awful lot of code to replace something like these two >> lines: >> >> Private Function IsSubform() As Boolean >> On Error Resume Next >> IsSubform = Me.Parent.hWnd >> End Function >> >> /gustav >>> This is from my new MiniCalendar database....still in development...but >>> the function works fine. >>> Private Function AmIASubForm() As Boolean >>> On Error GoTo ErrorHandler >>> Dim varTemp >>> varTemp = Me.Parent >>> AmIASubForm = True >>> Exit Function >>> ErrorHandler: >>> Err.Clear >>> AmIASubForm = False >>> End Function >>> -----Original Message----- >>> From: Bruce Bruen [mailto:bbruen at bigpond.com] >>> Sent: Tuesday, March 11, 2003 6:58 PM >>> To: AccessD >>> Subject: [AccessD] How do I tell if a form is opened as a subform or >>> not? >>> Hi List, >>> I am trying to use a form that may appear as a subform or on its own. >>> If it's a subform then I want to maximise it in its parent control >>> space, if not then it should be sized to fit the form. >>> But how do I tell where it is being opened? The following doesn't work: >>> On Error Resume Next >>> If Not IsNull(Me.Parent.Name) Then >>> boolIsSubform = True >>> DoCmd.Maximize >>> Else >>> boolIsSubform = False >>> End If >>> On Error GoTo 0 >>> Ignore the fact that the docmd works on the parent, I am not worried >>> about that at the moment, only that I don't know how to test the >>> "subformedness". _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Mar 13 16:57:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Thu Mar 13 16:57:00 2003 Subject: [AccessD] normalization question In-Reply-To: Message-ID: Charles, >It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. I would agree with that. >By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. This implies that you are not designing tables using the simple rule "is it a property of the object this table models". Each table models an object. Banks, Account Holders, accounts, checks etc. There is no reason to be putting account holder info in the account table or vice versa. Account Holders are people, Accounts are not. The only case I can think of where you might put data in a table when it belongs in another is in the case of a property that ends up plural. Addresses are an example. A company has an address. Oops, it can have TWO (or 10) addresses. In this case, the data (addresses) ARE still properties of the object (company) it's just that the company can have several of that property (addresses) and thus they have to be a child table. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 10, 2003 2:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] normalization question Susan, Whether you do it on paper or on the PC, it usually is an iterative process, at least in my experience. By that I mean as you go along you will discover that one or more of the tables you have already designed needs to be split since some of the data fields apply only to the subject of the table while other data fields does not. And you will notice that some data fields split over several tables should be combined into one table. It would be a very simple application, or a very astute individual, where all the relationships are obvious from the beginning. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday 2003 Mar 10 12:50 To: accessd at databaseadvisors.com Subject: Re: [AccessD] normalization question Yes, I agree... but in the process of making your paper lists -- when? ----- Original Message ----- From: To: Sent: Monday, March 10, 2003 1:34 PM Subject: RE: [AccessD] normalization question > > you do it before turning the PC on when your designing the structures. > The theory is that the data is normalised before you actually create > the tables > physically. > > Martin > > (<: > > > > Quoting Charlotte Foust : > > > I tend to do it at the time so I don't forget. Of course, as we get > > older our memory ... Uh, what was I saying? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Sunday, March 09, 2003 3:36 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] normalization question > > > > > > When you remove a field to another table (for whatever reason), do > > you immediately create the foreign key in the original table, or do > > you wait until you've completely normalized each table and then > > return to the tables and insert all the foreign keys then? > > > > I tend to do it later because the nature of a single field can > > change. > > > > Does anyone know if the relational model requires a particular > > routine? > > > > Just curious. > > > > Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3584 bytes Desc: not available URL: From andy at minstersystems.co.uk Thu Mar 13 16:57:19 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu Mar 13 16:57:19 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A0@main2.marlow.com> Message-ID: <001401c2e9b3$71be2620$b274d0d5@andypc> By mistake sent this direct to Gustav earlier. Meant to come here. Apologies to Gustav for getting it twice I have a form which is used both as a subform and on its own. It saved having two almost identical forms. One of the differences I wanted though was to have a footer section witha Quit button when opened on its own, but not when it's a subform. My solution was very low-tech. When I'm opening it on its own I just open it with something identifiable in OpenArgs and test that. If nothing in OpenArgs it's a subform, else it isn't. If it isn't then I make my otherwise invisible footer section visible. Not sure how it would react to Drew's hypothetical situation but unless you're likely to do that it could perhaps stay hypothetical. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: 12 March 2003 22:22 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] How do I tell if a form is opened as a > subform or not? > > > I know what you are saying about intentionally looking for an > error. It gives me an uneasy feeling too, but there are some > things that just absolutely require it. > > As far as your code, I'm pretty tired so I could be wrong on > this, but I think I could trigger a false positive with your > code. If you opened formA, then opened formB, then set the > source object on a subform on FormA to FormB, you will now > have FormB as a subform on FormA, but your function will say > False, because FormB was the last form to be put into the > form's collection AND it is also now a subform. (Actually, > just tried it, and it did say false from the subform) > > I know, it wouldn't be a common occurrence, but the error > method is guaranteed to be correct. > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 1:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a > subform or not? > > > Hi Drew > > I don't like at all coding where you rely on error > generation. It may very well be quick and dirty code and some > like that, but I try to use it as the last resort only. > > Previously I have posted this small function for the same > purpose - it could have been for the benefit of Arthur "the > static lover" as you'll see. It is not much larger than your code: > > > > Private Function IsSubform() As Boolean > > Static booSubform As Boolean > Static lngFormsCount As Long > > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > > IsSubform = booSubform > > End Function > > > > /gustav > > > > I know, it's just one of my coding habits. I only use > 'resume next' > > when > I > > want to completely ignore errors. If I am expecting an > error...to use > > it (as in my example), or I am just handling unexpected > errors, then I > > always use On Error Goto... > > > Make sense? (your code is smaller....can't deny that!) > > > Drew > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Wednesday, March 12, 2003 11:13 AM > > To: Drew Wutka > > Subject: Re: [AccessD] How do I tell if a form is opened as > a subform > > or not? > > > > Hi Drew > > > That was an awful lot of code to replace something like these two > > lines: > > > > > > Private Function IsSubform() As Boolean > > > On Error Resume Next > > IsSubform = Me.Parent.hWnd > > > End Function > > > > > > /gustav > > > >> This is from my new MiniCalendar database....still in > >> development...but > > the > >> function works fine. > > >> Private Function AmIASubForm() As Boolean > >> On Error GoTo ErrorHandler > >> Dim varTemp > >> varTemp = Me.Parent > >> AmIASubForm = True > >> Exit Function > >> ErrorHandler: > >> Err.Clear > >> AmIASubForm = False > >> End Function > > >> -----Original Message----- > >> From: Bruce Bruen [mailto:bbruen at bigpond.com] > >> Sent: Tuesday, March 11, 2003 6:58 PM > >> To: AccessD > >> Subject: [AccessD] How do I tell if a form is opened as a > subform or > >> not? > > > >> Hi List, > > >> I am trying to use a form that may appear as a subform or > on its own. > >> If it's a subform then I want to maximise it in its parent control > >> space, if not then it should be sized to fit the form. But > how do I > >> tell where it is being opened? The following doesn't work: > > >> On Error Resume Next > >> If Not IsNull(Me.Parent.Name) Then > >> boolIsSubform = True > >> DoCmd.Maximize > >> Else > >> boolIsSubform = False > >> End If > >> On Error GoTo 0 > > >> Ignore the fact that the docmd works on the parent, I am > not worried > >> about that at the moment, only that I don't know how to test the > >> "subformedness". > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From dwaters at usinternet.com Thu Mar 13 17:03:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu Mar 13 17:03:00 2003 Subject: [AccessD] Opening Outlook if closed code not working In-Reply-To: <000001c2e9a8$224a08d0$84350cd8@hargrove.internal> Message-ID: <000001c2e9b4$9038c5a0$de1811d8@DanWaters> Doris, I'll try out your code this weekend - Thanks for posting it! In the meantime, what is Redemption? Is this an email program/utility that can be downloaded? I did a google search and got many religious references . . . This sounds like it would be great to use when doing laptop demos! Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: Thursday, March 13, 2003 3:33 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working The problem with shelling out to a program is that control doesn't pass back to the calling program until the shelled out program closes. That is why I asked you what you needed to do with Outlook that you couldn't do via VBA. In my code I pass the bolOutlook variable back to the calling routine via the function so that when I'm done working with Outlook, I know whether I need to shut it down or not. Here is the code that calls the function I sent you earlier (uses Redemption to bypass Outlook Security): Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String) On Error GoTo ErrorHandler Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim bolOpen As Boolean bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe .Recipients.Add SendTo If IsMissing(SendCC) = False Then .Recipients.Add SendCC .Recipients.ResolveAll .Subject = SendSubj .Body = SendBody If SendEdit = True Then .Display Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 13, 2003 03:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Outlook if closed code not working Doris, The problem I had with using CreateObject was that Outlook closed when the object variable went out of scope, or when Access was closed. Opening Outlook using Shell will open Outlook so that it will stay open, but upon opening the Outlook window becomes Active instead of the Access window. Is there a way out of this dilemma? Thanks, Dan Waters -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Thanks so much, don't know what I would do without this list at times...... From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 14:31 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working What you need to do is create a reference to the Outlook Object Model. Here are some websites that will give you most of the info you need to know. www.outlookexchange.com/articles/home/outlookobjectmodel.asp www.microsoft.com/office/previous/outlook/SuprEasy.asp www.microsoft.com/mind/0597/outlook.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 08:39 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Basically, I just want to open Outlook if it's closed then return the focus to my application......Unfortunately I don't know how to open Outlook any other way using Visual Basic 6 apart from shelling out..... Could you point me in the right direction to opening Outlook using Visual Basic 6 ? Thanks in advance..... Paul From: "Mike and Doris Manning" Date: Wed 12/Mar/2003 13:30 GMT To: Subject: RE: RE: [AccessD] Opening Outlook if closed code not working Why are you shelling out to it? What are you trying to do with Outlook that you can't do via VBA code? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, March 12, 2003 04:57 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Opening Outlook if closed code not working Thanks, works like a dream........But do you know a way around my next problem..... I use Shell("D:\Program Files\Microsoft Office\Office\Outlook.exe",vbMinimizedNoFocus) now although this opens Outlook, Outlook retains the focus, and my application is hidden behind it. Is there a way I can tell Outlook to open and then return the focus to my application ? Thanks in advance...... Paul Hartland From: "Mike and Doris Manning" Date: Tue 11/Mar/2003 16:20 GMT To: Subject: RE: [AccessD] Opening Outlook if closed code not working I ran into the same problem. Here is the code from my IsOutlookOpen module: Option Compare Database Option Explicit Private bolOutlook As Boolean Declare Function GetClassName Lib "user32" Alias "GetClassNameA" _ (ByVal hwnd As Long, ByVal lpClassName As String, _ ByVal nMaxCount As Long) As Long Declare Function GetWindowTextLength Lib "user32" _ Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, _ ByVal CCh As Long) As Long Declare Function EnumWindows Lib "user32" _ (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Function IsOutlookOpen() As Boolean ' This is the entry point that makes it happen EnumWindows AddressOf EnumWindowProc, 0 IsOutlookOpen = bolOutlook End Function Public Function EnumWindowProc(ByVal hwnd As Long, _ ByVal lParam As Long) As Long 'Do stuff here with hwnd Dim sClass As String Dim sIDType As String Dim sTitle As String 'Get the title to the window sTitle = GetWindowIdentification(hwnd, sIDType, sClass) 'Check to see if it is an Outlook window If InStr(1, sTitle, "Microsoft Outlook") > 0 Then bolOutlook = True EnumWindowProc = False Else bolOutlook = False EnumWindowProc = True End If End Function Private Function GetWindowIdentification(ByVal hwnd As Long, _ sIDType As String, sClass As String) As String Dim nSize As Long Dim sTitle As String 'get the size of the string required 'to hold the window title nSize = GetWindowTextLength(hwnd) 'if the return is 0, there is no title If nSize > 0 Then sTitle = Space$(nSize + 1) Call GetWindowText(hwnd, sTitle, nSize + 1) sIDType = "title" sClass = Space$(64) Call GetClassName(hwnd, sClass, 64) Else 'no title, so get the class name instead sTitle = Space$(64) Call GetClassName(hwnd, sTitle, 64) sClass = sTitle sIDType = "class" End If GetWindowIdentification = TrimNull(sTitle) End Function Private Function TrimNull(StartStr As String) As String Dim Pos As Integer Pos = InStr(StartStr, Chr$(0)) If Pos Then TrimNull = LEFT(StartStr, Pos - 1) Exit Function End If 'if this far, there was 'no Chr$(0), so return the string TrimNull = StartStr End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, March 11, 2003 09:22 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Opening Outlook if closed code not working To all, Can anyone see why the following code (VB6) would open Outlook even if it is already open, I want a module that when I run my application, it checks to see if Outlook is open if not open it...... Function OpenOutlook() Dim objOut As Object On Error Resume Next Set objOut = GetObject("Outlook.Application") If (Err <> 0) Then Dim strOpenOutlook strOpenOutlook = Shell("D:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\OUTLOOK.EXE", vbMinimizedNoFocus) End If End Function Thanks in advance. Paul _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Thu Mar 13 17:54:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 13 17:54:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A8@main2.marlow.com> Message-ID: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> I tried on my WXP machine and a dos window opened and then closed again before I could see anything. What is supposed to happen? David At 13/03/2003, you wrote: >Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. > >For ipconfig, using 'ipconfig /all' displays all information..including >WINS and DNS > >Drew >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Wednesday, March 12, 2003 8:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT - Mapping dialup drive with broadband > >Aha!. Where do I find those settings so that I can check? > >David > >At 12/03/2003, you wrote: >>Sounds like the broadband connections changed their DNS or WINS settings, >>so they can't resolve the computer names anymore. >> >>Drew >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: Wednesday, March 12, 2003 2:59 PM >>To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM >>Subject: [AccessD] OT - Mapping dialup drive with broadband >> >>Cross post AccessD, AccessL >>This is slightly related as my users can't synchronise unless we can get >>them connected :( >>Previously my users had normal modems and were able to dial into a server >>and map drives ok. >>Two of them have connected to broadband lines. Now when they disconnect >>the broadband connection and use their modems to connect to the server >>they are able to make a connection but are not able to map drives. The >>error they get is - >> >>"The following error occurred while trying to connect F: to >>\\OAServer\OAServer >> The computer or sharename could not be found. Make sure you typed it >> correctly, and try again." >> >>Does anyone know of any issues with broadband (or similar high speed >>connections) that interfere when going back to normal 56k modems? >>Regards >>David Emerson >>DALYN Software Ltd >>25b Cunliffe St, Johnsonville >>Wellington, New Zealand >>Ph/Fax (877) 456-1205 > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Thu Mar 13 18:14:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 13 18:14:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband References: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> Message-ID: <001c01c2e9be$96952510$6101a8c0@amd2k512> ...your dos window should remain open until you exit ...however, although w9x's graphical winipcfg is technically not present in XP, you can open Network Connections, right-click any connection, click Status, and then click the Support tab and there is pretty much your old winipcfg ...HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: David Emerson To: accessd at databaseadvisors.com Sent: Thursday, March 13, 2003 6:52 PM Subject: RE: [AccessD] OT - Mapping dialup drive with broadband I tried on my WXP machine and a dos window opened and then closed again before I could see anything. What is supposed to happen? David At 13/03/2003, you wrote: Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. For ipconfig, using 'ipconfig /all' displays all information..including WINS and DNS Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 8:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT - Mapping dialup drive with broadband Aha!. Where do I find those settings so that I can check? David At 12/03/2003, you wrote: Sounds like the broadband connections changed their DNS or WINS settings, so they can't resolve the computer names anymore. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 2:59 PM To: accessd at databaseadvisors.com; ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - Mapping dialup drive with broadband Cross post AccessD, AccessL This is slightly related as my users can't synchronise unless we can get them connected :( Previously my users had normal modems and were able to dial into a server and map drives ok. Two of them have connected to broadband lines. Now when they disconnect the broadband connection and use their modems to connect to the server they are able to make a connection but are not able to map drives. The error they get is - "The following error occurred while trying to connect F: to \\OAServer\OAServer The computer or sharename could not be found. Make sure you typed it correctly, and try again." Does anyone know of any issues with broadband (or similar high speed connections) that interfere when going back to normal 56k modems? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Thu Mar 13 18:41:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 18:41:01 2003 Subject: [AccessD] OT: Buying a PC for Developing Software References: <004c01c2e98a$c0831550$b615010a@FHTAPIA> Message-ID: <3E712522.2060908@shaw.ca> Why not go for the Gusto? And build your own Super Computer using Windows or Linux clustering via Message Passing Interface (MPI is a standard for supporting clustered computing based on message passing). This is how they did cheap special effects rendering for Titanic. MPI Software http://www.lfbs.rwth-aachen.de/mp-mpich/download/ Description http://www.devarticles.com/art/1/444/1 PS. For you ulimate machine make sure it can handle dual monitors. For backup, I use a couple of BackPack $250 USB2 pluggable 60 Gig drives with Ghost. They fit into a safety deposit box. They are far faster to backup, no fiddling around with multple DVD's As for flat panel monitors they are a little too pricey where I am in Canada. Get one with digital input and your video card needs this digital output too. Make sure you have at least one USB 2.0 port. For monitor hints http://www.bcentral.com/articles/komando/102.asp I have a local dealer who services within 4 hours if brought in. Usual rush cost $ 80 CDN plus parts and time. He has to do it, this fast as he looks after a catchment area where people bring in machines and live on about 30 islands; they have to catch the last ferry home. Francisco H Tapia wrote: >Myke, > IF you are going to build your own masterpice, I recommend you do a little >research... right now your TOP OF THE LINE chipset mb's for AMD are the >NForce2 chipset based systems, any will do from any manufacturere. For >Intel the top contender right now is their native intel chipset or SIS. As >for noise, I have an AMD XP +2000 (1.667ghz) w/ a Volcano 7 cooling fan, and >THAT is the noisy part of it, Recently I've been checking out cooling >solutions such as the "Alpha PAL8045" it is very nice, multi-pin forrest and >if you combine it w/ a whisper quiet fan you should be good. On average my >CPU runs about 104F. When I'm running processes intensive software such as >converting a Video or Playing a 3D Game I've seen it go as Hot as 113F but >no more than that. I've included some links that I hope you find useful in >your search for the perfect development system. On the whole I don't have a >problem with Dell, except to say that you'll NEVER know how much faster an >AMD pc would be unless you go over to your friends house to find out he >Runs 100 more things at once with less lag on his AMD based system :D. > >All things PC related : >http://www.tomshardware.com/ >http://anandtech.com/ > >CPU Cooler review, Very nice :D >http://www.dansdata.com/coolercomp.htm > >Motherboard Links >http://www.motherboards.org >http://amdzone.com/ >http://intelzone.com/ > > > >-Francisco >http://rcm.netfirms.com > >On Thursday, March 13, 2003 5:24 AM [GMT-8], >Bryan Carbonnell wrote: > >: Myke, >: >: I'll agree with the folks that have said build your own system. You >: get exactly what you want, nothing more, nothing less. >: >: Now on to the CPU, the things religious wars are made of :-)) >: >: I will highly recommend AMDs. You get a better bang for your buck. I >: built a 1.4 GHz Athlon system about 18 months ago and it cost me >: about ? the price of a comparable Intel. The MoBo was cheaper as >: well. >: >: I have a comparable Intel system at work (1.5 GHz Intel vs 1.4 GHz >: AMD) and I find that even thought he AMD has a lower speed, the >: overall system is faster. Yes, I have actually done benchmarks on >: both systems and the AMD always came back faster. >: >: The only thing that you will need to watch is the temp. I've been >: working on getting my CPU temp down for about 4 months now. I get it >: down to a comfortable level and then it slowly creeps up over a week >: or so. So I tweak and clean again and it drops again, but rises after >: a while. >: >: Dells are good machines, that's my Intel system at work and I haven't >: had a problem with it since I've had it. >: >: Just my $0.02 CAD worth from an AMD fan. >: >: Bryan Carbonnell >: bryan_carbonnell at cbc.ca >: >:::: mmmtbig at hotmail.com 12-Mar-03 7:17:39 PM >>> >: Note: I am using a hotmail email account to post to AccessD because >: attempted posts from my BellSouth.Net email account bounce back. >: >: Soon I will buy a new PC and drop the oldest one from the lineup in my >: office. I'd like some opinions on PCs. >: >: I'm an independent developer working from a home office with a DSL >: connection. I live about 20 miles north of Atlanta. I use a keyboard >: video mouse sharing device for all the PCs. I don't like fixing >: hardware >: so I'd like a good onsite service contract. I don't need an OS or >: software installed because I'm a MSDN subscriber. I'd like to have >: less >: white noise from power supply/fans. I'd like to use temperature >: monitoring software because most of the failures I've had were due to >: a >: fan malfunctioning and the heat killing a hard disk. >: >: Opinions on the following would be welcome: >: Intel vs. AMD; >: DVD RW for backup; >: Same day onsite service; >: Best value monitor configuration. >: >: The easy decision is to buy a Dell. Anyone have suggestions? >: >: TIA, >: Myke > > > > From cfoust at infostatsystems.com Thu Mar 13 18:46:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 18:46:00 2003 Subject: [AccessD] Adding Attachments Message-ID: But can't you get to the FSO functionality through the Office library? If you set a reference to the Office Object Library in XP, at least, you have Office.FileSearch, Office.FoundFiles, etc. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Mar 13 18:47:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 13 18:47:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: Actually, I use MZ-Tools to insert my error handlers. I still get surprised on occasion. Charlotte Foust > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday, March 13, 2003 2:33 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Charlotte, > > You too can never have an unhandled error. Download the one and only > VBErrHandler from our list website. Tell it to insert error handlers > in all functions in all modules, forms and reports. Use it > religiously as you create new functions. > > There is no excuse for unhandled errors! > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, March 12, 2003 3:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > If that's your last word, Gustav, then the rest of us can drivel on > unchecked. As for "believers", I believe what I see daily. If > you > are able to write immaculate code that NEVER errors, then I kiss you > hands and feet, but I also reserve judgement until I have the evidence > of my own eyes. > > Charlotte Foust > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, March 12, 2003 12:36 PM > To: Charlotte Foust > Subject: Re: [AccessD] Using Global Connctions > > > Hi Charlotte > > > The globals vanish when you hit an unhandled error. Can you truly > say > > > you NEVER have any such errors in your apps? > > Yes. > > That will be my last word in this thread. Should anyone (new) lister > be > interested beyond, please search the archive thoroughly for an endless > old thread on globals and "believers" in their habit of vanishing. > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From juliea at eccs-seattle.com Thu Mar 13 19:04:01 2003 From: juliea at eccs-seattle.com (Julie A. Alley) Date: Thu Mar 13 19:04:01 2003 Subject: [AccessD] Question about Sending RTF to Word and bolding specific text Message-ID: Ok, I will try that - thanks Julie Alley -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 13, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Question about Sending RTF to Word and bolding specific text Wildeyed Guess Are you creating more than one version of word application when you run this code and running out of memory You need to use the CreateObject() if Word is not open. So Test for set appword= GetObject("Word.Application") If Err.Number = 492 Then set appword= CreateObject("Word.Application") Julie A. Alley wrote: > I am using the following code to send a report to Word, then conduct a > search and replace for the search phrase used to create the report. > > The problem: This only works once, then I have to reboot in order for > it to work again.... Any one know a reliable way to do this repetitively? > > Search, send results to word, then bold the search phrases. > > Thanks, > > > > DoCmd.RunCommand acCmdOutputToRTF > > With Selection.Find > .ClearFormatting > With .Replacement > ' .ClearFormatting > .Font.Name = "Arial" > .Font.Size = 24 > .Font.AllCaps = True > .Font.Bold = True > End With > .Forward = True > .Wrap = wdFindContinue > .Execute FindText:=strCriteria(0), _ > Replace:=wdReplaceAll, ReplaceWith:=Trim(strCriteria(0)) > End With > > > Julie Alley > Emerald City Computer Solutions, Inc. > > Juliea at eccs-seattle.com > > Cell: 206-235-0954 > Office: 206-932-6618 > Fax: 206-938-7941 > Web site: http://www.eccs-seattle.com > > WARNING: The information contained in this e-mail is confidential. > The information is intended only for the use of the individual or > entity to whom it is addressed. If you are not the intended > recipient, or the employee or agent responsible for delivering it to > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this e-mail in error, > please immediately notify us by a collect telephone call > to 206.932.6618 and return the original message to us by e-mail. > Thank you. > _______________________________________________ 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 Mar 13 19:28:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 13 19:28:00 2003 Subject: [AccessD] Adding Attachments In-Reply-To: Message-ID: <3E71BC2A.11330.F0BBE3D@localhost> I don't know about XP. I'm still staying away from it On 13 Mar 2003 at 16:41, Charlotte Foust wrote: > But can't you get to the FSO functionality through the Office library? > If you set a reference to the Office Object Library in XP, at least, you > have Office.FileSearch, Office.FoundFiles, etc. > > Charlotte Foust > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Thursday, March 13, 2003 2:13 PM > To: Hollis,Virginia; accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Stay away from the FSO unless you can *guarantee* that your applcation > will never > have to run on a machine which has scripting turned off (Done frequently > by network > administrators as a virus protection measure). > > You can handle the case where the directory doesn't exist without using > it fairly easily. > > > > I get User defined type not defined Error on: Dim fso As > > FileSystemObject > > > > This is in 97, does that make a difference? > > > > -----Original Message----- > > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > > Sent: Thursday, March 13, 2003 10:03 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > You have to do a FileCopy from the first selected location to the > > second selected location in order to actually move the file. > > > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > > strNewPath As String, strNewName As String) > > > > On Error GoTo ErrorHandler > > > > Dim fso As FileSystemObject > > Dim strOldFile As String > > > > DoCmd.Hourglass True > > > > strOldFile = strOldPath & strOldName > > > > If Dir(strNewPath, vbDirectory) = "" Then > > Set fso = New FileSystemObject > > fso.CreateFolder strNewPath > > End If > > > > FileCopy strOldFile, strNewName > > > > DoCmd.Hourglass False > > > > Exit Sub > > > > ErrorHandler: > > Call HandleErrors(Err, strMyName, "MoveFile") > > End Sub > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: Thursday, March 13, 2003 10:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > I have been playing around with the dialog to Save the file to a > > specified folder. Tell me if anyone thinks this will work... > > > > Use the Open file dialog so the user can select the file they need to > > attach. Then the Save dialog box opens to the directory & folder where > > > the attachment needs to be saved. > > > > Once they save the file it places the file name in the field > > 'attachments' which is a hyperlink field. > > > > Now, the problem... (there's always a catch) > > > > How do I make the Save dialog box actually "Save" the file?! > > > > The Save dialog opens, and places the file name in the attachments > > field, but it does not Save the file to the folder & directory. > > > > Virginia > > > > -----Original Message----- > > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > > Sent: Wednesday, March 12, 2003 1:38 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > Virginia, > > > > If I was doing it I would add code that checks the path name and > > reject all path names that start with a drive letter and only accept > > UNC path names. Thus, the only drives on their computers that pass are > > > shared drives. > > > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Wednesday 2003 Mar 12 13:16 > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > Is there a way to have the attachment saved (moved?) to a common > > network drive, or the directory the database is stored? > > > > I got to thinking, there will be the user that will attach a file that > > > is stored on their computer, which obviously will make it unavailable > > to everyone that needs the attachment. > > > > Virginia > > > > > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Wednesday, March 12, 2003 7:09 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > > > > > On my forms I have the text field beside a little button whose text is > > > just 3 dots. The OnClick fires the code I posted. The user navigates > > to a file and selects ok, then the code plugs the complete filename > > into the text field (in this case BigImagePath). > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: March 11, 2003 12:34 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Adding Attachments > > > > > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > > > > > You mentioned posting the results to a control. Do I need to have a > > button on the form that opens the GetFileName? Then what transfers > > this file name to the field? > > > > > > > > Virginia > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Tuesday, March 11, 2003 10:20 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Adding Attachments > > > > You don't need to use URLs if you don't want to. I use code from ADH > > that calls the Windows API to open the GetFile dialog, then posts the > > result to a control on my form, like so: > > > > > > > > With Me > > > > .BigImagePath = ahtCommonFileOpenSave() > > > > End With > > > > > > > > To cohere to the licensing I cannot post said function or its API > > declaration. Of course I could change all the variable names and the > > function name and claim it as my own work, which is how I learned to > > program, but now that I'm an old fart I don't do that any more. > > > > > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > > you're an Old Fart.) > > > > > > > > The function called above returns an absolute path, but given same and > > > knowledge of the app directory, it's a simple matter to replace the > > app path with a relative reference. The Replace function does it in > > one line: > > > > > > > > Replace( strExp as String, strFind as String, strReplace as String > > > ) > > > > > > > > HTH, > > > > A. > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From martyconnelly at shaw.ca Thu Mar 13 20:15:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 20:15:00 2003 Subject: [AccessD] OT Voice activated applications...hardware References: Message-ID: <3E713B1A.8040709@shaw.ca> Try this Access SoapService download http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=26157&lngWId=1 Access 97 mdb methods to call various Soap Web Services such as Talking Clock, Text to Speech (returns .wav file so MS XVoice.dll not required) make your error messages verbal, Airline Plane location while plane in the air, Text language translation English to Spanish etc., California Highway conditions, Worldwide SMS phone messages, Soap to Email, Stock Exchange quotes etc. The PocketSoap version 0.9 download may no longer be available so you would need to rewrite to 1.4 version or use MS Soap toolkit. Guess I should rewrite haven't touiched this in two years. There is one form in mdb that uses text to speech agent only;so try that, should run removing soap references. It also creates a .wav file. Maybe I should rewrite. Further explanation in download text files. http://www.microsoft.com/msagent/downloads.htm#tts 1 Download the Microsoft SAPI 4.0a runtime binaries (824 KB exe) 2 Download Text-to-speech engines English or German etc 3 Download the Microsoft Agent core components (395 KB exe) not needed for XP 2000 or Me 4 there is a download for limited speech recognition haven't tried. http://www.pocketsoap.com Jim Lawrence (AccessD) wrote: >Hi All: > >Has anyone heard of voice activated software/hardware that will allow >inter-action between an application that say might be written in Access? > >MTIA >Jim > > > From martyconnelly at shaw.ca Thu Mar 13 20:24:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 13 20:24:00 2003 Subject: [AccessD] OT - Mapping dialup drive with broadband References: <5.2.0.9.0.20030314125150.023e7808@mail.dalyn.co.nz> Message-ID: <3E713D34.5000303@shaw.ca> at start run, open up dos command window by typing cmd then in window type ipconfig /all the window stays open till you type exit David Emerson wrote: > I tried on my WXP machine and a dos window opened and then closed > again before I could see anything. What is supposed to happen? > > David > > At 13/03/2003, you wrote: > >> Depends on your OS. In 9x, run 'winipcfg' for nt based, ipconfig. >> >> For ipconfig, using 'ipconfig /all' displays all >> information..including WINS and DNS >> >> Drew >> >> -----Original Message----- >> From: David Emerson [mailto:davide at dalyn.co.nz] >> Sent: Wednesday, March 12, 2003 8:42 PM >> To: accessd at databaseadvisors.com >> Subject: RE: [AccessD] OT - Mapping dialup drive with broadband >> >> Aha!. Where do I find those settings so that I can check? >> >> David >> >> At 12/03/2003, you wrote: >> >>> Sounds like the broadband connections changed their DNS or >>> WINS settings, so they can't resolve the computer names anymore. >>> >>> Drew -----Original Message----- From: David Emerson >>> [mailto:davide at dalyn.co.nz] Sent: Wednesday, March 12, 2003 >>> 2:59 PM To: accessd at databaseadvisors.com; >>> ACCESS-L at PEACH.EASE.LSOFT.COM Subject: [AccessD] OT - >>> Mapping dialup drive with broadband >>> >>> Cross post AccessD, AccessL >>> This is slightly related as my users can't synchronise >>> unless we can get them connected :( >>> Previously my users had normal modems and were able to dial >>> into a server and map drives ok. >>> Two of them have connected to broadband lines. Now when >>> they disconnect the broadband connection and use their >>> modems to connect to the server they are able to make a >>> connection but are not able to map drives. The error they >>> get is - >>> >>> "The following error occurred while trying to connect F: to >>> \\OAServer\OAServer The >>> computer or sharename could not be found. Make sure you >>> typed it correctly, and try again." Does anyone know of >>> any issues with broadband (or similar high speed >>> connections) that interfere when going back to normal 56k >>> modems? >>> Regards >>> David Emerson DALYN Software Ltd 25b Cunliffe St, >>> Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 >> >> >> Regards >> >> David Emerson >> DALYN Software Ltd >> 25b Cunliffe St, Johnsonville >> Wellington, New Zealand >> Ph/Fax (877) 456-1205 > > Regards > > David Emerson > DALYN Software Ltd > 25b Cunliffe St, Johnsonville > Wellington, New Zealand > Ph/Fax (877) 456-1205 > From DWUTKA at marlow.com Thu Mar 13 21:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:08:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AA@main2.marlow.com> Actually, I remember the last debate on this, and it was based around how 'unstable' they are. There were side debates about 'spaghetti code'. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) To: 'accessd at databaseadvisors.com' Sent: 3/13/03 6:17 AM Subject: RE: [AccessD] Using Global Connctions Drew, Calling it a lame debate because they are considered unstable shows your lack of understanding the debate. The Global debate is not centered around myth. It isn't even centered around them being unstable (they are no less stable than any other variable). The debate isn't even centered around using global variables in Access. It's built around them being sloppy coding practice in any programming language. Global variables have their use but, they lead to spaghetti code (I didn't say they are spaghetti code they LEAD TO). Do you agree that when a function that sets a global variable or uses a global variable in some calculation, where in the heck is that variable set and under what conditions is it set or not set? Sure, in a small application that is easy enough to track down. How many times have your Access applications grown into something much larger than planned for? It is a fact that globals make the code harder to read and understand. As a programmer, it is much more important that I easily understand how the code works so that I can modify it with minimal risk to error. Globals increase that risk significantly in large applications. I can't even count the number of times that I've gotten lost in the code of a large application (written by someone else) by tracking down multiple global variables used in a function. Calling it a lame debate is an excuse to ignore bad coding habits. I'm not saying that you have bad coding habits. I'm saying that they can become a bad habit. I don't personally know if you are at that level or not. I have never thought globals to be 'flaky', just a bad habit. Less than a few in an application doesn't constitute a bad habit. But having them plastered everywhere (instead of passing data as parameters in functions or subs) is a bad habit. BTW A global connection could be a good use of a global variable. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Actually, of all the 'big' debates I have seen on the list, the Global one is pretty lame. Most of the debates get into heated discussions over the fine tunings of an application, or the database engine, or even picky details of theory. The Global issue is really centered around a myth. The myth is that they are unstable. This is entirely untrue. A global variable holds a value for the life of your session. Now, in VB, when you have an .exe, or you run a project in debug mode, when you hit 'end', or stop your code, your entire project stops, so you expect your globals to disappear. However, in Access, stopping your code doesn't close forms, or shut anything down, it just stops the running code. The Globals are 'lost', but that is because your code has stopped running. Since the database still looks intact, Globals have gotten the impression that they are 'flaky'. Do you see what I am saying? Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Wednesday, March 12, 2003 12:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 DWUTKA at marlow.com Thu Mar 13 21:10:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:10:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AB@main2.marlow.com> I have never used statis functions. If I want my globals to 'default' to a particular value, I make a Class, and make a global instance of the class. Drew -----Original Message----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: 3/13/03 7:15 AM Subject: RE: [AccessD] Using Global Connctions In case JC is too busy, I'll step up. I never use globals. For equivalent functionality I always use static functions. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: March 12, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Drew, I miss the debate we had last time on globals. Fortunately I'm not Borg so resistance is not futile. I wonder if JC is paying attention. Scott -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, March 12, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Love Globals. They are just as reliable as any other code. If someone did, it would be me! Sometimes. Yes, all the time. I 'hit and release' my ADO Connections all the time, especially when on a LAN. In fact, the first vergence from that practice just happened last night. I am working on a web interface to a Contact Request database. The database is on our Internet Web Server, and the Web interface is on our Intranet Web Server. Creating the connection through the network (from server to server) takes about half a second to a second (didn't really time it...). I have multiple classes working on each page, each of which require db interaction. Opening and killing the connection creates unacceptable delays (3 to 4 seconds per page load...I know that's not too bad, but in comparison to almost instantaneous pulls with the method I am using now, there is a big difference). So what I did, was take a major 'class', which represents information about the person logged in (it's used in every page), and I load an instance of that class, if it hasn't been loaded. If it has been loaded, I pull the class from a Session variable, which has already been loaded. That class keeps the connection open while the class is live, so I can then pass the connection object to other classes, keeping it open the entire time. With that method, the first page on the site (whatever page is hit) takes a few moments to load, but from that point on, the site runs as fast as the user can click. I left the default timeout of 10 minutes on the session object, so as long as the user doesn't wait more then 10 minutes before doing something on the site, they won't experience the temporarily delay in the main class loading. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Wednesday, March 12, 2003 3:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Using Global Connctions Hello All, As a follow up to Susan Harkins discussion on the command object, How do you guys use a global connection in your apps What I have been doing is initialising gccnn when I load the app. It is G lobal C onstant cnn. I then use this Global variable for every ADO section of code. Do you hate global variables? do you think that they are unreliable? do you think that someone is going to come in the middle of the night and wipe it out? Do you use a class or property pass it around instead? In a fat client, LAN, does anyone initialise it and close it each time? (I presume not) Just intested in your feedback 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 From DWUTKA at marlow.com Thu Mar 13 21:19:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:19:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AC@main2.marlow.com> You're looking for the window's text. You should have it look for the class name, which for an Access window is OMain. Drew -----Original Message----- From: Bob Gajewski To: 'AccessD at databaseadvisors.com' Sent: 3/13/03 7:58 AM Subject: [AccessD] (A97) Prevent multiple instances of Access Dear Fellow Listers: I am in over my head (again)! I am trying to prevent users from opening a second instance of Microsoft Access (A97). The code below was taken directly from Microsoft's Knowledge Base (A97=167843, A2K=197593). It works *perfectly* - if the other instance is windowed; it doesn't work at all if the other instance is either minimized or maximized. I need it to work no matter what the state of the currently running instance. I placed the CBF in the Switchboard, as my AutoExec macro loads the switchboard when the database is opened. Any suggestions, of course, are greatly appreciated! TIA, Bob Gajewski *** SWITCHBOARD CBF *** =============================================== Private Sub Form_Open(Cancel As Integer) ' Check for instance of Access already running. If GetCountOfWindows(hWndAccessApp, "Microsoft Access") > 2 Then ' I changed the original value of 1 to 2, as the error condition occurred _ on every initial open when the value was 1. Cancel = True MsgBox "Please use the instance of Microsoft Access that is " _ & "already open." DoCmd.Quit acQuitSaveNone End If End Sub =============================================== *** MODULE "modStartup" *** =============================================== Option Compare Database Option Explicit '------------------------------------------ ' Global Declarations Section Of The Module '------------------------------------------ Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, _ ByVal wCmd As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _ (ByVal hwnd As Long, ByVal lpString As String, ByVal CCh As Long) _ As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) _ As Long Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 ' This function returns the Caption Text of each window passed to ' it. If a window does not have a Caption bar, then this function ' returns a zero-length string ("") Function GetAppName(Lnghwnd As Long) Dim LngResult As Long Dim StrWinText As String * 255 Dim LngCCh As Long LngResult = GetWindowText(Lnghwnd, StrWinText, 255) GetAppName = Left(StrWinText, LngResult) End Function ' This function counts all instances of an application that are open, ' including any windows that are not visible. ' Arguments: LngHwnd = Any valid window handle. ' StrAppCaption = The window caption to search for. ' Example: GetCountOfWindows(hWndAccessApp,"Microsoft Access") Function GetCountOfWindows(Lnghwnd, StrAppCaption) Dim LngResult As Long Dim LngICount As Long Dim StrAppName As String LngResult = GetWindow(Lnghwnd, GW_HWNDFIRST) Do Until LngResult = 0 If IsWindowVisible(LngResult) Then StrAppName = GetAppName(LngResult) If InStr(1, StrAppName, StrAppCaption) Then LngICount = LngICount + 1 End If End If LngResult = GetWindow(LngResult, GW_HWNDNEXT) Loop GetCountOfWindows = LngICount End Function =============================================== _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 13 21:35:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:35:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AD@main2.marlow.com> I'm a fellow IT developer. I have seen similar issues at my job too. It is amazing the number of 'developers' out there, that haven't picked up on how to make their apps flexible enough to be installed/used without 'special' settings needing to be setup on a machine. My biggest headache is when an app developed by a contractor fails, and the first response the developer gives is 'it's a network problem, contact your IS department'....which in our case, we are usually the first contacted, and one of the first things we do is to check the network connection. Drew -----Original Message----- From: John Clark To: accessd at databaseadvisors.com Sent: 3/13/03 2:12 PM Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. From accessd at shaw.ca Thu Mar 13 21:40:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu Mar 13 21:40:00 2003 Subject: [AccessD] OT but Access related...I've just got to share this In-Reply-To: Message-ID: Hi John: I know how you feel. At this moment I have found myself in the uncomfortable situation of being the outside programmer coming in to build an application for which the current IT guy was not even asked for comment. I did not find this out until I started nosing around to get a status of the current hardware resources. Someone, mentioned that they had an IT fellow that did most of their inside work. I called the Tech, quite innocently and asked for some information, on the system setup, only to find that the guy was very hurt and angry. It sure isn't fair. :-( What would you do in my circumstance? Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, March 13, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 13 21:48:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 13 21:48:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> Globals are just the broadest scope that you can have on a variable. You have procedural, modular, and global variables. Global variables should be used where they need to be used, no more, no less. The 'debate' on 'sloppy code' is really a moot point on this List. The chances of having to recode a project from another list member is pretty slim. Not too mention that I would rather deal with someone's sloppy code, then deal with a sloppy data structure. Drew -----Original Message----- From: John W. Colby To: accessd at databaseadvisors.com Sent: 3/13/03 4:30 PM Subject: RE: [AccessD] Using Global Connctions Marcus, >It's built around them being sloppy coding practice in any programming language. Precisely. Sloppy programming habits. Globals serve a purpose, but they should be few and far between. From martyconnelly at shaw.ca Fri Mar 14 03:29:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 03:29:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this References: Message-ID: <3E71A0A8.10607@shaw.ca> This is usually done by management to avoid overloading the Tech with more work than he can handle. Rather than have the tech arguing that he can do it, they present him with a "fait acompli". Some techs wear too many hats, and management gets worried what happens if he disappears. Lousy management style never the less but I have seen it before. . I have got my own back on consultants when something like this happened. One day all these high powered DBA types appeared from nowhere with design plans to install all sorts of databases for personnel and inventory etc. They all wanted kudos for developing the latest hot IDS Codasyl database which was on the machine. No one consulted me even though I was the sole system progammer and also resident GIS expert. I looked at this and said I would have to purchase more memory and disk space for the Honeywell mainframe otherwise the GIS databases could not coexist. Heard nothing more for a few months, and was told to start installing the test databases. Where are my extra disks I said. Oh we are going to outsource the GIS to an IBM site. Before I could get my explanations out , I was turfed from the meeting for being too protectionist of my GIS system. These guys were all 2 or 3 levels above my pay grade and had senior department directors on their side. Boy were they pissed off when I got ahold of the assistant deputy minister and pointed out to him that the mainframe 5 year lease was being paid for by another government department for the express purpose of GIS research and where was he going to come up with the million dollars a year to make up the shortfall when these jokers turfed the GIS systems and the grant was cancelled. None of the senior IT guys above me had been there more than a year and didn't know how the mainframe was being paid for. Just pointing this out made me a lot of enemies. Jim Lawrence (AccessD) wrote: >Hi John: > >I know how you feel. At this moment I have found myself in the uncomfortable >situation of being the outside programmer coming in to build an application >for which the current IT guy was not even asked for comment. I did not find >this out until I started nosing around to get a status of the current >hardware resources. Someone, mentioned that they had an IT fellow that did >most of their inside work. I called the Tech, quite innocently and asked for >some information, on the system setup, only to find that the guy was very >hurt and angry. It sure isn't fair. :-( > >What would you do in my circumstance? > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark >Sent: Thursday, March 13, 2003 12:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT but Access related...I've just got to share this > > >I have been fighting a battle for the past three years or so. My boss, >who is a politician, doesn't hold my job in high regard...I could get >really deep into explaining this, but I'll leave it here for now. >Anyhow, when he got the job in 1998, we made a decision to go w/MS >Access...we had FoxPro for many years, but there were many programs that >needed rewrote, and we also looked at VB. We chose Access for many >reasons, such as it was already on many of the machines, and I had >already begun learning it. Also, it seemed very flexible...good for >small, quick jobs, but also had capabilities for much larger projects. > >I am getting away from the subject, but I wanted to provide some >background. > >Over the past few years, we have found some programs in departments >that were written by programmer wanna-bees in those departments. When I >finally find these programs, I show my boss how pathetic they are...I >may not be a guru yet, but I think I write pretty decent >programs...especially compared to these pieces of shitaki mushrooms (got >that from watching Spy Kids w/my kids). > >In 1999, I had to re-write a program for our Pistol Permits Office. I >could write the program fine, but they needed to keep track of every >single change that was ever made to an account, and keep a historical >account. I had no idea how to do this, and my boss contracted with an >outside agency to help me. This programmer was suppose to "help" me >write this so that I learned as we went. This was a mistake on my >behalf, but I had had no training at all back then, and I had no >connection to any lists like this one. I also felt a little better, when >this programmer said that this was the hardest program that he ever >worked on, and he "had written some point of sales programs, and done >work for the border patrol." > >Since this time I've written several programs on my own, and I have >enjoyed a really good track record (i.e. not many calls after the fact), >which I probably just jinxed by mentioning this out loud. A couple of >months ago, I "accidentally" found out that our Risk Management >department had contracted outside for a new Claims Tracking program. I >had already written another small program for them, and as far as I >know, they were happy with it. Turns out the same programmer that helped >me came in to do it, and because he had known me, and wasn't aware that >this was a secret, he called me and talked w/me about this. > >He finished this program, less than a month ago, and today one of our >technicians calls to have me help with a network mapping >problem...network admin is one of my other hats here. They weren't >getting a Y: drive mapping, so their new Access program wouldn't work. I >recognized this mapping as one that we have programmed in the logging >script...any body that had old FoxPro programs had a Y: drive mapping to >the location of the FoxPro files, and this included them. > >It turns out that this "professional" programmer took it upon himself >to create a local mapping on these users machines...a big >"No-no"...which overwrites our network mappings. Our office is currently >in the middle of rolling out about 100 new PCs to those users who have >older ones. As you might be guessing, this PC was one of the ones >replaced. She had no idea of what mapping she had, so she couldn't warn >us, and we weren't notified, so we didn't know. The old Y: mapping for >FoxPro is really not needed any longer...by them at least...so I offered >to simply remap them via the login script. > >The tech returned to the office after lunch, and reported to me that, >"this guy did something with Windows files too!" Apparently, although I >can't think of what this would be, there were ties directly into the >Windows OS from this program (Registry maybe? I dunno). These new PCs >had Windows 2000 and Office 2000, and her old system had Windows 95 and >the program is A97. They loaded A97, but it still does not work. Now >they have to call this "professional" in...he'll be here tomorrow. > >I really think that I am at a level that I can compete w/this guy, and >that they should have given me a chance. It is plain stupidity to not >communicate with the internal IT staff. Even though I don't like the >idea of them outsourcing, I have no personal problems with this guy. He >is a really nice guy, and I have always been nice to him. We have even >spoke a time or two on our own, since he had been in here. > >Sorry for this OT, but I had to vent. You may not see my point here, >seeing as how many of you are independants, but at the very least please >tell me that you would communicate to avoid later problems. Or is it >standard to just get it, get paid, and leave the mess to the IT staff. > >Take care! > >John W Clark > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Fri Mar 14 03:37:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 03:37:01 2003 Subject: [AccessD] Method for Local Tables with an ADP References: Message-ID: <3E71A2B5.8020406@shaw.ca> I remember people asking for this awhile back and got this in the mail this evening from Superior Software newsletter.. This method for local tables with an ADP uses a local XML file instead of using Access database with local tables. A class clsXMLLocalTable is used to read and update an XML file then it just handles the data as a recordset. There is a sample 2002 database to demo it. http://www.ssw.com.au/SSW/kb/KB.asp?KBID=Q634862 From paul.hartland at fsmail.net Fri Mar 14 03:43:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 14 03:43:00 2003 Subject: [AccessD] Active Reports for Visual Basic 6 Message-ID: <20030314094212.EMGX5263.fep04-svc.ttys.com@localhost> To all, Has anyone had any experience with Active Reports v2.0 for Visual Basic, if so I wondered if someone could help me with somthing (bearing in mind I only started using it yesterday). I have built a report using the ADO connector and I need it to buils the recordset on the fly. So I am trying to use the following method..... repPersonnelByOffice.dcRptData.Recordset = "SELECT * FROM [tblPersonnel] WHERE [FinishDate] Is Null ORDER BY [Office], [Surname]" But I get the error Type Mismatch and the whole line gets highlighted when I click debug. Now I can't see anything wrong with this, can anyone point out my mistakes please....... Thanks in advance. Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Fri Mar 14 04:47:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 04:47:00 2003 Subject: [AccessD] (A97) Prevent multiple instances of Access In-Reply-To: <006101c2e974$efcef0b0$6101a8c0@amd2k512> References: <01C2E93E.B52B6780.bob@renaissancesiding.com> <006101c2e974$efcef0b0$6101a8c0@amd2k512> Message-ID: <19510481952.20030314114627@cactus.dk> Hi Bob et all Another solution is present at Tony D'Ambras site: http://www.aadconsulting.com/news.html Browse to code examples: Find Out if a Windows Application is Open /gustav From gustav at cactus.dk Fri Mar 14 04:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 04:56:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822AE@main2.marlow.com> Message-ID: <17711001289.20030314115507@cactus.dk> Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav From gustav at cactus.dk Fri Mar 14 05:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 05:09:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: References: Message-ID: <11711784365.20030314120810@cactus.dk> Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? > Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition embedded in > another something. It may be in a tab control, or a form, but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav From gustav at cactus.dk Fri Mar 14 05:29:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 05:29:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822A9@main2.marlow.com> Message-ID: <2712959805.20030314122745@cactus.dk> Hi Drew I see. But don't you open a new instance of the calendar if it is open as a main form and you open another main form with the calender as a subform? /gustav > Actually, the code I posted was from my new MiniCalendar, which could be > used as a subform, or as a stand alone, or both at the same time. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, March 13, 2003 3:41 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? >> I know what you are saying about intentionally looking for an error. It >> gives me an uneasy feeling too, but there are some things that just >> absolutely require it. > Of course, and no problem with that. > However, I can't imagine why one would do as described in your > example - I've never designed a form to be used as both a main form > and a subform and indeed not at the same time - but, well, never say > never. > /gustav >> As far as your code, I'm pretty tired so I could be wrong on this, but I >> think I could trigger a false positive with your code. If you opened >> formA, >> then opened formB, then set the source object on a subform on FormA to >> FormB, you will now have FormB as a subform on FormA, but your function >> will >> say False, because FormB was the last form to be put into the form's >> collection AND it is also now a subform. (Actually, just tried it, and it >> did say false from the subform) >> I know, it wouldn't be a common occurrence, but the error method is >> guaranteed to be correct. From HollisVJ at pgdp.usec.com Fri Mar 14 06:02:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri Mar 14 06:02:00 2003 Subject: [AccessD] Adding Attachments Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Then what do I do? I have tried every combination. I found out opening the file & saving it to the directory & folder I want it in, does not work. When I do a save, the document that was saved to the network directory is blank. I can't figure out how to make the file 'Move' from where the user has it stored to the folder & directory on the network. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Fri Mar 14 06:30:00 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 14 06:30:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 07:16:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 07:16:00 2003 Subject: [AccessD] OT Voice activated applications...hardware In-Reply-To: <3E713B1A.8040709@shaw.ca> Message-ID: Hi Marty: Thanks for the information. I will review this and see what I can come up with for the client. Again many thanks Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Thursday, March 13, 2003 6:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Voice activated applications...hardware Try this Access SoapService download http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=26157&ln gWId=1 Access 97 mdb methods to call various Soap Web Services such as Talking Clock, Text to Speech (returns .wav file so MS XVoice.dll not required) make your error messages verbal, Airline Plane location while plane in the air, Text language translation English to Spanish etc., California Highway conditions, Worldwide SMS phone messages, Soap to Email, Stock Exchange quotes etc. The PocketSoap version 0.9 download may no longer be available so you would need to rewrite to 1.4 version or use MS Soap toolkit. Guess I should rewrite haven't touiched this in two years. There is one form in mdb that uses text to speech agent only;so try that, should run removing soap references. It also creates a .wav file. Maybe I should rewrite. Further explanation in download text files. http://www.microsoft.com/msagent/downloads.htm#tts 1 Download the Microsoft SAPI 4.0a runtime binaries (824 KB exe) 2 Download Text-to-speech engines English or German etc 3 Download the Microsoft Agent core components (395 KB exe) not needed for XP 2000 or Me 4 there is a download for limited speech recognition haven't tried. http://www.pocketsoap.com Jim Lawrence (AccessD) wrote: >Hi All: > >Has anyone heard of voice activated software/hardware that will allow >inter-action between an application that say might be written in Access? > >MTIA >Jim > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Fri Mar 14 08:32:01 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Fri Mar 14 08:32:01 2003 Subject: [AccessD] Access dies when writing large number of records Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> Using Access2K on Win2K I'm importing about 30K records from a text file. The file is read line by line, parsed, and records created or updated in the database as needed via VBA/DAO code. The whole thing is wrapped in a transaction. When the transaction is enabled Access dies at about 2500 records with a Windows generated message saying "MSAccess.exe has generated an error..." My error handler never gets invoked. If I comment out the transaction it runs fine. I'm confident that the code is OK. This has worked fine for more than a year. I recently updated to O2K SP3. I found a KB article that addresses a similar problem that suggests one should update Jet to 4.0 SP6 which I have done with no effect. O2K SP3 cannot be uninstalled. Running this without the transaction is do-able, but not desirable. Does anyone have any ideas or suggestions on this? Neal Kling From michael.mattys at adelphia.net Fri Mar 14 09:16:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 09:16:00 2003 Subject: [AccessD] Access dies when writing large number of records References: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> Message-ID: <001f01c2ea3e$0f608190$6401a8c0@default> Hi Neal, Not knowing what your text file looks like, I'm still going to recommend this: How to Programmatically Create a Schema.ini File http://support.microsoft.com/?kbid=210001 Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Neal Kling" To: Sent: Friday, March 14, 2003 9:30 AM Subject: [AccessD] Access dies when writing large number of records > Using Access2K on Win2K I'm importing about 30K records from a text > file. The file is read line by line, parsed, and records created or > updated in the database as needed via VBA/DAO code. The whole thing is > wrapped in a transaction. > > When the transaction is enabled Access dies at about 2500 records with a > Windows generated message saying "MSAccess.exe has generated an > error..." My error handler never gets invoked. If I comment out the > transaction it runs fine. I'm confident that the code is OK. > > This has worked fine for more than a year. I recently updated to O2K > SP3. I found a KB article that addresses a similar problem that > suggests one should update Jet to 4.0 SP6 which I have done with no > effect. O2K SP3 cannot be uninstalled. > > Running this without the transaction is do-able, but not desirable. > Does anyone have any ideas or suggestions on this? > > Neal Kling > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Mar 14 09:35:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 09:35:00 2003 Subject: [AccessD] Access dies when writing large number of records In-Reply-To: <001f01c2ea3e$0f608190$6401a8c0@default> References: <0EAA9F4906BA554FA26E6F9F2C540302025667@elmo.co.montgomery.ny.us> <001f01c2ea3e$0f608190$6401a8c0@default> Message-ID: <3127750743.20030314163416@cactus.dk> Hi Neal What happens if you write those validated records to a temp table, then appending the temp table to the final table? /gustav >> Using Access2K on Win2K I'm importing about 30K records from a text >> file. The file is read line by line, parsed, and records created or >> updated in the database as needed via VBA/DAO code. The whole thing is >> wrapped in a transaction. >> >> When the transaction is enabled Access dies at about 2500 records with a >> Windows generated message saying "MSAccess.exe has generated an >> error..." My error handler never gets invoked. If I comment out the >> transaction it runs fine. I'm confident that the code is OK. From bob at renaissancesiding.com Fri Mar 14 09:36:02 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 14 09:36:02 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically Message-ID: <01C2EA15.57C471E0.bob@renaissancesiding.com> I know that this thread was previously discussed, but I cannot find any of the older archives, so I am asking for assistance from the group. I have a bound form (frmJobs) that contains numerous controls on the main form, and four tabs (tabMain, tabJobDetails, tabJobArea and tabJobComments). Each tab (of course) has several controls. What I am trying to do is automatically advance from the last field (txtJobTelephoneCell) on the first tab (tabMain) to the first field (lngJobBaseColorID) on the second tab (tabDetails). I have tried the three code examples below; none do anything. As usual, I'm searching for some ideas or direction. TIA, Bob Gajewski ********************************* Private Sub txtJobTelephoneCell_LostFocus() tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub ********************************* Private Sub txtJobTelephoneCell_LostFocus() lngJobBaseColorID.SetFocus End Sub ********************************* Private Sub txtJobTelephoneCell_LostFocus() tabJobDetails.SetFocus End Sub ********************************* From cfoust at infostatsystems.com Fri Mar 14 10:24:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 10:24:01 2003 Subject: [AccessD] OT but Access related...I've just got to share this Message-ID: If it's at all possible, get on the same side. Find out how he would have done it, Picture yourself as the innocent boob who got called in and had no idea that the "real expert" wasn't involved. It may not work, but at least it may defuse some of the anger. If you can form a coalition with him, he at least won't stand in your way and may be actively helpful. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, March 13, 2003 7:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT but Access related...I've just got to share this Hi John: I know how you feel. At this moment I have found myself in the uncomfortable situation of being the outside programmer coming in to build an application for which the current IT guy was not even asked for comment. I did not find this out until I started nosing around to get a status of the current hardware resources. Someone, mentioned that they had an IT fellow that did most of their inside work. I called the Tech, quite innocently and asked for some information, on the system setup, only to find that the guy was very hurt and angry. It sure isn't fair. :-( What would you do in my circumstance? Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, March 13, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT but Access related...I've just got to share this I have been fighting a battle for the past three years or so. My boss, who is a politician, doesn't hold my job in high regard...I could get really deep into explaining this, but I'll leave it here for now. Anyhow, when he got the job in 1998, we made a decision to go w/MS Access...we had FoxPro for many years, but there were many programs that needed rewrote, and we also looked at VB. We chose Access for many reasons, such as it was already on many of the machines, and I had already begun learning it. Also, it seemed very flexible...good for small, quick jobs, but also had capabilities for much larger projects. I am getting away from the subject, but I wanted to provide some background. Over the past few years, we have found some programs in departments that were written by programmer wanna-bees in those departments. When I finally find these programs, I show my boss how pathetic they are...I may not be a guru yet, but I think I write pretty decent programs...especially compared to these pieces of shitaki mushrooms (got that from watching Spy Kids w/my kids). In 1999, I had to re-write a program for our Pistol Permits Office. I could write the program fine, but they needed to keep track of every single change that was ever made to an account, and keep a historical account. I had no idea how to do this, and my boss contracted with an outside agency to help me. This programmer was suppose to "help" me write this so that I learned as we went. This was a mistake on my behalf, but I had had no training at all back then, and I had no connection to any lists like this one. I also felt a little better, when this programmer said that this was the hardest program that he ever worked on, and he "had written some point of sales programs, and done work for the border patrol." Since this time I've written several programs on my own, and I have enjoyed a really good track record (i.e. not many calls after the fact), which I probably just jinxed by mentioning this out loud. A couple of months ago, I "accidentally" found out that our Risk Management department had contracted outside for a new Claims Tracking program. I had already written another small program for them, and as far as I know, they were happy with it. Turns out the same programmer that helped me came in to do it, and because he had known me, and wasn't aware that this was a secret, he called me and talked w/me about this. He finished this program, less than a month ago, and today one of our technicians calls to have me help with a network mapping problem...network admin is one of my other hats here. They weren't getting a Y: drive mapping, so their new Access program wouldn't work. I recognized this mapping as one that we have programmed in the logging script...any body that had old FoxPro programs had a Y: drive mapping to the location of the FoxPro files, and this included them. It turns out that this "professional" programmer took it upon himself to create a local mapping on these users machines...a big "No-no"...which overwrites our network mappings. Our office is currently in the middle of rolling out about 100 new PCs to those users who have older ones. As you might be guessing, this PC was one of the ones replaced. She had no idea of what mapping she had, so she couldn't warn us, and we weren't notified, so we didn't know. The old Y: mapping for FoxPro is really not needed any longer...by them at least...so I offered to simply remap them via the login script. The tech returned to the office after lunch, and reported to me that, "this guy did something with Windows files too!" Apparently, although I can't think of what this would be, there were ties directly into the Windows OS from this program (Registry maybe? I dunno). These new PCs had Windows 2000 and Office 2000, and her old system had Windows 95 and the program is A97. They loaded A97, but it still does not work. Now they have to call this "professional" in...he'll be here tomorrow. I really think that I am at a level that I can compete w/this guy, and that they should have given me a chance. It is plain stupidity to not communicate with the internal IT staff. Even though I don't like the idea of them outsourcing, I have no personal problems with this guy. He is a really nice guy, and I have always been nice to him. We have even spoke a time or two on our own, since he had been in here. Sorry for this OT, but I had to vent. You may not see my point here, seeing as how many of you are independants, but at the very least please tell me that you would communicate to avoid later problems. Or is it standard to just get it, get paid, and leave the mess to the IT staff. Take care! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 14 10:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 10:26:00 2003 Subject: [AccessD] Method for Local Tables with an ADP Message-ID: You can use the same technique with an mdb as well. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 14, 2003 1:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Method for Local Tables with an ADP I remember people asking for this awhile back and got this in the mail this evening from Superior Software newsletter.. This method for local tables with an ADP uses a local XML file instead of using Access database with local tables. A class clsXMLLocalTable is used to read and update an XML file then it just handles the data as a recordset. There is a sample 2002 database to demo it. http://www.ssw.com.au/SSW/kb/KB.asp?KBID=Q634862 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Fri Mar 14 10:27:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 10:27:01 2003 Subject: [AccessD] Adding Attachments References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Message-ID: <006f01c2ea47$f93b0ed0$6401a8c0@default> Virginia, If no one else has helped already, you could try Pedro Gil's site that has an Access97 db for the purpose of moving files http://www.geocities.com/pmpg98_pt/ http://www.geocities.com/pmpg98_pt/CodeZip/SHFileOperation.zip Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Friday, March 14, 2003 7:01 AM Subject: RE: [AccessD] Adding Attachments > Then what do I do? I have tried every combination. I found out opening the > file & saving it to the directory & folder I want it in, does not work. When > I do a save, the document that was saved to the network directory is blank. > I can't figure out how to make the file 'Move' from where the user has it > stored to the folder & directory on the network. > > Virginia From chris at denverdb.com Fri Mar 14 11:13:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 11:13:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: Message-ID: I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC From Jdemarco at hshhp.org Fri Mar 14 11:28:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 14 11:28:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85424@TTNEXCHSRV1.hshhp.com> Chris, Have you seen Martin Reid's recent posts on adps? I was leaning the same way (adp over mdb) for our group in the future but he's been hinting that "other methods of connecting to SQL" should be considered. Now I believe his comments were concerning the next rev of SQL but I just thought I'd mention it to you. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 14, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADP vs. MDB for SQL 2000 I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Fri Mar 14 11:32:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri Mar 14 11:32:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85425@TTNEXCHSRV1.hshhp.com> I found the post I was referring to. I misquoted Martin so I want to correct it here. Arthurs point is a valid one but At some future point in the distant future the ability to work with SQL Server outside the world of ADPs may help you. I am sorry thats all I can say. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim DeMarco Sent: Friday, March 14, 2003 12:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris, Have you seen Martin Reid's recent posts on adps? I was leaning the same way (adp over mdb) for our group in the future but he's been hinting that "other methods of connecting to SQL" should be considered. Now I believe his comments were concerning the next rev of SQL but I just thought I'd mention it to you. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 14, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADP vs. MDB for SQL 2000 I am trying to convince a client that's rebuilding a DOS based system with SQL Server 2000 and Access XP that the .adp format is superior to the .mdb format for working with SQL Server back ends. Does anyone have any articles or any "objective" materials that I could show to them? (Another developer has them convinced that the .mdb format is the way to go) Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From subs at solution-providers.ie Fri Mar 14 11:38:01 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri Mar 14 11:38:01 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> Message-ID: <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Hello All, I was not aware that a previous debate (sounds a little heated) had been already carried out. Sorry for duplicating the discussion. In the last few emails, Marcus was the only one that explicitly stated that he likes the idea of using Globals for a db connection. So leaving aside passing around an order nunber or a customer id as a global (which I would never even consider), what do you guys do to hand around a database connection? Do you use Globals or do you make the connction each time or do you use some kind of class. Any sample code would be interesting to read. What I do is have the following code in a module ' This will be the global connection that we will share, we open it once only and share it throughout the applications life Global gccnn As New ADODB.Connection Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data Source=PC1" and then in the first form_load I have ' Give it a connect string gccnn.ConnectionString = gcstrConStr ' And make the connection gccnn.Open What do you guys think of this strategy, should I use a class to pass it around. And if I am not using a class, do you think that it is a little bit untidy or is downright bad practice. Again, I am just curious what the rest of the world is doing in their apps. Thanks Mark From harkins at iglou.com Fri Mar 14 11:38:17 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 11:38:17 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: Message-ID: <02a201c2ea50$6df34d20$2b4afccc@SusanOne> Chris, the back-end will be in SQL Server regardless? Let him talk to Martin -- he'll straighten this guy out. :) Seriously. If the above isn't the case and the mdb would be inclusive of Access tables, we probably don't have enough information to really discern which is the best solution. Although, I think people that already have SQL Server tend to go that route regardless, unless they're creating a smaller application and just don't want to put the development and administrative resources into the project. Susan H. > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) From andy at minstersystems.co.uk Fri Mar 14 11:47:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri Mar 14 11:47:00 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically In-Reply-To: <01C2EA15.57C471E0.bob@renaissancesiding.com> Message-ID: <002601c2ea51$411c00c0$b274d0d5@andypc> Bob I use your 3rd method (just tabxxx.setfocus) and it works fine. Have you tried putting up a Msgbox in that LostFocus to make sure it's even going through there? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: 14 March 2003 15:35 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] (A97) Advancing through a tabbed form automatically > > > I know that this thread was previously discussed, but I > cannot find any of > the older archives, so I am asking for assistance from the group. > > I have a bound form (frmJobs) that contains numerous controls > on the main > form, and four tabs (tabMain, tabJobDetails, tabJobArea and > tabJobComments). Each tab (of course) has several controls. > > What I am trying to do is automatically advance from the last field > (txtJobTelephoneCell) on the first tab (tabMain) to the first field > (lngJobBaseColorID) on the second tab (tabDetails). I have > tried the three > code examples below; none do anything. As usual, I'm > searching for some > ideas or direction. > > TIA, > > Bob Gajewski > > > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > lngJobBaseColorID.SetFocus End Sub > ********************************* > Private Sub txtJobTelephoneCell_LostFocus() > tabJobDetails.SetFocus End Sub > ********************************* > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From harkins at iglou.com Fri Mar 14 11:49:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 11:49:01 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D39@bwam02msx.ae.ge.com> <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Message-ID: <02ca01c2ea51$fb6b9ee0$2b4afccc@SusanOne> What problem are you avoiding by creating and destroying the Connection object as you use it? Susan H. > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. From DWUTKA at marlow.com Fri Mar 14 11:50:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 11:50:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822AF@main2.marlow.com> My wierd purposes? The hWnd property is the key to Windows development, in fact it's the primary key! Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:08 AM To: John W. Colby Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? > Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition embedded in > another something. It may be in a tab control, or a form, but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to > use it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 11:51:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 11:51:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <02a201c2ea50$6df34d20$2b4afccc@SusanOne> Message-ID: The other developer uses local tables in the .mdb's (I've discussed this issue with him at the local Access Users Group). Personally I see no reason for these tables as they only store info related to user preferences, so all of the real data for the system is going to be SQL 2000, custom menu options that the user selects are going to be in local tables (Why not just store them in SQL along with a column for the user name?). Basically if they go with .mdb I don't get the job, if they go with .adp I do so I'm trying to srgue the .adp side as strongly as possible. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, March 14, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 Chris, the back-end will be in SQL Server regardless? Let him talk to Martin -- he'll straighten this guy out. :) Seriously. If the above isn't the case and the mdb would be inclusive of Access tables, we probably don't have enough information to really discern which is the best solution. Although, I think people that already have SQL Server tend to go that route regardless, unless they're creating a smaller application and just don't want to put the development and administrative resources into the project. Susan H. > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 14 11:51:19 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 11:51:19 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: Message-ID: <003f01c2ea52$34e0a2b0$6101a8c0@amd2k512> http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Fri Mar 14 11:55:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 11:55:01 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> Can't follow that. What do you mean? If I open the form, it's opened as a main form. If I open a form with the MC as a subform, it is opened as a subform. My routine that checks for whether it is a subform or not is used is more places that just the onload event. The code you had posted would work on the onload event of all forms, with the exception of that one instance I mentioned, where you are 'assigning' the subform at a later point (after that form was used as a Main form). I don't have any projects that do that. However, I do check for whether or not my form is a subform for certain processes, at which point if the MC form was opened afterwards, it would fail that check. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:28 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi Drew I see. But don't you open a new instance of the calendar if it is open as a main form and you open another main form with the calender as a subform? /gustav > Actually, the code I posted was from my new MiniCalendar, which could be > used as a subform, or as a stand alone, or both at the same time. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, March 13, 2003 3:41 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? >> I know what you are saying about intentionally looking for an error. It >> gives me an uneasy feeling too, but there are some things that just >> absolutely require it. > Of course, and no problem with that. > However, I can't imagine why one would do as described in your > example - I've never designed a form to be used as both a main form > and a subform and indeed not at the same time - but, well, never say > never. > /gustav >> As far as your code, I'm pretty tired so I could be wrong on this, but I >> think I could trigger a false positive with your code. If you opened >> formA, >> then opened formB, then set the source object on a subform on FormA to >> FormB, you will now have FormB as a subform on FormA, but your function >> will >> say False, because FormB was the last form to be put into the form's >> collection AND it is also now a subform. (Actually, just tried it, and it >> did say false from the subform) >> I know, it wouldn't be a common occurrence, but the error method is >> guaranteed to be correct. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From budge at magicaldesk.com Fri Mar 14 12:00:01 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri Mar 14 12:00:01 2003 Subject: [AccessD] Friday OT Message-ID: Read to the end!!! Don't skip If you canstart the day without caffeine or pep pills, If you can be cheerful, ignoring aches and pains, If you can resist complaining and boring people with your troubles, If you can eat the same food everyday and be grateful for it, If you can understand when loved ones are too busy to give you time, If you can overlook when people take things out on you when, through no fault of yours, something goes wrong, If you can take criticism and blame without resentment, If you can face the world without lies and deceit, If you can conquer tension without medical help, If you can relax without liquor, If you can sleep without the aid of drugs, If you can do all these things, Then you are probably the family dog. **************** George Bush is visiting an elementary school and announces to the class, "You can all ask me questions." A boy named Bobby raises his hand and says, "I have 3 questions for you": 1) How did you win the election with less votes than Gore? 2) Isn't it true that you want to declare war on Iraq in order to get oil? 3) Why hasn't the U.S. caught Osama Bin Laden? Then the bell sounds and all the kids run out to the playground. 15 minutes later the kids come back in class and again Bush says, "You can all ask me questions." A boy named Charlie raises his hand and says, "I have 5 questions for you": 1) How did you win the election with less votes than Gore? 2) Isn't it true that you want to declare war on Iraq in order to get oil? 3) Why hasn't the U.S. caught Osama Bin Laden? 4) Why did the bell go off 20 minutes early? 5) Where is Bobby? **************** An actual letter from home from a marine with the multinational force in Bosnia: Dear Dad, A funny thing happened to me yesterday here at Camp Bondsteel (Bosnia): A French army officer walked up to me in the PX, and told me he thought we (Americans) were a bunch of cowboys and were going to provoke a war in Iraq. He said if such a thing happens, we wouldn't be able to count on the support of France. I told him that it didn't surprise me. Since we had come to France's rescue in World War I, World War II, Vietnam, and the Cold War, their ingratitude and jealousy was due to surface [again] at some point in the near future anyway. I also told him that is why France is a third-rate military power with a socialist economy and a bunch of pansies for soldiers. I additionally told him that America, being a nation of deeds and action, not words, would do whatever it had to do, and France's support, if it ever came, was only for show anyway. Just like in ALL NATO exercises, the US would shoulder 85% of the burden, and provide 85% of the support, as evidenced by the fact that this French officer was shopping in the American PX, and not the other way around. He began to get belligerent at that point, and I told him if he wanted to I would meet him outside in front of the Burger King and whip his butt in front of the entire Multi-National Brigade East, thus demonstrating that even the smallest American had more fight in him than the average Frenchman. He called me a barbarian cowboy and walked away in a huff. With friends like these, who needs enemies? Dad, tell Mom I love her, Your loving daughter, Mary Beth (LtCol., USMC) **************** Since cloning has been a subject of intense debate around the world, I thought I'd pose you the following ethical question: Suppose that through advanced science, a clone, an exact replica, had been made of me. One day, I chance upon my clone standing on a wall about 5 feet high, completely nude except for a raincoat, and he is flashing all the lady passers-by. Upset and disappointed at his behavior, I rush at him, and push him off of the wall. Since his hands were in the pockets of his raincoat, he is unable to catch himself,and he falls to the sidewalk below, fractures his skull and soon dies. I feel terrible. The ethical question about my act is this: Did I commit murder? Or did I commit suicide? Or... am I only guilty of making an obscene clone fall? _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com From budge at magicaldesk.com Fri Mar 14 12:01:07 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri Mar 14 12:01:07 2003 Subject: [AccessD] More Friday OT - because where the heck is ANDY???? Message-ID: -----Now this is my kind of exercise....yesssss...I can do this.... Exercise Program for 2003... Here's the exercise program I am using to stay in shape for the new year. You might want to take it easy at first, then do it faster as you become more proficient. It may be too strenuous for some.. ALWAYS CONSULT YOUR DOCTOR BEFORE STARTING ANY EXERCISE PROGRAM.** > > NOW SCROLL DOWN... > > > > > > > > > > > > > > > > > > > > > > > NOW SCROLL UP... Feel the burn _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com From chris at denverdb.com Fri Mar 14 12:03:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 12:03:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <003f01c2ea52$34e0a2b0$6101a8c0@amd2k512> Message-ID: William, Thank you, I will pass this along to the client, unfortunatley he of course has no idea what Jet is but this does provide a good argument that's not just my word. And yes, the other developer has tried an .adp and didn't like it and doesn't want to learn how to use them properly, but he does know someone in the company :(. Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 14, 2003 10:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system with > SQL Server 2000 and Access XP that the .adp format is superior to the .mdb > format for working with SQL Server back ends. Does anyone have any articles > or any "objective" materials that I could show to them? (Another developer > has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 12:04:01 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri Mar 14 12:04:01 2003 Subject: [AccessD] Adding Attachments In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEBD@exchange.pgdp> Message-ID: <002001c2ea53$eaf97f80$de1811d8@DanWaters> Virginia, By tomorrow, I will send you (off-line) a small demo database in A97 that contains the functionality that I believe you are looking for. This does use File System Objects. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Friday, March 14, 2003 6:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Adding Attachments Then what do I do? I have tried every combination. I found out opening the file & saving it to the directory & folder I want it in, does not work. When I do a save, the document that was saved to the network directory is blank. I can't figure out how to make the file 'Move' from where the user has it stored to the folder & directory on the network. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, March 13, 2003 2:13 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] Adding Attachments Stay away from the FSO unless you can *guarantee* that your applcation will never have to run on a machine which has scripting turned off (Done frequently by network administrators as a virus protection measure). You can handle the case where the directory doesn't exist without using it fairly easily. > I get User defined type not defined Error on: Dim fso As > FileSystemObject > > This is in 97, does that make a difference? > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Thursday, March 13, 2003 10:03 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > You have to do a FileCopy from the first selected location to the > second selected location in order to actually move the file. > > Public Sub MoveFile(strOldPath As String, strOldName As String, _ > strNewPath As String, strNewName As String) > > On Error GoTo ErrorHandler > > Dim fso As FileSystemObject > Dim strOldFile As String > > DoCmd.Hourglass True > > strOldFile = strOldPath & strOldName > > If Dir(strNewPath, vbDirectory) = "" Then > Set fso = New FileSystemObject > fso.CreateFolder strNewPath > End If > > FileCopy strOldFile, strNewName > > DoCmd.Hourglass False > > Exit Sub > > ErrorHandler: > Call HandleErrors(Err, strMyName, "MoveFile") > End Sub > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: Thursday, March 13, 2003 10:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > I have been playing around with the dialog to Save the file to a > specified folder. Tell me if anyone thinks this will work... > > Use the Open file dialog so the user can select the file they need to > attach. Then the Save dialog box opens to the directory & folder where > the attachment needs to be saved. > > Once they save the file it places the file name in the field > 'attachments' which is a hyperlink field. > > Now, the problem... (there's always a catch) > > How do I make the Save dialog box actually "Save" the file?! > > The Save dialog opens, and places the file name in the attachments > field, but it does not Save the file to the folder & directory. > > Virginia > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 12, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > Virginia, > > If I was doing it I would add code that checks the path name and > reject all path names that start with a drive letter and only accept > UNC path names. Thus, the only drives on their computers that pass are > shared drives. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Wednesday 2003 Mar 12 13:16 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > Is there a way to have the attachment saved (moved?) to a common > network drive, or the directory the database is stored? > > I got to thinking, there will be the user that will attach a file that > is stored on their computer, which obviously will make it unavailable > to everyone that needs the attachment. > > Virginia > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, March 12, 2003 7:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > > > On my forms I have the text field beside a little button whose text is > just 3 dots. The OnClick fires the code I posted. The user navigates > to a file and selects ok, then the code plugs the complete filename > into the text field (in this case BigImagePath). > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: March 11, 2003 12:34 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Adding Attachments > > > > Ok, I found Sub TestGetFileName() in ADH. > > > > You mentioned posting the results to a control. Do I need to have a > button on the form that opens the GetFileName? Then what transfers > this file name to the field? > > > > Virginia > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Tuesday, March 11, 2003 10:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Adding Attachments > > You don't need to use URLs if you don't want to. I use code from ADH > that calls the Windows API to open the GetFile dialog, then posts the > result to a control on my form, like so: > > > > With Me > > .BigImagePath = ahtCommonFileOpenSave() > > End With > > > > To cohere to the licensing I cannot post said function or its API > declaration. Of course I could change all the variable names and the > function name and claim it as my own work, which is how I learned to > program, but now that I'm an old fart I don't do that any more. > > > > (Fuller's Law #3: You start out a Young Turk and before you know it > you're an Old Fart.) > > > > The function called above returns an absolute path, but given same and > knowledge of the app directory, it's a simple matter to replace the > app path with a relative reference. The Replace function does it in > one line: > > > > Replace( strExp as String, strFind as String, strReplace as String > ) > > > > HTH, > > A. > > -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 14 12:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 12:05:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B1@main2.marlow.com> Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 14 12:08:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 14 12:08:00 2003 Subject: [AccessD] Using Global Connctions Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B2@main2.marlow.com> You are keeping the connection constant, which keeps the user in the database, limiting how many other users can be there at the same time. However, creating and destroying has the issue of slowing down your code when the database is on a network. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 14, 2003 11:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions What problem are you avoiding by creating and destroying the Connection object as you use it? Susan H. > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. _______________________________________________ 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 Mar 14 12:18:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 14 12:18:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> Message-ID: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 14 12:20:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 12:20:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? Message-ID: Hmmn ... That sounds NATURAL to me! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 9:50 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] How do I tell if a form is opened as a subform or not? My wierd purposes? The hWnd property is the key to Windows development, in fact it's the primary key! Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:08 AM To: John W. Colby Subject: Re: [AccessD] How do I tell if a form is opened as a subform or not? Hi John That's right. There are many variations on the error catching theme. Did you see my two-liner on the same theme? Actually, I haven't paid much attention to the hWnd property until I noticed that Drew uses it quite a few places for his weird purposes. Private Function IsSubform() As Boolean On Error Resume Next IsSubform = Me.Parent.hWnd End Function /gustav > How about: > 'IS THE FORM REFERRED TO IN THE PARAMETER (FRM) CURRENTLY LOADED AS A > SUBFORM? Function ccIsSubForm(frm As Form) As Boolean > Dim str As String > On Error Resume Next > str = frm.Parent.Name > ccIsSubForm = (err = 0) > On Error GoTo 0 > End Function > If a form has a valid parent property then it is by definition > embedded in another something. It may be in a tab control, or a form, > but it will be a > subform. > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Wednesday, March 12, 2003 2:17 PM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform > or not? > Hi Drew > I don't like at all coding where you rely on error generation. It may > very well be quick and dirty code and some like that, but I try to use > it as the last resort only. > Previously I have posted this small function for the same purpose - it > could have been for the benefit of Arthur "the static lover" as you'll > see. It is not much larger than your code: > > Private Function IsSubform() As Boolean > Static booSubform As Boolean > Static lngFormsCount As Long > If lngFormsCount = 0 Then > lngFormsCount = Forms.Count > booSubform = StrComp(Forms(lngFormsCount - 1).Name, Me.Name, > vbTextCompare) > End If > IsSubform = booSubform > End Function > > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Mar 14 12:21:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 14 12:21:00 2003 Subject: [AccessD] (A97) Advancing through a tabbed form automatically Message-ID: <01C2EA2C.72BEE950.bob@renaissancesiding.com> Andy I sort of found the problem. In the actual control properties, I already have "=cbfLostFocus()" because I use two public functions to change the control backcolor during the Got/Lost Focus events for user visibility. Therefore, the CBF code for txtJobTelephoneCell_GotFocus() event is ignored. I have to figure out another way to do this. Thanks! Bob On Friday, March 14, 2003 12:44 PM, Andy Lacey [SMTP:andy at minstersystems.co.uk] wrote: > Bob > I use your 3rd method (just tabxxx.setfocus) and it works fine. Have you > tried putting up a Msgbox in that LostFocus to make sure it's even going > through there? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bob Gajewski > > Sent: 14 March 2003 15:35 > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] (A97) Advancing through a tabbed form automatically > > > > > > I know that this thread was previously discussed, but I > > cannot find any of > > the older archives, so I am asking for assistance from the group > > > > I have a bound form (frmJobs) that contains numerous controls > > on the main > > form, and four tabs (tabMain, tabJobDetails, tabJobArea and > > tabJobComments). Each tab (of course) has several controls > > > > What I am trying to do is automatically advance from the last field > > (txtJobTelephoneCell) on the first tab (tabMain) to the first field > > (lngJobBaseColorID) on the second tab (tabDetails). I have > > tried the three > > code examples below; none do anything. As usual, I'm > > searching for some > > ideas or direction > > > > TIA, > > > > Bob Gajewski > > > > > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > tabJobDetails.SetFocus lngJobBaseColorID.SetFocus End Sub > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > lngJobBaseColorID.SetFocus End Sub > > ********************************* > > Private Sub txtJobTelephoneCell_LostFocus() > > tabJobDetails.SetFocus End Sub > > ********************************* > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > 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 Mar 14 12:23:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 12:23:01 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 Message-ID: Wasn't me. I just pointed out that XML could be used for temp tables with an MDB as well. And even in an ADP, you still need the Jet engine for things like compacting the project. You just get to it through JRO instead. Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 9:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-6560 9CEC 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301 AE08 -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp ...the fundamentals are that an mdb requires JET be loaded and that JET becomes the interface with SQL Server ...and you are thus stuck with JET's inherent weaknesses while gaining almost none of SQL Server's strengths ...an adp does not load JET and interfaces with SQL Server directly ...unless there is a critical requirement for local tables, I can't think of a reason to use an mdb in a SQL Server environment ...other than the developer doesn't understand adps and doesn't want to ...which certainly isn't a client reason for doing so. ...and even in the case of a critical requirement for local tables, Charlotte (I think) just pointed out an XML solution for that using adps. HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Chris Mackin" To: Sent: Friday, March 14, 2003 12:12 PM Subject: [AccessD] ADP vs. MDB for SQL 2000 > I am trying to convince a client that's rebuilding a DOS based system > with SQL Server 2000 and Access XP that the .adp format is superior to > the .mdb format for working with SQL Server back ends. Does anyone > have any articles > or any "objective" materials that I could show to them? (Another > developer has them convinced that the .mdb format is the way to go) > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 12:23:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 14 12:23:30 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822B0@main2.marlow.com> Message-ID: <5637840591.20030314192226@cactus.dk> Hi Drew > Can't follow that. What do you mean? If I open the form, it's opened as a > main form. If I open a form with the MC as a subform, it is opened as a > subform. My routine that checks for whether it is a subform or not is used > is more places that just the onload event. > The code you had posted would work on the onload event of all forms, .. yes > .. with the exception of that one instance I mentioned, where you > are 'assigning' the subform at a later point (after that form was > used as a Main form). I don't have any projects that do that. That is what I meant. I have neither done such projects and have never seen any - but it is, of course, possible though very unlikely. > However, I do check for whether or not my form is a subform for > certain processes, at which point if the MC form was opened afterwards, it > would fail that check. It doesn't fail here: Private Sub Form_Open(Cancel As Integer) MsgBox Str(IsSubform()) End Sub You have a main form with your MC as a subform. You then open form MC as a main form and then the check fails? Strange. /gustav > I see. But don't you open a new instance of the calendar if it is > open as a main form and you open another main form with the calender > as a subform? >> Actually, the code I posted was from my new MiniCalendar, which could be >> used as a subform, or as a stand alone, or both at the same time. From jcolby at colbyconsulting.com Fri Mar 14 12:36:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 12:36:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: Congratulations Shamil! Enjoy your trip, and your vacation. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, March 14, 2003 1:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5336 bytes Desc: not available URL: From wdhindman at bellsouth.net Fri Mar 14 12:40:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 12:40:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: <001401c2ea59$2703bae0$6101a8c0@amd2k512> ...where there is a will there is a way ...have a great vacation ...um ...business trip!!!!!! :)))))) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Friday, March 14, 2003 1:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Monday, March 10, 2003 11:23 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > THNX Marty, > > > > I will give it another try to solve the problem without complaints - if no > > result then maybe I will go compainingt o the Head Office. But the chances > > are very high that they will not accept any of my complaints and will play > > fool - or you've any success stories when complaints helped to solve the > > situations like that mine? > > > > TIA for any additional info, > > Shamil > > > > ----- Original Message ----- > > From: "MartyConnelly" > > To: > > Sent: Monday, March 10, 2003 10:44 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > I would complain (umm... make a request for clarification or advice) to > > > the Head Office rather than locally. "Better to complain to the organ > > > grinder than the monkey". This is an English aphorism > > > referring to street buskers who would play a portable windup organ and > > > have a little monkey running around with a cup to collect spare change. > > > > > > Here is the mailing address for Ministry in the Hague > > > The Netherlands Ministry of Foreign Affairs > > > > > > Visitors Address: > > > Bezuidenhoutseweg 67, The Hague > > > tel. +31 70 3486486; > > > fax. + 31 70 3484848; > > > > > > The Netherlands Ministry of Foreign Affairs > > > Postal Address: > > > PO Box 20061 > > > 2500 EB The Hague > > > > > > Or email complaint page > > > > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > > 2X55346X5 > > > or > > > > > > If you have any questions, please check the Frequently Asked Questions > > > first. If you have still not found an answer to your question, then you > > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > > see: in english Visa Applications > > > > > > http://www.immigratiedienst.nl/ > > > > > > Probably a phone call to their communication department in external > > > affairs for clarification would quickly resolve the matter. They aren't > > > clear on their forms about very short business trips or actually working > > > for a company on a 3 month contract or a business man who goes to > > > Holland to solicit business and takes along his wife so she can shop or > > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > > minute phone call to Europe from Canada only costs a little over a > dollar, > > > I don't know about your costs. > > > > > > Also when you applied, Holland was going through a National election > > > where one of the major topics was Illegal Immigration and assylum > > > seekers. So there may have been political direction to be hesitant or > > > over zealous in the checking of visas, to avoid political embarassment > > > to the powers that be, during the election period. > > > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > > few years and can find my way around . You do learn skills as a civil > > > servant. Things like reading upside down and backwards > > > so you can read a letter on a desk you are not supposed to see. I can > > > carry two passports EU and Canadian and still get into trouble over > > > there with the regulations. > > > > > > > > > Shamil Salakhetdinov wrote: > > > > > > >THNX for your info Marty! > > > >Very much appreciated! > > > > > > > > > > > > > > > >> it isn't worth the hassle to complain > > > >>about some minor functionary or bureaucrat > > > >> > > > >> > > > >OK, I decided to reapply for the Visum if they are asking to do so but > > I'd > > > >like to have some documents left on my hands(unfortunately I didn't > make > > the > > > >copy of the first Visa application) > > > > > > > >I'd like to write a letter to the head of the Consulate-General with > > request > > > >for their help of solving this small misapprehension ASAP - how should > I > > > >proceed with them to let me to pass this letter to him and to allow me > to > > > >meet with him/his representative and to officially register my letter > > with > > > >help request and explanation (my vision) of situation (of course > without > > any > > > >complaints)? > > > > > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > > >>residence in US (odds 1:100) > > > >> > > > >> > > > >You propose me to immigrate to the States? A plenty of work there and a > > room > > > >for five people? - I still prefer to stay here in Russia and find a way > > to > > > >freely travel around the World - should be doable but needs some time > to > > > >solve this without immigration to the States... > > > > > > > >Shamil > > > > > > <<< tail skipped for brevity >>> > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prosoft6 at hotmail.com Fri Mar 14 12:45:01 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri Mar 14 12:45:01 2003 Subject: [AccessD] Access/Oracle Message-ID: Mike, There is an article in the recent SQL Server Magazine. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 12:48:11 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 12:48:11 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Chris Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. Martin From mwhittinghill at symphonyinfo.com Fri Mar 14 12:58:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri Mar 14 12:58:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: <004801c2ea5c$1df547e0$0300000a@Pascal> What is Shengen States? Does that mean the European Union or is it something else? Just curious. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Friday, March 14, 2003 12:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 13:07:09 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 13:07:09 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047668707.3e7227e36b4bc@hosea.qub.ac.uk> Chris Susan and I did an article for someone on this subject. I cant rememebr who but am sure Susan has a link to it. Martin Quoting Chris Mackin : > William, > > Thank you, I will pass this along to the client, unfortunatley he of > course > has no idea what Jet is but this does provide a good argument that's > not > just my word. And yes, the other developer has tried an .adp and > didn't > like it and doesn't want to learn how to use them properly, but he does > know > someone in the company :(. > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 10:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 > > > http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC > 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 > -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp > > ...the fundamentals are that an mdb requires JET be loaded and that > JET > becomes the interface with SQL Server ...and you are thus stuck with > JET's > inherent weaknesses while gaining almost none of SQL Server's > strengths > ...an adp does not load JET and interfaces with SQL Server directly > ...unless there is a critical requirement for local tables, I can't > think of > a reason to use an mdb in a SQL Server environment ...other than the > developer doesn't understand adps and doesn't want to ...which > certainly > isn't a client reason for doing so. > > ...and even in the case of a critical requirement for local tables, > Charlotte (I think) just pointed out an XML solution for that using > adps. > HTH :) > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask > not > what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Chris Mackin" > To: > Sent: Friday, March 14, 2003 12:12 PM > Subject: [AccessD] ADP vs. MDB for SQL 2000 > > > > I am trying to convince a client that's rebuilding a DOS based system > with > > SQL Server 2000 and Access XP that the .adp format is superior to the > .mdb > > format for working with SQL Server back ends. Does anyone have any > articles > > or any "objective" materials that I could show to them? (Another > developer > > has them convinced that the .mdb format is the way to go) > > > > Thanks, > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From chris at denverdb.com Fri Mar 14 13:14:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 13:14:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Message-ID: Right now it's a FoxPro for DOS system and they currently don't run any Access applications. They only definites I'm aware of are the decisions to use AXP and SQL 2000 (They already have the server installed on their network with no databases on it). The number of user is pretty small right now, the amount of data is rather large and they do have some plans to connect to remote sites via internet in the not too distant future. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 14, 2003 11:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 13:14:29 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 13:14:29 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <1047668707.3e7227e36b4bc@hosea.qub.ac.uk> Message-ID: I will try to find it, thanks. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Friday, March 14, 2003 12:05 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADP vs. MDB for SQL 2000 Chris Susan and I did an article for someone on this subject. I cant rememebr who but am sure Susan has a link to it. Martin Quoting Chris Mackin : > William, > > Thank you, I will pass this along to the client, unfortunatley he of > course > has no idea what Jet is but this does provide a good argument that's > not > just my word. And yes, the other developer has tried an .adp and > didn't > like it and doesn't want to learn how to use them properly, but he does > know > someone in the company :(. > > Thanks, > Chris Mackin > www.denverdb.com > Denver Database Consulting, LLC > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 10:51 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 > > > http://www.informit.com/isapi/product_id~%7B5B9C9F4C-B894-4969-BAF5-65609CEC > 4982%7D/element_id~%7BE30B99EB-5B40-4D9D-8309-C1CC025D8D28%7D/st~%7BC301AE08 > -6EF7-4244-BA76-9EF357EB4ACF%7D/content/articlex.asp > > ...the fundamentals are that an mdb requires JET be loaded and that > JET > becomes the interface with SQL Server ...and you are thus stuck with > JET's > inherent weaknesses while gaining almost none of SQL Server's > strengths > ...an adp does not load JET and interfaces with SQL Server directly > ...unless there is a critical requirement for local tables, I can't > think of > a reason to use an mdb in a SQL Server environment ...other than the > developer doesn't understand adps and doesn't want to ...which > certainly > isn't a client reason for doing so. > > ...and even in the case of a critical requirement for local tables, > Charlotte (I think) just pointed out an XML solution for that using > adps. > HTH :) > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask > not > what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Chris Mackin" > To: > Sent: Friday, March 14, 2003 12:12 PM > Subject: [AccessD] ADP vs. MDB for SQL 2000 > > > > I am trying to convince a client that's rebuilding a DOS based system > with > > SQL Server 2000 and Access XP that the .adp format is superior to the > .mdb > > format for working with SQL Server back ends. Does anyone have any > articles > > or any "objective" materials that I could show to them? (Another > developer > > has them convinced that the .mdb format is the way to go) > > > > Thanks, > > Chris Mackin > > www.denverdb.com > > Denver Database Consulting, LLC > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 14 13:18:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri Mar 14 13:18:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> Message-ID: <01e801c2ea5e$62934800$b501010a@DAISY.local> > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From scott.marcus at ae.ge.com Fri Mar 14 13:51:01 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Fri Mar 14 13:51:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> So you are saying that they are needed more than rarely? Any project I work on is a judgment call on how the project needs to progress. I'm saying using them more than rarely is bad judgment and hense sloppy programming. Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 1:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Fri Mar 14 14:03:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri Mar 14 14:03:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> Message-ID: <001201c2ea65$217557d0$0300000a@Pascal> Thanks, I learned something today. Mark Whittinghill Symphony Information Services Minneapolis, Minnesota Email: mark at symphonyinfo.com Phone: 612-333-1311 ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, March 14, 2003 1:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From Wikipedia, the free encyclopedia. The name Schengen originates from a small town in Luxembourg. In March 1995, seven European Union countries signed a treaty to end internal border checkpoints and controls. More countries have joined the treaty over the past years. At present (February 2003), there are 15 Schengen countries, all in Europe. The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, Norway, Portugal, Spain and Sweden. The collected territories of these countries are known as the Schengen area. All countries except Norway and Iceland are European Union members. Conversely, the United Kingdom and Ireland are in the European Union but are not parties to the Schengen treaty. Source: http://www.eurovisa.info/SchengenCountries.htm ----- Original Message ----- From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From reische at mdh.org Fri Mar 14 14:08:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 14:08:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B17@NEWMAN_EXC> In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 14 14:15:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 14:15:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> Message-ID: <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> ...the things you learn on AccessD :)))) ...so if I get a visa for Germany, I can visit most of Europe on that visa now? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, March 14, 2003 2:17 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? http://www.wikipedia.org/wiki/Schengen_treaty Schengen treaty From Wikipedia, the free encyclopedia. The name Schengen originates from a small town in Luxembourg. In March 1995, seven European Union countries signed a treaty to end internal border checkpoints and controls. More countries have joined the treaty over the past years. At present (February 2003), there are 15 Schengen countries, all in Europe. The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, Norway, Portugal, Spain and Sweden. The collected territories of these countries are known as the Schengen area. All countries except Norway and Iceland are European Union members. Conversely, the United Kingdom and Ireland are in the European Union but are not parties to the Schengen treaty. Source: http://www.eurovisa.info/SchengenCountries.htm ----- Original Message ----- From: "Mark Whittinghill" To: Sent: Friday, March 14, 2003 10:01 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > What is Shengen States? Does that mean the European Union or is it > something else? Just curious. > > > Mark Whittinghill > Symphony Information Services > Minneapolis, Minnesota > Email: mark at symphonyinfo.com > Phone: 612-333-1311 > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Friday, March 14, 2003 12:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > Hi All, > > > > We made it! - I've got Visum to Netherlands (Shengen States) for myself > and > > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > > home on 03 of April 2003. > > > > Without your great moral support and hints of Marty I would have not had > > Visum today... > > And of course Onno van Shelven who is not on the list these days but who I > > contact from time to time with was the main helping hand - he helped me to > > define a concept and then edit/augment a letter, which I wrote and sent to > > the Consul and which made this incredible bombing effect and holed > > bureaucracy wall... > > > > Well, I had to pay second time for their services and I didn't hear any > > words of excuses or something like that but all that doesn't matter when > > what was almost impossible on Monday becomes a reality on Friday... > > > > THNX a lot again to everybody, > > Have nice weekend, > > Shamil :) > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Mar 14 14:17:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 14:17:00 2003 Subject: [AccessD] Using Global Connctions References: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> Message-ID: <002501c2ea66$9e042230$6101a8c0@amd2k512> ...ok guys ...is it going to be swords or pistols ...and where the hell is JC when a definitive rant is needed? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Marcus, Scott (GEAE, RHI Consulting)" To: Sent: Friday, March 14, 2003 2:49 PM Subject: RE: [AccessD] Using Global Connctions > So you are saying that they are needed more than rarely? Any project I work on > is a judgment call on how the project needs to progress. I'm saying using them > more than rarely is bad judgment and hense sloppy programming. > > Scott Marcus > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Friday, March 14, 2003 1:04 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > call, based solely on your own experiences. > > Drew > > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) > [mailto:scott.marcus at ae.ge.com] > Sent: Friday, March 14, 2003 6:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > "Global variables should be used where they need to be used, no more, no > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > use a > hammer when a screwdriver is needed (and I have a screwdriver), I would be a > pretty stupid person. On the same token, those who abuse global variables > think > they are needed in their case, otherwise they would not be using them. Why > program something when it isn't needed? The fact is, global variables are > rarely > needed and should be rarely used. That's crystal clear. > > Scott > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 14, 2003 5:55 AM > To: Drew Wutka > Subject: Re: [AccessD] Using Global Connctions > > > Hi Drew > > > Globals are just the broadest scope that you can have on a variable. You > > have procedural, modular, and global variables. Global variables should > be > > used where they need to be used, no more, no less. > > This crystal clear statement should be assimilated by everyone. > Thanks Drew! > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From StaRKeY at Wanadoo.nl Fri Mar 14 14:17:25 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 14:17:25 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <768A0EA6FF8CB34FA522978966E5D52E559D3A@bwam02msx.ae.ge.com> Message-ID: Guys, why argue over a couple of globals? Isn't the availability meant for those in need of them to do the job?:-P Have a nice friday.. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Marcus, Scott (GEAE, RHI Consulting) Sent: vrijdag 14 maart 2003 20:49 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions So you are saying that they are needed more than rarely? Any project I work on is a judgment call on how the project needs to progress. I'm saying using them more than rarely is bad judgment and hense sloppy programming. Scott Marcus -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, March 14, 2003 1:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions Absolutely not true. Saying that Globals are rarely needed is a judgement call, based solely on your own experiences. Drew -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Friday, March 14, 2003 6:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Global Connctions "Global variables should be used where they need to be used, no more, no less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly use a hammer when a screwdriver is needed (and I have a screwdriver), I would be a pretty stupid person. On the same token, those who abuse global variables think they are needed in their case, otherwise they would not be using them. Why program something when it isn't needed? The fact is, global variables are rarely needed and should be rarely used. That's crystal clear. Scott -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 14, 2003 5:55 AM To: Drew Wutka Subject: Re: [AccessD] Using Global Connctions Hi Drew > Globals are just the broadest scope that you can have on a variable. You > have procedural, modular, and global variables. Global variables should be > used where they need to be used, no more, no less. This crystal clear statement should be assimilated by everyone. Thanks Drew! /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 14:29:01 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 14:29:01 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A709@PKDWB01C.ad.sprint.com> Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 14:30:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 14:30:07 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> <01e801c2ea5e$62934800$b501010a@DAISY.local> <001e01c2ea66$5a4a55a0$6101a8c0@amd2k512> Message-ID: <1047673798.3e723bc70690a@hosea.qub.ac.uk> How do you think terrorists move about so freely. Martin Quoting William Hindman : > ...the things you learn on AccessD :)))) > > ...so if I get a visa for Germany, I can visit most of Europe on that > visa now? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > ----- Original Message ----- > From: Shamil Salakhetdinov > To: accessd at databaseadvisors.com > Sent: Friday, March 14, 2003 2:17 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > What is Shengen States? > http://www.wikipedia.org/wiki/Schengen_treaty > Schengen treaty > From Wikipedia, the free encyclopedia. > > The name Schengen originates from a small town in Luxembourg. In March > 1995, seven European Union countries signed a treaty to end internal > border checkpoints and controls. More countries have joined the treaty > over the past years. At present (February 2003), there are 15 Schengen > countries, all in Europe. > > The 15 Schengen countries are: Austria, Belgium, Denmark, Finland, > France, Germany, Iceland, Italy, Greece, Luxembourg, the Netherlands, > Norway, Portugal, Spain and Sweden. The collected territories of these > countries are known as the Schengen area. > > All countries except Norway and Iceland are European Union members. > Conversely, the United Kingdom and Ireland are in the European Union but > are not parties to the Schengen treaty. > > Source: http://www.eurovisa.info/SchengenCountries.htm > > ----- Original Message ----- > > From: "Mark Whittinghill" > To: > Sent: Friday, March 14, 2003 10:01 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > What is Shengen States? Does that mean the European Union or is > it > > something else? Just curious. > > > > > > Mark Whittinghill > > Symphony Information Services > > Minneapolis, Minnesota > > Email: mark at symphonyinfo.com > > Phone: 612-333-1311 > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: > > Sent: Friday, March 14, 2003 12:17 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > Hi All, > > > > > > We made it! - I've got Visum to Netherlands (Shengen States) for > myself > > and > > > my two kids for twenty days today! I fly to Amsterdam on 20 March > 2003. I > > > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I > go back > > > home on 03 of April 2003. > > > > > > Without your great moral support and hints of Marty I would have > not had > > > Visum today... > > > And of course Onno van Shelven who is not on the list these days > but who I > > > contact from time to time with was the main helping hand - he > helped me to > > > define a concept and then edit/augment a letter, which I wrote and > sent to > > > the Consul and which made this incredible bombing effect and > holed > > > bureaucracy wall... > > > > > > Well, I had to pay second time for their services and I didn't > hear any > > > words of excuses or something like that but all that doesn't > matter when > > > what was almost impossible on Monday becomes a reality on > Friday... > > > > > > THNX a lot again to everybody, > > > Have nice weekend, > > > Shamil :) > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Mar 14 14:32:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 14:32:00 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: <003701c2e4ff$2c9c7640$b501010a@DAISY.local> <3E6A9D51.3080501@shaw.ca> <000d01c2e71b$10c95b40$b501010a@DAISY.local> <3E6CEB38.404@shaw.ca> <000d01c2e742$f2e70780$b501010a@DAISY.local> <01c301c2ea56$0733fd90$b501010a@DAISY.local> <004801c2ea5c$1df547e0$0300000a@Pascal> Message-ID: <3E723C26.5010204@shaw.ca> It was an agreement set up in 1985 between France Germany and BeneLux countries to close down border posts and allow free travel, no customs checks and immigration, don't know about residency. It has been expanded to other EU countries like Spain. In the small border town Schengen in Luxembourg in 1985, France, Germany, Belgium, Netherlands and Luxembourg entered into a cooperation agreement to realize the free movement of persons. This was to be achieved by abolishing checks of persons at the borders of these countries. In addition, they decided to strengthen checks at the external borders and to initiate far-reaching police cooperation, on landing your name goes in the SIS (Police & Interpol) database. The Convention implementing the Schengen Agreement, which contains provisions on practical measures to implement the Schengen Agreement entered into force in 1995. When a Member State fully applies the Schengen Convention and has removed its border controls in relation to other Schengen states, that country is an operative member. Which countries participate in Schengen cooperation? Sweden, Norway, Denmark, Finland, Iceland, France, Germany, Belgium, Netherlands, Luxembourg, Spain, Portugal, Greece, Italy and Austria. Ireland and the United Kingdom participate in certain parts of Schengen with cooperation only and they will continue to carry out checks on persons at borders. Come to think of it last time I was Ireland they had customs at Northern Ireland border and roving police checkpoints 50 miles further south. Maybe it was just the "Troubles". Some other countries are due to sigon in near future like Czech republic and Slovakia. Under the Schengen rules you must verify your identity when staying at a hotel, boarding-house or camping ground in a Schengen state. The type of identity document you will be required to present varies and is decided by each country. This may mean you need to have your passport with you. US and Canada dont need visas for short stays under 90 days in Schengen countries, but if say you land in Paris and travel on to Switzerland (non-schengen) you need an air transit visa from France, if say the arrival and the departure takes place in 2 different airports (Paris-Roissy and Paris-Orly), so it is wise to check ahead with consulate or really trust your travel agent. I carry two passports EU and Canadian so I don't bother with this a lot. You can get an EU passport in certain EU states if your paternal grandfather was born there. I just went through the rigamarole of renewing my EU passport this week, 10 years ago I paid 20 pounds now it's $165 CDN. sheesh.... Mark Whittinghill wrote: >What is Shengen States? Does that mean the European Union or is it >something else? Just curious. > > >Mark Whittinghill >Symphony Information Services >Minneapolis, Minnesota >Email: mark at symphonyinfo.com >Phone: 612-333-1311 >----- Original Message ----- >From: "Shamil Salakhetdinov" >To: >Sent: Friday, March 14, 2003 12:17 PM >Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > >>Hi All, >> >>We made it! - I've got Visum to Netherlands (Shengen States) for myself >> >> >and > > >>my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I >>plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back >>home on 03 of April 2003. >> >>Without your great moral support and hints of Marty I would have not had >>Visum today... >>And of course Onno van Shelven who is not on the list these days but who I >>contact from time to time with was the main helping hand - he helped me to >>define a concept and then edit/augment a letter, which I wrote and sent to >>the Consul and which made this incredible bombing effect and holed >>bureaucracy wall... >> >>Well, I had to pay second time for their services and I didn't hear any >>words of excuses or something like that but all that doesn't matter when >>what was almost impossible on Monday becomes a reality on Friday... >> >>THNX a lot again to everybody, >>Have nice weekend, >>Shamil :) >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Fri Mar 14 14:33:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 14:33:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <002501c2ea66$9e042230$6101a8c0@amd2k512> Message-ID: I already spoke up on the issue. Not in the Ranting mood at the moment. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 14, 2003 3:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...ok guys ...is it going to be swords or pistols ...and where the hell is JC when a definitive rant is needed? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Marcus, Scott (GEAE, RHI Consulting)" To: Sent: Friday, March 14, 2003 2:49 PM Subject: RE: [AccessD] Using Global Connctions > So you are saying that they are needed more than rarely? Any project I work on > is a judgment call on how the project needs to progress. I'm saying using them > more than rarely is bad judgment and hense sloppy programming. > > Scott Marcus > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Friday, March 14, 2003 1:04 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > call, based solely on your own experiences. > > Drew > > -----Original Message----- > From: Marcus, Scott (GEAE, RHI Consulting) > [mailto:scott.marcus at ae.ge.com] > Sent: Friday, March 14, 2003 6:29 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Using Global Connctions > > > "Global variables should be used where they need to be used, no more, no > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > use a > hammer when a screwdriver is needed (and I have a screwdriver), I would be a > pretty stupid person. On the same token, those who abuse global variables > think > they are needed in their case, otherwise they would not be using them. Why > program something when it isn't needed? The fact is, global variables are > rarely > needed and should be rarely used. That's crystal clear. > > Scott > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, March 14, 2003 5:55 AM > To: Drew Wutka > Subject: Re: [AccessD] Using Global Connctions > > > Hi Drew > > > Globals are just the broadest scope that you can have on a variable. You > > have procedural, modular, and global variables. Global variables should > be > > used where they need to be used, no more, no less. > > This crystal clear statement should be assimilated by everyone. > Thanks Drew! > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3232 bytes Desc: not available URL: From StaRKeY at Wanadoo.nl Fri Mar 14 14:36:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 14:36:01 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: OK, i say lets have a global arguement...LOL > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 14 maart 2003 21:33 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > I already spoke up on the issue. Not in the Ranting mood at the moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the hell is > JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask > what you can do for your country. My fellow citizens of the world: ask not > what America will do for you, but what together we can do for the freedom > of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project I > work on > > is a judgment call on how the project needs to progress. I'm saying > using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no more, no > > less"... well 'duh' but it doesn't make it "crystal clear". If I > knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I would > be > a > > pretty stupid person. On the same token, those who abuse global > variables > > think > > they are needed in their case, otherwise they would not be using them. > Why > > program something when it isn't needed? The fact is, global variables > are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a variable. > You > > > have procedural, modular, and global variables. Global variables > should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3476 bytes Desc: not available URL: From reische at mdh.org Fri Mar 14 14:37:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 14:37:01 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B18@NEWMAN_EXC> Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Fri Mar 14 14:54:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 14 14:54:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code References: <0FFC98AA5943D211A2E90000F87A5B48C86B18@NEWMAN_EXC> Message-ID: <011701c2ea6d$3b2f0fb0$6401a8c0@default> Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From reische at mdh.org Fri Mar 14 15:04:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 15:04:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B19@NEWMAN_EXC> Nope :-( Again - a blank results window where 10 lines should be.... I've got to skip out for the weekend, but I may take it home and mess with it there too. Thanks ! Brenda -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, March 14, 2003 3:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A97 - Apply filter to listbox via code Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 15:07:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 15:07:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A777@PKDWB01C.ad.sprint.com> hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:07:35 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:07:35 2003 Subject: [AccessD] A97 - Apply filter to listbox via code In-Reply-To: <011701c2ea6d$3b2f0fb0$6401a8c0@default> Message-ID: If that doesn't work either, I remember a similar situation where I used a function in the Like criteria in a query.. so the query didn't change (the actual sql) but the function returned a different string value which was placed within the *'s. Using the query this way as a source did work...as the query is run the stringvalue is entered by the function also giving you control over nulls or "" in your function. Eg. Query criteria would look something like this: Like * & MyStringFunction(any param) & * Hope this helps, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: vrijdag 14 maart 2003 22:04 To: accessd at databaseadvisors.com Subject: Re: [AccessD] A97 - Apply filter to listbox via code Brenda, Try the single quotes without the trailing * Mike Mattys ----- Original Message ----- From: "Reische, Brenda L." To: Sent: Friday, March 14, 2003 3:36 PM Subject: RE: [AccessD] A97 - Apply filter to listbox via code > Nope, that didn't do it.... > > > > -----Original Message----- > From: Mcgillivray, Donald [LTD] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Friday, March 14, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A97 - Apply filter to listbox via code > > Brenda, > > You need a single quote before your leading * and after your trailing one. > > HTH > > Don McGillivray > > -----Original Message----- > From: Reische, Brenda L. [mailto:reische at mdh.org] > Sent: Friday, March 14, 2003 12:08 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] A97 - Apply filter to listbox via code > > > > In my Access 97 database I have the following: > > > > Text box control (txtTitle) > > Search "button" (lblSearch) > > List box control (lstNew) > > > > > > The row source for lstNew is dynamically modified based on various controls > that the user clicks on. For example, I limit the listing to only those > items that start with "A" when the user clicks the A button. > > > I also need to let the user enter a word and click Search, then apply a > "filter" or WHERE to the listbox.rowsource > > > > I guess I'm just having problems with the syntax, because I always get empty > results on the form, but I can type in the expected string into a query and > get actual results. > > > > I've tried every syntactical string I can think of, but cannot get the > results I need. > > > > > > Here is the SQL statement I have for the listbox version: > > > > lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], > [qrySearchTitle].[Subject]," & _ > > "[qrySearchTitle].[Number], [qrySearchTitle].[Type], > [qrySearchTitle].[DeptName]," & _ > > "[qrySearchTitle].[DateEff] " & _ > > "FROM qrySearchTitle " & _ > > "WHERE [qrySearchTitle].[Subject] Like *" & > [Forms]![frmSearchTitle]![txtTitle] & _ > > "* ORDER BY [qrySearchTitle].[Subject];" > > > > The following SQL statement in a query window DOES work: > > > > SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, > qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, > qrySearchTitle.DateEff > > FROM qrySearchTitle > > WHERE (((qrySearchTitle.Subject) Like "*computer*")) > > ORDER BY qrySearchTitle.Subject; > > > > I have tried modifying the syntax of the first statement fourteen ways to > Sunday, but I cannot get the results to open !!! > > > > Does anyone have any suggestions for making this work???????? > > > > TIA > > Brenda Reische > > Application Support Analyst > > McDonough District Hospital > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Mar 14 15:08:09 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 14 15:08:09 2003 Subject: [AccessD] OT directory folder as URL References: Message-ID: <3E724477.9000903@shaw.ca> Well in IE in place of http url You can use file://c:\MyDir\MySubdir Other odd forms of URL strings If you use the WebBrowser control there is a hidden XSL file applied by IE to an XML file that allows the expansion and contraction of the XML tree by pointing at the "+" and "-" images. So you may want to use your own XSL. The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL depending on the release version of XML you are using. If you want to see what it does, it can be retrieved in IE5 using the URL: Then view source res://msxml.dll/defaultss.xsl Jim Lawrence (AccessD) wrote: >Hi All: > >This is a little off topic. I have seen this done but have not been able to >duplicate it. How can an directory folder and drive letter be made from a >URL (web address)? > >TIA >Jim > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From wdhindman at bellsouth.net Fri Mar 14 15:15:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 15:15:00 2003 Subject: [AccessD] Using Global Connctions References: Message-ID: <002001c2ea6e$ce67b380$6101a8c0@amd2k512> ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the hell is > JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - ask > what you can do for your country. My fellow citizens of the world: ask not > what America will do for you, but what together we can do for the freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no more, no > > less"... well 'duh' but it doesn't make it "crystal clear". If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using them. Why > > program something when it isn't needed? The fact is, global variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From reische at mdh.org Fri Mar 14 15:17:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Fri Mar 14 15:17:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B1A@NEWMAN_EXC> Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mar 14 15:27:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 14 15:27:01 2003 Subject: [AccessD] Using Global Connctions Message-ID: It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:34:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:34:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code In-Reply-To: <0FFC98AA5943D211A2E90000F87A5B48C86B1A@NEWMAN_EXC> Message-ID: Why don't you just refer to the form's input txtbox and forget about 'Like'? (There's no Like in your other sql) You do need to use the single qoutes and then it should work. where X = '" & form.txtbox & "'" Or could it be case sensitive since the T is capitalized? BN, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Reische, Brenda L. Sent: vrijdag 14 maart 2003 22:16 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 14 15:36:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 14 15:36:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Must be his period...;-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: vrijdag 14 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Mar 14 15:45:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Fri Mar 14 15:45:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFD2A7E4@PKDWB01C.ad.sprint.com> In this snip, I notice that a closing parenthesis is missing in the Where clause. Try removing the opening one or adding a closing one. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 1:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Private Sub lblSearch_Click() lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE ([qrySearchTitle].[Subject] Like '" & [Forms]![frmSearchTitle]![txtTitle] & _ "' ORDER BY [qrySearchTitle].[Subject];" lstNew.Requery End Sub This has really got to be something I'm doing, because I do this elsewhere in the same form and it works: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject], [qrySearchTitle].[Number], " & _ "[qrySearchTitle].[Type], [qrySearchTitle].[DeptName], [qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle WHERE Left([qrySearchTitle].[Subject],1)=""T"" ORDER BY [qrySearchTitle].[Subject];" It's just when I introduce the form input box as the WHERE expression that it blows chunks. I guess I'm trying to work too hard on Friday afternoon and it's fighting me! -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code hmmm. Worked for me in a quick demo I threw together. Assume you're requerying the listbox after changing the RowSource. -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:36 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A97 - Apply filter to listbox via code Nope, that didn't do it.... -----Original Message----- From: Mcgillivray, Donald [LTD] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, March 14, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A97 - Apply filter to listbox via code Brenda, You need a single quote before your leading * and after your trailing one. HTH Don McGillivray -----Original Message----- From: Reische, Brenda L. [mailto:reische at mdh.org] Sent: Friday, March 14, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] A97 - Apply filter to listbox via code In my Access 97 database I have the following: Text box control (txtTitle) Search "button" (lblSearch) List box control (lstNew) The row source for lstNew is dynamically modified based on various controls that the user clicks on. For example, I limit the listing to only those items that start with "A" when the user clicks the A button. I also need to let the user enter a word and click Search, then apply a "filter" or WHERE to the listbox.rowsource I guess I'm just having problems with the syntax, because I always get empty results on the form, but I can type in the expected string into a query and get actual results. I've tried every syntactical string I can think of, but cannot get the results I need. Here is the SQL statement I have for the listbox version: lstNew.RowSource = "SELECT [qrySearchTitle].[Hyperlink], [qrySearchTitle].[Subject]," & _ "[qrySearchTitle].[Number], [qrySearchTitle].[Type], [qrySearchTitle].[DeptName]," & _ "[qrySearchTitle].[DateEff] " & _ "FROM qrySearchTitle " & _ "WHERE [qrySearchTitle].[Subject] Like *" & [Forms]![frmSearchTitle]![txtTitle] & _ "* ORDER BY [qrySearchTitle].[Subject];" The following SQL statement in a query window DOES work: SELECT qrySearchTitle.Hyperlink, qrySearchTitle.Subject, qrySearchTitle.Number, qrySearchTitle.Type, qrySearchTitle.DeptName, qrySearchTitle.DateEff FROM qrySearchTitle WHERE (((qrySearchTitle.Subject) Like "*computer*")) ORDER BY qrySearchTitle.Subject; I have tried modifying the syntax of the first statement fourteen ways to Sunday, but I cannot get the results to open !!! Does anyone have any suggestions for making this work???????? TIA Brenda Reische Application Support Analyst McDonough District Hospital _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Fri Mar 14 15:45:34 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 14 15:45:34 2003 Subject: [AccessD] Using Global Connctions References: Message-ID: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> ...sheeesh! ...I'd forgotten that he has a new rugrat to occupy his time and energy these days ...no wonder he's rarely in a ranting mood anymore ...alas, AccessD without a JC rant ...it just won't be the same :((((( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, March 14, 2003 4:22 PM Subject: RE: [AccessD] Using Global Connctions > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 16:01:01 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 16:01:01 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: Message-ID: Tried searching the archives and couldn't find anything on this, was wondering if anyone knew of a good FE Updater that works with adp's? If there isn't one I'll probably try to update Ted Avery's but didn't want to re-invent the wheel. Thanks, Chris Mackin www.denverdb.com Denver Database Consulting, LLC From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 14 16:01:39 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 14 16:01:39 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> References: <005501c2ea72$ee4f7030$6101a8c0@amd2k512> Message-ID: <1047679253.3e72511546b06@hosea.qub.ac.uk> AccessD without a JC rant ...it just won't be the same :((((( But will sure be peaceful (<: Martin From jcolby at colbyconsulting.com Fri Mar 14 16:25:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 16:25:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Nope, just worried about the future. My two big clients wound down in December and January and I'm not making anywhere close to enough to pay the rent anymore. The economy isn't recovering, people are not only not hiring, they are still laying off. Not a good place to be. I need work if anyone has any! Top talent at reasonable prices ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Friday, March 14, 2003 4:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions It's more like JC mellowed out by fatherhood ... Or maybe too exhausted to rant today! Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, March 14, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions ...uh oh ...better check up on my end-times insurance ...JC not in a ranting mood is a sure sign of their coming :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 3:33 PM Subject: RE: [AccessD] Using Global Connctions > I already spoke up on the issue. Not in the Ranting mood at the > moment. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, March 14, 2003 3:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...ok guys ...is it going to be swords or pistols ...and where the > hell is JC when a definitive rant is needed? > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you > - ask > what you can do for your country. My fellow citizens of the world: ask > not what America will do for you, but what together we can do for the > freedom of > man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "Marcus, Scott (GEAE, RHI Consulting)" > To: > Sent: Friday, March 14, 2003 2:49 PM > Subject: RE: [AccessD] Using Global Connctions > > > > So you are saying that they are needed more than rarely? Any project > > I > work on > > is a judgment call on how the project needs to progress. I'm saying using > them > > more than rarely is bad judgment and hense sloppy programming. > > > > Scott Marcus > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Friday, March 14, 2003 1:04 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > Absolutely not true. Saying that Globals are rarely needed is a judgement > > call, based solely on your own experiences. > > > > Drew > > > > -----Original Message----- > > From: Marcus, Scott (GEAE, RHI Consulting) > > [mailto:scott.marcus at ae.ge.com] > > Sent: Friday, March 14, 2003 6:29 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Using Global Connctions > > > > > > "Global variables should be used where they need to be used, no > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > If I knowingly > > use a > > hammer when a screwdriver is needed (and I have a screwdriver), I > > would be > a > > pretty stupid person. On the same token, those who abuse global variables > > think > > they are needed in their case, otherwise they would not be using > > them. Why > > program something when it isn't needed? The fact is, global > > variables are > > rarely > > needed and should be rarely used. That's crystal clear. > > > > Scott > > > > -----Original Message----- > > From: Gustav Brock [mailto:gustav at cactus.dk] > > Sent: Friday, March 14, 2003 5:55 AM > > To: Drew Wutka > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hi Drew > > > > > Globals are just the broadest scope that you can have on a > > > variable. > You > > > have procedural, modular, and global variables. Global variables should > > be > > > used where they need to be used, no more, no less. > > > > This crystal clear statement should be assimilated by everyone. > > Thanks Drew! > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4096 bytes Desc: not available URL: From davesharpe2 at cox.net Fri Mar 14 17:04:01 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Fri Mar 14 17:04:01 2003 Subject: [AccessD] Check out what "Access 11" beta 2 gives you. References: Message-ID: <00ae01c2ea7d$ee34e250$1d270a44@bcs006137> I saw this at http://www.aadconsulting.com/news.html and thought that the group might have an interest Microsoft Office & Access Check out what "Access 11" beta 2 gives you. By Bill Ramos, Lead Program Manager, Microsoft Access and Excel http://www.advisor.com/doc/11854 -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Fri Mar 14 17:14:00 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri Mar 14 17:14:00 2003 Subject: [AccessD] Ted Avery Updater for ADP References: Message-ID: <002701c2ea7f$93370d40$b615010a@FHTAPIA> What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 14 17:33:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 17:33:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: <1047667429.3e7222e5efe77@hosea.qub.ac.uk> Message-ID: <034d01c2ea81$f76fdf60$2b4afccc@SusanOne> http://www.techrepublic.com/article.jhtml?id=r00620021204ssh01.htm&src=searc h ======This might be a tad unethical, but this article gives you an idea of when Access really is the best database -- might give you an edge on what the other guy's telling the decision makers. ;) I don't necessarily agree with Martin -- just because you have SQL Server isn't a good reason to go .adp, BUT if you have all the pieces and it's just a question of choice, why not? Susan H. > Chris > > Whats the application? How many users? etc all the usual stuff. Choice depends > on a lot of things. Does the customer need the power of SQL Server right now > or will they need it very soon? If they are already using SQL Server I would > go Access XP and ADPs. > > > Martin > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Mar 14 17:55:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 14 17:55:00 2003 Subject: [AccessD] For Chris -- article on SQL Server Desktop Message-ID: <038601c2ea85$1d676320$2b4afccc@SusanOne> Here are some more links with a little info that may help. Susan H. http://www.techrepublic.com/article.jhtml?id=r00620030121ssh01.htm&src=searc h http://www.techrepublic.com/article.jhtml?id=r00620030218ssh01.htm&src=searc h From chris at denverdb.com Fri Mar 14 18:34:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 18:34:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <034d01c2ea81$f76fdf60$2b4afccc@SusanOne> Message-ID: Thanks Susan, Chris -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, March 14, 2003 4:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADP vs. MDB for SQL 2000 http://www.techrepublic.com/article.jhtml?id=r00620021204ssh01.htm&src=searc h ======This might be a tad unethical, but this article gives you an idea of when Access really is the best database -- might give you an edge on what the other guy's telling the decision makers. ;) I don't necessarily agree with Martin -- just because you have SQL Server isn't a good reason to go .adp, BUT if you have all the pieces and it's just a question of choice, why not? Susan H. > Chris > > Whats the application? How many users? etc all the usual stuff. Choice depends > on a lot of things. Does the customer need the power of SQL Server right now > or will they need it very soon? If they are already using SQL Server I would > go Access XP and ADPs. > > > Martin > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 14 18:43:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri Mar 14 18:43:00 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: <002701c2ea7f$93370d40$b615010a@FHTAPIA> Message-ID: Thanks Francisco, I'll download it and take a look. Chris Mackin www.denverdb.com Denver Database Consulting, LLC -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, March 14, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Ted Avery Updater for ADP What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 19:37:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 19:37:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... In-Reply-To: <01c301c2ea56$0733fd90$b501010a@DAISY.local> Message-ID: Congratulations... Persistance wins everytime. If you should make it to this side of the pond, you and your family could travel for a couple of months and not have to stay in a hotel. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, March 14, 2003 10:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... Hi All, We made it! - I've got Visum to Netherlands (Shengen States) for myself and my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back home on 03 of April 2003. Without your great moral support and hints of Marty I would have not had Visum today... And of course Onno van Shelven who is not on the list these days but who I contact from time to time with was the main helping hand - he helped me to define a concept and then edit/augment a letter, which I wrote and sent to the Consul and which made this incredible bombing effect and holed bureaucracy wall... Well, I had to pay second time for their services and I didn't hear any words of excuses or something like that but all that doesn't matter when what was almost impossible on Monday becomes a reality on Friday... THNX a lot again to everybody, Have nice weekend, Shamil :) ----- Original Message ----- From: "Shamil Salakhetdinov" To: Sent: Monday, March 10, 2003 11:23 PM Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > THNX Marty, > > I will give it another try to solve the problem without complaints - if no > result then maybe I will go compainingt o the Head Office. But the chances > are very high that they will not accept any of my complaints and will play > fool - or you've any success stories when complaints helped to solve the > situations like that mine? > > TIA for any additional info, > Shamil > > ----- Original Message ----- > From: "MartyConnelly" > To: > Sent: Monday, March 10, 2003 10:44 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > I would complain (umm... make a request for clarification or advice) to > > the Head Office rather than locally. "Better to complain to the organ > > grinder than the monkey". This is an English aphorism > > referring to street buskers who would play a portable windup organ and > > have a little monkey running around with a cup to collect spare change. > > > > Here is the mailing address for Ministry in the Hague > > The Netherlands Ministry of Foreign Affairs > > > > Visitors Address: > > Bezuidenhoutseweg 67, The Hague > > tel. +31 70 3486486; > > fax. + 31 70 3484848; > > > > The Netherlands Ministry of Foreign Affairs > > Postal Address: > > PO Box 20061 > > 2500 EB The Hague > > > > Or email complaint page > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > 2X55346X5 > > or > > > > If you have any questions, please check the Frequently Asked Questions > > first. If you have still not found an answer to your question, then you > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > see: in english Visa Applications > > > > http://www.immigratiedienst.nl/ > > > > Probably a phone call to their communication department in external > > affairs for clarification would quickly resolve the matter. They aren't > > clear on their forms about very short business trips or actually working > > for a company on a 3 month contract or a business man who goes to > > Holland to solicit business and takes along his wife so she can shop or > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > minute phone call to Europe from Canada only costs a little over a dollar, > > I don't know about your costs. > > > > Also when you applied, Holland was going through a National election > > where one of the major topics was Illegal Immigration and assylum > > seekers. So there may have been political direction to be hesitant or > > over zealous in the checking of visas, to avoid political embarassment > > to the powers that be, during the election period. > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > few years and can find my way around . You do learn skills as a civil > > servant. Things like reading upside down and backwards > > so you can read a letter on a desk you are not supposed to see. I can > > carry two passports EU and Canadian and still get into trouble over > > there with the regulations. > > > > > > Shamil Salakhetdinov wrote: > > > > >THNX for your info Marty! > > >Very much appreciated! > > > > > > > > > > > >> it isn't worth the hassle to complain > > >>about some minor functionary or bureaucrat > > >> > > >> > > >OK, I decided to reapply for the Visum if they are asking to do so but > I'd > > >like to have some documents left on my hands(unfortunately I didn't make > the > > >copy of the first Visa application) > > > > > >I'd like to write a letter to the head of the Consulate-General with > request > > >for their help of solving this small misapprehension ASAP - how should I > > >proceed with them to let me to pass this letter to him and to allow me to > > >meet with him/his representative and to officially register my letter > with > > >help request and explanation (my vision) of situation (of course without > any > > >complaints)? > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > >>residence in US (odds 1:100) > > >> > > >> > > >You propose me to immigrate to the States? A plenty of work there and a > room > > >for five people? - I still prefer to stay here in Russia and find a way > to > > >freely travel around the World - should be doable but needs some time to > > >solve this without immigration to the States... > > > > > >Shamil > > > > <<< tail skipped for brevity >>> > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Mar 14 19:41:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Fri Mar 14 19:41:00 2003 Subject: [AccessD] VB.Net stuff Message-ID: I thought you folks might be interested in looking at some of the features that .net exposes. The following is a class directly from "Programming VB.net" by Francesco Balena. It is fascinating (to me anyway) as it clearly displays the usage of a whole slew of functionality built in to the .net environment. It was really an exercise in demonstrating the ability to add enumerators to any class (where appropriate) so that people using your class could use "for each" constructs with your classes. This class iterates a disk path and returns the file name of each file or directory in turn. Please let's not get in to a "it could have been so much simpler". I have no idea whether that is true, and really don't much care. In fact I don't even understand all that is happening here! I am simply showing the code so that anyone who is interested can see how the author uses built in classes such as IEnumerator, and the built in stack class of the Systems.Collection namespace. Seriously cool built in functionality ready to be built upon. I built a wrapper function: Module Module1 Function TestGetEnumerator(ByVal strRoot As String) As String Dim f As System.IO.FileInfo Dim str As String 'enumerate all files in strRoot directory tree For Each f In New FileTree(strRoot) str = str & f.FullName & vbCrLf Next TestGetEnumerator = str End Function End Module Which I then used in the OnOpen event of a form to return a string of all the files and directories in a given path (hard coded), which I then place into a text box on a form. What I want to do is have the function be the datasource for a combo or list but I couldn't figure that out and needed to move on. ;-) The result is an EXE which I could mail to you which opens the form and displays the file names. Of course I can just as easily use the file name to do some processing on that file, likewise the class could be modified to return any of the file attributes - size, created date etc. The EXE is ~10k but of course requires that you have the .net environment on your computer. Anyone that uses the Windows Update feature to keep their system up to date with all of the latest patches has probably been offered the ability to download and install the .net environment needed to run my 10k exe. Anyway, the class is as follows - all copyrights belong to their owners, not me. Public Class FileTree Implements IEnumerable 'The search Path Public ReadOnly DirPath As String 'The constructor Sub New(ByVal DirPath As String) Me.DirPath = DirPath End Sub 'Return an enumeraable object(an instance of the inner class) Function GetEnumerator() As IEnumerator _ Implements IEnumerable.GetEnumerator Return New FileTreeEnumerator(DirPath) End Function 'The IEnumerator private object Class FileTreeEnumerator Implements IEnumerator Dim DirPath As String 'This variable contains the Enumerator object for the file list 'in the dir being scanned Dim FileEnumerator As IEnumerator 'This variable contains the stack of the Enumerator objects 'for subdirs of all pending directories Dim DirEnumerators As New System.Collections.Stack() 'a simple constructor Sub New(ByVal DirPath As String) 'Save the dir path Me.DirPath = DirPath 'manually call the reset method Reset() End Sub Sub Reset() Implements IEnumerator.Reset 'The dir object that represents the root object Dim di As New System.IO.DirectoryInfo(DirPath) 'get the Enumerator object for the file list, and reset it FileEnumerator = di.GetFiles.GetEnumerator FileEnumerator.Reset() 'get the enumerator object for the subdirectory list Dim dirEnum As IEnumerator = di.GetDirectories.GetEnumerator dirEnum.Reset() 'push it onto the stack DirEnumerators.Push(dirEnum) End Sub Function MoveNext() As Boolean Implements IEnumerator.MoveNext 'simply delegate to the file enumerator object If FileEnumerator.MoveNext Then 'it returned true so we can exit Return True End If 'if there are no files in the current directory, check 'for another subdirectory in the cuurrent directory Dim dirEnum As IEnumerator = _ CType(DirEnumerators.Peek, IEnumerator) 'check whether current subdirectory enumerator has more items Do Until dirEnum.MoveNext 'There are no more subdirectories on this level 'so we must pop another element of the stack DirEnumerators.Pop() If DirEnumerators.Count = 0 Then 'return false if no more subdirectories to scan Return False End If 'get the current enumerator dirEnum = CType(DirEnumerators.Peek, IEnumerator) Loop 'We can create a DirectoryInfo. Dim di As System.IO.DirectoryInfo = _ CType(dirEnum.Current, System.IO.DirectoryInfo) 'Store the file enumerator and reset it FileEnumerator = di.GetFiles.GetEnumerator FileEnumerator.Reset() 'Get the enumerator for the subdir list 'and reset it dirEnum = di.GetDirectories.GetEnumerator dirEnum.Reset() 'push it onto the stack DirEnumerators.Push(dirEnum) 'recursive call to process the file enumerator Return Me.MoveNext End Function 'The current property simply delegates to FileEnumerator.Current ReadOnly Property Current() As Object Implements IEnumerator.Current Get Return FileEnumerator.Current End Get End Property End Class End Class John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From accessd at shaw.ca Fri Mar 14 20:29:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 20:29:01 2003 Subject: [AccessD] OT directory folder as URL In-Reply-To: <3E724477.9000903@shaw.ca> Message-ID: Hi Marty: Thanks for that information. :-) What I was actually thinking of when asking the question was how a drive letter can be translated into a html address. For example I installed a small program on a computer that added a drive letter, say 'X'. The new drive now showed in the file explorer and could be accessed from any program as any other drive. The interesting thing was when the drive was selected it actually opening an http-webdav connection to a remote server. Now the $100.00 question. It should be simple attach a remote site to a drive letter...but how? Unfortunately, I can not find the little program that could create the remote drives or an evening of hacking would sate the curiosity. > res://msxml.dll/defaultss.xsl Very fascinating...worthy of further research. Now where and when exactly does the web browser actually use this XSL code? Again Thank you... Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, March 14, 2003 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT directory folder as URL Well in IE in place of http url You can use file://c:\MyDir\MySubdir Other odd forms of URL strings If you use the WebBrowser control there is a hidden XSL file applied by IE to an XML file that allows the expansion and contraction of the XML tree by pointing at the "+" and "-" images. So you may want to use your own XSL. The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL depending on the release version of XML you are using. If you want to see what it does, it can be retrieved in IE5 using the URL: Then view source res://msxml.dll/defaultss.xsl Jim Lawrence (AccessD) wrote: >Hi All: > >This is a little off topic. I have seen this done but have not been able to >duplicate it. How can an directory folder and drive letter be made from a >URL (web address)? > >TIA >Jim > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 14 20:48:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 14 20:48:00 2003 Subject: [AccessD] Ted Avery Updater for ADP In-Reply-To: <002701c2ea7f$93370d40$b615010a@FHTAPIA> Message-ID: Francisco: Excellent work. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, March 14, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Ted Avery Updater for ADP What a perfect oportunity to TOOT my own horn ;o). I just wrote a front end updater that will work with a local fileserver or for over the web updating. Of course you'll need VB to compile it but I can send you the exe and Ini file so you can work play with it... it essentially does this... Checks the server for a new version, when found it asks the user if they want to d/l it.. it will auto check if a copy is available on the fileserver otherwise it looks at the entries in the INI for the web server. When complete it launches the file downloaded. The one thing I did not add to this version was killing the source app that calls it, I considered it but did not add it here, maybe on the next release... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44005&ln gWId=1 -Francisco http://rcm.netfirms.com On Friday, March 14, 2003 1:59 PM [GMT-8], Chris Mackin wrote: : Tried searching the archives and couldn't find anything on this, was : wondering if anyone knew of a good FE Updater that works with adp's? : If there isn't one I'll probably try to update Ted Avery's but didn't : want to re-invent the wheel. : : Thanks, : Chris Mackin : www.denverdb.com : Denver Database Consulting, LLC : : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Sat Mar 15 01:30:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sat Mar 15 01:30:00 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Mmzzz sorry to hear that. if it's any comfort to you, business is very slow here too, many of my colleagues (about 50) have been laid of already and the market is still fragile. I am lucky to be in a job right now but that doesn't make the situation any better since our company in the whole isn't doing very well so ... Hope you'll find some work soon! > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 14 maart 2003 23:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down in > December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they are > still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com --- Message is tested virus free Virus Database (VPS): 14-3-2003 Tested on: 15-3-2003 8:23:24 (c) 2000-2003 ALWIL Software. http://www.avast.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4648 bytes Desc: not available URL: From accessd at shaw.ca Sat Mar 15 01:31:27 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat Mar 15 01:31:27 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: Hi John: A friend is trying to talk me in to going to Toronto, Arthur's country. he says there is lots of work there. He just got on full-time at a place after only two weeks. He says it is the hottest place in North America. If things ever dried up here might take him up on it. Have a couple hundred relatives back there. (wife is Portuguese.) Just a thought. Jim > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: Friday, March 14, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down in > December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they are > still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for you - > ask what you can do for your country. My fellow citizens of the world: > ask not what America will do for you, but what together we can do for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for you > > > - > ask > > what you can do for your country. My fellow citizens of the world: ask > > > not what America will do for you, but what together we can do for the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4484 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 02:22:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 02:22:01 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: References: Message-ID: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> I didnt say that I said Whats the application? How many users? etc all the usual stuff. Choice depends on a lot of things. Does the customer need the power of SQL Server right now or will they need it very soon? If they are already using SQL Server I would go Access XP and ADPs. If I have to develop an interface to SQL Server Its an ADP. End of day it has to be the right tool for the job. Martin > I don't necessarily agree with Martin -- just because you have SQL > Server > isn't a good reason to go .adp, BUT if you have all the pieces and it's > just > a question of choice, why not? > > Susan H. > > > > Chris > > > > Whats the application? How many users? etc all the usual stuff. > Choice > depends > > on a lot of things. Does the customer need the power of SQL Server > right > now > > or will they need it very soon? If they are already using SQL Server > I > would > > go Access XP and ADPs. > > > > > > Martin > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sat Mar 15 02:32:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 15 02:32:00 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 References: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> Message-ID: <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> If they are already using SQL Server I would go Access XP and ADPs. Susan H. > I didnt say that I said > > > Whats the application? How many users? etc all the usual stuff. > Choice depends on a lot of things. Does the customer need the power of SQL > Server right now or will they need it very soon? If they are already using SQL > Server I would go Access XP and ADPs. > > If I have to develop an interface to SQL Server Its an ADP. > > End of day it has to be the right tool for the job. > > Martin > > > > > I don't necessarily agree with Martin -- just because you have SQL > > Server > > isn't a good reason to go .adp, BUT if you have all the pieces and it's > > just > > a question of choice, why not? > > > > Susan H. > > > > > > > Chris > > > > > > Whats the application? How many users? etc all the usual stuff. > > Choice > > depends > > > on a lot of things. Does the customer need the power of SQL Server > > right > > now > > > or will they need it very soon? If they are already using SQL Server > > I > > would > > > go Access XP and ADPs. > > > > > > > > > Martin > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Sat Mar 15 02:44:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 15 02:44:01 2003 Subject: [AccessD] OT directory folder as URL References: Message-ID: <3E72E7DC.4030408@shaw.ca> WebDav or as MS calls it DAV (Direct Author Versioning) allows you to do this. It is an an extension to HTTP protocols. WebDav sits on top of IIS 5 or PWS or Apache on Linux box.. SharePoint Portal uses it extensively, so does MS Exchange. To search a Public Web File Directory (for a local or remote file) setup by WebDav, you use XMLhttp, through a request like below: The xmlhttp request object uses methods like SEARCH or PROPFIND rather than GET and POST. Select "DAV:displayname" FROM SCOPE() For a better VB code example using xmlhttp see: http://support.microsoft.com/default.aspx?scid=kb;en-us;291171 HOWTO: List Public Folders by Using WebDAV Ok how it hooks to Windows explorer as a drive I am not sure but there is a program called WebDev that does something like this at http://www.dmcsoft.com/webdev/download/index.php3 There is a DAV mail list at www.webdav.org The second question is easy when you double click an XML file in Windows explorer It is displayed in IE after being transformed by the XSL or XSLT file defaultss.xsl into HTML script allowing you to click on "+" symbols to shrink or expand the tree. View the html source of xml file, displayed in IE and the original xml file in notepad to see difference. The code to do this your self Dim source As New Msxml2.DOMDocument40 Dim stylesheet As New Msxml2.DOMDocument40 ' Load data. from your xml file source.async = False source.Load "books.xml" ' Load style sheet. 'save the viewable html source into a notepad file after typing in url into IE ' res://msxml.dll/defaultss.xsl stylesheet.async = False stylesheet.Load "c:\xmlfiles\defaultss.xsl" ' Do the XSLT transform and save html into a string or display or save to an .html file MsgBox source.transformNode(stylesheet) Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for that information. :-) > >What I was actually thinking of when asking the question was how a drive >letter can be translated into a html address. For example I installed a >small program on a computer that added a drive letter, say 'X'. The new >drive now showed in the file explorer and could be accessed from any program >as any other drive. The interesting thing was when the drive was selected it >actually opening an http-webdav connection to a remote server. > >Now the $100.00 question. It should be simple attach a remote site to a >drive letter...but how? Unfortunately, I can not find the little program >that could create the remote drives or an evening of hacking would sate the >curiosity. > > > >>res://msxml.dll/defaultss.xsl >> >> > >Very fascinating...worthy of further research. Now where and when exactly >does the web browser actually use this XSL code? > >Again Thank you... > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, March 14, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT directory folder as URL > > >Well in IE in place of http url >You can use > >file://c:\MyDir\MySubdir > >Other odd forms of URL strings >If you use the WebBrowser control there is a hidden XSL file applied by IE >to an XML file that allows the expansion and contraction of the XML tree >by pointing at the "+" and "-" images. So you may want to use your own XSL. > The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL >depending on the release version of XML you are using. If you want to see >what it does, it can be retrieved in IE5 using the URL: Then view source > > res://msxml.dll/defaultss.xsl > > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>This is a little off topic. I have seen this done but have not been able to >>duplicate it. How can an directory folder and drive letter be made from a >>URL (web address)? >> >>TIA >>Jim >> >> >> From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 03:25:13 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 03:25:13 2003 Subject: [AccessD] ADP vs. MDB for SQL 2000 In-Reply-To: <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> References: <1047716488.3e72e2880f6b6@hosea.qub.ac.uk> <003901c2eacd$4e8acdf0$2f4afccc@SusanOne> Message-ID: <1047720292.3e72f1650236a@hosea.qub.ac.uk> You should be asleep Martin Quoting Susan Harkins : > If they are already using SQL > Server I would go Access XP and ADPs. > > Susan H. > > > > I didnt say that I said > > > > > > Whats the application? How many users? etc all the usual stuff. > > Choice depends on a lot of things. Does the customer need the power of > SQL > > Server right now or will they need it very soon? If they are already > using > SQL > > Server I would go Access XP and ADPs. > > > > If I have to develop an interface to SQL Server Its an ADP. > > > > End of day it has to be the right tool for the job. > > > > Martin > > > > > > > > > I don't necessarily agree with Martin -- just because you have SQL > > > Server > > > isn't a good reason to go .adp, BUT if you have all the pieces and > it's > > > just > > > a question of choice, why not? > > > > > > Susan H. > > > > > > > > > > Chris > > > > > > > > Whats the application? How many users? etc all the usual stuff. > > > Choice > > > depends > > > > on a lot of things. Does the customer need the power of SQL > Server > > > right > > > now > > > > or will they need it very soon? If they are already using SQL > Server > > > I > > > would > > > > go Access XP and ADPs. > > > > > > > > > > > > Martin > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Sat Mar 15 06:49:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 06:49:01 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> I need to make a table that lists the name of the engineer and their qualifications. To do this should I make a table of qualifications and another table of engineers - then how would I brink them together? Or have a list of qualifications and link to an engineer table? tblQual (lists the qualifications and brings in the eng from the engineer table). Senior eng, Me Senior eng, You Reviewer, Me The final result they are wanting is if they select a qualification, it will list all the engineers with the selected qualification. Also, if they select an engineer, it will show what they are qualified to do. Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:05:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:05:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEF9@exchange.pgdp> Message-ID: <1047733496.3e7324f8d14bf@hosea.qub.ac.uk> Create a Link Table QualificationHeld This is used to link the Employee to teh Qual Martin Quoting "Hollis,Virginia" : > I need to make a table that lists the name of the engineer and their > qualifications. To do this should I make a table of qualifications and > another table of engineers - then how would I brink them together? Or > have a > list of qualifications and link to an engineer table? > > tblQual (lists the qualifications and brings in the eng from the > engineer > table). > Senior eng, Me > Senior eng, You > Reviewer, Me > > The final result they are wanting is if they select a qualification, it > will > list all the engineers with the selected qualification. Also, if they > select > an engineer, it will show what they are qualified to do. > > Virginia > From HollisVJ at pgdp.usec.com Sat Mar 15 07:13:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:13:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> So even though I will have duplicate qualifications listed this is OK? Senior Eng, eng name 1 Senior Eng, eng name 2 Reviewer, eng name 1 Reviewer, eng name 3 -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Saturday, March 15, 2003 7:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Create a Link Table QualificationHeld This is used to link the Employee to teh Qual Martin Quoting "Hollis,Virginia" : > I need to make a table that lists the name of the engineer and their > qualifications. To do this should I make a table of qualifications and > another table of engineers - then how would I brink them together? Or > have a > list of qualifications and link to an engineer table? > > tblQual (lists the qualifications and brings in the eng from the > engineer > table). > Senior eng, Me > Senior eng, You > Reviewer, Me > > The final result they are wanting is if they select a qualification, it > will > list all the engineers with the selected qualification. Also, if they > select > an engineer, it will show what they are qualified to do. > > Virginia > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 15 07:13:23 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 15 07:13:23 2003 Subject: [AccessD] Using Global Connctions In-Reply-To: Message-ID: <00de01c2eaf4$98375c80$8e01a8c0@Rock> Your lucky friend. I haven't found anything for myself except one web contract. I'm still beating the bushes. > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: March 15, 2003 2:32 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Hi John: > > A friend is trying to talk me in to going to Toronto, Arthur's country. he > says there is lots of work there. He just got on full-time at a place > after only two weeks. He says it is the hottest place in North America. > > If things ever dried up here might take him up on it. Have a couple > hundred relatives back there. (wife is Portuguese.) > > Just a thought. > Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: Friday, March 14, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > Nope, just worried about the future. My two big clients wound down > in December and January and I'm not making anywhere close to enough to pay > the rent anymore. > > The economy isn't recovering, people are not only not hiring, they > are still laying off. Not a good place to be. > > I need work if anyone has any! Top talent at reasonable prices ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Friday, March 14, 2003 4:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connctions > > > It's more like JC mellowed out by fatherhood ... Or maybe too > exhausted > to rant today! > > Charlotte Foust > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, March 14, 2003 1:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > ...uh oh ...better check up on my end-times insurance ...JC not in a > ranting mood is a sure sign of their coming :( > > William Hindman > "And so, my fellow Americans: ask not what your country can do for > you - > ask what you can do for your country. My fellow citizens of the > world: > ask not what America will do for you, but what together we can do > for > the freedom of man." John F. Kennedy, 1961 > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Friday, March 14, 2003 3:33 PM > Subject: RE: [AccessD] Using Global Connctions > > > > I already spoke up on the issue. Not in the Ranting mood at the > > moment. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Friday, March 14, 2003 3:17 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > ...ok guys ...is it going to be swords or pistols ...and where the > > > hell is JC when a definitive rant is needed? > > > > William Hindman > > "And so, my fellow Americans: ask not what your country can do for > you > > > - > ask > > what you can do for your country. My fellow citizens of the world: > ask > > > not what America will do for you, but what together we can do for > the > > freedom > of > > man." John F. Kennedy, 1961 > > > > ----- Original Message ----- > > From: "Marcus, Scott (GEAE, RHI Consulting)" > > > To: > > Sent: Friday, March 14, 2003 2:49 PM > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > So you are saying that they are needed more than rarely? Any > project > > > > I > > work on > > > is a judgment call on how the project needs to progress. I'm > saying > using > > them > > > more than rarely is bad judgment and hense sloppy programming. > > > > > > Scott Marcus > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Friday, March 14, 2003 1:04 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > Absolutely not true. Saying that Globals are rarely needed is a > judgement > > > call, based solely on your own experiences. > > > > > > Drew > > > > > > -----Original Message----- > > > From: Marcus, Scott (GEAE, RHI Consulting) > > > [mailto:scott.marcus at ae.ge.com] > > > Sent: Friday, March 14, 2003 6:29 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Using Global Connctions > > > > > > > > > "Global variables should be used where they need to be used, no > > > more, no less"... well 'duh' but it doesn't make it "crystal > clear". > > > > If I > knowingly > > > use a > > > hammer when a screwdriver is needed (and I have a screwdriver), > I > > > would > be > > a > > > pretty stupid person. On the same token, those who abuse global > variables > > > think > > > they are needed in their case, otherwise they would not be using > > > > them. > Why > > > program something when it isn't needed? The fact is, global > > > variables > are > > > rarely > > > needed and should be rarely used. That's crystal clear. > > > > > > Scott > > > > > > -----Original Message----- > > > From: Gustav Brock [mailto:gustav at cactus.dk] > > > Sent: Friday, March 14, 2003 5:55 AM > > > To: Drew Wutka > > > Subject: Re: [AccessD] Using Global Connctions > > > > > > > > > Hi Drew > > > > > > > Globals are just the broadest scope that you can have on a > > > > variable. > > You > > > > have procedural, modular, and global variables. Global > variables > should > > > be > > > > used where they need to be used, no more, no less. > > > > > > This crystal clear statement should be assimilated by everyone. > > > Thanks Drew! > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > Try > > it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5264 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:28:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:28:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> Message-ID: <1047734854.3e732a46b2954@hosea.qub.ac.uk> You will not have duplicates Table one stores employees Table Two stores Qualifications Table three brings then together as Qualification held. A simple query will tell you who holds which Qual. Why do you need another table? Martin Quoting "Hollis,Virginia" : > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications > and > > another table of engineers - then how would I brink them together? > Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, > it > > will > > list all the engineers with the selected qualification. Also, if > they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 15 07:30:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 15 07:30:01 2003 Subject: [AccessD] Web Service In-Reply-To: <00de01c2eaf4$98375c80$8e01a8c0@Rock> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> Message-ID: <1047734961.3e732ab12033e@hosea.qub.ac.uk> Anyone know the address of a demo web service I can link to in an application. Martin From Lembit.Soobik at t-online.de Sat Mar 15 07:35:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat Mar 15 07:35:01 2003 Subject: [AccessD] Matching Names & Qualifications References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFA@exchange.pgdp> Message-ID: <0a5d01c2eaf7$e07aa170$0300a8c0@S856> Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Sat Mar 15 07:40:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:40:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFB@exchange.pgdp> Not another table, I guess the Qualifications Held table is what has me confused. I have Table one for Engineer (EngId, Eng) Table two for Quals (QualID, Qual) Table three (EngID & QualID)????? Or would it be Qual & EngID? -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Saturday, March 15, 2003 7:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Matching Names & Qualifications You will not have duplicates Table one stores employees Table Two stores Qualifications Table three brings then together as Qualification held. A simple query will tell you who holds which Qual. Why do you need another table? Martin Quoting "Hollis,Virginia" : > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications > and > > another table of engineers - then how would I brink them together? > Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, > it > > will > > list all the engineers with the selected qualification. Also, if > they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Sat Mar 15 07:52:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 07:52:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFC@exchange.pgdp> Ohhh, Got It! -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Saturday, March 15, 2003 7:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 15 07:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 15 07:58:00 2003 Subject: [AccessD] Web Service In-Reply-To: <1047734961.3e732ab12033e@hosea.qub.ac.uk> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> Message-ID: <17416728884.20030315145747@cactus.dk> Hi Martin At http://www.salcentral.com you can Browse among numerous. Some are free. You need to register but that is free. You can also join a mailing list where new services are published weekly. /gustav > Anyone know the address of a demo web service I can link to in an application. > Martin From HollisVJ at pgdp.usec.com Sat Mar 15 08:04:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 08:04:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFD@exchange.pgdp> Now I can bet you knew I was going to ask this question next :-) To make a form where they can select the Engineer so it will show all their qualifications. I make a combo box from tblEngineer (EngineerID & Engineer:FirstName&" "&LastName) A subform with: SELECT DISTINCTROW tbl_Qual.Qual, tbl_Qual.QualID, tbl_Engineer.EngineerID FROM tbl_Qual INNER JOIN (tbl_Engineer INNER JOIN tbl_EngQual ON tbl_Engineer.EngineerID = tbl_EngQual.EngineerID) ON tbl_Qual.QualID = tbl_EngQual.QualID; Hopefully when I select the Engineer from the combobox it will list all the Qualifications for that engineer in the subform. Virginia -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Saturday, March 15, 2003 7:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Matching Names & Qualifications Virginia, with 3 tables you can have a many to many relationship: tblEngineers IDengineer EngineerName tblQualifications IDqualification Qualification tblEngineerQualification IDenqual IDEngineer IDQualification in tblEngineers you have 1 Jack 2 Fred 3 Louis in tblQualifications you have 1 SeniorDesigner 2 JuniorDesigner 3 Reviewer and in tblEngineerQualification you can put as many combinations as you like 1 1 3 2 2 1 3 1 2 means Jack is a Reviewer and a Junior Designer while Fred is a Senior Designers Lembit Soobik ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Saturday, March 15, 2003 2:11 PM Subject: RE: [AccessD] Matching Names & Qualifications > So even though I will have duplicate qualifications listed this is OK? > > Senior Eng, eng name 1 > Senior Eng, eng name 2 > Reviewer, eng name 1 > Reviewer, eng name 3 > > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK > [mailto:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Saturday, March 15, 2003 7:05 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Matching Names & Qualifications > > > Create a Link Table > > QualificationHeld > > This is used to link the Employee to teh Qual > > Martin > > Quoting "Hollis,Virginia" : > > > I need to make a table that lists the name of the engineer and their > > qualifications. To do this should I make a table of qualifications and > > another table of engineers - then how would I brink them together? Or > > have a > > list of qualifications and link to an engineer table? > > > > tblQual (lists the qualifications and brings in the eng from the > > engineer > > table). > > Senior eng, Me > > Senior eng, You > > Reviewer, Me > > > > The final result they are wanting is if they select a qualification, it > > will > > list all the engineers with the selected qualification. Also, if they > > select > > an engineer, it will show what they are qualified to do. > > > > Virginia > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Sat Mar 15 09:01:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 09:01:01 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFF@exchange.pgdp> Never mind, I got the form working. Just one last question. I have an unbound combo box that lists the Engineers, then afterUpdate it shows the qualifications for the selected Engineer. Question: When the form opens the Engineer combobox is blank but the qualifications subform lists the qualifications. Should the form & subform open blank? How can I have the form open to a blank record? Or at least the first engineer & their qualifications. Virginia From DWUTKA at marlow.com Sat Mar 15 09:14:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat Mar 15 09:14:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> It's not strange. The method you had checks to see what the last object in the Forms collection is. As soon as the form is opened as it's own form, then all instances show up as being non-subforms. Drew You have a main form with your MC as a subform. You then open form MC as a main form and then the check fails? Strange. /gustav From andy at minstersystems.co.uk Sat Mar 15 10:38:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 15 10:38:01 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAEFF@exchange.pgdp> Message-ID: <003201c2eb10$cb313900$b274d0d5@andypc> Virginia How have you done the subform? Are you using Master and Child linking? If so is the main form bound to the Engineers table? Or is the subform bound to a query which has a criteria that looks at the combo on the main form? If you can describe how you've done it I/we can help more easily. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 15:01 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Never mind, I got the form working. > > Just one last question. > > I have an unbound combo box that lists the Engineers, then > afterUpdate it shows the qualifications for the selected Engineer. > > Question: When the form opens the Engineer combobox is blank > but the qualifications subform lists the qualifications. > Should the form & subform open blank? How can I have the form > open to a blank record? Or at least the first engineer & > their qualifications. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From HollisVJ at pgdp.usec.com Sat Mar 15 10:52:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 15 10:52:00 2003 Subject: [AccessD] Matching Names & Qualifications Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF03@exchange.pgdp> Note: Changed Engineer to Evaluator. Master & Child of the subform linked on EvaluatorID Subform: SELECT tbl_EvalQual.EvalQualID, tbl_EvalQual.QualID, tbl_EvalQual.EvaluatorID, tbl_EvalQual.DateQual FROM tbl_Qual INNER JOIN tbl_EvalQual ON tbl_Qual.QualID = tbl_EvalQual.QualID ORDER BY tbl_Qual.Qual; Main Form: tbl_Evaluator Combo for the Evaluator on Main form: SELECT DISTINCTROW tbl_Evaluator.EvaluatorID, [FirstName] & " " & [Lastname] AS Evaluator FROM tbl_Evaluator ORDER BY [FirstName] & " " & [Lastname]; I also did the same thing as above on another form to select the Qualifications and list the Evaluators that match the selected qualification. -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Saturday, March 15, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Matching Names & Qualifications Virginia How have you done the subform? Are you using Master and Child linking? If so is the main form bound to the Engineers table? Or is the subform bound to a query which has a criteria that looks at the combo on the main form? If you can describe how you've done it I/we can help more easily. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 15:01 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Never mind, I got the form working. > > Just one last question. > > I have an unbound combo box that lists the Engineers, then > afterUpdate it shows the qualifications for the selected Engineer. > > Question: When the form opens the Engineer combobox is blank > but the qualifications subform lists the qualifications. > Should the form & subform open blank? How can I have the form > open to a blank record? Or at least the first engineer & > their qualifications. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Mar 15 11:04:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sat Mar 15 11:04:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: <005a01c2ea50$630af160$346da8c0@D8TZHN0J> Message-ID: Mark, I also use globals for the db connection. This is a case where the connection is specific, a penalty is paid for creating / deleting it, and it is needed all over the app. The connection is not something that is going to be updated (written to) by pieces of the application, it is going to be created once and then used all over. That is a good candidate for a global. Globals tend to cause problems when they are *updated* from all over the place, and the reason is that is quite difficult to track down who is doing the updating when it is incorrectly updated. If for example a serial port is opened and closed by 10 different functions, one function tries to use the serial port and it is closed. Who closed it? It's supposed to be opened, but some process closed it unexpectedly. These kinds of problems can be a real bear to track down and fix. It becomes a bigger problem if the system is written and maintained by a team of programmers where nobody knows the whole story. Globals by definition are available to anyone at any time. Scope exists for a reason. If a variable is only used by a specific function, then it's variables have no business being global to the program (or even the module). If a variable is only used by code inside an instance of a class but needs to be accessed by several functions inside the class, then it should be defined inside the class (in the header) as a PRIVATE variable. Thus only code inside the class can modify the variable. If a variable needs to be shared by many functions inside of a module, but only these functions modify the variable, then the variable should be PRIVATE to that module. By making any of these variables truly Global to the project, you end up with things being (able to be) set by code that has no business setting the variable. On the other hand, if as in your example, a database connection is needed, and a function calls a function which calls a function, which needs that connection, why pass the connection through 3 functions that don't even need the connection simply so that the fourth function that does need it can have access to the connection? In a case like this, I tend to make the connection a private variable inside a module, with a function that initializes the variable when the db opens, and then define a function that READS the connection variable and returns the value. This in effect makes it read only. Anyone can call the function that gets the value, but since the variable is PRIVATE to the module, no one outside the module can write to it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 14, 2003 12:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connctions Hello All, I was not aware that a previous debate (sounds a little heated) had been already carried out. Sorry for duplicating the discussion. In the last few emails, Marcus was the only one that explicitly stated that he likes the idea of using Globals for a db connection. So leaving aside passing around an order nunber or a customer id as a global (which I would never even consider), what do you guys do to hand around a database connection? Do you use Globals or do you make the connction each time or do you use some kind of class. Any sample code would be interesting to read. What I do is have the following code in a module ' This will be the global connection that we will share, we open it once only and share it throughout the applications life Global gccnn As New ADODB.Connection Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data Source=PC1" and then in the first form_load I have ' Give it a connect string gccnn.ConnectionString = gcstrConStr ' And make the connection gccnn.Open What do you guys think of this strategy, should I use a class to pass it around. And if I am not using a class, do you think that it is a little bit untidy or is downright bad practice. Again, I am just curious what the rest of the world is doing in their apps. Thanks Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3908 bytes Desc: not available URL: From andy at minstersystems.co.uk Sat Mar 15 11:07:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 15 11:07:00 2003 Subject: [AccessD] Matching Names & Qualifications In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF03@exchange.pgdp> Message-ID: <003301c2eb14$eedc8d60$b274d0d5@andypc> OK, I'm still not 100% clear but I'm guessing that the main form is bound to your tbl_Evaluator and your AfterUpdate on the unbound combo moves you to the right record. At that point Access sorts out the subform through the Master and Child link. If this is the case then when the form loads Access automatically goes to the first tbl_Evaluator record in whatever sequence the form is bound to, and the subform will display that evaluator's qualifications. What you could do to prevent this is put some code in the OnOpen of the main form which goes to a non-existent record and then requery the subform. If you're using Autonumbers for the EvaluatorID (of course you are) then go to record with an id of -1. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 15 March 2003 16:51 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Matching Names & Qualifications > > > Note: Changed Engineer to Evaluator. > > > Master & Child of the subform linked on EvaluatorID > > Subform: > SELECT tbl_EvalQual.EvalQualID, tbl_EvalQual.QualID, > tbl_EvalQual.EvaluatorID, tbl_EvalQual.DateQual FROM tbl_Qual > INNER JOIN tbl_EvalQual ON tbl_Qual.QualID = > tbl_EvalQual.QualID ORDER BY tbl_Qual.Qual; > > Main Form: > tbl_Evaluator > > Combo for the Evaluator on Main form: > SELECT DISTINCTROW tbl_Evaluator.EvaluatorID, [FirstName] & " > " & [Lastname] AS Evaluator FROM tbl_Evaluator ORDER BY > [FirstName] & " " & [Lastname]; > > I also did the same thing as above on another form to select > the Qualifications and list the Evaluators that match the > selected qualification. > > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Saturday, March 15, 2003 10:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Matching Names & Qualifications > > > Virginia > How have you done the subform? Are you using Master and Child > linking? If so is the main form bound to the Engineers table? > Or is the subform bound to a query which has a criteria that > looks at the combo on the main form? If you can describe how > you've done it I/we can help more easily. > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > > Hollis,Virginia > > Sent: 15 March 2003 15:01 > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Matching Names & Qualifications > > > > > > Never mind, I got the form working. > > > > Just one last question. > > > > I have an unbound combo box that lists the Engineers, then > > afterUpdate it shows the qualifications for the selected Engineer. > > > > Question: When the form opens the Engineer combobox is blank > > but the qualifications subform lists the qualifications. > > Should the form & subform open blank? How can I have the form > > open to a blank record? Or at least the first engineer & > > their qualifications. > > > > Virginia > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From martyconnelly at shaw.ca Sat Mar 15 13:55:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat Mar 15 13:55:01 2003 Subject: [AccessD] Web Service References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> <17416728884.20030315145747@cactus.dk> Message-ID: <3E73850B.8030604@shaw.ca> You can try http://www.xmethods.com/ Some WebServices use either RPC or Document encoding on the SOAP server and so there are are Interop problems with older SOAP client toolkits and older Web Service Soap Servers which didn't implement them properly. So you may have to fiddle with some of them using different toolkits like MS or PocketSoap or IBM WebLogic. . For brief explanation see below : Document style is supposed to scale better. This one is good for Arguments, especially for those who didn't read Section 5 of W3C Soap Spec. http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html The BabelFish translation web service should work as described in XMethods site. Its been around as a standard for 2 years. Gustav Brock wrote: >Hi Martin > >At > > http://www.salcentral.com > >you can Browse among numerous. Some are free. >You need to register but that is free. > >You can also join a mailing list where new services are published >weekly. > >/gustav > > > > >>Anyone know the address of a demo web service I can link to in an application. >> >> > > > >>Martin >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From mmmtbig at bellsouth.net Sat Mar 15 14:09:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sat Mar 15 14:09:00 2003 Subject: [AccessD] Testing Please Ignore Message-ID: <002a01c2e717$7a88b980$6501a8c0@tbig3> Testing 3/10 10:12am -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Sat Mar 15 14:09:20 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Sat Mar 15 14:09:20 2003 Subject: [AccessD] Active Reports for Visual Basic 6 References: <20030314094212.EMGX5263.fep04-svc.ttys.com@localhost> Message-ID: <001001c2ea38$a208f780$c8c31344@tomvideo> You don't say what your backend is. If it's Access, test it directly in access. If it's Sql Server test it in an ADP or in Enterprise manager's Tools/Sql analizer. I've used version 1 and like it. I really like being able to build the recordset in the calling routine and pass it whole to the report. No, scratch that. I love it! Tom ----- Original Message ----- From: To: ; Sent: Friday, March 14, 2003 1:42 AM Subject: [AccessD] Active Reports for Visual Basic 6 > To all, > > Has anyone had any experience with Active Reports v2.0 for Visual Basic, if so I wondered if someone could help me with somthing (bearing in mind I only started using it yesterday). I have built a report using the ADO connector and I need it to buils the recordset on the fly. So I am trying to use the following method..... > > repPersonnelByOffice.dcRptData.Recordset = "SELECT * FROM [tblPersonnel] WHERE [FinishDate] Is Null ORDER BY [Office], [Surname]" > > But I get the error Type Mismatch and the whole line gets highlighted when I click debug. Now I can't see anything wrong with this, can anyone point out my mistakes please....... > > Thanks in advance. > > Paul Hartland > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Mar 15 14:14:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 15 14:14:00 2003 Subject: [AccessD] Testing Please Ignore References: <002a01c2e717$7a88b980$6501a8c0@tbig3> Message-ID: <001901c2eb2f$77547850$6101a8c0@amd2k512> Message...not a chance Myke :) ...are you posting directly through BellSouth or through Drew's SMPT? William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Myke Myers To: accessd at databaseadvisors.com Sent: Monday, March 10, 2003 10:12 AM Subject: [AccessD] Testing Please Ignore Testing 3/10 10:12am -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 15 19:35:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat Mar 15 19:35:00 2003 Subject: [AccessD] OT directory folder as URL In-Reply-To: <3E72E7DC.4030408@shaw.ca> Message-ID: Hi Marty: Many thanks...this will get me on the correct path. :-) Much appreciated! Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Saturday, March 15, 2003 12:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT directory folder as URL WebDav or as MS calls it DAV (Direct Author Versioning) allows you to do this. It is an an extension to HTTP protocols. WebDav sits on top of IIS 5 or PWS or Apache on Linux box.. SharePoint Portal uses it extensively, so does MS Exchange. To search a Public Web File Directory (for a local or remote file) setup by WebDav, you use XMLhttp, through a request like below: The xmlhttp request object uses methods like SEARCH or PROPFIND rather than GET and POST. Select "DAV:displayname" FROM SCOPE() For a better VB code example using xmlhttp see: http://support.microsoft.com/default.aspx?scid=kb;en-us;291171 HOWTO: List Public Folders by Using WebDAV Ok how it hooks to Windows explorer as a drive I am not sure but there is a program called WebDev that does something like this at http://www.dmcsoft.com/webdev/download/index.php3 There is a DAV mail list at www.webdav.org The second question is easy when you double click an XML file in Windows explorer It is displayed in IE after being transformed by the XSL or XSLT file defaultss.xsl into HTML script allowing you to click on "+" symbols to shrink or expand the tree. View the html source of xml file, displayed in IE and the original xml file in notepad to see difference. The code to do this your self Dim source As New Msxml2.DOMDocument40 Dim stylesheet As New Msxml2.DOMDocument40 ' Load data. from your xml file source.async = False source.Load "books.xml" ' Load style sheet. 'save the viewable html source into a notepad file after typing in url into IE ' res://msxml.dll/defaultss.xsl stylesheet.async = False stylesheet.Load "c:\xmlfiles\defaultss.xsl" ' Do the XSLT transform and save html into a string or display or save to an .html file MsgBox source.transformNode(stylesheet) Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for that information. :-) > >What I was actually thinking of when asking the question was how a drive >letter can be translated into a html address. For example I installed a >small program on a computer that added a drive letter, say 'X'. The new >drive now showed in the file explorer and could be accessed from any program >as any other drive. The interesting thing was when the drive was selected it >actually opening an http-webdav connection to a remote server. > >Now the $100.00 question. It should be simple attach a remote site to a >drive letter...but how? Unfortunately, I can not find the little program >that could create the remote drives or an evening of hacking would sate the >curiosity. > > > >>res://msxml.dll/defaultss.xsl >> >> > >Very fascinating...worthy of further research. Now where and when exactly >does the web browser actually use this XSL code? > >Again Thank you... > >Jim > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, March 14, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT directory folder as URL > > >Well in IE in place of http url >You can use > >file://c:\MyDir\MySubdir > >Other odd forms of URL strings >If you use the WebBrowser control there is a hidden XSL file applied by IE >to an XML file that allows the expansion and contraction of the XML tree >by pointing at the "+" and "-" images. So you may want to use your own XSL. > The default XSL stylesheet is a resource in MSXML.DLL or MSXML3.DLL >depending on the release version of XML you are using. If you want to see >what it does, it can be retrieved in IE5 using the URL: Then view source > > res://msxml.dll/defaultss.xsl > > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>This is a little off topic. I have seen this done but have not been able to >>duplicate it. How can an directory folder and drive letter be made from a >>URL (web address)? >> >>TIA >>Jim >> >> >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sat Mar 15 23:05:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 15 23:05:00 2003 Subject: [AccessD] Shared Access Calendar/ToDo Lists Message-ID: <000501c2eb79$abbb1550$6101a8c0@amd2k512> ...anyone out there know of a superior shared calendaring/To-Do list written in Access without using any third party controls? ...I need to implement such functionality across a 8-10 member workgroup within an existing AXP mdb ...preferably using only VBA/APIs ...and of course, don't want to reinvent the wheel if possible. William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 From DWUTKA at marlow.com Sun Mar 16 00:22:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun Mar 16 00:22:01 2003 Subject: [AccessD] Shared Access Calendar/ToDo Lists Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822CE@main2.marlow.com> Sorry, I'm a month or two away from having something like that available. Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/15/03 11:05 PM Subject: [AccessD] Shared Access Calendar/ToDo Lists ...anyone out there know of a superior shared calendaring/To-Do list written in Access without using any third party controls? ...I need to implement such functionality across a 8-10 member workgroup within an existing AXP mdb ...preferably using only VBA/APIs ...and of course, don't want to reinvent the wheel if possible. William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Mar 16 03:24:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun Mar 16 03:24:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822B3@main2.marlow.com> Message-ID: <157879654.20030316102314@cactus.dk> Hi Drew > It's not strange. The method you had checks to see what the last object in > the Forms collection is. As soon as the form is opened as it's own form, > then all instances show up as being non-subforms. No Drew, the first instance - where the form IS a subform - still reports itself as a subform here. The strange part is that this apparently does not happen to you ... /gustav > You have a main form with your MC as a subform. You then open form MC > as a main form and then the check fails? Strange. From mmmtbig at bellsouth.net Sun Mar 16 08:06:01 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 08:06:01 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <000901c2ebc5$1e6b5330$6501a8c0@tbig3> Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Sun Mar 16 09:48:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 16 09:48:01 2003 Subject: [AccessD] OpenSchema not working as expecting with query Message-ID: <007701c2ebd3$50328470$cde6ffcc@SusanOne> I'm using the following procedure to return the Description property from a table. I tried to run it using a query, but it doesn't work -- Description property returns Null, which is interesting -- not an error, but Null, even when there's a string. Anybody know more about this? I'm guessing OpenSchema doesn't return a query's Description property, but then, I would expect the rst!Description reference to return an error, but it doesn't. Even with On Error commented out, it still returns Null. Susan H. Public Function ReturnDescription(fldname As String) As String Dim rst As ADODB.Recordset Dim fld As ADODB.Field Set rst = CurrentProject.Connection. _ OpenSchema(adSchemaColumns, _ Array(Empty, Empty, "Customers")) Do Until rst.EOF For Each fld In rst.Fields On Error Resume Next If rst!COLUMN_NAME = fldname Then ReturnDescription = Nz( _ rst!Description, "") End If Next fld rst.MoveNext Loop Set rst = Nothing Set fld = Nothing End Function From martyconnelly at shaw.ca Sun Mar 16 13:24:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 16 13:24:01 2003 Subject: [AccessD] OpenSchema not working as expecting with query References: <007701c2ebd3$50328470$cde6ffcc@SusanOne> Message-ID: <3E74CF29.9040501@shaw.ca> I didn't know you could set a Queries field description property? Here is a different method using ADO 2.7 ADOX Catalog ?GetFieldDesc_ADO("Customers","ContactName") No description returns a null ?GetFieldDesc_ADO("Customers","Phone") returns a description Function GetFieldDesc_ADO(ByVal MyTableName As String, _ ByVal MyFieldName As String) Dim MyDB As New ADOX.Catalog Dim MyTable As ADOX.Table Dim MyField As ADOX.Column Dim oConnection As ADODB.Connection Dim sConnStr As String On Error GoTo Err_GetFieldDescription 'Access 2000 'MyDB.ActiveConnection = CurrentProject.Connection 'access 97 method 'Access XP Jet 4 version of northwind sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Program Files\Microsoft Office XP\Office10\Samples\Northwind.mdb;" & _ "User Id=admin;" & "Password=" ' Create and Open the Connection object. Set oConnection = New ADODB.Connection oConnection.CursorLocation = adUseClient oConnection.Open sConnStr MyDB.ActiveConnection = oConnection ' end access 97 Set MyTable = MyDB.Tables(MyTableName) GetFieldDesc_ADO = MyTable.Columns(MyFieldName).Properties("Description") Set MyDB = Nothing Bye_GetFieldDescription: Exit Function Err_GetFieldDescription: Beep MsgBox Err.Description, vbExclamation GetFieldDesc_ADO = Null Resume Bye_GetFieldDescription End Function Susan Harkins wrote: >I'm using the following procedure to return the Description property from a >table. I tried to run it using a query, but it doesn't work -- Description >property returns Null, which is interesting -- not an error, but Null, even >when there's a string. Anybody know more about this? I'm guessing OpenSchema >doesn't return a query's Description property, but then, I would expect the >rst!Description reference to return an error, but it doesn't. Even with On >Error commented out, it still returns Null. > >Susan H. > > > >Public Function ReturnDescription(fldname As String) As String >Dim rst As ADODB.Recordset >Dim fld As ADODB.Field >Set rst = CurrentProject.Connection. _ > OpenSchema(adSchemaColumns, _ > Array(Empty, Empty, "Customers")) > Do Until rst.EOF > For Each fld In rst.Fields > On Error Resume Next > If rst!COLUMN_NAME = fldname Then > ReturnDescription = Nz( _ > rst!Description, "") > End If > Next fld > rst.MoveNext > Loop >Set rst = Nothing >Set fld = Nothing >End Function > > > > > From harkins at iglou.com Sun Mar 16 13:47:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun Mar 16 13:47:00 2003 Subject: [AccessD] OpenSchema not working as expecting with query References: <007701c2ebd3$50328470$cde6ffcc@SusanOne> <3E74CF29.9040501@shaw.ca> Message-ID: <013f01c2ebf4$c0aaecd0$ece6ffcc@SusanOne> I didn't either until recently. :) If you set the property at the query-level, it'll override the table-level property in new objects. Thanks for the ADOX code! Susan H. ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, March 16, 2003 2:23 PM Subject: Re: [AccessD] OpenSchema not working as expecting with query > > I didn't know you could set a Queries field description property? > > Here is a different method using ADO 2.7 ADOX Catalog > ?GetFieldDesc_ADO("Customers","ContactName") > No description returns a null > > ?GetFieldDesc_ADO("Customers","Phone") > returns a description > > Function GetFieldDesc_ADO(ByVal MyTableName As String, _ > ByVal MyFieldName As String) > > Dim MyDB As New ADOX.Catalog > Dim MyTable As ADOX.Table > Dim MyField As ADOX.Column > Dim oConnection As ADODB.Connection > Dim sConnStr As String > On Error GoTo Err_GetFieldDescription > 'Access 2000 > 'MyDB.ActiveConnection = CurrentProject.Connection > 'access 97 method > 'Access XP Jet 4 version of northwind > sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=C:\Program Files\Microsoft Office > XP\Office10\Samples\Northwind.mdb;" & _ > "User Id=admin;" & "Password=" > > ' Create and Open the Connection object. > Set oConnection = New ADODB.Connection > oConnection.CursorLocation = adUseClient > oConnection.Open sConnStr > > MyDB.ActiveConnection = oConnection > ' end access 97 > Set MyTable = MyDB.Tables(MyTableName) > > GetFieldDesc_ADO = MyTable.Columns(MyFieldName).Properties("Description") > > Set MyDB = Nothing > > Bye_GetFieldDescription: > Exit Function > > Err_GetFieldDescription: > Beep > MsgBox Err.Description, vbExclamation > GetFieldDesc_ADO = Null > Resume Bye_GetFieldDescription > > End Function > > Susan Harkins wrote: > > >I'm using the following procedure to return the Description property from a > >table. I tried to run it using a query, but it doesn't work -- Description > >property returns Null, which is interesting -- not an error, but Null, even > >when there's a string. Anybody know more about this? I'm guessing OpenSchema > >doesn't return a query's Description property, but then, I would expect the > >rst!Description reference to return an error, but it doesn't. Even with On > >Error commented out, it still returns Null. > > > >Susan H. > > > > > > > >Public Function ReturnDescription(fldname As String) As String > >Dim rst As ADODB.Recordset > >Dim fld As ADODB.Field > >Set rst = CurrentProject.Connection. _ > > OpenSchema(adSchemaColumns, _ > > Array(Empty, Empty, "Customers")) > > Do Until rst.EOF > > For Each fld In rst.Fields > > On Error Resume Next > > If rst!COLUMN_NAME = fldname Then > > ReturnDescription = Nz( _ > > rst!Description, "") > > End If > > Next fld > > rst.MoveNext > > Loop > >Set rst = Nothing > >Set fld = Nothing > >End Function > > > > > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmmtbig at bellsouth.net Sun Mar 16 15:42:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 15:42:00 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <002301c2ec04$cd90abf0$6501a8c0@tbig3> Email Test from BellSouth.net at 3/16 4:42pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Sun Mar 16 16:56:00 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun Mar 16 16:56:00 2003 Subject: [AccessD] OT: Testing Please Ignore In-Reply-To: <002301c2ec04$cd90abf0$6501a8c0@tbig3> Message-ID: Well, you didn't say what time zone that 4:42pm is, but it showed up in Pacific time at 1:45 pm. So, if you are eastern zone, then it was just a variation of a couple minutes (and times our computers show). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Myke Myers > Sent: 16 Mar 2003 1:41:PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Testing Please Ignore > > > Email Test from BellSouth.net at 3/16 4:42pm From mmmtbig at bellsouth.net Sun Mar 16 18:17:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun Mar 16 18:17:00 2003 Subject: [AccessD] OT: Testing Please Ignore In-Reply-To: Message-ID: <002b01c2ec1a$7b94cf50$6501a8c0@tbig3> EST. It appears that Bellsouth.Net emails are posting now. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Sunday, March 16, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Testing Please Ignore Well, you didn't say what time zone that 4:42pm is, but it showed up in Pacific time at 1:45 pm. So, if you are eastern zone, then it was just a variation of a couple minutes (and times our computers show). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Myke Myers > Sent: 16 Mar 2003 1:41:PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Testing Please Ignore > > > Email Test from BellSouth.net at 3/16 4:42pm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Mar 16 18:29:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun Mar 16 18:29:01 2003 Subject: [AccessD] Web Service References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> Message-ID: <3E75169D.10509@shaw.ca> Mwp.Reid at Queens-Belfast.AC.UK wrote: >Anyone know the address of a demo web service I can link to in an application. > > >Martin > > > Here is some Access Code for a working web service Partial UK Postal Codes 'references to XML 4.0 Library & MS SoapType Library v3.0 ' http://www.webservicex.net/uklocation.asmx 'http://www.salcentral.com/asp/spec.asp?WSURL=http://www.webservicex.net/uklocation.asmx?WSDL ' http://www.webservicex.net/WS/default.aspx Function testMSSoap() 'this just returns an XML file string from web service 'for UK Postal Codes Dim soapClient Dim strWSDL As String Set soapClient = CreateObject("MSSOAP.SoapClient30") On Error Resume Next 'WSDL location and namespace info strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" Call soapClient.MSSoapInit(strWSDL, "", "", "") If Err <> 0 Then Debug.Print "initialization failed " + Err.Description End If On Error GoTo ErrSoap 'Get Postal code of town Debug.Print soapClient.GetUKLocationByTown("Largs") ' Get all UK towns,Postcode and County by Postcode(First Section of Post Code) Debug.Print soapClient.GetUKLocationByPostCode("KA30") Bye_testMSSoap: Exit Function ErrSoap: Beep MsgBox Err.Description, vbExclamation Debug.Print "faultcode=" & soapClient.FaultCode Debug.Print "faultstring=" & soapClient.FaultString Debug.Print "faultactor=" & soapClient.FaultActor Debug.Print "detail=" & soapClient.Detail testMSSoap = Null Resume Bye_testMSSoap End Function Function testMSSoapXML() 'this returns and parses an XML file string 'from webservice via xpath for UK Postal Codes Dim soapClient As Object Dim strWSDL As String Dim strXML As String Dim xslDoc As MSXML2.DOMDocument40 Dim xmlDoc As MSXML2.DOMDocument40 Set xmlDoc = New MSXML2.DOMDocument40 Set xslDoc = New MSXML2.DOMDocument40 Set soapClient = CreateObject("MSSOAP.SoapClient30") 'On Error Resume Next 'WSDL location strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" Call soapClient.MSSoapInit(strWSDL, "", "", "") If Err <> 0 Then Debug.Print "initialization failed " + Err.Description End If ' On Error GoTo ErrSoap 'Get Postal code of town 'Debug.Print soapClient.GetUKLocationByTown("Largs") ' Get all UK towns,Postcode and County by Postcode(First Section of Post Code) strXML = soapClient.GetUKLocationByPostCode("KA30") Debug.Print strXML xmlDoc.LoadXml strXML If xmlDoc.parseError <> 0 Then Debug.Print xmlDoc.parseError.reason & vbCrLf & _ xmlDoc.parseError.linepos & _ xmlDoc.parseError.Line & _ vbCrLf & xmlDoc.parseError.srcText End If Dim retXML As IXMLDOMNodeList Dim node As IXMLDOMNode 'XPath expression into select nodes 'tutorial at www.zvon.org Set retXML = xmlDoc.selectNodes("//NewDataSet") ' Table Names Dim i As Integer For Each node In retXML For i = 0 To node.childNodes.length - 1 MsgBox node.childNodes.Item(i).text Debug.Print node.childNodes.Item(i).text Next i Next node Bye_testMSSoap: Exit Function ErrSoap: Beep MsgBox Err.Description, vbExclamation Debug.Print "faultcode=" & soapClient.FaultCode Debug.Print "faultstring=" & soapClient.FaultString Debug.Print "faultactor=" & soapClient.FaultActor Debug.Print "detail=" & soapClient.Detail testMSSoap = Null Resume Bye_testMSSoap End Function From d.dick at uws.edu.au Sun Mar 16 19:33:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 19:33:00 2003 Subject: [AccessD] A2K: Send an SMS message via VBA Message-ID: Hello all Can this be done? Any links suggestions etc? Many thanks in advance Darren From d.dick at uws.edu.au Sun Mar 16 20:47:59 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 20:47:59 2003 Subject: [AccessD] A2K: This should be easy Message-ID: Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren From papparuff at attbi.com Sun Mar 16 21:04:01 2003 From: papparuff at attbi.com (John Ruff) Date: Sun Mar 16 21:04:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: Message-ID: <001f01c2ec31$ba869510$6401a8c0@papparuff> The DateAdd function should work DateAdd("n", -15, txtStartTime) John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: Sunday, March 16, 2003 6:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Sun Mar 16 21:15:01 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Sun Mar 16 21:15:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <001f01c2ec31$ba869510$6401a8c0@papparuff> Message-ID: Hi John Many many thanks. It was easy. . It's only 2:15pm Monday afternoon here - Time to go home me thinks Again many thanks Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, 17 March 2003 2:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy The DateAdd function should work DateAdd("n", -15, txtStartTime) John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: Sunday, March 16, 2003 6:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 16 21:17:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun Mar 16 21:17:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: Message-ID: <001401c2ec33$943df1d0$8e01a8c0@Rock> Sunday night and no one's answering so I'll risk a WAG. Subract the number of seconds for your Time1 to yield Time0. Deal with both times as Longs, do the subraction there, then format the result back to a time string. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Darren Dick Sent: March 16, 2003 9:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sun Mar 16 22:06:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Sun Mar 16 22:06:01 2003 Subject: [AccessD] How bout them apples Message-ID: A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From accessd at shaw.ca Mon Mar 17 00:43:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 00:43:01 2003 Subject: [AccessD] How bout them apples In-Reply-To: Message-ID: John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From DWUTKA at marlow.com Mon Mar 17 00:53:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 00:53:01 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or n ot? Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> Oh, wait a minute. It should work if it is called immediately on the form load event, because if I remember right, it was a static function, so it only 'checks' once. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, March 16, 2003 3:23 AM To: Drew Wutka Subject: Re: [AccessD] How do I tell if a form is opened as a subform or n ot? Hi Drew > It's not strange. The method you had checks to see what the last object in > the Forms collection is. As soon as the form is opened as it's own form, > then all instances show up as being non-subforms. No Drew, the first instance - where the form IS a subform - still reports itself as a subform here. The strange part is that this apparently does not happen to you ... /gustav > You have a main form with your MC as a subform. You then open form MC > as a main form and then the check fails? Strange. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 17 00:54:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 00:54:01 2003 Subject: [AccessD] OT: Testing Please Ignore Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 17 01:01:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 01:01:00 2003 Subject: [AccessD] A2K: This should be easy Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> I know people are going to post about the DateDiff function. But I'd like to get you thinking about what you are actually trying to do. Dates and Times are stored as numbers. The date is the whole number, which represents the number of days since 12-30-1899. Thus, since days are whole numbers, you can add or subtract days by simple math. (ie, to get tomorrow, it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 is midnight. Thus, you can also just simply add or subtract values to change the time. (ie, to get an hour from now, use Now()+(1/24)). Does that make sense? Also, another little known fact about the Date, Time and Now functions. They work both ways. If you use this line of code: Date=Date()+1 You've just set your systems date to tomorrow! Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Sunday, March 16, 2003 8:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Mar 17 01:22:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 01:22:00 2003 Subject: [AccessD] OT: Testing Please Ignore References: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> Message-ID: <001201c2ec55$e6e11080$6101a8c0@amd2k512> Message...testing from BellSouth :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 17, 2003 1:54 AM Subject: RE: [AccessD] OT: Testing Please Ignore Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 17 01:31:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 01:31:01 2003 Subject: [AccessD] OT: Testing ...BellSouth Now Working! References: <2F8793082E00D4119A1700B0D0216BF801D822D0@main2.marlow.com> <001201c2ec55$e6e11080$6101a8c0@amd2k512> Message-ID: <002901c2ec57$40049ff0$6101a8c0@amd2k512> Message...ok ...BellSouth is now working and no one did anything! ...pure fm :) ...only two weeks outage from a major ISP to dba! ...I'm impressed ...or depressed :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: William Hindman To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 2:22 AM Subject: Re: [AccessD] OT: Testing Please Ignore ...testing from BellSouth :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Monday, March 17, 2003 1:54 AM Subject: RE: [AccessD] OT: Testing Please Ignore Did this actually come from a BellSouth SMTP server? If so, William, if you are reading this, test your SMTP server, to see if BellSouth has fixed it. I haven't had a chance to hound them yet, maybe they fixed it on their own. (I have responses back from RoseHosting that I was going to hound BellSouth with tomorrow). Drew -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Sunday, March 16, 2003 8:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Testing Please Ignore Email Test from BellSouth.net at 3/16 9:05am -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 01:39:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 01:39:00 2003 Subject: [AccessD] Web Service In-Reply-To: <3E75169D.10509@shaw.ca> References: <00de01c2eaf4$98375c80$8e01a8c0@Rock> <1047734961.3e732ab12033e@hosea.qub.ac.uk> <3E75169D.10509@shaw.ca> Message-ID: <1047886711.3e757b7740f96@hosea.qub.ac.uk> Great Thanks Marty Quoting MartyConnelly : > Mwp.Reid at Queens-Belfast.AC.UK wrote: > > >Anyone know the address of a demo web service I can link to in an > application. > > > > > >Martin > > > > > > > Here is some Access Code for a working web service Partial UK Postal > Codes > > > 'references to XML 4.0 Library & MS SoapType Library v3.0 > ' http://www.webservicex.net/uklocation.asmx > 'http://www.salcentral.com/asp/spec.asp? WSURL=http://www.webservicex.net/uklocation.asmx?WSDL > ' http://www.webservicex.net/WS/default.aspx > > Function testMSSoap() > 'this just returns an XML file string from web service > 'for UK Postal Codes > Dim soapClient > Dim strWSDL As String > > Set soapClient = CreateObject("MSSOAP.SoapClient30") > On Error Resume Next > 'WSDL location and namespace info > strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" > > Call soapClient.MSSoapInit(strWSDL, "", "", "") > If Err <> 0 Then > Debug.Print "initialization failed " + Err.Description > End If > > On Error GoTo ErrSoap > 'Get Postal code of town > Debug.Print soapClient.GetUKLocationByTown("Largs") > > ' Get all UK towns,Postcode and County by Postcode(First Section of Post > > Code) > Debug.Print soapClient.GetUKLocationByPostCode("KA30") > > Bye_testMSSoap: > Exit Function > > ErrSoap: > Beep > MsgBox Err.Description, vbExclamation > Debug.Print "faultcode=" & soapClient.FaultCode > Debug.Print "faultstring=" & soapClient.FaultString > Debug.Print "faultactor=" & soapClient.FaultActor > Debug.Print "detail=" & soapClient.Detail > testMSSoap = Null > Resume Bye_testMSSoap > > End Function > > > Function testMSSoapXML() > 'this returns and parses an XML file string > 'from webservice via xpath for UK Postal Codes > > Dim soapClient As Object > Dim strWSDL As String > Dim strXML As String > Dim xslDoc As MSXML2.DOMDocument40 > Dim xmlDoc As MSXML2.DOMDocument40 > > Set xmlDoc = New MSXML2.DOMDocument40 > Set xslDoc = New MSXML2.DOMDocument40 > Set soapClient = CreateObject("MSSOAP.SoapClient30") > 'On Error Resume Next > 'WSDL location > strWSDL = "http://www.webservicex.net/uklocation.asmx?WSDL" > > Call soapClient.MSSoapInit(strWSDL, "", "", "") > If Err <> 0 Then > Debug.Print "initialization failed " + Err.Description > End If > > ' On Error GoTo ErrSoap > 'Get Postal code of town > 'Debug.Print soapClient.GetUKLocationByTown("Largs") > > ' Get all UK towns,Postcode and County by Postcode(First Section of Post > > Code) > strXML = soapClient.GetUKLocationByPostCode("KA30") > > Debug.Print strXML > > xmlDoc.LoadXml strXML > > If xmlDoc.parseError <> 0 Then > Debug.Print xmlDoc.parseError.reason & vbCrLf & _ > xmlDoc.parseError.linepos & _ > xmlDoc.parseError.Line & _ > vbCrLf & xmlDoc.parseError.srcText > End If > > Dim retXML As IXMLDOMNodeList > Dim node As IXMLDOMNode > 'XPath expression into select nodes 'tutorial at www.zvon.org > Set retXML = xmlDoc.selectNodes("//NewDataSet") ' Table Names > > Dim i As Integer > For Each node In retXML > For i = 0 To node.childNodes.length - 1 > MsgBox node.childNodes.Item(i).text > Debug.Print node.childNodes.Item(i).text > Next i > Next node > > Bye_testMSSoap: > Exit Function > > ErrSoap: > Beep > MsgBox Err.Description, vbExclamation > Debug.Print "faultcode=" & soapClient.FaultCode > Debug.Print "faultstring=" & soapClient.FaultString > Debug.Print "faultactor=" & soapClient.FaultActor > Debug.Print "detail=" & soapClient.Detail > testMSSoap = Null > Resume Bye_testMSSoap > > End Function > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mastercafe at ctv.es Mon Mar 17 03:16:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon Mar 17 03:16:00 2003 Subject: [AccessD] Intentional Errors In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897456@xlivmbx12.aig.com> Message-ID: We use the ON ERROR RESUME NEXT clausule to try and check intentional Errors. Where you put the intentional error use the next code: if err.number<>0 then 'clausule for take the error control 'remember be sure to put 0 on err.number for the next intentional error err.number=0 endif Juan Menendez Mastercafe -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Heenan, Lambert Enviado el: mi?rcoles, 12 de marzo de 2003 23:40 Para: Access-D Email (E-mail) Asunto: [AccessD] Intentional Errors Would anyone care to try to explain what could possibly be a problem with executing code which executes a statement that will either succeed or will generate an error, such as the recent "Am I a subform?" thread. As long as the error is being trapped, what would make anyone "uneasy" about this technique. To me it seem a perfectly valid approach, and to anyone who has ever written C++ or Java code it's second nature. That's what exception handling is all about. Try { //Some Code that might Error } Catch { //Handle the error condition } Lambert _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Mar 17 03:44:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 03:44:00 2003 Subject: [AccessD] How do I tell if a form is opened as a subform or not? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822CF@main2.marlow.com> Message-ID: <1206276945.20030317104327@cactus.dk> Hi Drew That's right. /gustav > Oh, wait a minute. It should work if it is called immediately on the form > load event, because if I remember right, it was a static function, so it > only 'checks' once. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Sunday, March 16, 2003 3:23 AM > To: Drew Wutka > Subject: Re: [AccessD] How do I tell if a form is opened as a subform or > not? > Hi Drew >> It's not strange. The method you had checks to see what the last object >> in >> the Forms collection is. As soon as the form is opened as it's own form, >> then all instances show up as being non-subforms. > No Drew, the first instance - where the form IS a subform - still > reports itself as a subform here. The strange part is that this > apparently does not happen to you ... > /gustav >> You have a main form with your MC as a subform. You then open form MC >> as a main form and then the check fails? Strange. From roz.clarke at donnslaw.co.uk Mon Mar 17 03:46:01 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 03:46:01 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Hey all I have a bit of a funny database spec for a call centre application (callers ringing to register insurance claims). The details taken from the customer cover a lot of different entities; the caller, their insurance policy, their car, the accident, the third party, the third party's car, the third party's insurance policy etc. My instinct is to create a table for each distinct entity. However, they will all have 1:1 relationships as there is only one instance of each entity per claim (the caller I would hold separate as we may handle more than one claim for them). This is a fairly 'disposable' (i.e. expected to be used only in the short term and never to be expanded) app. Would it be shockingly bad behaviour just to stuff everything into one table?? Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Mar 17 03:58:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 03:58:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <001f01c2ec31$ba869510$6401a8c0@papparuff> References: <001f01c2ec31$ba869510$6401a8c0@papparuff> Message-ID: <147112877.20030317105723@cactus.dk> Hi Darren and John > The DateAdd function should work > DateAdd("n", -15, txtStartTime) Be careful. If the textbox is unbound, it can contain anything. To be safe, you can wrap it in a validate check: If IsDate(txtStartTime) Then txtStartTime = DateAdd("n", -15, txtStartTime) End If /gustav > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 Oh, if it was that easy many things would look different. > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > So take away 15 from 11:00 should give me 10:45 > How do I do this. From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 03:59:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 03:59:00 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: <1047895116.3e759c4c7c43b@hosea.qub.ac.uk> Roz People can make mulitple claims over a period of time. The claim is opf a specific type. Am I missing something? The claim then could have multiple calls etc associated with it (Unless your a better insurance ocmpany than mine) Claims could come in from multiple parties. i.e carsh carsh and everyone in the 20 seater MVPV makes a claim. Martin Quoting Roz Clarke : > Hey all > > I have a bit of a funny database spec for a call centre application > (callers > ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; > the > caller, their insurance policy, their car, the accident, the third > party, > the third party's car, the third party's insurance policy etc. My > instinct > is to create a table for each distinct entity. However, they will all > have > 1:1 relationships as there is only one instance of each entity per > claim > (the caller I would hold separate as we may handle more than one claim > for > them). This is a fairly 'disposable' (i.e. expected to be used only in > the > short term and never to be expanded) app. Would it be shockingly bad > behaviour just to stuff everything into one table?? > > Roz > From gustav at cactus.dk Mon Mar 17 04:14:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 04:14:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <248060630.20030317111400@cactus.dk> Hi Drew > Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > Date=Date()+1 > You've just set your systems date to tomorrow! That is scary! I didn't know that. Why do you know such weird things? But it is only Date() and Time() that works this way, not Now(). /gustav From paulo at esb.ucp.pt Mon Mar 17 04:30:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 04:30:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Alpha Five A prototyping tool to rival Access.url Type: application/octet-stream Size: 327 bytes Desc: not available URL: From roz.clarke at donnslaw.co.uk Mon Mar 17 04:34:01 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 04:34:01 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C8318803956537@dibble.observatory.donnslaw.co.uk> Martin Yes people can make multiple claims over time. The claim can be one of 2 types (different policy types). Each claim is likely to have multiple calls but these are already logged in a generic call log database (the databases are interconnected through the user interface). All I'm interested in at the moment is the info describing the claim. The call centre will not be taking calls directly from the client, but from the local branch of their insurance company (we handle claims registering for a number of different insurers). Therefore there should only be one set of details per accident, as any passengers claiming will be claiming against the policyholder's insurance - and the claim will generally have passed out of our hands before anything like that gets processed anyway. Because of the way they work, if there were to be more than one claim per accident, they'd want the accident details duplicating anyway. Clear as mud?! Roz PS did I mention I have to have this built by tomorrow? -----Original Message----- From: Mwp.Reid at queens-belfast.ac.uk [mailto:Mwp.Reid at queens-belfast.ac.uk] Sent: 17 March 2003 09:59 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Normalisation Roz People can make mulitple claims over a period of time. The claim is opf a specific type. Am I missing something? The claim then could have multiple calls etc associated with it (Unless your a better insurance ocmpany than mine) Claims could come in from multiple parties. i.e carsh carsh and everyone in the 20 seater MVPV makes a claim. Martin Quoting Roz Clarke : > Hey all > > I have a bit of a funny database spec for a call centre application > (callers ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; > the caller, their insurance policy, their car, the accident, the third > party, > the third party's car, the third party's insurance policy etc. My > instinct > is to create a table for each distinct entity. However, they will all > have > 1:1 relationships as there is only one instance of each entity per > claim > (the caller I would hold separate as we may handle more than one claim > for > them). This is a fairly 'disposable' (i.e. expected to be used only in > the > short term and never to be expanded) app. Would it be shockingly bad > behaviour just to stuff everything into one table?? > > Roz > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Mon Mar 17 05:53:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon Mar 17 05:53:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Message-ID: <006301c2ec7b$b347b9b0$2900a8c0@BITSNB02> Maybe this is unfair, but the reviewer's access knowledge leaves a little to be desired. Particularly the following comment about drop down lists. "I came away from my experiment impressed by Alpha Five?s built-in field functionality, which usually exceeds that of Access. For example, date fields automatically have the capability of popping up a calendar. Drop-down lists can be created without being tied to a database and can display one value on the screen while storing a correlated value in the database." Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Paulo Alexandre Ramos Sent: Monday, 17 March, 2003 6:30 PM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 From HollisVJ at pgdp.usec.com Mon Mar 17 06:45:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon Mar 17 06:45:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Form 1: A form that is used for requesting services - a data entry form. Form 2: Used by the engineer to edit, update data from the request. Form 3: Additional data form needed to open for the User & Engineer The table has a RequestID as the PK A second table is used to store additional data, with the RequestID as FK. I need Form 3 to open from either Form 1 or Form 2. How do I set the RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and set the default to =Forms!Form1.RequestID. Of course this will not work on Form 2 because the default value for RequestID references Form 1. I do not want to create multiple forms to do the same thing - but if that is the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 and set the RequestID? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Mar 17 06:49:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 06:49:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <248060630.20030317111400@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <3E7650F8.16563.23F127C@localhost> > Hi Drew > > > Also, another little known fact about the Date, Time > > and Now functions. They work both ways. If you use this line of code: > > > Date=Date()+1 > > > You've just set your systems date to tomorrow! > > That is scary! I didn't know that. > Why do you know such weird things? > Because we've been using various BASICs for many years (in my case over 20) and once upon a time in DOS , we regularly used DATE and TIME to adjust the system clock. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Mon Mar 17 06:58:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 06:58:01 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: <3E76532E.2145.247B4BB@localhost> > Hey all > > I have a bit of a funny database spec for a call centre application (callers > ringing to register insurance claims). > > The details taken from the customer cover a lot of different entities; the > caller, their insurance policy, their car, the accident, the third party, > the third party's car, the third party's insurance policy etc. My instinct > is to create a table for each distinct entity. However, they will all have > 1:1 relationships as there is only one instance of each entity per claim > (the caller I would hold separate as we may handle more than one claim for > them). >This is a fairly 'disposable' (i.e. expected to be used only in the > short term and never to be expanded) app. Now where have I heard that before? Would it be shockingly bad > behaviour just to stuff everything into one table?? You need to ask questions like: How do you identify the third party - will you be able to/do you need to identify multiple claims concerning the same third party? Ditto for the 3rd party policy and vehicle. Without knowing what reporting/ data analysis you are looking at, it's impossible to tell how far you need to break it down/constrain data entry on the various entities. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Mon Mar 17 07:06:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:06:01 2003 Subject: [AccessD] One form for all References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Message-ID: <000a01c2ec85$faff0e20$6101a8c0@amd2k512> Virginia ...there are 2 ways off the top of my head 1) use the openargs to pass the RequestID 2) or use an ifthen in the onopen of form 3 to determine whether form 1 or 2 is open and set your filter accordingly ...probably other ways as well but HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Hollis,Virginia To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 7:44 AM Subject: [AccessD] One form for all Form 1: A form that is used for requesting services - a data entry form. Form 2: Used by the engineer to edit, update data from the request. Form 3: Additional data form needed to open for the User & Engineer The table has a RequestID as the PK A second table is used to store additional data, with the RequestID as FK. I need Form 3 to open from either Form 1 or Form 2. How do I set the RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and set the default to =Forms!Form1.RequestID. Of course this will not work on Form 2 because the default value for RequestID references Form 1. I do not want to create multiple forms to do the same thing - but if that is the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 and set the RequestID? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Mon Mar 17 07:08:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 07:08:01 2003 Subject: [AccessD] Normalisation In-Reply-To: <61F915314798D311A2F800A0C9C8318803956536@dibble.observatory.donnslaw.co.uk> Message-ID: NormalisationHi Roz: <> Not if there is only one contact instance... The application I worked was designed like so: The call request was comprised of two tables... - The first table had only two fields, the call number and the call status. - The second table had all the other fields for the rest of the detail. In many cases there was only one record in each table related to a specific call. But another record was created if the call was not closed because it was not resolved at one time or was escalated. Then each follow-up record connected to the initial record. One to many. Does this help? HTH Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Mar 17 07:10:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 07:10:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF0F@exchange.pgdp> Message-ID: <3E7655DD.29247.25230FC@localhost> > Form 1: A form that is used for requesting services - a data entry form. > Form 2: Used by the engineer to edit, update data from the request. > Form 3: Additional data form needed to open for the User & Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and > set the default to =Forms!Form1.RequestID. Of course this will not work on > Form 2 because the default value for RequestID references Form 1. > > I do not want to create multiple forms to do the same thing - but if that is > the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 > and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From accessd at shaw.ca Mon Mar 17 07:10:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 07:10:16 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <000901c2ec70$1dcd20b0$2202a8c0@esb.ucp.pt> Message-ID: Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u 00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 17 07:13:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:13:01 2003 Subject: [AccessD] Normalisation References: <61F915314798D311A2F800A0C9C8318803956537@dibble.observatory.donnslaw.co.uk> Message-ID: <001301c2ec86$e903ac20$6101a8c0@amd2k512> ...if it has to be "working" by tomorrow, build it flat and focus on the user interface and data validation ...you can always normalize later if necessary ...not the way anyone likes to do these things but we all have faced similar demands at one time or another ...HTH :) ...btw, you haven't told us lately just when the wedding date is :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Roz Clarke" To: Sent: Monday, March 17, 2003 5:36 AM Subject: RE: [AccessD] Normalisation > Martin > > Yes people can make multiple claims over time. The claim can be one of 2 > types (different policy types). Each claim is likely to have multiple calls > but these are already logged in a generic call log database (the databases > are interconnected through the user interface). All I'm interested in at the > moment is the info describing the claim. > > The call centre will not be taking calls directly from the client, but from > the local branch of their insurance company (we handle claims registering > for a number of different insurers). Therefore there should only be one set > of details per accident, as any passengers claiming will be claiming against > the policyholder's insurance - and the claim will generally have passed out > of our hands before anything like that gets processed anyway. > > Because of the way they work, if there were to be more than one claim per > accident, they'd want the accident details duplicating anyway. > > Clear as mud?! > > Roz > > PS did I mention I have to have this built by tomorrow? > > -----Original Message----- > From: Mwp.Reid at queens-belfast.ac.uk [mailto:Mwp.Reid at queens-belfast.ac.uk] > Sent: 17 March 2003 09:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Normalisation > > > Roz > > People can make mulitple claims over a period of time. The claim is opf a > specific type. Am I missing something? > > The claim then could have multiple calls etc associated with it (Unless your > a > better insurance ocmpany than mine) > > Claims could come in from multiple parties. i.e carsh carsh and everyone in > the 20 seater MVPV makes a claim. > > Martin > > > Quoting Roz Clarke : > > > Hey all > > > > I have a bit of a funny database spec for a call centre application > > (callers ringing to register insurance claims). > > > > The details taken from the customer cover a lot of different entities; > > the caller, their insurance policy, their car, the accident, the third > > party, > > the third party's car, the third party's insurance policy etc. My > > instinct > > is to create a table for each distinct entity. However, they will all > > have > > 1:1 relationships as there is only one instance of each entity per > > claim > > (the caller I would hold separate as we may handle more than one claim > > for > > them). This is a fairly 'disposable' (i.e. expected to be used only in > > the > > short term and never to be expanded) app. Would it be shockingly bad > > behaviour just to stuff everything into one table?? > > > > Roz > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Mar 17 07:15:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 07:15:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <22757104790528513283d0567@global.net.pg> References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> <22757104790528513283d0567@global.net.pg> Message-ID: <18118943128.20030317141522@cactus.dk> Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. From wdhindman at bellsouth.net Mon Mar 17 07:24:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 07:24:01 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <002401c2ec88$81db1040$6101a8c0@amd2k512> ...the only Access "replacement" I'd even spend time evaluating would have to be free/low cost, OpenSource, and Linux based, have a heck of a lot more power than a "scripting" language, strong import/export data abilities, and good merge integration with the OpenOffice or StarOffice word processors ...otherwise Access is far too strongly embedded in the real world to make it cost effective to even consider moving clients to :( ...just my two cents :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 8:12 AM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Mar 17 07:45:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon Mar 17 07:45:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: <002401c2ec88$81db1040$6101a8c0@amd2k512> References: <002401c2ec88$81db1040$6101a8c0@amd2k512> Message-ID: <6320718151.20030317144457@cactus.dk> Hi William > ...the only Access "replacement" I'd even spend time evaluating would have to be free/low cost, OpenSource, and Linux based, have a heck of a lot more power than a "scripting" language, strong > import/export data abilities, and good merge integration with the OpenOffice or StarOffice word processors ...otherwise Access is far too strongly embedded in the real world to make it cost > effective to even consider moving clients to :( You may wish to visit http://www.thekompany.com/products/ and have a look at BlackAdder and Rekall. They are not Access replacements but could fill some needs. /gustav From HollisVJ at pgdp.usec.com Mon Mar 17 07:46:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon Mar 17 07:46:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> What do I do if it is a new record they are adding to Form 3? When a new record is added using Form 3, the RequestID (FK) shows 0. I need it to enter the same RequestID as the opening form, whether it is Form 1 or Form 2. Form 3 needs to open and set the FK - (RequestID in Table 2) to the same RequestID (PK in Table 1) as in Form 1 or Form 2. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 7:10 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] One form for all > Form 1: A form that is used for requesting services - a data entry form. > Form 2: Used by the engineer to edit, update data from the request. > Form 3: Additional data form needed to open for the User & Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 and > set the default to =Forms!Form1.RequestID. Of course this will not work on > Form 2 because the default value for RequestID references Form 1. > > I do not want to create multiple forms to do the same thing - but if that is > the only choice I will. How can I have Form 3 open from Form 1 &/or Form 2 > and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Mon Mar 17 07:56:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 07:56:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access In-Reply-To: Message-ID: <004601c2ec8c$d1ab3470$8e01a8c0@Rock> Let's face it. Access is so good that we all use it, and most of us are seasoned developers who have looked at lots of potential replacements and found them wanting. For my money, the only realistic Access replacement would have to offer significant benefits beyond everything Access can do; else why switch? Now, as JC is discovering, there are some _way_ kewl reasons to choose VB.Net. The dev-time is still longer but in exchange you get a lot of new functionality. What I would like to find is an Access replacement that runs on Linux! Does everything Access does, and maybe more (Linux-specific things). Otherwise for RAD I'm sticking to Access, and for SBSRAD (slower but still RAD) it's .net. My $.02, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: March 17, 2003 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u 00320030317RAL01.htm &fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 17 07:58:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 07:58:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <18118943128.20030317141522@cactus.dk> Message-ID: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Anyone in this list besides me old enough to remember CP/M? Those were the days! Once I did a big app on a computer system called Molecular, that had a multi-user version of CP/M and 10MB hard disks! Bitchin system. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 17, 2003 8:15 AM To: Stuart McLachlan Subject: Re: [AccessD] A2K: This should be easy Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of >> > code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Mar 17 07:59:00 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon Mar 17 07:59:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: <0EAA9F4906BA554FA26E6F9F2C540302098DEE@elmo.co.montgomery.ny.us> Now, if it would run on Linux... Neal Kling -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 5:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm &fromtm=e601-2&_requestid=190882 From artful at rogers.com Mon Mar 17 08:02:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon Mar 17 08:02:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> Message-ID: <004c01c2ec8d$aba29ce0$8e01a8c0@Rock> When opening form3, pass a string such as "form1" or "form2" in OpenArgs. In Form3's OnOpen, examine the OpenArgs and do something like this: With Me If Not IsNull(.OpenArgs) Then If .OpenArgs = "form1" Then .RequestID = Forms("form1").RequestID Else .RequestID = Forms("form2").RequestID End If End If End With (Caution: compiled with Outlook.) A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 17, 2003 8:46 AM To: 'stuart at lexacorp.com.pg'; 'accessd at databaseadvisors.com' Subject: RE: [AccessD] One form for all What do I do if it is a new record they are adding to Form 3? When a new record is added using Form 3, the RequestID (FK) shows 0. I need it to enter the same RequestID as the opening form, whether it is Form 1 or Form 2. Form 3 needs to open and set the FK - (RequestID in Table 2) to the same RequestID (PK in Table 1) as in Form 1 or Form 2. Virginia -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 7:10 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] One form for all > Form 1: A form that is used for requesting services - a data entry > form. Form 2: Used by the engineer to edit, update data from the > request. Form 3: Additional data form needed to open for the User & > Engineer > > The table has a RequestID as the PK > A second table is used to store additional data, with the RequestID as > FK. > > I need Form 3 to open from either Form 1 or Form 2. How do I set the > RequestID FK to the PK RequestID on Form 3? I placed the FK on Form 3 > and set the default to =Forms!Form1.RequestID. Of course this will not > work on Form 2 because the default value for RequestID references Form > 1. > > I do not want to create multiple forms to do the same thing - but if > that is > the only choice I will. How can I have Form 3 open from Form 1 &/or > Form 2 and set the RequestID? > Set Form3 recordsource to the Table2 and filter the form 1. In the Sub in Form1 and Form2 that opens Form3: DoCmd.OpenForm "Form3", , , "RequestID = " & request_ID Or: Use OpenArgs: In Form1 and 2 DoCmd.OpenForm "Form3", , , , , , Request_ID In Form3 Private Sub Form_Open(Cancel As Integer) Me.Filter = "RequestID = " & OpenArgs Me.FilterOn = True End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 17 08:07:00 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon Mar 17 08:07:00 2003 Subject: [AccessD] Normalisation Message-ID: <61F915314798D311A2F800A0C9C831880395653F@dibble.observatory.donnslaw.co.uk> Hurrah! I am doing just that. The wedding is on the 29th - a week on Saturday *ulp* -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: 17 March 2003 13:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Normalisation ...if it has to be "working" by tomorrow, build it flat and focus on the user interface and data validation ...you can always normalize later if necessary ...not the way anyone likes to do these things but we all have faced similar demands at one time or another ...HTH :) ...btw, you haven't told us lately just when the wedding date is :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Roz Clarke" To: Sent: Monday, March 17, 2003 5:36 AM Subject: RE: [AccessD] Normalisation > Martin > > Yes people can make multiple claims over time. The claim can be one of > 2 types (different policy types). Each claim is likely to have > multiple calls > but these are already logged in a generic call log database (the > databases are interconnected through the user interface). All I'm > interested in at the > moment is the info describing the claim. > > The call centre will not be taking calls directly from the client, but from > the local branch of their insurance company (we handle claims > registering for a number of different insurers). Therefore there > should only be one set > of details per accident, as any passengers claiming will be claiming against > the policyholder's insurance - and the claim will generally have > passed out > of our hands before anything like that gets processed anyway. > > Because of the way they work, if there were to be more than one claim > per accident, they'd want the accident details duplicating anyway. > > Clear as mud?! > > Roz > > PS did I mention I have to have this built by tomorrow? > > -----Original Message----- > From: Mwp.Reid at queens-belfast.ac.uk > [mailto:Mwp.Reid at queens-belfast.ac.uk] > Sent: 17 March 2003 09:59 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Normalisation > > > Roz > > People can make mulitple claims over a period of time. The claim is > opf a specific type. Am I missing something? > > The claim then could have multiple calls etc associated with it > (Unless your > a > better insurance ocmpany than mine) > > Claims could come in from multiple parties. i.e carsh carsh and > everyone in > the 20 seater MVPV makes a claim. > > Martin > > > Quoting Roz Clarke : > > > Hey all > > > > I have a bit of a funny database spec for a call centre application > > (callers ringing to register insurance claims). > > > > The details taken from the customer cover a lot of different > > entities; the caller, their insurance policy, their car, the > > accident, the third party, the third party's car, the third party's > > insurance policy etc. My instinct > > is to create a table for each distinct entity. However, they will all > > have > > 1:1 relationships as there is only one instance of each entity per > > claim > > (the caller I would hold separate as we may handle more than one claim > > for > > them). This is a fairly 'disposable' (i.e. expected to be used only in > > the > > short term and never to be expanded) app. Would it be shockingly bad > > behaviour just to stuff everything into one table?? > > > > Roz > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 17 08:19:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 08:19:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8545C@TTNEXCHSRV1.hshhp.com> Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). rsSource.Save "c:\myxml.xml", adPersistXML Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Sunday, March 16, 2003 11:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From accessd at shaw.ca Mon Mar 17 08:28:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon Mar 17 08:28:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Message-ID: Afraid so Arthur...The slashes still confuse me to this day...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, March 17, 2003 5:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy Anyone in this list besides me old enough to remember CP/M? Those were the days! Once I did a big app on a computer system called Molecular, that had a multi-user version of CP/M and 10MB hard disks! Bitchin system. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 17, 2003 8:15 AM To: Stuart McLachlan Subject: Re: [AccessD] A2K: This should be easy Hi Stuart Oh, I'm old enough to know about Date and Time and DOS - and drivers for add-on battery clocks for XT machines. What I didn't know was that these (Date and Time) were equivalent to those of VBA; I've always regarded these as functions to only read the settings of DOS (or WinNT+). /gustav >> > Also, another little known fact about the Date, Time >> > and Now functions. They work both ways. If you use this line of >> > code: >> >> > Date=Date()+1 >> >> > You've just set your systems date to tomorrow! >> >> That is scary! I didn't know that. >> Why do you know such weird things? > Because we've been using various BASICs for many years (in my case > over 20) and once upon a time in DOS , we regularly used DATE and > TIME to adjust the system clock. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Mar 17 08:43:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon Mar 17 08:43:01 2003 Subject: [AccessD] A2K: This should be easy References: Message-ID: <003901c2ec93$6fb29f40$6601a8c0@HAL9002> Jim: I had a Molecular, too! It had a 10MB fixed and a 10 MB removable hard drive and was networked to four dumb terminals. I paid around $10,000 for it, I believe. (Also had 8 in floppy for convenient backup). I created my manufacturing application on it. Boy was that a long time ago. I thought the disk storage at the time was way overkill. Who could fill up 10 MB with anything? Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Monday, March 17, 2003 6:29 AM Subject: RE: [AccessD] A2K: This should be easy > Afraid so Arthur...The slashes still confuse me to this day...Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Monday, March 17, 2003 5:57 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From lyle.hannum at co.wake.nc.us Mon Mar 17 08:46:01 2003 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Mon Mar 17 08:46:01 2003 Subject: [AccessD] Acc2000 wont open after repair Message-ID: Hi all When I got to the office this morning and attempted to open a Access 2000 mdb that lives on our network, a msg poped up that the db was corrupted and would I like to repair. I selected yes, and it seemed to repair itself. However, now when I try to open it, nothing happens. No errors, no nothing. Almost as if it was not there, however Acc97 will try to open it (giving an error msg of unrecognizable format), it can be renamed, and copied successfully (but still not opened) to my local drive (showing file size of 8mb). I have the same symptoms if I try to import its objects into a new db. Access seems to open all other db's just fine. Shift-open has no effect. Any ideas? TIA Lyle Hannum From reische at mdh.org Mon Mar 17 09:56:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 09:56:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B3B@NEWMAN_EXC> Thank you for your assistance. I was able to get it to work finally!!! Surprisingly, the answer was this: It works fine as long as the "search" button is a button control. If the "search" button is a label control it will work the first time and not again. I prefer the label control with the code in the on-click event of it because I can format it and make it match the application. Command buttons are boring gray objects. Guess I learned that I can't beat the system every time!!! Thanks again for your help/comments. Brenda Reische McDonough District Hospital -----Original Message----- From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] Sent: Friday, March 14, 2003 4:02 PM To: reische at mdh.org Subject: it does work....no thnx:-) Hope you can have a nice & quiet weekend now... Eric From reische at mdh.org Mon Mar 17 10:06:00 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 10:06:00 2003 Subject: [AccessD] A97 - Apply filter to listbox via code Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B3E@NEWMAN_EXC> Sorry! For those that followed this thread, I resent the solution under the correct subject... -----Original Message----- From: Reische, Brenda L. Sent: Monday, March 17, 2003 9:56 AM To: 'StaRKeY' Cc: 'accessd at databaseadvisors.com' Subject: RE: it does work....no thnx:-) Thank you for your assistance. I was able to get it to work finally!!! Surprisingly, the answer was this: It works fine as long as the "search" button is a button control. If the "search" button is a label control it will work the first time and not again. I prefer the label control with the code in the on-click event of it because I can format it and make it match the application. Command buttons are boring gray objects. Guess I learned that I can't beat the system every time!!! Thanks again for your help/comments. Brenda Reische McDonough District Hospital -----Original Message----- From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] Sent: Friday, March 14, 2003 4:02 PM To: reische at mdh.org Subject: it does work....no thnx:-) Hope you can have a nice & quiet weekend now... Eric From John.Clark at niagaracounty.com Mon Mar 17 10:13:00 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Mon Mar 17 10:13:00 2003 Subject: [AccessD] Error linking to network Message-ID: I am trying to roll out my latest A97 program to the user. I created a directory on the network, and I have copied the BE DB to this location. I wanted to have everything as setup as could be, before I actually went to the sight, so that I could basically copy the FE down to the hard drive, place an icon on their desktop, and leave. But, when I tried to do this from my desk, I got an error that I had no rights to this directory, and that I needed to contact my network administrator. I am an administrator on our network, whic is Novell 5.1. Are there any issues that I should know about w/this? I saw it before, but I don't remember what happened. From DWUTKA at marlow.com Mon Mar 17 10:22:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 10:22:06 2003 Subject: [AccessD] A2K: This should be easy Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D2@main2.marlow.com> Ooops, you're right, Now() doesn't do that. I found this out 2 years ago, when I wrote an Atomic Clock service in VB. I was just about to look for an API to set the date and time, when I thought 'Hmmm....I wonder if...', and sure enough it worked! Drew -----Original Message----- From: Gustav Brock To: Drew Wutka Sent: 3/17/03 4:14 AM Subject: Re: [AccessD] A2K: This should be easy Hi Drew > Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > Date=Date()+1 > You've just set your systems date to tomorrow! That is scary! I didn't know that. Why do you know such weird things? But it is only Date() and Time() that works this way, not Now(). /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Mar 17 10:38:11 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 10:38:11 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <20030317163200.22163.51950.Mailman@databaseadvisors.com> Message-ID: Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine From jscott at mchsi.com Mon Mar 17 10:39:06 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 10:39:06 2003 Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Message-ID: Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine From bob at renaissancesiding.com Mon Mar 17 10:44:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon Mar 17 10:44:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) Message-ID: <01C2EC7A.753A3770.bob@renaissancesiding.com> Brenda I believe that Candace Tripp has a solution for those "boring grey buttons" on her website (www.candace-tripp.com). See the 'Color Command Buttons' links ... Regards, Bob Gajewski On Monday, March 17, 2003 10:56 AM, Reische, Brenda L. [SMTP:reische at mdh.org] wrote: > Thank you for your assistance > > I was able to get it to work finally!!! > > Surprisingly, the answer was this: > It works fine as long as the "search" button is a button control. If the > "search" button is a label control it will work the first time and not > again > > I prefer the label control with the code in the on-click event of it because > I can format it and make it match the application. Command buttons are > boring gray objects > > Guess I learned that I can't beat the system every time!!! > > Thanks again for your help/comments > > Brenda Reische > McDonough District Hospital > > -----Original Message----- > From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] > Sent: Friday, March 14, 2003 4:02 PM > To: reische at mdh.org > Subject: it does work....no thnx:-) > > Hope you can have a nice & quiet weekend now.. > > > Eric > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From cfoust at infostatsystems.com Mon Mar 17 10:51:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 10:51:00 2003 Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Message-ID: Concatenate a single quote to the value in the query you export. Excel will interpret that as text because that's the way it indicates a text field. Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, March 17, 2003 8:39 AM To: AccessD at databaseadvisors. com Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 17 10:59:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 10:59:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access Message-ID: Sorry, Paulo, but Alpha Five is nothing like a rival for Access. It's more like an Approach rival. Charlotte Foust -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Mar 17 11:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 11:01:00 2003 Subject: [AccessD] How bout them apples Message-ID: Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From jcolby at colbyconsulting.com Mon Mar 17 11:04:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 11:04:00 2003 Subject: [AccessD] test Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3850 bytes Desc: not available URL: From mikedorism at ntelos.net Mon Mar 17 11:13:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 17 11:13:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: Message-ID: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> In the query you use to generate the report, enter that column's information as Format(LoanNumber, "0000000") as the source. When you export it to Excel, Excel should interpret this as a label. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott Sent: Monday, March 17, 2003 11:38 AM To: AccessD at databaseadvisors. com Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 17 11:14:13 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 17 11:14:13 2003 Subject: [AccessD] Acc2000 wont open after repair References: Message-ID: <3E7601EC.1060405@shaw.ca> Try the JetComp.exe utility on a copy. ACC2000: Jet Compact Utility Available in Download Centerhttp://support.microsoft.com/default.aspx?scid=kb;en-us;273956 lyle.hannum at co.wake.nc.us wrote: >Hi all > >When I got to the office this morning and attempted to open a Access 2000 >mdb that lives on our network, a msg poped up that the db was corrupted and >would I like to repair. I selected yes, and it seemed to repair itself. >However, now when I try to open it, nothing happens. No errors, no nothing. >Almost as if it was not there, however Acc97 will try to open it (giving an >error msg of unrecognizable format), it can be renamed, and copied >successfully (but still not opened) to my local drive (showing file size of >8mb). I have the same symptoms if I try to import its objects into a new >db. Access seems to open all other db's just fine. Shift-open has no >effect. Any ideas? TIA > >Lyle Hannum > > > From martyconnelly at shaw.ca Mon Mar 17 11:34:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon Mar 17 11:34:00 2003 Subject: [AccessD] How bout them apples References: <22F1CCD5171D17419CB37FEEE09D5F99D8545C@TTNEXCHSRV1.hshhp.com> Message-ID: <3E7606EE.6050103@shaw.ca> Just add one more step using XSLT, you can transform the XML, which contains schema information for row and data definitions, into XML that contains nothing more than the data we're interested in. Here is a generic XSL stylesheet for converting any simple Recordset XML into plain vanilla XML: Courtesy :Phillip Perkins, Ajilon Consulting I think I picked up this hint from builder.com or xml-dev list awhile ago. <row> < > </ > </row> The stylesheet converts each z:row node into a more natural form. When the Recordset is saved as XML, each row is converted to a z:row node with a group of attributes for each field in a record. These field attribute values are set to the current value of the field. The way to convert these is to take each attribute and convert it into a fieldvalue format. In order to prevent getting namespace information appended to the new nodes, use the element to create the < and > symbols, instead of using to create new elements. The attribute name is returned using the name() XPath function, and the value of the attribute is returned with ".". All of these new nodes are wrapped in a element after conversion. Jim DeMarco wrote: >Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). > > > rsSource.Save "c:\myxml.xml", adPersistXML > > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Sunday, March 16, 2003 11:06 PM >To: AccessD >Subject: [AccessD] How bout them apples > > >A single line of code to write an xml code from a dataset? > >DataSet11.WriteXml("c:\TestXml.xml") > >>From the click event of a button dumps the data in a dataset bound to a >table in SQL Server to an XML file on the disk. > >This .Net is cool stuff! > > >- >- > 2 > Puebla > true > false > >- > 54 > Alberta > AB > true > false > >- > 66 > Aguascalientes > AGS > true > false > >- > 4 > Alaska > AK > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Mon Mar 17 11:54:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon Mar 17 11:54:01 2003 Subject: [AccessD] oops - forgot to change the subject: should be Acc ess Exporting to Excel Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822D3@main2.marlow.com> Does the data end up in Excel like a 'table', or is it more like a report? If it is like a table, then you can just use ADO to dump the data to Excel. Make a blank excel file, and 'pre-format' the columns as you wish. Then you can dump the data out to Excel, and it will maintain it's formatting. If it is more like a report, I would suggest creating a 'data' sheet, that gets the data from Access (with ADO), and then create a 'report' sheet that get's it data from from the 'data' sheet. Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, March 17, 2003 10:39 AM To: AccessD at databaseadvisors. com Subject: [AccessD] oops - forgot to change the subject: should be Access Exporting to Excel Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 17 11:58:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 11:58:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85487@TTNEXCHSRV1.hshhp.com> Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From Jdemarco at hshhp.org Mon Mar 17 11:59:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 11:59:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85489@TTNEXCHSRV1.hshhp.com> Nice Marty. Thanks, Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 17, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How bout them apples Just add one more step using XSLT, you can transform the XML, which contains schema information for row and data definitions, into XML that contains nothing more than the data we're interested in. Here is a generic XSL stylesheet for converting any simple Recordset XML into plain vanilla XML: Courtesy :Phillip Perkins, Ajilon Consulting I think I picked up this hint from builder.com or xml-dev list awhile ago. <row> < > </ > </row> The stylesheet converts each z:row node into a more natural form. When the Recordset is saved as XML, each row is converted to a z:row node with a group of attributes for each field in a record. These field attribute values are set to the current value of the field. The way to convert these is to take each attribute and convert it into a fieldvalue format. In order to prevent getting namespace information appended to the new nodes, use the element to create the < and > symbols, instead of using to create new elements. The attribute name is returned using the name() XPath function, and the value of the attribute is returned with ".". All of these new nodes are wrapped in a element after conversion. Jim DeMarco wrote: >Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data). > > > rsSource.Save "c:\myxml.xml", adPersistXML > > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: John W. Colby [mailto:jcolby at colbyconsulting.com] >Sent: Sunday, March 16, 2003 11:06 PM >To: AccessD >Subject: [AccessD] How bout them apples > > >A single line of code to write an xml code from a dataset? > >DataSet11.WriteXml("c:\TestXml.xml") > >>From the click event of a button dumps the data in a dataset bound to a >table in SQL Server to an XML file on the disk. > >This .Net is cool stuff! > > >- >- > 2 > Puebla > true > false > >- > 54 > Alberta > AB > true > false > >- > 66 > Aguascalientes > AGS > true > false > >- > 4 > Alaska > AK > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From andy at minstersystems.co.uk Mon Mar 17 12:00:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon Mar 17 12:00:01 2003 Subject: [AccessD] test In-Reply-To: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> Message-ID: <002001c2ecae$9773ab80$b274d0d5@andypc> Don't know what you did to your email John, but I can't open it. My "digital Id name cannot be found by the underlying security system" or somesuch. Andy Lacey http://www.minstersystems.co.uk From reische at mdh.org Mon Mar 17 12:03:01 2003 From: reische at mdh.org (Reische, Brenda L.) Date: Mon Mar 17 12:03:01 2003 Subject: [AccessD] test Message-ID: <0FFC98AA5943D211A2E90000F87A5B48C86B4F@NEWMAN_EXC> Me too - and it turned off my rule for accessd. I had to go turn it back on ! -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] test Don't know what you did to your email John, but I can't open it. My "digital Id name cannot be found by the underlying security system" or somesuch. Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Mar 17 12:11:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:11:01 2003 Subject: [AccessD] test Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3850 bytes Desc: not available URL: From jcolby at colbyconsulting.com Mon Mar 17 12:21:01 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:21:01 2003 Subject: [AccessD] test again Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3928 bytes Desc: not available URL: From jcolby at colbyconsulting.com Mon Mar 17 12:25:00 2003 From: jcolby at colbyconsulting.com (John W. Colby) Date: Mon Mar 17 12:25:00 2003 Subject: [AccessD] test4 Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 3852 bytes Desc: not available URL: From jscott at mchsi.com Mon Mar 17 12:38:00 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon Mar 17 12:38:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <001001c2eca8$a29379b0$dc340cd8@hargrove.internal> Message-ID: I've tried these option and both worked great in terms of Excel seeing my data as text - however ran into these problems: Format option: my loan number varies in length and I need to keep the original length. Character attached to field: The quote shows in Excel in front of my loan number. I don't want to spend the amount of time it would take to implement Drew's suggestion - although I'm sure it's a very good suggestion! I'm using the same query for export to Excel I use as the base for my report and my form data. Any other ideas? Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Monday, March 17, 2003 11:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list In the query you use to generate the report, enter that column's information as Format(LoanNumber, "0000000") as the source. When you export it to Excel, Excel should interpret this as a label. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott Sent: Monday, March 17, 2003 11:38 AM To: AccessD at databaseadvisors. com Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Hello, I have a very basic question that I'm even embarrassed to ask! I have a text field that consists of numeric characters. Loan Number. I need it to be a text field because I have leading zeros on the loan numbers. I am exporting a report to Excel with this information. I need to do it in a report because I want to keep the grouping levels intact when the data is exported to Excel. Excel interprets my loan number field as numeric - dropping leading zeros. I have played with different things like exporting as a .txt file (doesn't work), concatenating a space to the loan number (doesn't work) and concatenating a "_" at the end of the field. This last option works because Excel obviously sees the field as text. I really cannot keep this as a viable option. Is my only option to use automation and open Excel after I've done the export and format the loan number field? If so, how do I find the range and how does that work with groupings? This seems like such a simple thing and I can't believe I've never had to solve this particular issue before! Thanks so much in advance for help! Jeanine _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From PBudge at cbsol.com Mon Mar 17 12:43:00 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon Mar 17 12:43:00 2003 Subject: [AccessD] test again Message-ID: All's I get is a blank email - just like that on the first one too. Was it meant to be blank? Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John W. Colby" .com> cc: Sent by: Subject: [AccessD] test again accessd-admin at databasea dvisors.com 03/17/2003 12:20 PM Please respond to accessd From mikedorism at ntelos.net Mon Mar 17 12:57:01 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon Mar 17 12:57:01 2003 Subject: [AccessD] test again In-Reply-To: Message-ID: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Ignore John Colby's test messages. He is learning how to digitally encrypt messages and didn't realize members of the AccessD list wouldn't be able to open them. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of PBudge at cbsol.com Sent: Monday, March 17, 2003 01:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] test again All's I get is a blank email - just like that on the first one too. Was it meant to be blank? Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John W. Colby" .com> cc: Sent by: Subject: [AccessD] test again accessd-admin at databasea dvisors.com 03/17/2003 12:20 PM Please respond to accessd _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 17 13:01:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon Mar 17 13:01:00 2003 Subject: JC Encrypted - was RE: [AccessD] test again Message-ID: If JC wants us to read them, he needs to send us the key. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday 2003 Mar 17 12:58 To: accessd at databaseadvisors.com Subject: RE: [AccessD] test again Ignore John Colby's test messages. He is learning how to digitally encrypt messages and didn't realize members of the AccessD list wouldn't be able to open them. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com From paulo at esb.ucp.pt Mon Mar 17 13:03:14 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:03:14 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <035f01c2ecb7$d6295b00$2202a8c0@esb.ucp.pt> Jim, I believe that access will stay for a few more years and I will continue using it. Never the less I'm looking for a replacent for Access, specially for free :-) BTW .NET as also a rival: mono (www.go-mono.com) and its free (still need some work) Paulo ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:12 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paulo at esb.ucp.pt Mon Mar 17 13:06:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:06:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: <0EAA9F4906BA554FA26E6F9F2C540302098DEE@elmo.co.montgomery.ny.us> Message-ID: <036b01c2ecb8$3c19da20$2202a8c0@esb.ucp.pt> Hi Neal, On linux world consider Zope (www.zope.org) or Siteseed (www.siteseed.org). I believe that Zope is better and faster. Paulo ----- Original Message ----- From: "Neal Kling" To: Sent: Monday, March 17, 2003 1:57 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access > Now, if it would run on Linux... > > Neal Kling > > > -----Original Message----- > From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] > Sent: Monday, March 17, 2003 5:30 AM > To: AccessD Mailing List > Subject: [AccessD] Alpha Five A prototyping tool to rival Access > > > Access as a new rival. > > > > http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA? > id=u00320030317RAL01.htm > ?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882> > &fromtm=e601-2&_requestid=190882 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paulo at esb.ucp.pt Mon Mar 17 13:07:00 2003 From: paulo at esb.ucp.pt (Paulo Alexandre Ramos) Date: Mon Mar 17 13:07:00 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: Message-ID: <037501c2ecb8$52299670$2202a8c0@esb.ucp.pt> MessageI agree Charlotte :-) Paulo ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 4:54 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Sorry, Paulo, but Alpha Five is nothing like a rival for Access. It's more like an Approach rival. Charlotte Foust -----Original Message----- From: Paulo Alexandre Ramos [mailto:paulo at esb.ucp.pt] Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Mon Mar 17 13:07:23 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon Mar 17 13:07:23 2003 Subject: JC Encrypted - was RE: [AccessD] test again Message-ID: Assuming we use Lookout. Which not all of us do. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 17-Mar-03 2:00:08 PM >>> If JC wants us to read them, he needs to send us the key. Charles Wortz From MarkBoyd at McBeeAssociates.com Mon Mar 17 13:30:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon Mar 17 13:30:00 2003 Subject: [AccessD] Report Writer Message-ID: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 17 13:39:01 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon Mar 17 13:39:01 2003 Subject: [AccessD] Problem with Sql Server 2000 Stored Procs in ADP Forms after Upgrade Message-ID: <005c01c2ecbc$bbc3e6e0$6501a8c0@tbig3> Over the weekend migrated an Access ADP system from Sql Server 7 to Sql Server 2000. Testing went fine. Now the users are getting errors because a ';1' (semicolon one) is being added to the name of stored procedures the forms use as a recordsource. Any suggestions? TIA, Myke -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 17 13:49:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 13:49:00 2003 Subject: [AccessD] How bout them apples In-Reply-To: Message-ID: And of course I can get the schema info using .net. Just have to add a parameter to the call. The schema info is apparently quite useful if you want to import, then write back out again. Ensures you get the same thing in all cases or something like that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") >From the click event of a button dumps the data in a dataset bound to a table in SQL Server to an XML file on the disk. This .Net is cool stuff! - - 2 Puebla true false - 54 Alberta AB true false - 66 Aguascalientes AGS true false - 4 Alaska AK John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2740 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:04:00 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:04:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <014701c2ecc0$46aaf480$4b4179a5@servone> Check out RFil (http://www.mile50.com/access/rfil/). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From tomadatn at bellsouth.net Mon Mar 17 14:04:59 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 17 14:04:59 2003 Subject: [AccessD] Alpha Five A prototyping tool to rival Access References: <035f01c2ecb7$d6295b00$2202a8c0@esb.ucp.pt> Message-ID: <001e01c2ecc0$f4717f30$6400000a@dogbert2k> Note to people making money programming with Access. 1st rule of programming lauguages - the best language will fail in the marketplace. 2nd rule of programming for money - It ain't dogfood if the dogs won't eat it. Make sure you've got a market that will pay for __________ (fill in the blank). I've got 2 friends that got mad at M$ and decided to go open source. They standardized on Berkley Free BSD, PostGreSql and PHP. They've starved for about a year developing a really good framework and have been trying to make money with it since December. They just sold a really big job to a current customer who knows how good they are and trusts them to deliver. The real test will come in about 6 months when they've finished their first job and are trying to sell people who don't know how good they are. I wish them well but still have doubts about the local market for this combination of products. They're doing a lot of the right things to help develop a market here. They've gotten active in a local Open Source group, are publicizing the Open Source message, are doing demos at local trade shows, are installing opensource for free about one Saturday a month, etc. Tom ----- Original Message ----- From: Paulo Alexandre Ramos To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:03 PM Subject: Re: [AccessD] Alpha Five A prototyping tool to rival Access Jim, I believe that access will stay for a few more years and I will continue using it. Never the less I'm looking for a replacent for Access, specially for free :-) BTW .NET as also a rival: mono (www.go-mono.com) and its free (still need some work) Paulo ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, March 17, 2003 1:12 PM Subject: RE: [AccessD] Alpha Five A prototyping tool to rival Access Hi Paulo: Looks interesting but is not described as Access's replacement, just yet. My two cents worth Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paulo Alexandre Ramos Sent: Monday, March 17, 2003 2:30 AM To: AccessD Mailing List Subject: [AccessD] Alpha Five A prototyping tool to rival Access Access as a new rival. http://builder.com.com/article.jhtml;jsessionid=41VOYKPWFO4V1TQQAAZCFFA?id=u00320030317RAL01.htm&fromtm=e601-2&_requestid=190882 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 17 14:07:01 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon Mar 17 14:07:01 2003 Subject: [AccessD] How bout them apples In-Reply-To: References: Message-ID: <1047931609.3e762ad95bedc@hosea.qub.ac.uk> John Charlotte has a great demo database for disconencted stuff. You should download it and have a look. Or better yet its on the book CD. Martin Quoting "John W. Colby" : > And of course I can get the schema info using .net. Just have to add > a > parameter to the call. The schema info is apparently quite useful if > you > want to import, then write back out again. Ensures you get the same > thing > in all cases or something like that. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, March 17, 2003 11:57 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] How bout them apples > > > Didn't you guys ever try persisting a recordset as XML from Access 2k > or XP? An equal no-brainer. > > Charlotte Foust > > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Sunday, March 16, 2003 10:45 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] How bout them apples > > > John...Awesome...Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Sunday, March 16, 2003 8:06 PM > To: AccessD > Subject: [AccessD] How bout them apples > > > A single line of code to write an xml code from a dataset? > > DataSet11.WriteXml("c:\TestXml.xml") > > >From the click event of a button dumps the data in a dataset bound to > a > table in SQL Server to an XML file on the disk. > > This .Net is cool stuff! > > > - > - > 2 > Puebla > true > false > > - > 54 > Alberta > AB > true > false > > - > 66 > Aguascalientes > AGS > true > false > > - > 4 > Alaska > AK > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it > free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From tomadatn at bellsouth.net Mon Mar 17 14:15:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon Mar 17 14:15:00 2003 Subject: [AccessD] Report Writer References: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <002701c2ecc2$60dea610$6400000a@dogbert2k> I've spent hundreds of hours to develop a data driven approach that lets you give them predefined criteria selection and ties that into the final report. I use local tables with the main ID populated by code that evaluated the criteria they selected, let them choose various reports and then use an inner join of Temp Table Id to Main ID of the report to limit the records selected while letting the report specify any layout of data needed. I will typically have 50 reports with something like 20 criteria (some single value and some multi-value). I've never had a client in 12 years of programming who would benefit from a completely programmatic approach to doing their own reports. Too many ways to mess it up. My way seems simple to me, they select their data criteria and I do predefined reports. Yet I still get howls of pain and comments that this is too complicated. Don't even start talking about subreports and using multiple tables to build an underlying recordsets - they scream and run out of the room. Good luck. Tom ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Monday, March 17, 2003 1:28 PM Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Mon Mar 17 14:27:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon Mar 17 14:27:00 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Message-ID: Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From andy at minstersystems.co.uk Mon Mar 17 14:30:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon Mar 17 14:30:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <014701c2ecc0$46aaf480$4b4179a5@servone> Message-ID: <003901c2ecc3$787979c0$b274d0d5@andypc> So, Nancy, you still write the report but then give them the ability to put in their own select criteria? Is that right? Can they specify own sort sequence too? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: 17 March 2003 20:03 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer Check out RFil ( http://www.mile50.com/access/rfil/ ). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at www.cloudmark.com Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:58:01 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:58:01 2003 Subject: [AccessD] Report Writer In-Reply-To: <003901c2ecc3$787979c0$b274d0d5@andypc> Message-ID: <000b01c2ecc7$d5efe130$ae65f7a5@servone> The report is created and then it shows up in drop down list. The user then picks the report and is given several tabs where they can pick the criteria they want to filter on and what kind of filter, and, or, between, like, in/not in etc, etc. Or the really savvy user can write their own SQL statement to use as a filter (usually I hide this ability for fear of user overload). I have never addressed the issues of sorting so I don?t know if it is built in but I believe a little tweaking could add that ability. It is really an amazing little piece of work at a wonderful price ? FREE! Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu 301-249-0137 301-675-3661 (cell) _____ I've stopped 329 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer So, Nancy, you still write the report but then give them the ability to put in their own select criteria? Is that right? Can they specify own sort sequence too? Andy Lacey HYPERLINK "http://www.minstersystems.co.uk/"http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: 17 March 2003 20:03 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report Writer Check out RFil ( HYPERLINK "http://www.mile50.com/access/rfil/"http://www.mile50.com/access/rfil/ ). It is a set of forms, etc that you add to your front end and it will take a report and let the user slice it or dice it on what ever criteria (fields) are in the report. I add it to just about every Access DB I create that has report requirements. Nancy Lytle HYPERLINK "mailto:N_Lytle at terpalum.umd.edu"N_Lytle at terpalum.umd.edu _____ I've stopped 325 spam messages. You can too! Get your free, safe spam protection at HYPERLINK "http://www.cloudmark.com/spamnet?v1"www.cloudmark.com HYPERLINK "http://www.cloudmark.com/"Cloudmark SpamNet - Join the fight against spam! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 2:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1738 bytes Desc: not available URL: From lytlen at mindspring.com Mon Mar 17 14:59:00 2003 From: lytlen at mindspring.com (Nancy Lytle) Date: Mon Mar 17 14:59:00 2003 Subject: [AccessD] Report Writer In-Reply-To: <003901c2ecc3$787979c0$b274d0d5@andypc> Message-ID: <001201c2ecc8$042652f0$ae65f7a5@servone> The report is created and then it shows up in drop down list. The user then picks the report and is given several tabs where they can pick the criteria they want to filter on and what kind of filter, and, or, between, like, in/not in etc, etc. Or the really savvy user can write their own SQL statement to use as a filter (usually I hide this ability for fear of user overload). I have never addressed the issues of sorting so I don't know if it is built in but I believe a little tweaking could add that ability. It is really an amazing little piece of work at a wonderful price - FREE! Nancy Lytle N_Lytle at terpalum.umd.edu 301-249-0137 301-675-3661 (cell) --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.461 / Virus Database: 260 - Release Date: 3/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Mar 17 14:59:36 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 14:59:36 2003 Subject: [AccessD] How bout them apples Message-ID: But why would I want to do it from A97? Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 17, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From Jdemarco at hshhp.org Mon Mar 17 15:00:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 15:00:02 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54CFC@TTNEXCHSRV1.hshhp.com> Would this work for you? Format(LoanNumber, String(Len([LoanNumber]),"0") The String function takes two arguments, the number of times to repeat and the character to repeat. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Mon Mar 17 15:02:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon Mar 17 15:02:00 2003 Subject: [AccessD] How bout them apples Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D854A5@TTNEXCHSRV1.hshhp.com> Ouch!! Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 3:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples But why would I want to do it from A97? Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 17, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Charlotte, You can do it from A97 too if you have a current MDAC version. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 17, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples Didn't you guys ever try persisting a recordset as XML from Access 2k or XP? An equal no-brainer. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Sunday, March 16, 2003 10:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How bout them apples John...Awesome...Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, March 16, 2003 8:06 PM To: AccessD Subject: [AccessD] How bout them apples A single line of code to write an xml code from a dataset? DataSet11.WriteXml("c:\TestXml.xml") From john at winhaven.net Mon Mar 17 15:47:00 2003 From: john at winhaven.net (John Bartow) Date: Mon Mar 17 15:47:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code Message-ID: Anyone have advice on deleting an entire module procedure via code? JB From dwaters at usinternet.com Mon Mar 17 16:19:00 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 17 16:19:00 2003 Subject: [AccessD] Curved Lines in Access? Message-ID: <002f01c2ecd3$22f43700$de1811d8@DanWaters> Folks, I would like to create a Switchboard that contains a high-level flowchart, where each block on the flowchart represents a business process. The lines between the blocks will show the links from one process to another. Clicking on a block opens the form that contains that business process. However, flowcharts look much better if the 90 degree bend in a line has a radius instead of a sharp corner. I could create an embedded image, but if I can avoid the overhead I'd like to. Does anyone know how this can be done? Thanks, Dan Waters Quality Process Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Mon Mar 17 16:19:31 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon Mar 17 16:19:31 2003 Subject: [AccessD] Report Writer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <003401c2ecd3$231a5ca0$de1811d8@DanWaters> Tom, I've done this several times where the user selects their criteria, but the report layout is pre-defined. No one has ever asked me to re-format a report. One thing that a user can always do is convert the report to a spreadsheet. That way they can pull data out of a table using their criteria, and then do whatever they want in a spreadsheet. I can send you a small demo db if you would like to see it. Dan Waters Quality Process Solutions -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Monday, March 17, 2003 1:28 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Report Writer I am curious if anyone has developed an Access report writer. I need to design one for a client that can create customizable reports from SQL data. I would have them use the built-in report wizard, but they want to be able extract records based on specific criteria. Before starting from scratch, I wanted to see if there is already something out there to point me in the right direction. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Mon Mar 17 16:52:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon Mar 17 16:52:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: Message-ID: Hi JB, Declare a var as module and see all the methods you can use to get your work done... you can use the modvar.find method probably if you already know the procedure name and use the proccountoflines or something to loop through all lines and use the deleteline method from module... what it comes down to is looping through the proclines and delete them.... I have to say it's a bit too much work to have it laid out to you for now but it's almost midnight and I'm going to bed;-) Maybe another member as some ready-made code for you.. Good luck, Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: maandag 17 maart 2003 22:46 To: AccessD Subject: [AccessD] Deleting an Entire Module Procedure via code Anyone have advice on deleting an entire module procedure via code? JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 17-3-2003 Tested on: 17-3-2003 23:45:08 (c) 2000-2003 ALWIL Software. http://www.avast.com From stuart at lexacorp.com.pg Mon Mar 17 17:57:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 17:57:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> References: <18118943128.20030317141522@cactus.dk> Message-ID: <3E76ECE3.16099.E439CC4@localhost> I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Mon Mar 17 18:04:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 18:04:00 2003 Subject: [AccessD] One form for all In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF13@exchange.pgdp> Message-ID: <3E76EE5E.15445.E4966B2@localhost> On 17 Mar 2003 at 7:45, Hollis,Virginia wrote: > What do I do if it is a new record they are adding to Form 3? When a new > record is added using Form 3, the RequestID (FK) shows 0. I need it to enter > the same RequestID as the opening form, whether it is Form 1 or Form 2. > > Form 3 needs to open and set the FK - (RequestID in Table 2) to the same > RequestID (PK in Table 1) as in Form 1 or Form 2. > Use OpenArgs to pass the RequestID from Form1 or Form2 Then in the Before_update(): RequestID = OpenArgs -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From jcolby at ColbyConsulting.com Mon Mar 17 18:16:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 18:16:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E76ECE3.16099.E439CC4@localhost> Message-ID: And in ~1983 or thereabouts, I built a fully 16 bit 16mhz 80186 based single board computer. I was poor and into electronics so I just built my own. The board had the processor, 256kb of Ram, 2 serial ports, a floppy controller and a HDD controller. Of course things were more expensive back then - I bought a dual 8" floppy for $700. Couldn't afford a hard disk, but really didn't need one. It all just sat out on my workbench / table with cables everywhere. It ran CPM and Turbo Pascal for CPM. That was my first real language and first real programming experience. I worked for Megatek Corporation back then, a graphics company out of Sorrento Valley in San Diego. I managed to inherit an engineering prototype graphics system (terminal) that talked to my system via a blazing fast 19.2 kbit serial port. The graphics controller actually had more power than my SBC with a dedicated 8086 processor, 1/2 mb ROm and 1/2 MB display list RAM. It had an entire graphics language that could define lines in three dimensions, rotate / scale and translate images and even do rudimentary shading and light sources. My first programming was to build a Turbo Pascal interface to all of the instructions of the display controller. About a year after I started programming I had it drawing a three dimensional sphere using joined polygons for the surface rotating and scaling up and down as I told it how to display the sphere. Quite the machine. I gave it up for an IBM PCXT 12 MHz with this new thing called IBM DOS. A HUGE step down in performance, but a HUGE step up in usability since it was a standard that people used in offices. I then bought Turbo Pascal for that as well as Word Perfect, DbIII+ and Lotus123 and never looked back. Quit the electronics world and took up programming for a living. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, March 17, 2003 6:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4032 bytes Desc: not available URL: From jmoss111 at bellsouth.net Mon Mar 17 18:45:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Mon Mar 17 18:45:00 2003 Subject: [AccessD] test Message-ID: <005101c2ece7$897175b0$98b05041@jlmoss> An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Mon Mar 17 19:24:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Mon Mar 17 19:24:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: Hi Guys thanks for the replies. I'll explain what I am doing. We have a booking app. (Not mine) We can have many bookings entered for a day and even some at the same time. Amongst other things the Booking Start Time is captured by the other app. I display it in Me.txtStartTime I also have a combo Me.cmbWarningInterval that has list entries like 5,10,15,20,25,30,45,60 each representing minutes. If I select 15 from the combo I basically want a msgbox or some other event to fire 15 minutes before the StarTime Should be simple Many thanks for listening to me Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, 17 March 2003 6:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A2K: This should be easy I know people are going to post about the DateDiff function. But I'd like to get you thinking about what you are actually trying to do. Dates and Times are stored as numbers. The date is the whole number, which represents the number of days since 12-30-1899. Thus, since days are whole numbers, you can add or subtract days by simple math. (ie, to get tomorrow, it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 is midnight. Thus, you can also just simply add or subtract values to change the time. (ie, to get an hour from now, use Now()+(1/24)). Does that make sense? Also, another little known fact about the Date, Time and Now functions. They work both ways. If you use this line of code: Date=Date()+1 You've just set your systems date to tomorrow! Drew -----Original Message----- From: Darren Dick [mailto:d.dick at uws.edu.au] Sent: Sunday, March 16, 2003 8:46 PM To: Access Mail Group Subject: [AccessD] A2K: This should be easy Hello all This should be simple. I have a control on a form (txtStartTime). Formatted for Short time (i.e. hh:mm) I want to take say...5, 10 or 15 minutes from whatever time is in txtStartTime So take away 15 from 11:00 should give me 10:45 How do I do this. this should be easy. It probably is, I'm just brain fading. 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 cfoust at infostatsystems.com Mon Mar 17 19:44:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon Mar 17 19:44:00 2003 Subject: [AccessD] OT--A2K: This should be easy Message-ID: I started with CP/M and a PC someone else put together that booted from and loaded programs from a cassette tape recorder. I thought I'd died and gone to heaven when I got a new NorthStar PC with a single floppy drive and 64K of RAM back in 1976. I switched to MS-DOS when it was first released and worked with the first versions of dBase. Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 3:55 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy I did my early DB development on CC/PM (Concurrent CPM) in Dataflex (again 20 years ago ). Two ICL PCs networked and you could hotkey between 4 different applications (and a whole 64K available to each) on each PC. On 17 Mar 2003 at 8:57, Arthur Fuller wrote: > Anyone in this list besides me old enough to remember CP/M? Those were > the days! Once I did a big app on a computer system called Molecular, > that had a multi-user version of CP/M and 10MB hard disks! Bitchin > system. > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 17, 2003 8:15 AM > To: Stuart McLachlan > Subject: Re: [AccessD] A2K: This should be easy > > > Hi Stuart > > Oh, I'm old enough to know about Date and Time and DOS - and drivers > for add-on battery clocks for XT machines. > > What I didn't know was that these (Date and Time) were equivalent to > those of VBA; I've always regarded these as functions to only read the > settings of DOS (or WinNT+). > > /gustav > > > >> > Also, another little known fact about the Date, Time > >> > and Now functions. They work both ways. If you use this line of > >> > code: > >> > >> > Date=Date()+1 > >> > >> > You've just set your systems date to tomorrow! > >> > >> That is scary! I didn't know that. > >> Why do you know such weird things? > > > Because we've been using various BASICs for many years (in my case > > over 20) and once upon a time in DOS , we regularly used DATE and > > TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ 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 Mar 17 19:50:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon Mar 17 19:50:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <2F8793082E00D4119A1700B0D0216BF801D822D1@main2.marlow.com> Message-ID: <3E770736.5574.EAA7616@localhost> You need to have a flag to let you know whether you have already triggered your event. Either include a Boolean WarningDone in you table or if you can't change the table structure, create a temp table with all of today's bookings and include the boolean field in that temp table. Private Sub Form_Timer() Dim dblMinutes as Double dblMinutes = 1 / 24 / 60 .... 'Set up recordset 'rs' to include required fields from bookings info 'including the flag ....... While not rs.eof If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ and Not rs!WarningDone Then ........ 'Do whatever you want to with the info ......... rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub On 18 Mar 2003 at 12:22, Darren Dick wrote: > Hi Guys thanks for the replies. > I'll explain what I am doing. We have a booking app. (Not mine) > We can have many bookings entered for a day and even some at the same time. > > Amongst other things the Booking Start Time is captured by the other app. > I display it in Me.txtStartTime > I also have a combo Me.cmbWarningInterval that has list entries like > 5,10,15,20,25,30,45,60 each representing minutes. > > If I select 15 from the combo I basically want a msgbox or some other event > to fire 15 minutes before the StarTime > > Should be simple > > Many thanks for listening to me > > Darren > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, 17 March 2003 6:01 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] A2K: This should be easy > > > I know people are going to post about the DateDiff function. But I'd like > to get you thinking about what you are actually trying to do. > > Dates and Times are stored as numbers. The date is the whole number, which > represents the number of days since 12-30-1899. Thus, since days are whole > numbers, you can add or subtract days by simple math. (ie, to get tomorrow, > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 > is midnight. Thus, you can also just simply add or subtract values to > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > Does that make sense? Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > > Date=Date()+1 > > You've just set your systems date to tomorrow! > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Sunday, March 16, 2003 8:46 PM > To: Access Mail Group > Subject: [AccessD] A2K: This should be easy > > > Hello all > This should be simple. > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > > So take away 15 from 11:00 should give me 10:45 > > How do I do this. > > this should be easy. It probably is, I'm just brain fading. > > 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 -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From carbonnb at sympatico.ca Mon Mar 17 21:19:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon Mar 17 21:19:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: Message-ID: <3E7649AF.19297.30D5409@localhost> On 17 Mar 2003 at 15:46, John Bartow wrote: > Anyone have advice on deleting an entire module procedure via code? John, What version of Access? Do you want to delete a complete module or just a procedure? -- Bryan Carbonnell - carbonnb at sympatico.ca I'm not a complete idiot some parts are missing. From wdhindman at bellsouth.net Mon Mar 17 22:02:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:02:00 2003 Subject: [AccessD] RE: it does work....no thnx:-) References: <01C2EC7A.753A3770.bob@renaissancesiding.com> Message-ID: <009f01c2ed03$34aa5c60$6101a8c0@amd2k512> www.lebans.com has a module using API calls to change the colors of regular Command Buttons ...HTH :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Bob Gajewski" To: Sent: Monday, March 17, 2003 11:43 AM Subject: RE: [AccessD] RE: it does work....no thnx:-) > Brenda > > I believe that Candace Tripp has a solution for those "boring grey buttons" > on her website (www.candace-tripp.com). See the 'Color Command Buttons' > links ... > > Regards, > Bob Gajewski > > > On Monday, March 17, 2003 10:56 AM, Reische, Brenda L. > [SMTP:reische at mdh.org] wrote: > > Thank you for your assistance > > > > I was able to get it to work finally!!! > > > > Surprisingly, the answer was this: > > It works fine as long as the "search" button is a button control. If the > > "search" button is a label control it will work the first time and not > > again > > > > I prefer the label control with the code in the on-click event of it > because > > I can format it and make it match the application. Command buttons are > > boring gray objects > > > > Guess I learned that I can't beat the system every time!!! > > > > Thanks again for your help/comments > > > > Brenda Reische > > McDonough District Hospital > > > > -----Original Message----- > > From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] > > Sent: Friday, March 14, 2003 4:02 PM > > To: reische at mdh.org > > Subject: it does work....no thnx:-) > > > > Hope you can have a nice & quiet weekend now.. > > > > > > Eric > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 bellsouth.net Mon Mar 17 22:07:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:07:00 2003 Subject: [AccessD] test again References: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Message-ID: <00ba01c2ed03$d015a740$6101a8c0@amd2k512> ...ignore JC? ...been tryin' that for years ...ain't quite succeeded as yet but I'm gainin' :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: "Mike and Doris Manning" To: Sent: Monday, March 17, 2003 1:58 PM Subject: RE: [AccessD] test again > Ignore John Colby's test messages. He is learning how to digitally encrypt > messages and didn't realize members of the AccessD list wouldn't be able to > open them. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of PBudge at cbsol.com > Sent: Monday, March 17, 2003 01:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] test again > > > > All's I get is a blank email - just like that on the first one too. Was it > meant to be blank? > > > Pamela G. Budge > PBudge at cbsol.com > Creative Business Solutions > > > > > "John W. Colby" > > > .com> cc: > > Sent by: Subject: [AccessD] > test again > accessd-admin at databasea > > dvisors.com > > > > > > 03/17/2003 12:20 PM > > Please respond to > > accessd > > > > > > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Mon Mar 17 22:22:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:22:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Mon Mar 17 22:23:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:23:01 2003 Subject: [AccessD] test again In-Reply-To: <00ba01c2ed03$d015a740$6101a8c0@amd2k512> Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 10290 bytes Desc: not available URL: From wdhindman at bellsouth.net Mon Mar 17 22:27:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon Mar 17 22:27:00 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <011401c2ed06$ab906970$6101a8c0@amd2k512> ...loud and clear on this end :) William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: John W. Colby To: AccessD Sent: Monday, March 17, 2003 11:21 PM Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 17 22:29:00 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon Mar 17 22:29:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: <009401c2ed06$d418ffb0$6501a8c0@tbig3> I can read it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, March 17, 2003 11:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Mon Mar 17 22:31:01 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Mon Mar 17 22:31:01 2003 Subject: [AccessD] Digital signature / certificates Message-ID: An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 17 22:35:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon Mar 17 22:35:01 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: So it appears that the certificate survived the routing through the list server as well. The problem is that the process of storing the certificate is to right click the from, which in this case is the list server, which means that if it did save the certificate it would do so to the AccessD contact not to my contact in your address book. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, March 17, 2003 11:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From john at winhaven.net Mon Mar 17 22:56:01 2003 From: john at winhaven.net (John Bartow) Date: Mon Mar 17 22:56:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <3E7649AF.19297.30D5409@localhost> Message-ID: Hi Bryan, A97, I just wanted to delete one procedure. I was just checking to see if anyone had code that I could adapt and also if there were any methods that worked/didn't work well. (I have never manipulated module code with code before so I wanted to check first.) John -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Monday, March 17, 2003 9:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 15:46, John Bartow wrote: > Anyone have advice on deleting an entire module procedure via code? John, What version of Access? Do you want to delete a complete module or just a procedure? -- Bryan Carbonnell - carbonnb at sympatico.ca I'm not a complete idiot some parts are missing. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Mar 18 03:04:01 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 03:04:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: Message-ID: <3E76E0F3.9080701@shaw.ca> StaRKeY wrote: >Hi JB, > >Declare a var as module and see all the methods you can use to get your work >done... you can use the modvar.find method probably if you already know the >procedure name and use the proccountoflines or something to loop through all >lines and use the deleteline method from module... what it comes down to is >looping through the proclines and delete them.... > >I have to say it's a bit too much work to have it laid out to you for now >but it's almost midnight and I'm going to bed;-) Maybe another member as >some ready-made code for you.. > >Good luck, >Eric > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow >Sent: maandag 17 maart 2003 22:46 >To: AccessD >Subject: [AccessD] Deleting an Entire Module Procedure via code > > >Anyone have advice on deleting an entire module procedure via code? > >JB > > > Here is a starting point . I just was trying to list subroutines maybe you can take from there. You can also do it for forms. Public Sub DocDatabase() '==================================================================== ' Name: DocDatabase ' '==================================================================== On Error GoTo Err_DocDatabase Dim dbs As Database Dim cnt As Container Dim doc As Document Dim intCount As Integer Set dbs = CurrentDb() ' use CurrentDb() to refresh Collections Set cnt = dbs.Containers("Modules") For Each doc In cnt.Documents Debug.Print doc.Name ListAllProcsOrig (doc.Name) Next doc Set doc = Nothing Set cnt = Nothing Set dbs = Nothing Err_DocDatabase: MsgBox Err.Number & "-" & Err.Description GoTo Exit_DocDatabase Exit_DocDatabase: End Sub Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Function ListAllProcsOrig(strModuleName As String) 'Purpose: lists all procs subroutine/functions for given module 'Example: ListAllProcs("MyModule") Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenModule strModuleName ' Return reference to Module object. Set mdl = Modules(strModuleName) ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function From gustav at cactus.dk Tue Mar 18 03:32:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:32:01 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> References: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> Message-ID: <247680874.20030318103113@cactus.dk> Hi Arthur > Anyone in this list besides me old enough to remember CP/M? Those were the > days! Once I did a big app on a computer system called Molecular, that had a > multi-user version of CP/M and 10MB hard disks! Bitchin system. Yes! The first computer I worked with was the AVL Eagle introduced at the Photokina world fair in 1978. Its main purpose was controlling multi-image (slide) shows and as the first machine for this equipped with a monitor it was a true sensation. Here's a picture (not me!) I found (top right): http://www.avextravaganzas.com/Rental_Price_List/Computers/computers.html It's the computer at the far left with the 8" monitor on top hardly visible. The text claims 256K of ram but actually it came with 64K and room for 64K expansion boards of a size like the front of the computer. Proprietary preformatted "data diskettes" were sold at a horrible price until our British partner found out how to format empty diskettes on a standard CP/M computer. Several other programs were available for the machine like Wordstar (if I recall correctly). I never did any general purpose programming on this machine though - my job was completely different in those days ... /gustav > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > add-on battery clocks for XT machines. > What I didn't know was that these (Date and Time) were equivalent to those > of VBA; I've always regarded these as functions to only read the settings of > DOS (or WinNT+). >>> > Also, another little known fact about the Date, Time >>> > and Now functions. They work both ways. If you use this line of >>> > code: >>> >>> > Date=Date()+1 >>> >>> > You've just set your systems date to tomorrow! >>> >>> That is scary! I didn't know that. >>> Why do you know such weird things? >> Because we've been using various BASICs for many years (in my case >> over 20) and once upon a time in DOS , we regularly used DATE and >> TIME to adjust the system clock. From martyconnelly at shaw.ca Tue Mar 18 03:32:40 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 03:32:40 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: Message-ID: <3E76E787.8060505@shaw.ca> John Bartow wrote: >Hi Bryan, >A97, I just wanted to delete one procedure. > >I was just checking to see if anyone had code that I could adapt and also if >there were any methods that worked/didn't work well. (I have never >manipulated module code with code before so I wanted to check first.) > >John > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell >Sent: Monday, March 17, 2003 9:18 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Deleting an Entire Module Procedure via code > > >On 17 Mar 2003 at 15:46, John Bartow wrote: > > > >>Anyone have advice on deleting an entire module procedure via code? >> >> > >John, > >What version of Access? > >Do you want to delete a complete module or just a procedure? > >-- >Bryan Carbonnell - carbonnb at sympatico.ca >I'm not a complete idiot some parts are missing. > > > > > I suppose you could also use the brute force method below and parse the output text file cutting the procedure and reload it. To bad you can't use Memory Mapped Files as a virtual file. Public Sub DocDatabase() '==================================================================== ' Name: DocDatabase ' Purpose: Documents the database to a series of text files ' ' ' Comment: Uses the undocumented [Application.SaveAsText] syntax ' To reload use the syntax [Application.LoadFromText] '==================================================================== On Error GoTo Err_DocDatabase Dim dbs As Database Dim cnt As Container Dim doc As Document Dim i As Integer Set dbs = CurrentDb() ' use CurrentDb() to refresh Collections Set cnt = dbs.Containers("Forms") For Each doc In cnt.Documents Application.SaveAsText acForm, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Reports") For Each doc In cnt.Documents Application.SaveAsText acReport, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Scripts") For Each doc In cnt.Documents Application.SaveAsText acMacro, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc Set cnt = dbs.Containers("Modules") For Each doc In cnt.Documents Application.SaveAsText acModule, doc.Name, "D:\Document\" & doc.Name & ".txt" Next doc For i = 0 To dbs.QueryDefs.Count - 1 Application.SaveAsText acQuery, dbs.QueryDefs (i).Name, "D:\Document\" & dbs.QueryDefs(i).Name & ".txt" Next i Set doc = Nothing Set cnt = Nothing Set dbs = Nothing Exit_DocDatabase: Exit Sub Err_DocDatabase: Select Case Err Case Else MsgBox Err.Description Resume Exit_DocDatabase End Select End Sub 'in clean database load the new form Public Function LoadForm(frm As String) On Error Resume Next Application.LoadFromText acForm, frm, "D:\YourPath\" & frm & ".txt" End Function From gustav at cactus.dk Tue Mar 18 03:38:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:38:01 2003 Subject: [AccessD] test again In-Reply-To: References: Message-ID: <288052298.20030318103724@cactus.dk> Hi John The content of your S/MIME Encrypted Message: The harder you try... ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Monday, March 17, 2003 11:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] test again ...ignore JC? ...been tryin' that for years ...ain't quite succeeded as yet but I'm gainin' :) William Hindman From gustav at cactus.dk Tue Mar 18 03:40:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:40:01 2003 Subject: [AccessD] test again In-Reply-To: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> References: <004101c2ecb7$33af6c20$dc340cd8@hargrove.internal> Message-ID: <1748194262.20030318103946@cactus.dk> Hi Doris My "The Bat" mailer can read these: test again. Nothing coming back to me. John W. Colby Colby Consulting www.ColbyConsulting.com --- So John, why not change to a mailer that can read its own sendings? /gustav > Ignore John Colby's test messages. He is learning how to digitally encrypt > messages and didn't realize members of the AccessD list wouldn't be able to > open them. > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com From gustav at cactus.dk Tue Mar 18 03:41:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 03:41:01 2003 Subject: [AccessD] test In-Reply-To: References: Message-ID: <1768246928.20030318104039@cactus.dk> Hi John That was: test John W. Colby Colby Consulting www.ColbyConsulting.com /gustav From gustav at cactus.dk Tue Mar 18 04:06:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 04:06:02 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: References: Message-ID: <729742529.20030318110534@cactus.dk> Hi John Well, if you have a mailer that can read the certificate it will among other details tell you: Invalid S/MIME certificate The publisher of this certificate link was not found. Publisher: ZA Western Cape Cape Town Thawte Certificate Services Personal Freemail RSA 2000.8.30 /gustav > So it appears that the certificate survived the routing through the list > server as well. The problem is that the process of storing the > certificate is to right click the from, which in this case is the list > server, which means that if it did save the certificate it would do so to > the AccessD contact not to my contact in your address book. From carbonnb at sympatico.ca Tue Mar 18 04:31:01 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue Mar 18 04:31:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: References: <3E7649AF.19297.30D5409@localhost> Message-ID: <3E76AEED.30785.19725D@localhost> On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From andy at minstersystems.co.uk Tue Mar 18 06:15:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 06:15:01 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 06:20:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 06:20:00 2003 Subject: [AccessD] One form for all Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF42@exchange.pgdp> That works! Thank you. First time I ever tried anything like that. Never really knew how the openArgs worked - learned something. Va. -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, March 17, 2003 6:01 PM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: RE: [AccessD] One form for all On 17 Mar 2003 at 7:45, Hollis,Virginia wrote: > What do I do if it is a new record they are adding to Form 3? When a new > record is added using Form 3, the RequestID (FK) shows 0. I need it to enter > the same RequestID as the opening form, whether it is Form 1 or Form 2. > > Form 3 needs to open and set the FK - (RequestID in Table 2) to the same > RequestID (PK in Table 1) as in Form 1 or Form 2. > Use OpenArgs to pass the RequestID from Form1 or Form2 Then in the Before_update(): RequestID = OpenArgs -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From andy at minstersystems.co.uk Tue Mar 18 06:20:31 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 06:20:31 2003 Subject: [AccessD] Predefining PDF filename Message-ID: <20030318121915.386A51E219E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 06:29:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 06:29:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> Message-ID: Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From jarus at amerinet-gpo.com Tue Mar 18 06:49:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 06:49:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: I was able to read your email and the certificate. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 07:09:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 07:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: <20030318121414.7DD271E2464@mrburns.nildram.co.uk> Message-ID: <002301c2ed4f$9a7edd80$6101a8c0@amd2k512> ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ...WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at pacific.net.hk Tue Mar 18 07:12:00 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue Mar 18 07:12:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: <001801c2ed4f$dc035380$2900a8c0@BITSNB02> Just as a side note and depending on your needs, a commonly use digitial signing/ encryption system is pgp. It is pretty much platform independent, is well tested and trusted and has a few nice features. Stuart -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, 18 March, 2003 12:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From andy at minstersystems.co.uk Tue Mar 18 07:20:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 07:20:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318131907.DCDD21E2192@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Tue Mar 18 07:21:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 07:21:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318132049.CEFA71E24A9@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 07:37:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 07:37:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: <20030318132049.CEFA71E24A9@mrburns.nildram.co.uk> Message-ID: <005e01c2ed53$77325150$6101a8c0@amd2k512> System File Checker ...HTH :) http://support.microsoft.com/default.aspx?scid=kb;en-us;188186 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 8:20 AM Subject: Re: [AccessD] Slightly OT: Installation protocol Hi William What's the W98SE utility called? Sounds really useful in a situation like this. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "William Hindman" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 18:15 ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ....WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 18 07:37:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 18 07:37:26 2003 Subject: [AccessD] Digital signature / certificates Message-ID: John, I get your e-mails with you listed as the From: and AccessD as the To:. So all works fine. It's when I reply that AccessD gets set to the To: and you disappear. This is with Outlook 10 SP1. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 17 22:35 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates So it appears that the certificate survived the routing through the list server as well. The problem is that the process of storing the certificate is to right click the from, which in this case is the list server, which means that if it did save the certificate it would do so to the AccessD contact not to my contact in your address book. John W. Colby Colby Consulting www.ColbyConsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 07:41:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 07:41:01 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <20030318131907.DCDD21E2192@mrburns.nildram.co.uk> Message-ID: Unfortunately they did exactly what they were told to do. The system is broken, and there is no cure within the system. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Interesting John, but doesn't help when receiving other people's stuff. What should they have done different that would have saved me some grief? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "John W. Colby" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 17:37 Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- -- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- ------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3047 bytes Desc: not available URL: From lyle.hannum at co.wake.nc.us Tue Mar 18 07:46:00 2003 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Tue Mar 18 07:46:00 2003 Subject: [AccessD] Acc2000 wont open after repair Message-ID: That did the trick, thanks bunches. MartyConnelly To: accessd at databaseadvisors.com Sent by: cc: accessd-admin at databasead Subject: Re: [AccessD] Acc2000 wont open after visors.com repair 03/17/03 12:12 PM Please respond to accessd Try the JetComp.exe utility on a copy. ACC2000: Jet Compact Utility Available in Download Centerhttp://support.microsoft.com/default.aspx?scid=kb;en-us;273956 lyle.hannum at co.wake.nc.us wrote: >Hi all > >When I got to the office this morning and attempted to open a Access 2000 >mdb that lives on our network, a msg poped up that the db was corrupted and >would I like to repair. I selected yes, and it seemed to repair itself. >However, now when I try to open it, nothing happens. No errors, no nothing. >Almost as if it was not there, however Acc97 will try to open it (giving an >error msg of unrecognizable format), it can be renamed, and copied >successfully (but still not opened) to my local drive (showing file size of >8mb). I have the same symptoms if I try to import its objects into a new >db. Access seems to open all other db's just fine. Shift-open has no >effect. Any ideas? TIA > >Lyle Hannum > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 08:01:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 08:01:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Here's what I do. When I build a setup for a VB App, I give the user the ability to NOT install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do have it set to install by default though. I only install the runtimes if an older version is on the system, but before I do that, I back them up. I don't give the user a choice, they get backed up. Period. When the app gets uninstalled, if there are files in the backup directory, then I ask if they want to restore the DLLs to the pre install state. If they do, great, they get restored, if not, the backups get deleted. There really isn't anything that can be done in your situation. As others have said, welcome to DLL Hell. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> I'd like to know from you who install your VB apps on other people'smachines whether it's normal practice to overwrite system dll's that areolder than the one you're sending out, without asking or telling? A userhere installed a demo which installed a version of oleaut32.dll. Theirversion was newer but it stll messed up my Access app, specifically where ittalked to Outlook. Do I have a grouse? From jcolby at ColbyConsulting.com Tue Mar 18 08:14:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:14:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 11652 bytes Desc: not available URL: From michael.mattys at adelphia.net Tue Mar 18 08:19:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 18 08:19:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: <3E7649AF.19297.30D5409@localhost> <3E76AEED.30785.19725D@localhost> Message-ID: <002601c2ed5a$c1f2f580$6401a8c0@default> John, This might help a little bit Mike Mattys www.mattysconsulting.com '----------------------------------------- Private Function FindDelete(strModuleName As String, strSearchText As String) As Boolean ' ' Mattys Consulting 2003 ' Returns True if successful in deleting the line ' This is ONLY useful for ONE-LINERS - the find method cannot find chr(13) or chr(10) ' Dim mdl As Module Dim lngSLine As Long, lngSCol As Long Dim lngELine As Long, lngECol As Long Dim strLine As String, strNewLine As String Dim intChr As Integer, intBefore As Integer, intAfter As Integer Dim strLeft As String, strRight As String DoCmd.OpenModule strModuleName Set mdl = Modules(strModuleName) If mdl.Find(strSearchText, lngSLine, lngSCol, lngELine, lngECol) Then ' Store text of line containing string. strLine = mdl.Lines(lngSLine, Abs(lngELine - lngSLine) + 1) mdl.DeleteLines lngSLine, 1 FindDelete = True Else FindDelete = False End If Exit_FindDelete: Exit Function Error_FindDelete: MsgBox Err & ": " & Err.Description FindDelete = False Resume Exit_FindDelete End Function From andy at minstersystems.co.uk Tue Mar 18 08:19:22 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 08:19:22 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318141820.E34F21E258E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Tue Mar 18 08:20:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 08:20:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <20030318141854.E0BE91E2489@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:28:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:28:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 9058 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:35:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:35:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: test again John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 9:00 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol Here's what I do. When I build a setup for a VB App, I give the user the ability to NOT install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do have it set to install by default though. I only install the runtimes if an older version is on the system, but before I do that, I back them up. I don't give the user a choice, they get backed up. Period. When the app gets uninstalled, if there are files in the backup directory, then I ask if they want to restore the DLLs to the pre install state. If they do, great, they get restored, if not, the backups get deleted. There really isn't anything that can be done in your situation. As others have said, welcome to DLL Hell. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> I'd like to know from you who install your VB apps on other people'smachines whether it's normal practice to overwrite system dll's that areolder than the one you're sending out, without asking or telling? A userhere installed a demo which installed a version of oleaut32.dll. Theirversion was newer but it stll messed up my Access app, specifically where ittalked to Outlook. Do I have a grouse? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2600 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Tue Mar 18 08:42:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 08:42:01 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: Message-ID: A non-text attachment was scrubbed... Name: smime.p7m Type: application/pkcs7-mime Size: 11664 bytes Desc: not available URL: From JRojas at tnco-inc.com Tue Mar 18 08:59:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 08:59:00 2003 Subject: [AccessD] OT: MSDE on Window XP Message-ID: <806536912C472E4A9D6515DF2E57261E0C5924@mercury.tnco-inc.com> Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From wdhindman at bellsouth.net Tue Mar 18 09:07:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:07:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <001d01c2ed60$17afdd80$6101a8c0@amd2k512> JC ...I know! ...I know! ...you're testing our patience! :) ...what happens when we fail? :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 9:34 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > test again > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > Sent: Tuesday, March 18, 2003 9:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > Here's what I do. > > When I build a setup for a VB App, I give the user the ability to NOT > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do > have it set to install by default though. > > I only install the runtimes if an older version is on the system, but before > I do that, I back them up. I don't give the user a choice, they get backed > up. Period. > > When the app gets uninstalled, if there are files in the backup directory, > then I ask if they want to restore the DLLs to the pre install state. > > If they do, great, they get restored, if not, the backups get deleted. > > There really isn't anything that can be done in your situation. As others > have said, welcome to DLL Hell. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > I'd like to know from you who install your VB apps on other people'smachines > whether it's normal practice to overwrite system dll's that areolder than > the one you're sending out, without asking or telling? A userhere installed > a demo which installed a version of oleaut32.dll. Theirversion was newer but > it stll messed up my Access app, specifically where ittalked to Outlook. Do > I have a grouse? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From jarus at amerinet-gpo.com Tue Mar 18 09:10:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 09:10:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Tue Mar 18 09:14:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 09:14:00 2003 Subject: [AccessD] OT: MSDE on Window XP (more) Message-ID: <806536912C472E4A9D6515DF2E57261E0C5925@mercury.tnco-inc.com> It looks like the problem is because I have installed the SQL 7.0 tools. I did this because we have a SQL 7.0 server that I would like to administer from my desktop...but it looks like this is screwing up my installation of MSDE 1.0. -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 10:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jcolby at ColbyConsulting.com Tue Mar 18 09:17:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 09:17:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <001d01c2ed60$17afdd80$6101a8c0@amd2k512> Message-ID: Ranting and raving? in fact something strange is happening with this digital sig thing I'm trying to use. I reply to a message one time and it appears to be locked, can't be read. Another reply(this test you replied to) is not locked. the technology is not ready for prime time methinks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, March 18, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol JC ...I know! ...I know! ...you're testing our patience! :) ...what happens when we fail? :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 9:34 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > test again > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > Sent: Tuesday, March 18, 2003 9:00 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > Here's what I do. > > When I build a setup for a VB App, I give the user the ability to NOT > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I do > have it set to install by default though. > > I only install the runtimes if an older version is on the system, but before > I do that, I back them up. I don't give the user a choice, they get backed > up. Period. > > When the app gets uninstalled, if there are files in the backup directory, > then I ask if they want to restore the DLLs to the pre install state. > > If they do, great, they get restored, if not, the backups get deleted. > > There really isn't anything that can be done in your situation. As others > have said, welcome to DLL Hell. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > I'd like to know from you who install your VB apps on other people'smachines > whether it's normal practice to overwrite system dll's that areolder than > the one you're sending out, without asking or telling? A userhere installed > a demo which installed a version of oleaut32.dll. Theirversion was newer but > it stll messed up my Access app, specifically where ittalked to Outlook. Do > I have a grouse? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3200 bytes Desc: not available URL: From paul.hartland at fsmail.net Tue Mar 18 09:17:34 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue Mar 18 09:17:34 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: <20030318151637.BJFZ20663.fep03-svc.ttys.com@localhost> Couldn't you use the LostFocus Event of the Comments in the sub form i.e : In the LostFocus Event type Forms!MainForm!NameCBO.SetFocus I'm sure I have used something like this in the past Paul From: "Terri Jarus" Date: Tue 18/Mar/2003 15:16 GMT To: Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From michael.mattys at adelphia.net Tue Mar 18 09:23:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue Mar 18 09:23:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form References: Message-ID: <007101c2ed63$9ede28e0$6401a8c0@default> Terri, See this KB Article http://support.microsoft.com/default.aspx?scid=KB;en-us;q154893 Mike Mattys www.mattysconsulting.com ----- Original Message ----- From: "Terri Jarus" To: Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form > I am working in a subform and want to tab from one field back to a field > on the main form. How do I get focus to the field on the main form? > > MainForm - CashReceipts > SubFormControl - SubCashCtl > > Field on subform is Comments - once I tab off that field I want the > focus to set to the field nameCbo on the main form. > > I can't seem to get it right - couldn't find anything in the archives. > > Thanks for any help. > From jarus at amerinet-gpo.com Tue Mar 18 09:27:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 09:27:01 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: That is almost what I did - except I used Form!... instead of Forms!... which works. Thank you very much. >>> paul.hartland at fsmail.net 03/18/03 09:16AM >>> Couldn't you use the LostFocus Event of the Comments in the sub form i.e : In the LostFocus Event type Forms!MainForm!NameCBO.SetFocus I'm sure I have used something like this in the past Paul From: "Terri Jarus" Date: Tue 18/Mar/2003 15:16 GMT To: Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Mar 18 09:34:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue Mar 18 09:34:00 2003 Subject: [AccessD] OT: MSDE on Window XP In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5924@mercury.tnco-inc.com> Message-ID: <000701c2ed63$adb487b0$9111758f@aine> Whats the error message if any. I have it running on three XP Pro machines. Martin Martin WP Reid Analyst/Trainer Information Service 02890 273750 -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Joe Rojas Sent: 18 March 2003 15:02 To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Mar 18 09:42:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:42:00 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form References: Message-ID: <004401c2ed64$df042ae0$6101a8c0@amd2k512> Terri ...if its a single record subform, try something like this. ...on your SubCashCtl subform, set the Comments control's OnExit property to an event, then place this in its CBF: Private Sub Comments_Exit(Cancel As Integer) Forms![CashReceipts]![nameCbo].SetFocus Exit Sub End Sub...if its a multiple record subform, you'd need to do a MoveLast first and enclose the SetFocus in an IfThen construct....HTH :)William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Terri Jarus To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 09:59:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 09:59:01 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <000e01c2ed67$51f46220$6101a8c0@amd2k512> "the technology is not ready for prime time methinks." JC ...methinks :))) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "John W. Colby" To: Sent: Tuesday, March 18, 2003 10:16 AM Subject: RE: [AccessD] Slightly OT: Installation protocol > Ranting and raving? > > in fact something strange is happening with this digital sig thing I'm > trying to use. I reply to a message one time and it appears to be locked, > can't be read. Another reply(this test you replied to) is not locked. > > the technology is not ready for prime time methinks. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of William Hindman > Sent: Tuesday, March 18, 2003 10:07 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > JC > > ...I know! ...I know! ...you're testing our patience! :) > > ...what happens when we fail? :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Tuesday, March 18, 2003 9:34 AM > Subject: RE: [AccessD] Slightly OT: Installation protocol > > > > test again > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell > > Sent: Tuesday, March 18, 2003 9:00 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Slightly OT: Installation protocol > > > > > > Here's what I do. > > > > When I build a setup for a VB App, I give the user the ability to NOT > > install the VB Runtimes (which oleaut32.dll is one) if they so choose. I > do > > have it set to install by default though. > > > > I only install the runtimes if an older version is on the system, but > before > > I do that, I back them up. I don't give the user a choice, they get backed > > up. Period. > > > > When the app gets uninstalled, if there are files in the backup directory, > > then I ask if they want to restore the DLLs to the pre install state. > > > > If they do, great, they get restored, if not, the backups get deleted. > > > > There really isn't anything that can be done in your situation. As others > > have said, welcome to DLL Hell. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> andy at minstersystems.co.uk 18-Mar-03 7:14:17 AM >>> > > I'd like to know from you who install your VB apps on other > people'smachines > > whether it's normal practice to overwrite system dll's that areolder than > > the one you're sending out, without asking or telling? A userhere > installed > > a demo which installed a version of oleaut32.dll. Theirversion was newer > but > > it stll messed up my Access app, specifically where ittalked to Outlook. > Do > > I have a grouse? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From cfoust at infostatsystems.com Tue Mar 18 10:02:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:02:00 2003 Subject: [AccessD] OT: MSDE on Window XP (more) Message-ID: MSDE 1.0 *is* SQL Server 7, so the tools shouldn't mess anything up. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:17 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: MSDE on Window XP (more) It looks like the problem is because I have installed the SQL 7.0 tools. I did this because we have a SQL 7.0 server that I would like to administer from my desktop...but it looks like this is screwing up my installation of MSDE 1.0. -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 10:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Mar 18 10:03:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:03:00 2003 Subject: [AccessD] OT: MSDE on Window XP Message-ID: Do you have SQL Server installed on your machine? You won't be able to install MSDE if you already have SQL Server installed. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:09:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: So what were you trying to say? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at ColbyConsulting.com 18-Mar-03 10:16:40 AM >>> Ranting and raving? in fact something strange is happening with this digital sig thing I'm trying to use. I reply to a message one time and it appears to be locked, can't be read. Another reply(this test you replied to) is not locked. the technology is not ready for prime time methinks. From cfoust at infostatsystems.com Tue Mar 18 10:09:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 10:09:23 2003 Subject: [AccessD] Digital signature / certificates Message-ID: These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:10:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:10:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: I wouldn't call it efficient. Just courteous. Let's just say, I've been bitten like that before and I *TRY* not to inflict it upon others. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> andy at minstersystems.co.uk 18-Mar-03 9:18:24 AM >>> That sounds a damned sight better than what happended to me Bryan. Wisheveryone was as efficient. From jcolby at ColbyConsulting.com Tue Mar 18 10:20:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 10:20:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: Message-ID: MessageYea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Tue Mar 18 10:31:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Tue Mar 18 10:31:00 2003 Subject: [AccessD] Predefining PDF filename References: <20030318121915.386A51E219E@mrburns.nildram.co.uk> Message-ID: <004601c2ed6c$3b425910$6400000a@dogbert2k> Just a thought. Why don't you rename and move the file after it's generated? Tom ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 6:19 AM Subject: [AccessD] Predefining PDF filename Hi all I've been using Acrobat's PDFWriter for ages from my Access app. However I have a problem with it today, in that it messes up some colours, which some users object to. I could switch to Acrobat Distiller, which is much better at preserving colours, but.......the one thing that PDFWriter gives me is the ability, via PdfWritr.ini, to predefine the name and location of the output pdf so that I can control it and not have users doing so (believe me, it's important). Does anyone know if this can be done using Distiller, and if so how? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomadatn at bellsouth.net Tue Mar 18 10:31:27 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Tue Mar 18 10:31:27 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code References: <3E7649AF.19297.30D5409@localhost> <3E76AEED.30785.19725D@localhost> Message-ID: <004701c2ed6c$3b44a300$6400000a@dogbert2k> If you download my Documentor and stir around in it you'll find some code to read modules and procedures. I think it's the code that requires a seldom used reference. www.accessdevgroup.org - click Download in the left pane. Tom ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Tuesday, March 18, 2003 4:30 AM Subject: RE: [AccessD] Deleting an Entire Module Procedure via code > On 17 Mar 2003 at 22:54, John Bartow wrote: > > > Hi Bryan, > > A97, I just wanted to delete one procedure. > > > > I was just checking to see if anyone had code that I could adapt and > > also if there were any methods that worked/didn't work well. (I have > > never manipulated module code with code before so I wanted to check > > first.) > > Sorry. Can't help with 97. I never have figured out code > manipulation in 97 :-( > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Tue Mar 18 10:32:05 2003 From: john at winhaven.net (John Bartow) Date: Tue Mar 18 10:32:05 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <3E76AEED.30785.19725D@localhost> Message-ID: Bryan, Does that imply that module code handling is much better in A2k/XP? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 4:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Mar 18 10:38:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue Mar 18 10:38:00 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code Message-ID: IMHO yes. Because A2K and XP (I presume) have a totally separate VBE for code, and with that comed an almost complete object model, it makes it easier to get at. Having said that, I have never really put that much time into looking at code manipulation in A97. So it could be easy, I just haven't stumbled on the "magic key" that opens it up. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> john at winhaven.net 18-Mar-03 11:32:00 AM >>> Bryan, Does that imply that module code handling is much better in A2k/XP? JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Tuesday, March 18, 2003 4:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Deleting an Entire Module Procedure via code On 17 Mar 2003 at 22:54, John Bartow wrote: > Hi Bryan, > A97, I just wanted to delete one procedure. > > I was just checking to see if anyone had code that I could adapt and > also if there were any methods that worked/didn't work well. (I have > never manipulated module code with code before so I wanted to check > first.) Sorry. Can't help with 97. I never have figured out code manipulation in 97 :-( From JRojas at tnco-inc.com Tue Mar 18 10:39:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue Mar 18 10:39:00 2003 Subject: [AccessD] OT: MSDE on Window XP (solved) Message-ID: <806536912C472E4A9D6515DF2E57261E0C5926@mercury.tnco-inc.com> What I originally did was install the SQL Server 7.0 Client tools first, then installed SP4. When I tried to install MSDE, it came back telling me that the install failed. What I had to do was uninstall the tools, then install MSDE first followed by installing the Client tools then finally install SP4. Now everything is all set, seemingly. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: MSDE on Window XP Do you have SQL Server installed on your machine? You won't be able to install MSDE if you already have SQL Server installed. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Tuesday, March 18, 2003 7:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: MSDE on Window XP Hello, I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone else tried this and have been successful at it? When I try to install it, it tells me that it could not install MSDE. Checked MSKB with no luck... Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mwp.reid at qub.ac.uk Tue Mar 18 10:41:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue Mar 18 10:41:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: Message-ID: <000001c2ed6d$15388900$9111758f@aine> We have a form containing three Radio button. We want to test a value in each field on a temp table. Where the value = YES we want to set the Radio button. The radio buttons are simply objects on the form with no connection to any table etc. Something basic is missing here and for the life of me I can't see it. Martin From my.lists at verizon.net Tue Mar 18 10:45:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue Mar 18 10:45:01 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <008d01c2ed6d$de0bf920$b615010a@FHTAPIA> OUCH! I would NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever (sounds like a monty python skit) consider placing MY SSN into a browser that did not at least display the security icon so at least I'd have that sense of security :O. I still will browse on line and then call the stores to place my orders ;o) -Francisco http://rcm.netfirms.com On Monday, March 17, 2003 8:21 PM [GMT-8], John W. Colby wrote: : I thought you guys might be interested in what I have figured out. : First of all there is a company that provides FREE personal email : certificates. Most such companies charge a small fee for them. : : http://www.thawte.com/html/COMMUNITY/personal/index.html : : In order to get this you have to fill out a form with your address, : phone and one personal ID number - SSN, Drivers License Number or : Passport Number. Basically after following the process you are sent : an email to the email address you provide them that contains a "ping" : hotlink that you have to click on which then tells them you received : the email and you are then issued the certificate. From andy at minstersystems.co.uk Tue Mar 18 10:46:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 10:46:00 2003 Subject: [AccessD] Predefining PDF filename Message-ID: <20030318164519.0285B1E244E@mrburns.nildram.co.uk> An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 10:48:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 10:48:00 2003 Subject: [AccessD] Unbound Radio Buttons References: <000001c2ed6d$15388900$9111758f@aine> Message-ID: <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> "Something basic is missing here and for the life of me I can't see it." Martin ...and for the life of me Martin, I can't see where you've said what the problem is :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Martin Reid" To: "accessd" Sent: Tuesday, March 18, 2003 11:40 AM Subject: [AccessD] Unbound Radio Buttons > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bob at renaissancesiding.com Tue Mar 18 10:49:01 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue Mar 18 10:49:01 2003 Subject: [AccessD] Unbound Radio Buttons Message-ID: <01C2ED44.59433150.bob@renaissancesiding.com> Martin Can you be a little more specific, and perhaps show the code that you are currently using? Are these three radio buttons part of a select group (frame)? When you say "test a value in each field", are you testing the value of a single [Boolean] field in each record from the temp table? Without more information, the best that I can suggest is that you want to set the value of the FRAME; not the individual radio buttons. Regards, Bob Gajewski On Tuesday, March 18, 2003 11:40 AM, Martin Reid [SMTP:mwp.reid at qub.ac.uk] wrote: > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jarus at amerinet-gpo.com Tue Mar 18 11:00:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue Mar 18 11:00:01 2003 Subject: [AccessD] [AccessD]A97 - Get Focus Main Form Message-ID: It was a multiple-record subform, however, the OnLostFocus event from the field works fine (Forms![CashReceipts]![nameCbo].SetFocus ). >>> wdhindman at bellsouth.net 03/18/03 09:41AM >>> Terri ...if its a single record subform, try something like this. ...on your SubCashCtl subform, set the Comments control's OnExit property to an event, then place this in its CBF: Private Sub Comments_Exit(Cancel As Integer) Forms![CashReceipts]![nameCbo].SetFocus Exit Sub End Sub ...if its a multiple record subform, you'd need to do a MoveLast first and enclose the SetFocus in an IfThen construct. ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Terri Jarus To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 10:16 AM Subject: [AccessD] [AccessD]A97 - Get Focus Main Form I am working in a subform and want to tab from one field back to a field on the main form. How do I get focus to the field on the main form? MainForm - CashReceipts SubFormControl - SubCashCtl Field on subform is Comments - once I tab off that field I want the focus to set to the field nameCbo on the main form. I can't seem to get it right - couldn't find anything in the archives. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 18 11:04:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue Mar 18 11:04:01 2003 Subject: [AccessD] Unbound Radio Buttons References: <000001c2ed6d$15388900$9111758f@aine> Message-ID: <005401c2ed70$61de64c0$abe6ffcc@SusanOne> Maybe you should try checkboxes instead -- the radio buttons return a value as a group, not as individual buttons. Susan H. > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Tue Mar 18 11:06:01 2003 From: john at winhaven.net (John Bartow) Date: Tue Mar 18 11:06:01 2003 Subject: [AccessD] Deleting an Entire Module Procedure via code In-Reply-To: <004701c2ed6c$3b44a300$6400000a@dogbert2k> Message-ID: Thanks I'll check it out. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Tom Adams Sent: Tuesday, March 18, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting an Entire Module Procedure via code If you download my Documentor and stir around in it you'll find some code to read modules and procedures. I think it's the code that requires a seldom used reference. www.accessdevgroup.org - click Download in the left pane. Tom ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Tuesday, March 18, 2003 4:30 AM Subject: RE: [AccessD] Deleting an Entire Module Procedure via code > On 17 Mar 2003 at 22:54, John Bartow wrote: > > > Hi Bryan, > > A97, I just wanted to delete one procedure. > > > > I was just checking to see if anyone had code that I could adapt and > > also if there were any methods that worked/didn't work well. (I have > > never manipulated module code with code before so I wanted to check > > first.) > > Sorry. Can't help with 97. I never have figured out code > manipulation in 97 :-( > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Tue Mar 18 11:11:01 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue Mar 18 11:11:01 2003 Subject: [AccessD] RE: Welcome to the "AccessD" mailing list In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99E54CFC@TTNEXCHSRV1.hshhp.com> Message-ID: This worked perfectly!! I totally forgot about that function. Thanks! Jeanine -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 17, 2003 2:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Would this work for you? Format(LoanNumber, String(Len([LoanNumber]),"0") The String function takes two arguments, the number of times to repeat and the character to repeat. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Monday, March 17, 2003 3:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list Could you conditionally set the format length based on the field length. Something like this; iif(len([LoanNumber]=7,format(LoanNumber, "0000000"), iif(len([LoanNumber]=8,format(LoanNumber, "00000000"), iif(len([LoanNumber]=9,format(LoanNumber, "000000000"), format(LoanNumber, "0000000000")))) Gary Kjos garykjos at hotmail.com >From: "Jeanine Scott" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list >Date: Mon, 17 Mar 2003 12:37:03 -0600 > >I've tried these option and both worked great in terms of Excel seeing my >data as text - however ran into these problems: > >Format option: > my loan number varies in length and I need to keep the original length. > >Character attached to field: > The quote shows in Excel in front of my loan number. > >I don't want to spend the amount of time it would take to implement Drew's >suggestion - although I'm sure it's a very good suggestion! > >I'm using the same query for export to Excel I use as the base for my >report >and my form data. > >Any other ideas? > > >Jeanine Scott >Sr. Systems Analyst >Spindustry Systems >515-669-2074 >jscott at spindustry.com > >CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is >for the sole use of the intended recipient(s) and may contain confidential >information. Any unauthorized review, use, disclosure, or distribution is >prohibited. If you are not the intended recipient, please contact the >sender >by reply e-mail and destroy all copies of the original message including >any >attachments. > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Monday, March 17, 2003 11:14 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] RE: Welcome to the "AccessD" mailing list > >In the query you use to generate the report, enter that column's >information >as Format(LoanNumber, "0000000") as the source. When you export it to >Excel, Excel should interpret this as a label. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jeanine Scott >Sent: Monday, March 17, 2003 11:38 AM >To: AccessD at databaseadvisors. com >Subject: [AccessD] RE: Welcome to the "AccessD" mailing list > > > >Hello, >I have a very basic question that I'm even embarrassed to ask! > >I have a text field that consists of numeric characters. Loan Number. I >need >it to be a text field because I have leading zeros on the loan numbers. I >am >exporting a report to Excel with this information. I need to do it in a >report because I want to keep the grouping levels intact when the data is >exported to Excel. > >Excel interprets my loan number field as numeric - dropping leading zeros. >I >have played with different things like exporting as a .txt file (doesn't >work), concatenating a space to the loan number (doesn't work) and >concatenating a "_" at the end of the field. This last option works >because >Excel obviously sees the field as text. I really cannot keep this as a >viable option. > >Is my only option to use automation and open Excel after I've done the >export and format the loan number field? If so, how do I find the range and >how does that work with groupings? > >This seems like such a simple thing and I can't believe I've never had to >solve this particular issue before! > >Thanks so much in advance for help! > >Jeanine > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Tue Mar 18 11:23:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:23:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <005401c2ed70$61de64c0$abe6ffcc@SusanOne> Message-ID: >the radio buttons return a value as a group, not as individual buttons. Not quite true. Radio buttons can be individual controls in which case they return a true or false (or null). If a part of a group, then the GROUP returns one value, the radio button currently selected, and also enforces the "only one selected at a time" rule. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Unbound Radio Buttons Maybe you should try checkboxes instead -- the radio buttons return a value as a group, not as individual buttons. Susan H. > > We have a form containing three Radio button. > > We want to test a value in each field on a temp table. Where the value = > YES we want to set the Radio button. > > The radio buttons are simply objects on the form with no connection to > any table etc. > > Something basic is missing here and for the life of me I can't see it. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2304 bytes Desc: not available URL: From ttom at accessyourdata.com Tue Mar 18 11:33:19 2003 From: ttom at accessyourdata.com (t tom) Date: Tue Mar 18 11:33:19 2003 Subject: [AccessD] Re: How to add a table description via code Message-ID: <003301c2ed73$d5a24a40$132b9244@cg.shawcable.net> Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 11:35:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:35:00 2003 Subject: [AccessD] Digital signature / certificates In-Reply-To: <008d01c2ed6d$de0bf920$b615010a@FHTAPIA> Message-ID: Did you get to the point where you were being asked to enter your SSN? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Tuesday, March 18, 2003 11:46 AM To: AccessD Subject: Re: [AccessD] Digital signature / certificates OUCH! I would NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever NEVER ever (sounds like a monty python skit) consider placing MY SSN into a browser that did not at least display the security icon so at least I'd have that sense of security :O. I still will browse on line and then call the stores to place my orders ;o) -Francisco http://rcm.netfirms.com On Monday, March 17, 2003 8:21 PM [GMT-8], John W. Colby wrote: : I thought you guys might be interested in what I have figured out. : First of all there is a company that provides FREE personal email : certificates. Most such companies charge a small fee for them. : : http://www.thawte.com/html/COMMUNITY/personal/index.html : : In order to get this you have to fill out a form with your address, : phone and one personal ID number - SSN, Drivers License Number or : Passport Number. Basically after following the process you are sent : an email to the email address you provide them that contains a "ping" : hotlink that you have to click on which then tells them you received : the email and you are then issued the certificate. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2588 bytes Desc: not available URL: From DWUTKA at marlow.com Tue Mar 18 11:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 11:41:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822E8@main2.marlow.com> Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 11:48:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 11:48:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822E9@main2.marlow.com> system file checker. (Start, Run, sfc) When I got Windows ME Beta (3), the first thing I did was try to open system file checker, and I got a message saying that ME 'protected' system files, so there was no need to put SFC on Windows ME. (It took me a while to stop laughing.) SFC not only checks your system files, but it will extract files from your cab files, and replace them 'live'. A good example for that is replacing your winsock files. In 95, you have to boot to DOS, to replace the winsock .dll's. In 98, SFC just asks what files you want replacing. It 'unhooks' them, and copies the originals from the cab files. Drew -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, March 18, 2003 7:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol Hi William What's the W98SE utility called? Sounds really useful in a situation like this. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "William Hindman" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Slightly OT: Installation protocol Date: 18/03/03 18:15 ...yes and no ...newer versions are supposed to be backwards compatible ...and in the last couple of years, MS has been pretty good about this ime ...but dll hell comes a callin' when third parties screw with MS originals ...AOL6 was infamous for this ...they changed half a dozen MS key system dll's without warning and the result was often chaos :( ...W98SE comes with a utility that does a binary compare of system files and restores any that have been changed ....WXP now has Restore built in to get you back to where you were :( William Hindman "And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man." John F. Kennedy, 1961 ----- Original Message ----- From: Andy Lacey To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 7:14 AM Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Tue Mar 18 11:48:49 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue Mar 18 11:48:49 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822E8@main2.marlow.com> Message-ID: Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Tue Mar 18 11:57:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Tue Mar 18 11:57:00 2003 Subject: [AccessD] Unbound Radio Buttons Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AA3@NT04> Martin, I would use the DLookup function in the control source for the radio buttons. Requery each button when the form changes. Jim -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, March 18, 2003 10:40 AM To: accessd Subject: [AccessD] Unbound Radio Buttons We have a form containing three Radio button. We want to test a value in each field on a temp table. Where the value = YES we want to set the Radio button. The radio buttons are simply objects on the form with no connection to any table etc. Something basic is missing here and for the life of me I can't see it. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Mar 18 12:02:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 18 12:02:00 2003 Subject: [AccessD] A2K: This should be easy References: <004b01c2ec8d$1e477aa0$8e01a8c0@Rock> <247680874.20030318103113@cactus.dk> Message-ID: <008701c2ed78$5f471e70$6601a8c0@HAL9002> Eagle computer. Very sad story that. The day they went public one of the guys who started it and had just become a multi-millionaire left the celebration in his new Jag lost control killed himself. The company never recovered. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Arthur Fuller" Sent: Tuesday, March 18, 2003 1:31 AM Subject: Re: [AccessD] A2K: This should be easy > Hi Arthur > > > Anyone in this list besides me old enough to remember CP/M? Those were the > > days! Once I did a big app on a computer system called Molecular, that had a > > multi-user version of CP/M and 10MB hard disks! Bitchin system. > > Yes! The first computer I worked with was the AVL Eagle introduced at > the Photokina world fair in 1978. Its main purpose was controlling > multi-image (slide) shows and as the first machine for this equipped > with a monitor it was a true sensation. > > Here's a picture (not me!) I found (top right): > > http://www.avextravaganzas.com/Rental_Price_List/Computers/computers.html > > It's the computer at the far left with the 8" monitor on top hardly > visible. > The text claims 256K of ram but actually it came with 64K and room for > 64K expansion boards of a size like the front of the computer. > Proprietary preformatted "data diskettes" were sold at a horrible > price until our British partner found out how to format empty > diskettes on a standard CP/M computer. > Several other programs were available for the machine like Wordstar (if > I recall correctly). > > I never did any general purpose programming on this machine though - > my job was completely different in those days ... > > /gustav > > > > Oh, I'm old enough to know about Date and Time and DOS - and drivers for > > add-on battery clocks for XT machines. > > > What I didn't know was that these (Date and Time) were equivalent to those > > of VBA; I've always regarded these as functions to only read the settings of > > DOS (or WinNT+). > > > >>> > Also, another little known fact about the Date, Time > >>> > and Now functions. They work both ways. If you use this line of > >>> > code: > >>> > >>> > Date=Date()+1 > >>> > >>> > You've just set your systems date to tomorrow! > >>> > >>> That is scary! I didn't know that. > >>> Why do you know such weird things? > > >> Because we've been using various BASICs for many years (in my case > >> over 20) and once upon a time in DOS , we regularly used DATE and > >> TIME to adjust the system clock. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Mar 18 12:05:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue Mar 18 12:05:01 2003 Subject: [AccessD] Fw: Feb 2003 Access-VB-SQL, pg 10 'Database Problem' Message-ID: <00ce01c2ed78$ca01f6e0$6601a8c0@HAL9002> From cfoust at infostatsystems.com Tue Mar 18 12:09:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:09:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:10:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:10:00 2003 Subject: [AccessD] Re: How to add a table description via code Message-ID: DAO or ADO? Either way, you may have to create a description property for the table and then set its value. Charlotte Foust -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Tuesday, March 18, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: How to add a table description via code Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:15:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:15:00 2003 Subject: [AccessD] Digital signature / certificates Message-ID: My outlook won't even let me reply to the ones with the blue symbol. It wants nothing to do with them. Pretty good security at that! NOBODY can get in, even the author. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates Yea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 12:19:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 12:19:00 2003 Subject: [AccessD] Digital signature / certificates References: Message-ID: <004b01c2ed7a$d14b4800$6101a8c0@amd2k512> Message...there's a menu dropdown that lets you remove the digital signature and reply. William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:10 PM Subject: RE: [AccessD] Digital signature / certificates My outlook won't even let me reply to the ones with the blue symbol. It wants nothing to do with them. Pretty good security at that! NOBODY can get in, even the author. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates Yea, I know. I can't read them either. And the weird part is that it seems to be a flip of the coin how they come through. I replied to a message, got that blue symbol. Replied again got the readable version. Replied again got the blue symbol. Not good. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, March 18, 2003 11:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Digital signature / certificates These I can read. The ones that come through with a little blue information icon are unopenable because it says "Your Digital ID name cannot be found by the underlying security system." I'm using Outlook XP on WinXP. All the latest patches. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 17, 2003 8:21 PM To: AccessD Subject: [AccessD] Digital signature / certificates Trying this again. If anyone can read this, please at least one such person respond. If anyone can't read this... uh... don't bother responding. Digital certificates are essentially a digital signature as well as a public key / private key pair. The digital signature tells the person receiving a signed email that the email comes from you and hasn't been altered. The certificate that is contained in any signed message also contains a public key belonging to the sender. By opening the email, right clicking the From line, and adding the person to your contacts, the certificate from that person, including the public key, is stored in the contact info. Obvious this isn't going to work as expected with the list since the message is retransmitted. In fact I have no idea what is going to happen in this case, we shall just have to wait and see. That public key from the contact can then be used to encrypt email and theoretically an attachment as well. Since the public key is stored in the contact record, it is used for the encryption, and the message (and attachments) can only be decoded by the matching private key. I.e. automatic digital signature and easy to use (though not automatic) encryption of messages. Since your friend's certificate is stored with his contact info on your computer, any email and attachments sent to him can be encrypted using his public key. I say easy to use though not automatic encryption because in order to encrypt a given message you have to go to the properties of that message and select encryption. There is however an option to encrypt all messages. I assume that if the contact selected as the recipient has no certificate, no encryption takes place, so it appears that maybe a totally automatic / always on encryption scheme can take place with any contacts that you have received and stored a certificate for. However... I tested this... if you send an encrypted message to a contact with a certificate in your contact book, and CC a contact without a certificate, the message is encrypted. You are warned that the person without a certificate will not be able to see the message (because it is encrypted) and that does indeed happen. Anyway, I have always wanted to have this capability. I have contacts with clients that should be kept confidential, for example transferring BE databases that contain customer data to me for my work at my home office etc. The ability to encrypt these things is or should be important. I understand that there are now laws that state that if you transmit people's SSNs across the internet you must take specific precautions or you are breaking the law. I haven't seen this law, but I know that certain insurance companies I deal with are starting to get touchy about sending data files to me with the SSNs in them. Perhaps this security will help in these situations. I thought you guys might be interested in what I have figured out. First of all there is a company that provides FREE personal email certificates. Most such companies charge a small fee for them. http://www.thawte.com/html/COMMUNITY/personal/index.html In order to get this you have to fill out a form with your address, phone and one personal ID number - SSN, Drivers License Number or Passport Number. Basically after following the process you are sent an email to the email address you provide them that contains a "ping" hotlink that you have to click on which then tells them you received the email and you are then issued the certificate. Anyway, I just thought I'd let you know that free certs are available, are reasonably easy to obtain, and reasonably easy to get working. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 12:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 12:22:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822EB@main2.marlow.com> I know. Actually, I still like VB 6.0...cause the runtimes aren't much there either...though MDAC tacks on several megs. (Better drop this thread, I can already see another blurb about PowerBuilder coming.....) Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 11:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 12:32:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 12:32:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 12:35:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 12:35:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF4F@exchange.pgdp> I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 12:49:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 12:49:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Mar 18 13:12:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue Mar 18 13:12:00 2003 Subject: [AccessD] Slightly OT: Installation protocol References: Message-ID: <001901c2ed82$32090ae0$6101a8c0@amd2k512> Message...now, now ...no need to whack him Charlotte ...you can get arrested for child abuse that way ...have patience ...being a toddler among all us old farts, he can hardly avoid being overcome with our emanations and thus compelled to quickly flee back to the pampered safety of his toy box :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:44 PM Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------------------------------------------------------------------------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rich_Lavsa at pghcorning.com Tue Mar 18 13:14:00 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue Mar 18 13:14:00 2003 Subject: [AccessD] OT: DOS COMMAND Message-ID: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich From pnl1 at psu.edu Tue Mar 18 13:19:01 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Tue Mar 18 13:19:01 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: Message-ID: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University From Mwp.Reid at Queens-Belfast.AC.UK Tue Mar 18 13:20:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue Mar 18 13:20:00 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> References: <000001c2ed6d$15388900$9111758f@aine> <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> Message-ID: <1048015163.3e77713b76b04@hosea.qub.ac.uk> PMSL The problem of course Graham. oneof our developers ahs a test DB containing a table fo three values. One of the fields is a yes/No Data Type. He has a form onto which he has placed three radio buttons. Said buttons are not tied to a table. Names are A1,A2,A3 He has a small DAO loop which opens the recordset from the temp table and if it finds a value for a disibility type one he wants to set the radio button A1 to on. If he finds a disibility type of 2 then set radio button A2 on and the same for three. Problem is it dont work. If fieldName = 1 then A1 = -1 and so on This is one of those where I know the answer but it just will not come out. Its sitting at the front of my head but thats as far as it goes. The loop is working as I get a count of three in the message box but the radio button remain unset. Martin Quoting William Hindman : > "Something basic is missing here and for the life of me I can't see > it." > Martin > > ...and for the life of me Martin, I can't see where you've said what > the > problem is :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > ----- Original Message ----- > From: "Martin Reid" > To: "accessd" > Sent: Tuesday, March 18, 2003 11:40 AM > Subject: [AccessD] Unbound Radio Buttons > > > > > > We have a form containing three Radio button. > > > > We want to test a value in each field on a temp table. Where the value > = > > YES we want to set the Radio button. > > > > The radio buttons are simply objects on the form with no connection > to > > any table etc. > > > > Something basic is missing here and for the life of me I can't see > it. > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Tue Mar 18 13:25:09 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue Mar 18 13:25:09 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <869379ABF177D4118D3100508B5EF873057C2A78@corp-es00> You haven't lived till you've dropped a box of punchcards with the budget you need to load that day. I still break into a cold sweat and that was 25 years ago.. Jim Hale -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 12:32 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kenneth.Stoker at pnl.gov Tue Mar 18 13:29:01 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Tue Mar 18 13:29:01 2003 Subject: [AccessD] Total in Footer of Report Message-ID: <249C1CB246997C48BB74963CCD361C1B29C8A8@pnlmse28.pnl.gov> You should be able to accomplish this by using the "Running Sum" property of the text box, setting it to "Over Group". The available options on this property are "No", "Over Group", and "Over All". -----Original Message----- From: Paul Liadis [mailto:pnl1 at psu.edu] Sent: Tuesday, March 18, 2003 11:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Total in Footer of Report Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 18 13:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 13:30:00 2003 Subject: [AccessD] Slightly OT: Installation protocol In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D822EC@main2.marlow.com> Message-ID: <17443552955.20030318202905@cactus.dk> Hi Drew Punch cards for lunch cards? That was new! Brings back memories of my first programming experience with punch cards and Fortran at the technical university. As one of the few capable of blind typing I could stress those IBM machines to their limit. The sound was wonderful and you'll never forget it - like a machine gun - those of you who have tried know what I mean. The keyboard was magnificent - quality of keyboards has described a constantly diminishing route ever since (so has the cost). /gustav > An infant among old farts maybe! > I'll admit that my only experience with punch cards was when I was in > Elementary school, we used them for lunch cards! > Drew > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, March 18, 2003 12:04 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Slightly OT: Installation protocol > Drew is an infant. I remember when it cost thousands for a *10Mb* hard > drive! From sgsax at ksu.edu Tue Mar 18 13:31:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Tue Mar 18 13:31:00 2003 Subject: [AccessD] OT: DOS COMMAND In-Reply-To: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <1048015848.2988.75.camel@sgsax-th4022c> Rich, I don't think you can do this with a single command. However, a quick google search came up with this forum posting: http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20483017.html You should be able to put together a .bat file from listings here to do what you want. Seth On Tue, 2003-03-18 at 13:13, Lavsa, Rich wrote: > Hello all, > > I know this has nothing to do with Access however I am trying to spark my > brain back to the early 90's. I am trying to write a DEL statement that > will go and delete files in a certain directory that are older then 5 days. > > I can't remember if there were switches and/or [attributes] that you could > use in a single command line or if you had to write a Batch file to do this. > > > Again I apologize for this OT, but I'm positive some of you know this > stuff!! > > Rich -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From j.frederick at att.net Tue Mar 18 13:38:00 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 13:38:00 2003 Subject: [AccessD] Can't Delete on Network Drive In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF4F@exchange.pgdp> Message-ID: Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Tue Mar 18 13:38:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue Mar 18 13:38:26 2003 Subject: [AccessD] Unbound Radio Buttons In-Reply-To: <1048015163.3e77713b76b04@hosea.qub.ac.uk> References: <000001c2ed6d$15388900$9111758f@aine> <001401c2ed6e$15cbabd0$6101a8c0@amd2k512> <1048015163.3e77713b76b04@hosea.qub.ac.uk> Message-ID: <10544051723.20030318203724@cactus.dk> Hi Martin As Susan told you, as these three settings don't exclude each other, use checkboxes to comply with the design rules for the Windows GUI. If you still prefer to use radios check that these are individuals not grouped in a group. /gustav > Graham. oneof our developers ahs a test DB containing a table fo three values. > One of the fields is a yes/No Data Type. > He has a form onto which he has placed three radio buttons. Said buttons are > not tied to a table. Names are A1,A2,A3 > He has a small DAO loop which opens the recordset from the temp table and if > it finds a value for a disibility type one he wants to set the radio button A1 > to on. If he finds a disibility type of 2 then set radio button A2 on and the > same for three. > Problem is it dont work. > If fieldName = 1 then > A1 = -1 > and so on > This is one of those where I know the answer but it just will not come out. > Its sitting at the front of my head but thats as far as it goes. The loop is > working as I get a count of three in the message box but the radio button > remain unset. From joconnell at indy.rr.com Tue Mar 18 13:41:00 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Tue Mar 18 13:41:00 2003 Subject: [AccessD] Total in Footer of Report Message-ID: <047d01c2ed86$42f2bc80$6601a8c0@joe.indy.rr.com> Paul, Which "footer" contains the total? It should be in a group footer, not a page footer. Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Paul Liadis To: accessd at databaseadvisors.com Date: Tuesday, March 18, 2003 2:27 PM Subject: [AccessD] Total in Footer of Report |Hi all, |I have an Access report in which I want to display a total in a |footer. The total is fine on the first page, for the first location. Once |the report hits the second location, however, the total does not get |initialized and adds to the previous location's total. I would like to |initialize the textbox that displays the total after every |location. However, Access won't let me change the textbox's text property |to be equal to zero. I am using the following code: | |me.txtFoo.setfocus |me.txtFoo.text = 0. | |Please give me some advice on how to accomplish what I am trying to |accomplish. Am I EVER able to set the text property of a textbox in a Report? | |Thanks in advance, | |=============================================== |Paul Liadis |Senior Applications Programmer/Analyst |University Budget Office |Pennsylvania State University | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Mar 18 13:46:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 13:46:00 2003 Subject: [AccessD] Re: How to add a table description via code In-Reply-To: Message-ID: <00ba01c2ed86$88a7e3e0$b274d0d5@andypc> Tom Essentially you get a field def, dim a Property then do something like Set prp = fld.CreateProperty("Description") prp.Type = dbText prp.Value = "XYZ" fld.Properties.Append prp Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 18 March 2003 18:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Re: How to add a table description via code DAO or ADO? Either way, you may have to create a description property for the table and then set its value. Charlotte Foust -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Tuesday, March 18, 2003 9:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: How to add a table description via code Hi All After creating a table with a Make table query , how can I add a description via code ? TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.frederick at att.net Tue Mar 18 13:48:01 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 13:48:01 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Message-ID: I sounds like you want a group total for the location group. To do that: 1. Put our location total textbox in a location footer and set the ControlSource to =Sum([detailquantity]) where the detailquantity is the name of the field in the underlying query. Best to make sure the name of the textbox that is bound to the detailquantity in the underlying query or table is different from detailquantity. 2. On the textbox, set the Running Sum property to No. (this might be the only problem with what you have now) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Paul Liadis Sent: Tuesday, March 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Total in Footer of Report Hi all, I have an Access report in which I want to display a total in a footer. The total is fine on the first page, for the first location. Once the report hits the second location, however, the total does not get initialized and adds to the previous location's total. I would like to initialize the textbox that displays the total after every location. However, Access won't let me change the textbox's text property to be equal to zero. I am using the following code: me.txtFoo.setfocus me.txtFoo.text = 0. Please give me some advice on how to accomplish what I am trying to accomplish. Am I EVER able to set the text property of a textbox in a Report? Thanks in advance, =============================================== Paul Liadis Senior Applications Programmer/Analyst University Budget Office Pennsylvania State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pnl1 at psu.edu Tue Mar 18 13:50:07 2003 From: pnl1 at psu.edu (Paul Liadis) Date: Tue Mar 18 13:50:07 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <047d01c2ed86$42f2bc80$6601a8c0@joe.indy.rr.com> Message-ID: <5.1.0.14.2.20030318144614.04790dd0@mail.psu.edu> It is in a group footer. Paul At 02:40 PM 3/18/2003 -0500, you wrote: >Paul, > >Which "footer" contains the total? It should be in a group footer, not a >page footer. > >Joe O'Connell >joconnell at indy.rr.com > >-----Original Message----- >From: Paul Liadis >To: accessd at databaseadvisors.com >Date: Tuesday, March 18, 2003 2:27 PM >Subject: [AccessD] Total in Footer of Report > > >|Hi all, >|I have an Access report in which I want to display a total in a >|footer. The total is fine on the first page, for the first location. Once >|the report hits the second location, however, the total does not get >|initialized and adds to the previous location's total. I would like to >|initialize the textbox that displays the total after every >|location. However, Access won't let me change the textbox's text property >|to be equal to zero. I am using the following code: >| >|me.txtFoo.setfocus >|me.txtFoo.text = 0. >| >|Please give me some advice on how to accomplish what I am trying to >|accomplish. Am I EVER able to set the text property of a textbox in a >Report? >| >|Thanks in advance, >| >|=============================================== >|Paul Liadis >|Senior Applications Programmer/Analyst >|University Budget Office >|Pennsylvania State University >| >|_______________________________________________ >|AccessD mailing list >|AccessD at databaseadvisors.com >|http://databaseadvisors.com/mailman/listinfo/accessd >|Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Mar 18 13:52:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 13:52:00 2003 Subject: [AccessD] Total in Footer of Report In-Reply-To: <5.1.0.14.2.20030318141403.04722128@mail.psu.edu> Message-ID: <00ca01c2ed87$76dc1d60$b274d0d5@andypc> Paul If the total control is bound to a Control source (eg =Sum(something)) then you can't set it to zero, because by definition it will give you whatever's in its controlsource. There are two ways to achieve this. The first is to have an unbound control and use code to do your accumulating, setting and clearing. the second is to use inbuilt Access functionality to sum a field. In this case where you put it is crucial. If you create a GroupFooter on location using the Sorting and Grouping dialog and put =Sum(xxx) in there then Access will automatically print it and clear it on change of that group. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Paul Liadis > Sent: 18 March 2003 19:19 > To: accessd at databaseadvisors.com > Subject: [AccessD] Total in Footer of Report > > > Hi all, > I have an Access report in which I want to display a total in a > footer. The total is fine on the first page, for the first > location. Once > the report hits the second location, however, the total does not get > initialized and adds to the previous location's total. I > would like to > initialize the textbox that displays the total after every > location. However, Access won't let me change the textbox's > text property > to be equal to zero. I am using the following code: > > me.txtFoo.setfocus > me.txtFoo.text = 0. > > Please give me some advice on how to accomplish what I am trying to > accomplish. Am I EVER able to set the text property of a > textbox in a Report? > > Thanks in advance, > > =============================================== > Paul Liadis > Senior Applications Programmer/Analyst > University Budget Office > Pennsylvania State University > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Tue Mar 18 13:58:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue Mar 18 13:58:01 2003 Subject: [AccessD] OT: DOS COMMAND References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <046c01c2ed88$e6931810$0300a8c0@S856> Rich, go to the DOS window and type DEL /? and it will show you all options HTH Lembit Lembit Soobik ----- Original Message ----- From: "Lavsa, Rich" To: Sent: Tuesday, March 18, 2003 8:13 PM Subject: [AccessD] OT: DOS COMMAND > Hello all, > > I know this has nothing to do with Access however I am trying to spark my > brain back to the early 90's. I am trying to write a DEL statement that > will go and delete files in a certain directory that are older then 5 days. > > I can't remember if there were switches and/or [attributes] that you could > use in a single command line or if you had to write a Batch file to do this. > > > Again I apologize for this OT, but I'm positive some of you know this > stuff!! > > Rich > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Tue Mar 18 14:01:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue Mar 18 14:01:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: Gustav, You could really hit keys on those old 026 keyboards without causing any damage except to yourself. Try hitting any key on these plastic keyboards and you have to buy a new keyboard. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday 2003 Mar 18 13:29 To: Drew Wutka Subject: Re: [AccessD] Slightly OT: Installation protocol Hi Drew Punch cards for lunch cards? That was new! Brings back memories of my first programming experience with punch cards and Fortran at the technical university. As one of the few capable of blind typing I could stress those IBM machines to their limit. The sound was wonderful and you'll never forget it - like a machine gun - those of you who have tried know what I mean. The keyboard was magnificent - quality of keyboards has described a constantly diminishing route ever since (so has the cost). /gustav From mmmtbig at bellsouth.net Tue Mar 18 14:16:13 2003 From: mmmtbig at bellsouth.net (mmmtbig at bellsouth.net) Date: Tue Mar 18 14:16:13 2003 Subject: [AccessD] FYI -- ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 (Microsoft Fix) Message-ID: ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 The information in this article applies to: * Microsoft Access 2000 This article was previously published under Q269824 Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access project (.adp). SYMPTOMS If you have an Access project (*.adp) that was created with Microsoft Access 2000 with no service releases applied, and the project is based on a Microsoft SQL Server 2000 database, you may notice several incompatibility issues, the most obvious being the following: * All existing stored procedure names are displayed with ";1" at the end. For example "CustOrderHist" is displayed as "CustOrderHist;1". * You cannot run existing stored procedures. Instead, you receive the following error: Could not find stored procedure ;1. * You cannot manage security against a Microsoft SQL Server 2000 server. If you try to open the SQL Server Security dialog box, you receive the following error: The Database administrative components failed to load or initialize. Verify that the components are installed and registered locally. * You cannot create or design tables, database diagrams, or stored procedures. Attempting to create any of these objects, such as clicking New in the Database window or clicking a command on the Insert menu, results in one of the following behaviors: New Table The Access 2000 Table designer does not load. Briefly, a dimmed window appears and then closes with no error message as to why the designer failed to load. New Database Diagram You receive the following error: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. New Stored Procedure You receive the following error: Microsoft Access can't find the object 'Microsoft Access can't find the object 'StoredProcedure1.'.' *You misspelled the object name. Check for missing underscores(_) or other punctuation, and make sure you didn't enter leading spaces. *You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the Linked Table Manager to update the link and oint to the correct path. CAUSE SQL Server 2000 was released over a year after Access 2000; consequently, Access 2000 does not support all of the new features of SQL Server 2000, and incompatibilities exist. RESOLUTION Update the designer tools. The following two updates are available. Microsoft Office 2000 Service Release 1/1a Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) includes updated Visual Database Tools for Access projects. Office 2000 SR-1/SR-1a addresses most of the issues described in the "Symptoms" section. IMPORTANT NOTE: Office 2000 SR-1/SR-1a also sets the table, view, and database diagram designers to read-only. These designers are read-only to prevent the possibility of losing data and meta-data in tables and views. You can, however, create stored procedures. In Access 2000 SR-1/SR-1a, if you try to create a table, view, or database diagram, you see the following alert: You do not have exclusive access to the database at this time. Your design changes will not be saved. NOTE: If you want to install Office 2000 SR-1/SR-1a, you should do so before installing the Client Tools. If you install Office 2000 SR-1/SR-1a after installing the Client Tools, you should reinstall the Client Tools. Security Management Microsoft Office SR-1/SR-1a does not address the inability to manage SQL Server 2000 Security from within an Access project. If you try to open the Security dialog box, you receive the second error message described in the "Symptoms" section of this article, and in addition, the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server]You must upgrade your SQL Enterprise Manager and SQL-DMO (SQLOLE) to SQL Server 2000(SQLDMO) to connect to this server. In order to manage SQL Server 2000 security from an Access project, you must install the SQL Server Client Tools (See the "SQL Server 2000 Client Tools" section later in this article). For additional information about obtaining Office 2000 SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) SQL Server 2000 Client Tools/Files A more comprehensive update is the SQL Server 2000 Client Tools. The SQL Server 2000 Client Tools update addresses all of the issues in the "Symptoms" section and the "Microsoft Access 2000 SR-1/SR-1a" topic of the "Resolution" section of this article. Installing the tools updates a number of files essential to Access project design. These updated files give you the ability to design SQL Server 2000 databases in an Access project at a SQL Server 7.0 level of functionality. NOTE: The client tools must be installed on each development computer; in other words, on any computer on which someone may make design changes in an Access project to a SQL Server 2000 database. If you want to use all of the new features in SQL Server 2000, it is best, if possible, to design them in SQL Server Enterprise Manager, which is included in the SQL Server 2000 Client Tools. Goals of the Updated Files Included with the Client Tools * Assures that users of SQL Server 2000 databases that have not implemented any of the new features of SQL Server 2000 do not experience any degradation of functionality when designing SQL Server 2000 databases in an Access 2000 project. * Assures that designing a database object that takes advantage of SQL Server 2000-specific functionality will not cause data loss to occur. * Assures, in most cases, that designing a database object that takes advantage of SQL Server 2000-specific functionality does not result in the loss of meta-data. In the few cases that might result in meta-data loss, you are warned by means of a dialog box. Updating Client Tools Files Without Installing the Client Tools If you do not want to install the SQL Server 2000 Client Tools on your development computer, you can follow these steps to just update the files that address incompatibility issues: 1. Install the SQL Server 2000 Client Tools on a computer other than the development computer. 2. On that second computer, browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 3. Select all the files in the folder, and then on the Edit menu, click Copy. 4. While still at the second computer, browse to the development computer, and then browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 5. Paste the contents that you copied in step 3 into the folder by clicking Paste on the Edit menu. STATUS Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected by Microsoft Office 2000 SR-1/SR-1a and the SQL Server 2000 Client Tools. MORE INFORMATION Steps to Reproduce the Behavior 1. Install Microsoft SQL Server 2000 on a Microsoft Windows NT 4.0 Server or a Microsoft Windows 2000 Server. 2. Install Access 2000 on another computer that has a clean installation of Microsoft Windows 98. 3. In Access 2000, click New on the File menu. 4. On the General Tab of the New dialog box, click Project (Existing Database). 5. Name the file Test, and then click Create. 6. In the Data Link Properties dialog box, for step 1, type the name of the SQL 2000 server. In the Database field, type Northwind. (This is the sample Northwind database included with SQL Server 2000.) Click OK. 7. In the new Access project, click Stored Procedures. Note that names are displayed with a ";1" at the end. 8. On the Tools menu, point to Security, and then click Database Security. Note that you receive an error stating that components failed to load or initialize (see the full error in the "Symptoms" section of this article). 9. Try to run an existing stored procedure. Note that you receive the following error: Could not find stored procedure ;1. 10. Try to create a new stored procedure. Note that you receive the error message with the repeated phrase "Microsoft Access can't find the object 'Microsoft Access can't find the object" as described in the "Symptoms" section of this article. 11. Try to create a new table. Note that there is a brief flash on the screen, but that the table designer does not appear. 12. Try to create a new database diagram. Note that you receive the following error message: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. REFERENCES For additional information on how the new features of SQL Server 2000 affect Access Projects, click the article number below to view the article in the Microsoft Knowledge Base: 266277 PRB: Using the Visual Studio 6.0 and Access 2000 Visual Database Tools with SQL Server 2000 For additional information on an error occurring during upsizing to SQL Server 2000, click the article number below to view the article in the Microsoft Knowledge Base: 272384 ACC2000: "Overflow" Error Message When You Try to Upsize to SQL Server 2000 -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 12976 bytes Desc: not available URL: From HollisVJ at pgdp.usec.com Tue Mar 18 14:16:35 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 14:16:35 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF50@exchange.pgdp> I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Tue Mar 18 14:26:01 2003 From: mmmtbig at bellsouth.net (mmmtbig at bellsouth.net) Date: Tue Mar 18 14:26:01 2003 Subject: [AccessD] [dba-SQLServer]FYI -- ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 (Microsoft Fix) Message-ID: ACC2000: Incompatibility Issues Between Access 2000 Projects and SQL Server 2000 The information in this article applies to: * Microsoft Access 2000 This article was previously published under Q269824 Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access project (.adp). SYMPTOMS If you have an Access project (*.adp) that was created with Microsoft Access 2000 with no service releases applied, and the project is based on a Microsoft SQL Server 2000 database, you may notice several incompatibility issues, the most obvious being the following: * All existing stored procedure names are displayed with ";1" at the end. For example "CustOrderHist" is displayed as "CustOrderHist;1". * You cannot run existing stored procedures. Instead, you receive the following error: Could not find stored procedure ;1. * You cannot manage security against a Microsoft SQL Server 2000 server. If you try to open the SQL Server Security dialog box, you receive the following error: The Database administrative components failed to load or initialize. Verify that the components are installed and registered locally. * You cannot create or design tables, database diagrams, or stored procedures. Attempting to create any of these objects, such as clicking New in the Database window or clicking a command on the Insert menu, results in one of the following behaviors: New Table The Access 2000 Table designer does not load. Briefly, a dimmed window appears and then closes with no error message as to why the designer failed to load. New Database Diagram You receive the following error: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. New Stored Procedure You receive the following error: Microsoft Access can't find the object 'Microsoft Access can't find the object 'StoredProcedure1.'.' *You misspelled the object name. Check for missing underscores(_) or other punctuation, and make sure you didn't enter leading spaces. *You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the Linked Table Manager to update the link and oint to the correct path. CAUSE SQL Server 2000 was released over a year after Access 2000; consequently, Access 2000 does not support all of the new features of SQL Server 2000, and incompatibilities exist. RESOLUTION Update the designer tools. The following two updates are available. Microsoft Office 2000 Service Release 1/1a Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) includes updated Visual Database Tools for Access projects. Office 2000 SR-1/SR-1a addresses most of the issues described in the "Symptoms" section. IMPORTANT NOTE: Office 2000 SR-1/SR-1a also sets the table, view, and database diagram designers to read-only. These designers are read-only to prevent the possibility of losing data and meta-data in tables and views. You can, however, create stored procedures. In Access 2000 SR-1/SR-1a, if you try to create a table, view, or database diagram, you see the following alert: You do not have exclusive access to the database at this time. Your design changes will not be saved. NOTE: If you want to install Office 2000 SR-1/SR-1a, you should do so before installing the Client Tools. If you install Office 2000 SR-1/SR-1a after installing the Client Tools, you should reinstall the Client Tools. Security Management Microsoft Office SR-1/SR-1a does not address the inability to manage SQL Server 2000 Security from within an Access project. If you try to open the Security dialog box, you receive the second error message described in the "Symptoms" section of this article, and in addition, the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server]You must upgrade your SQL Enterprise Manager and SQL-DMO (SQLOLE) to SQL Server 2000(SQLDMO) to connect to this server. In order to manage SQL Server 2000 security from an Access project, you must install the SQL Server Client Tools (See the "SQL Server 2000 Client Tools" section later in this article). For additional information about obtaining Office 2000 SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) SQL Server 2000 Client Tools/Files A more comprehensive update is the SQL Server 2000 Client Tools. The SQL Server 2000 Client Tools update addresses all of the issues in the "Symptoms" section and the "Microsoft Access 2000 SR-1/SR-1a" topic of the "Resolution" section of this article. Installing the tools updates a number of files essential to Access project design. These updated files give you the ability to design SQL Server 2000 databases in an Access project at a SQL Server 7.0 level of functionality. NOTE: The client tools must be installed on each development computer; in other words, on any computer on which someone may make design changes in an Access project to a SQL Server 2000 database. If you want to use all of the new features in SQL Server 2000, it is best, if possible, to design them in SQL Server Enterprise Manager, which is included in the SQL Server 2000 Client Tools. Goals of the Updated Files Included with the Client Tools * Assures that users of SQL Server 2000 databases that have not implemented any of the new features of SQL Server 2000 do not experience any degradation of functionality when designing SQL Server 2000 databases in an Access 2000 project. * Assures that designing a database object that takes advantage of SQL Server 2000-specific functionality will not cause data loss to occur. * Assures, in most cases, that designing a database object that takes advantage of SQL Server 2000-specific functionality does not result in the loss of meta-data. In the few cases that might result in meta-data loss, you are warned by means of a dialog box. Updating Client Tools Files Without Installing the Client Tools If you do not want to install the SQL Server 2000 Client Tools on your development computer, you can follow these steps to just update the files that address incompatibility issues: 1. Install the SQL Server 2000 Client Tools on a computer other than the development computer. 2. On that second computer, browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 3. Select all the files in the folder, and then on the Edit menu, click Copy. 4. While still at the second computer, browse to the development computer, and then browse to the following folder: Program Files\Common Files\Microsoft Shared\MSDesigners98 5. Paste the contents that you copied in step 3 into the folder by clicking Paste on the Edit menu. STATUS Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected by Microsoft Office 2000 SR-1/SR-1a and the SQL Server 2000 Client Tools. MORE INFORMATION Steps to Reproduce the Behavior 1. Install Microsoft SQL Server 2000 on a Microsoft Windows NT 4.0 Server or a Microsoft Windows 2000 Server. 2. Install Access 2000 on another computer that has a clean installation of Microsoft Windows 98. 3. In Access 2000, click New on the File menu. 4. On the General Tab of the New dialog box, click Project (Existing Database). 5. Name the file Test, and then click Create. 6. In the Data Link Properties dialog box, for step 1, type the name of the SQL 2000 server. In the Database field, type Northwind. (This is the sample Northwind database included with SQL Server 2000.) Click OK. 7. In the new Access project, click Stored Procedures. Note that names are displayed with a ";1" at the end. 8. On the Tools menu, point to Security, and then click Database Security. Note that you receive an error stating that components failed to load or initialize (see the full error in the "Symptoms" section of this article). 9. Try to run an existing stored procedure. Note that you receive the following error: Could not find stored procedure ;1. 10. Try to create a new stored procedure. Note that you receive the error message with the repeated phrase "Microsoft Access can't find the object 'Microsoft Access can't find the object" as described in the "Symptoms" section of this article. 11. Try to create a new table. Note that there is a brief flash on the screen, but that the table designer does not appear. 12. Try to create a new database diagram. Note that you receive the following error message: Cannot create objects of type 'Diagram' against current SQL backend. Please check your permissions and server setup. REFERENCES For additional information on how the new features of SQL Server 2000 affect Access Projects, click the article number below to view the article in the Microsoft Knowledge Base: 266277 PRB: Using the Visual Studio 6.0 and Access 2000 Visual Database Tools with SQL Server 2000 For additional information on an error occurring during upsizing to SQL Server 2000, click the article number below to view the article in the Microsoft Knowledge Base: 272384 ACC2000: "Overflow" Error Message When You Try to Upsize to SQL Server 2000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Tue Mar 18 14:47:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Tue Mar 18 14:47:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF51@exchange.pgdp> Ok, narrowing it down. It seems to have something to do with the StartupProperties. ChangeProperty "AllowBuiltinToolbars", dbBoolean, False ChangeProperty "AllowFullMenus", dbBoolean, False These startup properties have to be set to True. Which I don't understand because I have the set to False in the database that does allow me to delete the record. I change them to True & I was able to delete. I really like the properties set to False. Any ideas whe the same properties work differently between the databases? -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Tuesday, March 18, 2003 2:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From tswisher at GFNET.com Tue Mar 18 14:50:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Tue Mar 18 14:50:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F2E@SEESAR3.corporate.gannettfleming.com> Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Tue Mar 18 15:13:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue Mar 18 15:13:00 2003 Subject: [AccessD] Windows in Taskbar References: <076FC7A51D07D411BC02009027A1B45101ED2F2E@SEESAR3.corporate.gannettfleming.com> Message-ID: <001201c2ed93$4fcaee70$0300000a@PASCAL> Windows in TaskbarApplication.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.frederick at att.net Tue Mar 18 15:20:00 2003 From: j.frederick at att.net (John Frederick) Date: Tue Mar 18 15:20:00 2003 Subject: [AccessD] Can't Delete on Network Drive In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF50@exchange.pgdp> Message-ID: If you have two mdbs on the same machine that behave differently, look at their security settings. Point to the folder, right click, select the security tab. Something must be different at the folder level. Even if you can't change it, you might be able to tell IT what is needed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 3:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 15:38:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:38:19 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F7@main2.marlow.com> Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 15:39:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:39:13 2003 Subject: [AccessD] OT: DOS COMMAND Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F8@main2.marlow.com> Why not use Kill? Drew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, March 18, 2003 1:14 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: DOS COMMAND Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 18 15:41:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 15:41:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822F9@main2.marlow.com> Okay, this is starting to get ugly! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 18, 2003 1:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Slightly OT: Installation protocol ...now, now ...no need to whack him Charlotte ...you can get arrested for child abuse that way ...have patience ...being a toddler among all us old farts, he can hardly avoid being overcome with our emanations and thus compelled to quickly flee back to the pampered safety of his toy box :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 1:44 PM Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 15:52:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 15:52:00 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: I'm unbalanced anyhow, Drew. Didn't you realize that? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 1:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 18 16:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue Mar 18 16:05:01 2003 Subject: [AccessD] Slightly OT: Installation protocol Message-ID: <2F8793082E00D4119A1700B0D0216BF801D822FB@main2.marlow.com> Yes, I was just being polite and not saying anything. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 3:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol I'm unbalanced anyhow, Drew. Didn't you realize that? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 1:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Can you stay balanced when trying to whack me with your cane? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Whippersnapper!! Watch your mouth or I'll whack you with my cane! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 18, 2003 10:32 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol An infant among old farts maybe! I'll admit that my only experience with punch cards was when I was in Elementary school, we used them for lunch cards! Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, March 18, 2003 12:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Drew is an infant. I remember when it cost thousands for a *10Mb* hard drive! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, I know. OTOH, what is the MINIMUM Access standalone install? All of a sudden 20 megs doesn't sound so bad. And given that you can barely buy a system with less than 20GB, 20 mb also doesn't sound so bad. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, March 18, 2003 12:40 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Slightly OT: Installation protocol Only 20 megs....sheesh....remember the days when it cost an arm and a leg for a 20 meg hard drive? Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, March 18, 2003 6:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Slightly OT: Installation protocol Yea, you have a grouse. It won't get you far though. Welcome to DLL hell. BTW, this is one of the things that .NET is supposed to bring to the table, no more overwriting system DLLs. Since the runtime for .net is only about 20 megs, you can literally "xcopy" an entire copy of your system, complete with the runtime that you use, into a specific directory and tat is what is used for your app. You don't overwrite other peoples stuff, they don't overwrite yours. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, March 18, 2003 7:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Slightly OT: Installation protocol I'd like to know from you who install your VB apps on other people's machines whether it's normal practice to overwrite system dll's that are older than the one you're sending out, without asking or telling? A user here installed a demo which installed a version of oleaut32.dll. Their version was newer but it stll messed up my Access app, specifically where it talked to Outlook. Do I have a grouse? -- Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Tue Mar 18 16:06:00 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue Mar 18 16:06:00 2003 Subject: [AccessD] OT - Please Ignore Message-ID: test 20030318 -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From andy at minstersystems.co.uk Tue Mar 18 16:38:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue Mar 18 16:38:00 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D822F8@main2.marlow.com> Message-ID: <00e701c2ed9e$8024b460$b274d0d5@andypc> A question that we on the BEU project would like an answer to. We all find that if we add a numeric value to a table the Default Value is automatically set to 0. And yet....a couple of us have a sneaking feeling we've seen Access leave the Default as null. Was this an earlier version, or are we hallucinating? Andy Lacey http://www.minstersystems.co.uk From MPorter at acsalaska.com Tue Mar 18 16:40:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue Mar 18 16:40:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Tue Mar 18 17:03:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 17:03:01 2003 Subject: [AccessD] Default Value On Numerics Message-ID: I think you may be thinking of what happens in a make table query. In 97, 2000 and XP, all numeric fields added to a table automatically default to 0. If you don't want a zero default, you can remove the value. But if you create a table using a make table query, the default doesn't get set. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, March 18, 2003 2:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Default Value On Numerics A question that we on the BEU project would like an answer to. We all find that if we add a numeric value to a table the Default Value is automatically set to 0. And yet....a couple of us have a sneaking feeling we've seen Access leave the Default as null. Was this an earlier version, or are we hallucinating? Andy Lacey http://www.minstersystems.co.uk _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Tue Mar 18 17:03:59 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Tue Mar 18 17:03:59 2003 Subject: [AccessD] OT: DOS COMMAND References: <833956F5C117124A89417638FDB112904FB3ED@goexchange.pghcorning.com> Message-ID: <00af01c2eda2$bd95a120$1d270a44@bcs006137> Rich I don't think that DOS alone will do what you need. The following should work within an Access Module to do what you're looking for. Dave ================================== Option Compare Database Function DelByDate() Dim TheFileDate As Date Dim theFile As String Dim HowOld As Integer ChDrive ("C:") 'set to meet your needs ChDir "C:\Temp" 'set to meet your needs theFile = Dir("*.*") Do While theFile <> "" TheFileDate = FileDateTime(theFile) HowOld = DateDiff("d", TheFileDate, Date) If HowOld > 5 Then Debug.Print theFile, HowOld, TheFileDate 'Kill (theFile) End If theFile = Dir() Loop End Function ----- Original Message ----- From: Lavsa, Rich To: 'accessd at databaseadvisors.com' Sent: Tuesday, March 18, 2003 2:13 PM Subject: [AccessD] OT: DOS COMMAND Hello all, I know this has nothing to do with Access however I am trying to spark my brain back to the early 90's. I am trying to write a DEL statement that will go and delete files in a certain directory that are older then 5 days. I can't remember if there were switches and/or [attributes] that you could use in a single command line or if you had to write a Batch file to do this. Again I apologize for this OT, but I'm positive some of you know this stuff!! Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 18 17:39:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue Mar 18 17:39:00 2003 Subject: [AccessD] OT: MSDE on Window XP (solved) References: <806536912C472E4A9D6515DF2E57261E0C5926@mercury.tnco-inc.com> Message-ID: <3E77ADEC.1000409@shaw.ca> I have MSDE SQL 2000 on Win XP With versions of SQL Server prior to 2000 (including MSDE) you can only have a single instance installed. You could however, upgrade from MSDE to Server or Enterprise or some other edition. MSDE is in all repsects SQL Server. You could down load MSDE 2000 and install that to different directory and say no to upgrade. I don't know what this will do to your old SQL Tools though. MSDE 2000 70Meg download http://www.asp.net/msde/default.aspx?tabindex=0&tabid=1 Joe Rojas wrote: >What I originally did was install the SQL Server 7.0 Client tools first, >then installed SP4. >When I tried to install MSDE, it came back telling me that the install >failed. > >What I had to do was uninstall the tools, then install MSDE first followed >by installing the Client tools then finally install SP4. >Now everything is all set, seemingly. > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Tuesday, March 18, 2003 10:59 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: MSDE on Window XP > >Do you have SQL Server installed on your machine? You won't be able to >install MSDE if you already have SQL Server installed. > >Charlotte Foust > >-----Original Message----- >From: Joe Rojas [mailto:JRojas at tnco-inc.com] >Sent: Tuesday, March 18, 2003 7:02 AM >To: 'accessd at databaseadvisors.com' >Subject: [AccessD] OT: MSDE on Window XP > > >Hello, > >I am trying to install MSDE (Office 2000) on Windows XP Pro. Has anyone >else tried this and have been successful at it? When I try to install >it, it tells me that it could not install MSDE. > >Checked MSKB with no luck... > >Thanks, >Joe Rojas >jrojas at tnco-inc.com > > > > > > From glen.mcwilliams at nissan-usa.com Tue Mar 18 17:52:00 2003 From: glen.mcwilliams at nissan-usa.com (McWilliams, Glen) Date: Tue Mar 18 17:52:00 2003 Subject: [AccessD] Tab Control with a Tab Control on one of the Pages Message-ID: <72C55B1CC536D511806B0040AA4977A6088D5071@NMCHQT20> List Is there a way to design a Form which has a Tab Control with 4 tabs or pages, each of which will have a multi page Tab Control on it (for a total of 5 Tab Controls), and still have each page only display the Tab Control which is on it. Basically, what I want to know is, is there any to do sub Tab Controls without going all kinds of sleight of hand setting visible properties when the various primary tab pages comes into focus? I am working with Access XP Developers Edition, sp2. Which is running on Windows 2000 Professional, ver.5.0.2195 Sp3 build 2195 Glen H. McWilliams glen.mcwilliams at nissan-usa.com (310) 771-6010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 18 18:50:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue Mar 18 18:50:00 2003 Subject: [AccessD] Tab Control with a Tab Control on one of the Pages Message-ID: Tab controls can only contain other tab controls if they subordinate tab controls are on subforms. That means you would need a subform on each page of the parent tab control and each of those subforms would contain its own tab control. Charlotte Foust -----Original Message----- From: McWilliams, Glen [mailto:glen.mcwilliams at nissan-usa.com] Sent: Tuesday, March 18, 2003 3:59 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Tab Control with a Tab Control on one of the Pages List Is there a way to design a Form which has a Tab Control with 4 tabs or pages, each of which will have a multi page Tab Control on it (for a total of 5 Tab Controls), and still have each page only display the Tab Control which is on it. Basically, what I want to know is, is there any to do sub Tab Controls without going all kinds of sleight of hand setting visible properties when the various primary tab pages comes into focus? I am working with Access XP Developers Edition, sp2. Which is running on Windows 2000 Professional, ver.5.0.2195 Sp3 build 2195 Glen H. McWilliams glen.mcwilliams at nissan-usa.com (310) 771-6010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Tue Mar 18 22:45:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Tue Mar 18 22:45:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E770736.5574.EAA7616@localhost> Message-ID: Hi Stuart et al This didn't work either When I debug.print the line... (rs!StartTime - cmbWarningInterval /dblMinutes) I get a non related time (From memory it debug.printed as Some date in the 1800's and 1:00pm) My plan is to have this sitting as an open app and using the On_Timer event to just check every 2-3 minutes or so for any Bookings that match the criteria rs!StartTime = rs!StartTime - cmbWarningInterval Then do something to alert me. Then flag it as done. I Just dunno how to do it. Many thanks Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, 18 March 2003 12:47 PM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy You need to have a flag to let you know whether you have already triggered your event. Either include a Boolean WarningDone in you table or if you can't change the table structure, create a temp table with all of today's bookings and include the boolean field in that temp table. Private Sub Form_Timer() Dim dblMinutes as Double dblMinutes = 1 / 24 / 60 .... 'Set up recordset 'rs' to include required fields from bookings info 'including the flag ....... While not rs.eof If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ and Not rs!WarningDone Then ........ 'Do whatever you want to with the info ......... rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub On 18 Mar 2003 at 12:22, Darren Dick wrote: > Hi Guys thanks for the replies. > I'll explain what I am doing. We have a booking app. (Not mine) > We can have many bookings entered for a day and even some at the same time. > > Amongst other things the Booking Start Time is captured by the other app. > I display it in Me.txtStartTime > I also have a combo Me.cmbWarningInterval that has list entries like > 5,10,15,20,25,30,45,60 each representing minutes. > > If I select 15 from the combo I basically want a msgbox or some other event > to fire 15 minutes before the StarTime > > Should be simple > > Many thanks for listening to me > > Darren > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, 17 March 2003 6:01 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] A2K: This should be easy > > > I know people are going to post about the DateDiff function. But I'd like > to get you thinking about what you are actually trying to do. > > Dates and Times are stored as numbers. The date is the whole number, which > represents the number of days since 12-30-1899. Thus, since days are whole > numbers, you can add or subtract days by simple math. (ie, to get tomorrow, > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and .0 > is midnight. Thus, you can also just simply add or subtract values to > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > Does that make sense? Also, another little known fact about the Date, Time > and Now functions. They work both ways. If you use this line of code: > > Date=Date()+1 > > You've just set your systems date to tomorrow! > > Drew > > -----Original Message----- > From: Darren Dick [mailto:d.dick at uws.edu.au] > Sent: Sunday, March 16, 2003 8:46 PM > To: Access Mail Group > Subject: [AccessD] A2K: This should be easy > > > Hello all > This should be simple. > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > hh:mm) > I want to take say...5, 10 or 15 minutes from whatever time is in > txtStartTime > > So take away 15 from 11:00 should give me 10:45 > > How do I do this. > > this should be easy. It probably is, I'm just brain fading. > > 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 -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Tue Mar 18 23:25:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue Mar 18 23:25:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <3E770736.5574.EAA7616@localhost> Message-ID: <3E788B29.8666.1301A9A@localhost> If you are storing just a time in StartTime and print it as a normal DateTime, you will see a date of 30 December 1899 because that's Day 0. The trouble is that Now() returns the date and time. My mistake. You should use Time() not Now() - or alternatively "Now() - Int(Now())" which will just return the time part of Now() On 19 Mar 2003 at 10:56, Darren Dick wrote: > Hi Stuart et al > This didn't work either > When I debug.print the line... > (rs!StartTime - cmbWarningInterval /dblMinutes) > I get a non related time (From memory it debug.printed as Some date in the > 1800's and 1:00pm) > > My plan is to have this sitting as an open app and using the On_Timer event > to just check every 2-3 minutes or so for any Bookings that match the > criteria rs!StartTime = rs!StartTime - cmbWarningInterval > Then do something to alert me. > Then flag it as done. > > I Just dunno how to do it. > Many thanks > > Darren > > > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Tuesday, 18 March 2003 12:47 PM > To: Darren Dick; accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > You need to have a flag to let you know whether you have already triggered > your event. > Either include a Boolean WarningDone in you table or if you can't change the > table structure, create a temp table with all > of today's bookings and include the boolean field in that temp table. > > > Private Sub Form_Timer() > Dim dblMinutes as Double > dblMinutes = 1 / 24 / 60 > > .... > 'Set up recordset 'rs' to include required fields from bookings info > 'including the flag > ....... > > While not rs.eof > If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ > and Not rs!WarningDone Then > ........ > 'Do whatever you want to with the info > ......... > rs.Edit > rs!WarningDone = True > rs.Update > End If > rs.MoveNext > Wend > End Sub > > On 18 Mar 2003 at 12:22, Darren Dick wrote: > > > Hi Guys thanks for the replies. > > I'll explain what I am doing. We have a booking app. (Not mine) > > We can have many bookings entered for a day and even some at the same > time. > > > > Amongst other things the Booking Start Time is captured by the other app. > > I display it in Me.txtStartTime > > I also have a combo Me.cmbWarningInterval that has list entries like > > 5,10,15,20,25,30,45,60 each representing minutes. > > > > If I select 15 from the combo I basically want a msgbox or some other > event > > to fire 15 minutes before the StarTime > > > > Should be simple > > > > Many thanks for listening to me > > > > Darren > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Monday, 17 March 2003 6:01 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] A2K: This should be easy > > > > > > I know people are going to post about the DateDiff function. But I'd like > > to get you thinking about what you are actually trying to do. > > > > Dates and Times are stored as numbers. The date is the whole number, > which > > represents the number of days since 12-30-1899. Thus, since days are > whole > > numbers, you can add or subtract days by simple math. (ie, to get > tomorrow, > > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and > .0 > > is midnight. Thus, you can also just simply add or subtract values to > > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > > > Does that make sense? Also, another little known fact about the Date, > Time > > and Now functions. They work both ways. If you use this line of code: > > > > Date=Date()+1 > > > > You've just set your systems date to tomorrow! > > > > Drew > > > > -----Original Message----- > > From: Darren Dick [mailto:d.dick at uws.edu.au] > > Sent: Sunday, March 16, 2003 8:46 PM > > To: Access Mail Group > > Subject: [AccessD] A2K: This should be easy > > > > > > Hello all > > This should be simple. > > > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > > hh:mm) > > I want to take say...5, 10 or 15 minutes from whatever time is in > > txtStartTime > > > > So take away 15 from 11:00 should give me 10:45 > > > > How do I do this. > > > > this should be easy. It probably is, I'm just brain fading. > > > > 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 > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From d.dick at uws.edu.au Wed Mar 19 00:10:00 2003 From: d.dick at uws.edu.au (Darren Dick) Date: Wed Mar 19 00:10:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E788B29.8666.1301A9A@localhost> Message-ID: Hi Stuart The following code just won't work, even with your 'time' suggestion I must be missing something really obvious. This should work. I have a Recordset that has BookingID as its PrimKey BookingTime is a DateTime Field formatted as short time in the table. My Combo cmbInterval has the following as its row source 5;"5 mins";10;"10 mins";15;"15 mins";20;"20 mins" And its row Source type is a value list. It has 2 columns. First Column width = 1 Second is 2 cm. Any other suggestions. Many thanks so far. Darren '''''''''''''''''''''''''''' Dim dblMinutes As Double Dim rs As DAO.Recordset Dim x, y, z dblMinutes = 1 / 24 / 60 Set rs = Me.Recordset 'Debug.Print (rs!BookingTime - cmbInterval / dblMinutes) 'Debug.Print Now() - Int(Now()) While Not rs.EOF If (rs!BookingTime - cmbInterval / dblMinutes) >= Time() And Not rs!WarningDone Then rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, 19 March 2003 4:22 PM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy If you are storing just a time in StartTime and print it as a normal DateTime, you will see a date of 30 December 1899 because that's Day 0. The trouble is that Now() returns the date and time. My mistake. You should use Time() not Now() - or alternatively "Now() - Int(Now())" which will just return the time part of Now() On 19 Mar 2003 at 10:56, Darren Dick wrote: > Hi Stuart et al > This didn't work either > When I debug.print the line... > (rs!StartTime - cmbWarningInterval /dblMinutes) > I get a non related time (From memory it debug.printed as Some date in the > 1800's and 1:00pm) > > My plan is to have this sitting as an open app and using the On_Timer event > to just check every 2-3 minutes or so for any Bookings that match the > criteria rs!StartTime = rs!StartTime - cmbWarningInterval > Then do something to alert me. > Then flag it as done. > > I Just dunno how to do it. > Many thanks > > Darren > > > > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Tuesday, 18 March 2003 12:47 PM > To: Darren Dick; accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: This should be easy > > > You need to have a flag to let you know whether you have already triggered > your event. > Either include a Boolean WarningDone in you table or if you can't change the > table structure, create a temp table with all > of today's bookings and include the boolean field in that temp table. > > > Private Sub Form_Timer() > Dim dblMinutes as Double > dblMinutes = 1 / 24 / 60 > > .... > 'Set up recordset 'rs' to include required fields from bookings info > 'including the flag > ....... > > While not rs.eof > If (rs!StartTime - cmbWarningInterval /dblMinutes) => Now() _ > and Not rs!WarningDone Then > ........ > 'Do whatever you want to with the info > ......... > rs.Edit > rs!WarningDone = True > rs.Update > End If > rs.MoveNext > Wend > End Sub > > On 18 Mar 2003 at 12:22, Darren Dick wrote: > > > Hi Guys thanks for the replies. > > I'll explain what I am doing. We have a booking app. (Not mine) > > We can have many bookings entered for a day and even some at the same > time. > > > > Amongst other things the Booking Start Time is captured by the other app. > > I display it in Me.txtStartTime > > I also have a combo Me.cmbWarningInterval that has list entries like > > 5,10,15,20,25,30,45,60 each representing minutes. > > > > If I select 15 from the combo I basically want a msgbox or some other > event > > to fire 15 minutes before the StarTime > > > > Should be simple > > > > Many thanks for listening to me > > > > Darren > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Monday, 17 March 2003 6:01 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] A2K: This should be easy > > > > > > I know people are going to post about the DateDiff function. But I'd like > > to get you thinking about what you are actually trying to do. > > > > Dates and Times are stored as numbers. The date is the whole number, > which > > represents the number of days since 12-30-1899. Thus, since days are > whole > > numbers, you can add or subtract days by simple math. (ie, to get > tomorrow, > > it's Date()+1). Times are the fraction of the day. ie, .5 is noon, and > .0 > > is midnight. Thus, you can also just simply add or subtract values to > > change the time. (ie, to get an hour from now, use Now()+(1/24)). > > > > Does that make sense? Also, another little known fact about the Date, > Time > > and Now functions. They work both ways. If you use this line of code: > > > > Date=Date()+1 > > > > You've just set your systems date to tomorrow! > > > > Drew > > > > -----Original Message----- > > From: Darren Dick [mailto:d.dick at uws.edu.au] > > Sent: Sunday, March 16, 2003 8:46 PM > > To: Access Mail Group > > Subject: [AccessD] A2K: This should be easy > > > > > > Hello all > > This should be simple. > > > > I have a control on a form (txtStartTime). Formatted for Short time (i.e. > > hh:mm) > > I want to take say...5, 10 or 15 minutes from whatever time is in > > txtStartTime > > > > So take away 15 from 11:00 should give me 10:45 > > > > How do I do this. > > > > this should be easy. It probably is, I'm just brain fading. > > > > 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 > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From andy at minstersystems.co.uk Wed Mar 19 01:29:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 01:29:01 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: Message-ID: <00f401c2ede8$d3c9ab80$b274d0d5@andypc> Well I wasn't, cos I've never used MAKE TABLE. Nevertheless thanks for the definitive answer Charlotte. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 18 March 2003 22:59 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Default Value On Numerics > > > I think you may be thinking of what happens in a make table > query. In 97, 2000 and XP, all numeric fields added to a > table automatically default to 0. If you don't want a zero > default, you can remove the value. But if you create a table > using a make table query, the default doesn't get set. > > Charlotte Foust > > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Tuesday, March 18, 2003 2:34 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Default Value On Numerics > > > A question that we on the BEU project would like an answer to. > > We all find that if we add a numeric value to a table the > Default Value is automatically set to 0. And yet....a couple > of us have a sneaking feeling we've seen Access leave the > Default as null. Was this an earlier version, or are we > hallucinating? > > Andy Lacey > http://www.minstersystems.co.uk > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From accessd at shaw.ca Wed Mar 19 01:37:01 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 01:37:01 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: Message-ID: Hi All: I have heard nothing of this Virus attack from McAfees or Symantec but this message was sent to a friend from who has a subscription to www.NTBugTraq.com, see the message... http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 The message followed up with a pointer to the following Microsoft site: http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 This message seems legitimate enough for further investigation. If this is no more than a very elaborate hoax, my apologies. Jim Lawrence From andy at minstersystems.co.uk Wed Mar 19 02:03:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 02:03:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: Message-ID: <00f701c2eded$9562afe0$b274d0d5@andypc> I believe there's a patch for this at http://www.microsoft.com/technet/treeview/default.asp?url=/technet/secur ity/bulletin/MS03-007.asp Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim > Lawrence (AccessD) > Sent: 19 March 2003 07:39 > To: accessd at databaseadvisors.com > Subject: [AccessD] RE:Virus attack > > > Hi All: > > I have heard nothing of this Virus attack from McAfees or > Symantec but this message was sent to a friend from who has a > subscription to www.NTBugTraq.com, see the message... http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 The message followed up with a pointer to the following Microsoft site: http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 This message seems legitimate enough for further investigation. If this is no more than a very elaborate hoax, my apologies. Jim Lawrence _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Mar 19 02:09:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 02:09:01 2003 Subject: [AccessD] RE:Virus attack References: Message-ID: <000a01c2edee$c524ae30$6101a8c0@amd2k512> ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with IIS as a web server ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Wednesday, March 19, 2003 2:39 AM Subject: [AccessD] RE:Virus attack > Hi All: > > I have heard nothing of this Virus attack from McAfees or Symantec but this > message was sent to a friend from who has a subscription to > www.NTBugTraq.com, see the message... > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > The message followed up with a pointer to the following Microsoft site: > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > This message seems legitimate enough for further investigation. > > If this is no more than a very elaborate hoax, my apologies. > Jim Lawrence > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmoss111 at bellsouth.net Wed Mar 19 04:28:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Wed Mar 19 04:28:00 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> Message-ID: <000001c2ee02$25d4bf00$da681442@jlmoss> This is just a revisitation of an old problem from 1991. Earlier this week, some IIS got hammered because they hadn't used the IIS lockdown tool or URLScan. ----- Original Message ----- From: "William Hindman" To: Sent: Wednesday, March 19, 2003 2:08 AM Subject: Re: [AccessD] RE:Virus attack > ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with > IIS as a web server ...HTH :) > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > ----- Original Message ----- > From: "Jim Lawrence (AccessD)" > To: > Sent: Wednesday, March 19, 2003 2:39 AM > Subject: [AccessD] RE:Virus attack > > > > Hi All: > > > > I have heard nothing of this Virus attack from McAfees or Symantec but > this > > message was sent to a friend from who has a subscription to > > www.NTBugTraq.com, see the message... > > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > > > The message followed up with a pointer to the following Microsoft site: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > > > This message seems legitimate enough for further investigation. > > > > If this is no more than a very elaborate hoax, my apologies. > > Jim Lawrence > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Mar 19 04:31:02 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed Mar 19 04:31:02 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <00f401c2ede8$d3c9ab80$b274d0d5@andypc> References: Message-ID: <3E780091.19715.122CBE@localhost> On 19 Mar 2003 at 7:26, Andy Lacey wrote: > Well I wasn't, cos I've never used MAKE TABLE. Nevertheless thanks for > the definitive answer Charlotte. Neither was I. For exactly the same reason. Oh well, it must be a Commonwealth thing Andy. :-) Thanks Charlotte. -- Bryan Carbonnell - carbonnb at sympatico.ca Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe producing bigger and better idiots. So far, the Universe is winning. - Mark Mischler. From michael.broesdorf at web.de Wed Mar 19 04:55:00 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Wed Mar 19 04:55:00 2003 Subject: [AccessD] Problem with online help In-Reply-To: <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael From wdhindman at bellsouth.net Wed Mar 19 05:55:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 05:55:01 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> ...Warning! ...the Small Business Server list is reporting some instances of failed server/client reboots and trashed drives after applying the MS WinDav patch :(((( ...if you're not running IIS, you might want to hold off on applying the patch until MS gets it right :((( William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "JMoss" To: Sent: Wednesday, March 19, 2003 5:04 AM Subject: Re: [AccessD] RE:Virus attack > This is just a revisitation of an old problem from 1991. Earlier this week, > some IIS got hammered because they hadn't used the IIS lockdown tool or > URLScan. > ----- Original Message ----- > From: "William Hindman" > To: > Sent: Wednesday, March 19, 2003 2:08 AM > Subject: Re: [AccessD] RE:Virus attack > > > > ...not a hoax Jim but only a threat if you are running Win2K pre-SP4 with > > IIS as a web server ...HTH :) > > > > William Hindman > > "The tree of liberty only grows when watered by the blood of tyrants. > > "Bertrand Bar?re de Vieuzac--a Frenchman > > > > > > ----- Original Message ----- > > From: "Jim Lawrence (AccessD)" > > To: > > Sent: Wednesday, March 19, 2003 2:39 AM > > Subject: [AccessD] RE:Virus attack > > > > > > > Hi All: > > > > > > I have heard nothing of this Virus attack from McAfees or Symantec but > > this > > > message was sent to a friend from who has a subscription to > > > www.NTBugTraq.com, see the message... > > > http://www.ntbugtraq.com/default.asp?sid=1&pid=47&aid=74 > > > > > > The message followed up with a pointer to the following Microsoft site: > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;241520 > > > > > > This message seems legitimate enough for further investigation. > > > > > > If this is no more than a very elaborate hoax, my apologies. > > > Jim Lawrence > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From HollisVJ at pgdp.usec.com Wed Mar 19 06:11:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed Mar 19 06:11:00 2003 Subject: [AccessD] Can't Delete on Network Drive Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAF54@exchange.pgdp> The databases are in the same folder on the same drive, they have the same startup properties. When I bypass the startup properties, I can delete the record. I have the AllowBuiltinToolbars = False & AllowFullMenus = False. I thought this was the problem so I changed them to True, no luck there. What else should I be looking for? I can't understand why the same code, etc would be so different in 2 separate databases that are basically the same. Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 3:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive If you have two mdbs on the same machine that behave differently, look at their security settings. Point to the folder, right click, select the security tab. Something must be different at the folder level. Even if you can't change it, you might be able to tell IT what is needed. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 3:16 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Can't Delete on Network Drive I do not understand why it works (can delete) in one database & not another. They are both on the same drive. I do not use the built-in Access security. I am not able to change the security settings for the folder - that is done through IT. So nothing has changed lately. It just has be so puzzled that it works on one database & not the other??? Virginia -----Original Message----- From: John Frederick [mailto:j.frederick at att.net] Sent: Tuesday, March 18, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Can't Delete on Network Drive Sounds like OS security. When I gen a system for my home network, I go around and disable all the security gotchas that I know of. If you're on your work network, you want to be more careful. In your case, the os on the machine with the Access data mdb has to either allow anyone coming in from the network to make changes or it has to have a login/password for the client and you have to either supply it when accessing the data mdb or build it into your links and OpenRecordset commands. If you don't care about security, I suggest the following: 1. On the data machine, enable the guest account. How you do that is os dependent. On W2k, go to Control Panel/Administrative Tools/Computer Management/Local Users and Groups. Select User: "Guest", click "Account is Disabled" off, and for good measure, add the Guest and Everyone to the Administrators Group. 2. On the folder containing the data mdb, right click, choose security, and give everyone listed full permissions for the folder. 3. Either wait a day to give someone who knows more about security to advise you not to do this, OR, take careful notes so you can undo it. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Tuesday, March 18, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: [AccessD] Can't Delete on Network Drive I need to delete a record using a form (this is 97). The strange thing is if I copy the database to my hard drive I can delete the record, but when the database is on the network drive (where it lives) I get the error message "2046, The Command or Action DeleteRecord is not Available Now". I use the same code in another database on the same network drive and folder & it works fine - I can delete the record. I tried copying the database to my hard drive & copying it back to the network. I even imported everything into a new database. What should I be looking for in this database that would prevent deletions just because it is on the network drive? On the command button I have: Me.AllowDeletions = True RunCommand acCmdDeleteRecord Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 19 07:18:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 07:18:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter From szeller at cce.umn.edu Wed Mar 19 08:23:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 08:23:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Wed Mar 19 09:10:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 09:10:00 2003 Subject: [AccessD] Connecting to a URL through code Message-ID: In my application logic, there is one instance where I want the user to be directed to a web page. How do I do that through code? In other words, how do I write code that would do the same thing as if a person clicked on a hyperlink on the face of the form? AXP. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From wdhindman at bellsouth.net Wed Mar 19 09:16:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 09:16:00 2003 Subject: [AccessD] Connecting to a URL through code References: Message-ID: <000c01c2ee2a$84d25850$6101a8c0@amd2k512> Susan ...see the FollowHyperlink method in your VBA Help ...sample code there ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 19, 2003 10:09 AM Subject: [AccessD] Connecting to a URL through code > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > > AXP. > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tswisher at GFNET.com Wed Mar 19 09:20:01 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 09:20:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F2F@SEESAR3.corporate.gannettfleming.com> You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Mar 19 09:26:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed Mar 19 09:26:01 2003 Subject: [AccessD] Connecting to a URL through code Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85529@TTNEXCHSRV1.hshhp.com> Or you could look into the ShellExecute API. Jurgen Welz posted something on this quite a while back. You might find it in the archives. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, March 19, 2003 10:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Connecting to a URL through code Susan ...see the FollowHyperlink method in your VBA Help ...sample code there ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Susan Zeller" To: Sent: Wednesday, March 19, 2003 10:09 AM Subject: [AccessD] Connecting to a URL through code > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > > AXP. > > --Susan > > > Susan B. Zeller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From tswisher at GFNET.com Wed Mar 19 10:09:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 10:09:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Maybe I am missing something, but I get a compile error with the "Application.ShowWindowsInTaskbar = False" statement. What am I doing wrong? Tim -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 4:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 19 10:18:00 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed Mar 19 10:18:00 2003 Subject: [AccessD] Windows in Taskbar In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Message-ID: This will work: Application.SetOption "ShowWindowsInTaskBar", False Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Swisher, Timothy B. Sent: Wednesday, March 19, 2003 9:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar Maybe I am missing something, but I get a compile error with the "Application.ShowWindowsInTaskbar = False" statement. What am I doing wrong? Tim -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 4:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 From hsimpson88 at hotmail.com Wed Mar 19 10:22:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed Mar 19 10:22:01 2003 Subject: [AccessD] OT - Missing Word Menu Bar Message-ID: I recently followed a thread with a similar topic a few weeks ago and made a comment about stability of Word docs and keeping templates simple. Curiously, in the past week or so, after I had deleted all the postings on the thread, one of my clients had a user report the problem. I tried to find the thread in Drew's archive but it was inaccessible and yesterday I managed to get account information and log in as the user by dial up to Terminal Server session. No menu bar was present in Word yet Alt-F dropped the file menu. The user had the taskbar at the top of the screen and I thought this might have covered something. After I went in to edit the toolbars and when I dragged Word by its title bar, the menu bar appeared as a toolbox that I dragged into the correct position. I don't know how or why, the the file menu was in or under Word's title bar. Sometimes you just have to get on a machine and horse around to find a solution. Hen _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From gustav at cactus.dk Wed Mar 19 10:25:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 10:25:01 2003 Subject: [AccessD] Windows in Taskbar In-Reply-To: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> References: <076FC7A51D07D411BC02009027A1B45101ED2F32@SEESAR3.corporate.gannettfleming.com> Message-ID: <13829904290.20030319172226@cactus.dk> Hi Timothy Try this: Application.SetOption "ShowWindowsInTaskbar", False /gustav > Maybe I am missing something, but I get a compile error with the > "Application.ShowWindowsInTaskbar = False" statement. What am I doing > wrong? From cfoust at infostatsystems.com Wed Mar 19 10:57:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 10:57:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Mar 19 11:07:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 11:07:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Wed Mar 19 11:31:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 11:31:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale From chizotz at charter.net Wed Mar 19 11:34:01 2003 From: chizotz at charter.net (Ron Allen) Date: Wed Mar 19 11:34:01 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> Message-ID: <54916937.20030320113150@charter.net> WH> ...Warning! ...the Small Business Server list is reporting some instances of WH> failed server/client reboots and trashed drives after applying the MS WinDav WH> patch :(((( WH> ...if you're not running IIS, you might want to hold off on applying the WH> patch until MS gets it right :((( Hello William, I would like more information on this. I have lost two machines, totally unbootable, in the past week or so. One was my development machine running WindowsXP and the desktop edition of IIS was, I'm almost certain, running too. The other machine was a Windows ME backup box, though, and I don't think it had even the desktop version of IIS running but I'm not certain of that. Would this problem affect machines under those circumstances do you know? I can't find anything about this on the MS site (yet). Please contact me off-list if you feel this is too far off-topic. chizotz at charter.net Thanks for any further information, Ron From cfoust at infostatsystems.com Wed Mar 19 11:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 11:36:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Wed Mar 19 11:41:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed Mar 19 11:41:00 2003 Subject: [AccessD] Windows in Taskbar References: Message-ID: <009201c2ee3e$f5882ac0$0300000a@PASCAL> Yeah, that's what I meant. I pulled that code from memory. ----- Original Message ----- From: "Chris Mackin" To: Sent: Wednesday, March 19, 2003 10:17 AM Subject: RE: [AccessD] Windows in Taskbar > This will work: > > Application.SetOption "ShowWindowsInTaskBar", False > > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Swisher, Timothy B. > Sent: Wednesday, March 19, 2003 9:08 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Windows in Taskbar > > > Maybe I am missing something, but I get a compile error with the > "Application.ShowWindowsInTaskbar = False" statement. What am I doing > wrong? > > Tim > -----Original Message----- > From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] > Sent: Tuesday, March 18, 2003 4:14 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Windows in Taskbar > > > Application.ShowWindowsInTaskbar = False > > You may want to save the user's setting at startup to a global variable or > table, and set it back when they exit. > > > For example, on startup > > MyVariable = Application.ShowWindowsInTaskbar > Application.ShowWindowsInTaskbar = False > > > Then on your exiting code > Application.ShowWindowsInTaskbar = MyVariable > ----- Original Message ----- > From: Swisher, Timothy B. > To: accessd at databaseadvisors.com > Sent: Tuesday, March 18, 2003 2:49 PM > Subject: [AccessD] Windows in Taskbar > > > Hello Group, > Anyone know how to programmatically unselect the "Windows in Taskbar" > option. I am trying to work around the bug that shows the database window > even if it is hidden when the user click one of the windows in taskbar. The > fix is to uncheck this option on the database, but I can not go to each > client machine and do that. My development machine is A2K and I have some > users with AXP that can now get to the database window. TIA. > Tim Swisher > Application & Software Engineer > Gannett Fleming > Email: tswisher at gfnet.com > Website: www.GANCOM.com > Voice: (717) 763-7226 Ext 2057 > Toll Free: (800) 446-9236 Ext 2057 > Fax: (717) 763-8150 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Wed Mar 19 11:44:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 11:44:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From normkara at wans.net Wed Mar 19 11:46:05 2003 From: normkara at wans.net (Norm) Date: Wed Mar 19 11:46:05 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> Message-ID: <004d01c2ee3e$fb761c80$52d2d23f@norm> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM This may or not be of any use to you - but worth looking into - about machines failing to boot after installing the latest patch from Microsoft. HTH Norm > > I would like more information on this. I have lost two machines, > totally unbootable, in the past week or so. One was my development > machine running WindowsXP and the desktop edition of IIS was, I'm > almost certain, running too. The other machine was a Windows ME backup > box, though, and I don't think it had even the desktop version of IIS > running but I'm not certain of that. Would this problem affect > machines under those circumstances do you know? I can't find anything > about this on the MS site (yet). > > Please contact me off-list if you feel this is too far off-topic. > chizotz at charter.net > > Thanks for any further information, > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 19 11:48:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 11:48:00 2003 Subject: [AccessD] OT - Missing Word Menu Bar In-Reply-To: References: Message-ID: <7934860346.20030319184503@cactus.dk> Hi Henry Several suggestions were brought forward. One - with a proven record here - is to run this command: winword.exe /a /gustav > No menu bar was present in Word yet Alt-F dropped the file menu. The user > had the taskbar at the top of the screen and I thought this might have > covered something. > After I went in to edit the toolbars and when I dragged Word by its title > bar, the menu bar appeared as a toolbox that I dragged into the correct > position. I don't know how or why, the the file menu was in or under Word's > title bar. Sometimes you just have to get on a machine and horse around to > find a solution. From MarkBoyd at McBeeAssociates.com Wed Mar 19 11:50:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 11:50:00 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Wed Mar 19 11:53:00 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed Mar 19 11:53:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AB0@NT04> Jim, The web/database, to me, is the best solution. I have a client that started with 50 locations and now has over 70, using multiple pages to send data to the main office. Some have dial-up others broadband. Doesn't matter. Except we did have trouble with any site that was using AOL. Use ASP connecting to an Access mdb. Use NT security. Implementation: Create the ASP pages and the Access database. Move both to an active server. Let your sites know it's location. Use it! HTH Jim -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tswisher at GFNET.com Wed Mar 19 12:02:00 2003 From: tswisher at GFNET.com (Swisher, Timothy B.) Date: Wed Mar 19 12:02:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: <076FC7A51D07D411BC02009027A1B45101ED2F36@SEESAR3.corporate.gannettfleming.com> Apparently in AXP, if you have the taskbar in windows checked, then click on one of the windows in the taskbar from the app, the database window will show even if you have it checked not to show. According to MS, it is a known problem (kb # 313915), but the solution was to change the the setting from the options window, which is not feasible for me. I can only make this happen on some of my databases and only some of my clients have problems, so who knows. Tim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 19, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 19 12:07:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 12:07:07 2003 Subject: [AccessD] Using Access to reconcile store cash In-Reply-To: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> Message-ID: <4236157581.20030319190640@cactus.dk> Hi Jim With only few forms and a login function, that could be a job for CodeCharge: http://www.codecharge.com /gustav > Currently we have 150 stores which fill out a daily cash reconciliation > form. Although the form is in Excel the stores currently fax the report to a > central location where the cash reconciliation clerk uses the data to > reconcile. Clearly the entire process could benefit from some automation. > While I can visualize some solutions using a combination of Excel and Access > it seems to me that a web form that feeds a database would be ideal. While > the data per form is minimal (15-20 data elements/day) I will probably have > situations where 20-40 stores need to fill out the form at the same time. > Unfortunately I've never done any web work. My questions for the group are: > A. Is the web/database the best solution? > B. If it is what is the simplest way to implement it? > C. Is an Access .mdb the appropriate database i.e. can it handle many > simultaneous users? > TIA for your ideas > Jim Hale From jim.hale at fleetpride.com Wed Mar 19 12:20:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 12:20:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2C14@corp-es00> Very nice. Thanks Gustav. Jim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 19, 2003 12:07 PM To: Hale, Jim Subject: Re: [AccessD] Using Access to reconcile store cash Hi Jim With only few forms and a login function, that could be a job for CodeCharge: http://www.codecharge.com /gustav > Currently we have 150 stores which fill out a daily cash reconciliation > form. Although the form is in Excel the stores currently fax the report to a > central location where the cash reconciliation clerk uses the data to > reconcile. Clearly the entire process could benefit from some automation. > While I can visualize some solutions using a combination of Excel and Access > it seems to me that a web form that feeds a database would be ideal. While > the data per form is minimal (15-20 data elements/day) I will probably have > situations where 20-40 stores need to fill out the form at the same time. > Unfortunately I've never done any web work. My questions for the group are: > A. Is the web/database the best solution? > B. If it is what is the simplest way to implement it? > C. Is an Access .mdb the appropriate database i.e. can it handle many > simultaneous users? > TIA for your ideas > Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Wed Mar 19 12:27:00 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed Mar 19 12:27:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Thanks for the response Charles. I guess I worded my question incorrectly. I do realize that Access security does not integrate directly with NT security, and I do assign my permissions by group. Doing this purely with Access security would just be too easy, and is sparking some ideas :) I'm looking to accomplish 1) centralized Access application security by the network admins and 2) remove the need for a logon by the users for Access. The vision I have is for the Network Admin to simply have to add users to the NT group. When the Access app is opened by a user, the user is authenticated through code (their NT groups are evaluated), and are given access based on these NT group associations. The Administrator would not have to individually add personnel to each Access app, and the users would not have to have a separate logons for each app. For this app and environment it's a no-brainer, I'll do straight Access security. They have 25 static users, 3 user groups and only one Access app. However I've been in environments with dozens of secured Access apps across the enterprise (and each user may use 5 or more) where this type of security schema would be very handy. Doable? Feasible? Any ideas on how to implement? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 4:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security integration with NT security groups Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From CWortz at tea.state.tx.us Wed Mar 19 12:42:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 12:42:00 2003 Subject: [AccessD] Access security integration with NT security groups Message-ID: Network security basically works at the folder level, so whatever permissions one has applies to all objects in the Access app and any other apps in the folder. If you want to use NT security at a finer granularity, then you need SQL Server. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Mar 19 12:27 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access security integration with NT security groups Thanks for the response Charles. I guess I worded my question incorrectly. I do realize that Access security does not integrate directly with NT security, and I do assign my permissions by group. Doing this purely with Access security would just be too easy, and is sparking some ideas :) I'm looking to accomplish 1) centralized Access application security by the network admins and 2) remove the need for a logon by the users for Access. The vision I have is for the Network Admin to simply have to add users to the NT group. When the Access app is opened by a user, the user is authenticated through code (their NT groups are evaluated), and are given access based on these NT group associations. The Administrator would not have to individually add personnel to each Access app, and the users would not have to have a separate logons for each app. For this app and environment it's a no-brainer, I'll do straight Access security. They have 25 static users, 3 user groups and only one Access app. However I've been in environments with dozens of secured Access apps across the enterprise (and each user may use 5 or more) where this type of security schema would be very handy. Doable? Feasible? Any ideas on how to implement? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 4:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security integration with NT security groups Mark, Access does not use NT Security, it has its own security. Access security came into being long before M$ developed WinNT and WinNT Security. It would be nice if a future version of Access did allow integration with NT Security, or whatever version of Windows Security is in place then. If you read the Access Security FAQ http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon tent%2Fsecfaq%2Easp (watch for line wrap) you will see it is recommended that you set up security for groups and then assign individuals to groups. Thus you, or whoever you appoint as security administrator of the application, only has to add and delete individuals from groups. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Mar 18 16:40 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access security integration with NT security groups An old client would like to secure their mdb and I'm wondering how easy it would be to integrate Access security with NT security (ala SQL Server). I'd like to focus on security groups, not individuals. Does anyone have experience with this and can point me in the right direction? Or is it more trouble than it's worth? (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) Thanks, Mark Porter From CWortz at tea.state.tx.us Wed Mar 19 12:53:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 12:53:01 2003 Subject: [AccessD] Does table exist? Message-ID: Check the TableDef collection for a member by the name of the wanted table. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Wednesday 2003 Mar 19 11:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Importance: Low Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Wed Mar 19 12:57:00 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed Mar 19 12:57:00 2003 Subject: [AccessD] Problem with online help Message-ID: <806536912C472E4A9D6515DF2E57261E0C592C@mercury.tnco-inc.com> Not sure of the specs of your computer, but if your running XP, 2000, or ME then this is probably your problem. http://support.microsoft.com/default.aspx?scid=kb;en-us;249065 -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Wednesday, March 19, 2003 5:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with online help Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From szeller at cce.umn.edu Wed Mar 19 13:03:01 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Wed Mar 19 13:03:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: I have not been able to reproduce this behavior in AXP on my own applications. But, I distribute my application as .ade files to avoid all of this. --Susan -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at GFNET.com] Sent: Wednesday, March 19, 2003 12:01 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar Apparently in AXP, if you have the taskbar in windows checked, then click on one of the windows in the taskbar from the app, the database window will show even if you have it checked not to show. According to MS, it is a known problem (kb # 313915), but the solution was to change the the setting from the options window, which is not feasible for me. I can only make this happen on some of my databases and only some of my clients have problems, so who knows. Tim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 19, 2003 11:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -----Original Message----- From: Swisher, Timothy B. [mailto:tswisher at gfnet.com] Sent: Wednesday, March 19, 2003 7:20 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Windows in Taskbar You can do that, but when you click on one of the windows in the taskbar, the database window reappears, even if you have it unchecked. I alos agree that it is something I will need to turn off. Tim -----Original Message----- From: Susan Zeller [mailto:szeller at cce.umn.edu] Sent: Wednesday, March 19, 2003 9:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Can't you also just uncheck the option for "display database window" in the startup options? I'm in AXP and it works there. If you do go the code route, I agree with Mark that you should be sure to reset them to show on exit because this is a setting that will affect any Access fiile they try to use. --Susan -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, March 18, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Windows in Taskbar Application.ShowWindowsInTaskbar = False You may want to save the user's setting at startup to a global variable or table, and set it back when they exit. For example, on startup MyVariable = Application.ShowWindowsInTaskbar Application.ShowWindowsInTaskbar = False Then on your exiting code Application.ShowWindowsInTaskbar = MyVariable ----- Original Message ----- From: Swisher, Timothy B. To: accessd at databaseadvisors.com Sent: Tuesday, March 18, 2003 2:49 PM Subject: [AccessD] Windows in Taskbar Hello Group, Anyone know how to programmatically unselect the "Windows in Taskbar" option. I am trying to work around the bug that shows the database window even if it is hidden when the user click one of the windows in taskbar. The fix is to uncheck this option on the database, but I can not go to each client machine and do that. My development machine is A2K and I have some users with AXP that can now get to the database window. TIA. Tim Swisher Application & Software Engineer Gannett Fleming Email: tswisher at gfnet.com Website: www.GANCOM.com Voice: (717) 763-7226 Ext 2057 Toll Free: (800) 446-9236 Ext 2057 Fax: (717) 763-8150 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Mar 19 13:10:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed Mar 19 13:10:01 2003 Subject: [AccessD] Windows in Taskbar Message-ID: We use Access security, Charles. It isn't quite so easy to bypass *those* tricks. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Mar 19 13:13:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed Mar 19 13:13:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> References: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: <14239975151.20030319201017@cactus.dk> Hi Mark > Is there code to find out if an Access table exists in the database? Well, several options. This is one we use: Function IsTable( _ ByVal strDatabase As String, _ ByVal strTable As String) As Boolean Dim dbs As Database Dim lngCount As Long Dim booFound As Boolean On Error GoTo Err_IsTable If Len(strDatabase) = 0 Then Set dbs = CurrentDb() Else Set dbs = DBEngine(0).OpenDatabase(strDatabase) End If lngCount = dbs.TableDefs.Count While lngCount > 0 And Not booFound booFound = (StrComp(dbs.TableDefs(lngCount - 1).Name, strTable, vbTextCompare) = 0) lngCount = lngCount - 1 Wend Set dbs = Nothing IsTable = booFound Exit_IsTable: Exit Function Err_IsTable: Resume Exit_IsTable End Function Watch for a line break. /gustav From StaRKeY at Wanadoo.nl Wed Mar 19 13:15:47 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed Mar 19 13:15:47 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: Yupz.... using dao it looks like this: dim db as dao.database, tbl as dao.tabledef set db=currentdb for each tbl in db.tabledefs if tbl.name="yourtable" then "found" next tbl set db=nothing set tbl=nothing Have fun! -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 18:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Wed Mar 19 13:20:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 13:20:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From CWortz at tea.state.tx.us Wed Mar 19 13:23:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed Mar 19 13:23:00 2003 Subject: [AccessD] Windows in Taskbar Message-ID: Yes, you need to implement security if you want to suppress many of these tricks. Also converting the app to an .mde or .ade helps. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 13:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Importance: Low We use Access security, Charles. It isn't quite so easy to bypass *those* tricks. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Charlotte, And what I was trying to point out is that it is simple to bypass most of the tricks that you are looking for. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 11:32 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Yes, Charles, I realize that. What I was asking about was what enabled getting to the database window from the taskbar, since I want to avoid a potential problem with our AXP versions but haven't seen anything like this behavior so far. It's difficult to avoid something if you can't figure out what triggers it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 19, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar To get to the database window in A02 is simple. Open A02 first, then from the menu open the app while holding down the shift key. You are now in the app in design view. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday 2003 Mar 19 10:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Windows in Taskbar Tim, Is this something that only occurs if you develop in AXP? I've migrated 97 apps to AXP and never seen this behavior. Out applications hide the database window and I haven't found a way to show it by clicking on something in the taskbar when the built-in menus, etc., are turned off. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Wed Mar 19 13:39:00 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Wed Mar 19 13:39:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Wed Mar 19 13:43:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Wed Mar 19 13:43:00 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFE82EA1@PKDWB01C.ad.sprint.com> John, I've run into that when the "number" in Excel is actually a "text" value. Try converting the offending Excel value to a number using Excel's "Value" function. In my case that always took care of the problem. HTH Don McGillivray -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, March 19, 2003 11:20 AM To: AccessD Subject: [AccessD] Access to Excel - #Num! does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.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 Wed Mar 19 13:47:01 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed Mar 19 13:47:01 2003 Subject: [AccessD] OT: "Chevaux de frise" of free world... References: Message-ID: <008601c2ee50$43b11bb0$b501010a@DAISY.local> THNX John! I'm leaving tomorrow 20-Mar-03 afternoon at around 2:00 p.m. (GMT+3) I will be back from my trip in two weeks. THNX everybody for your great help and support! Shamil ----- Original Message ----- From: "John W. Colby" To: Sent: Friday, March 14, 2003 9:35 PM Subject: RE: [AccessD] OT: "Chevaux de frise" of free world... > Congratulations Shamil! Enjoy your trip, and your vacation. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, March 14, 2003 1:17 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > Hi All, > > We made it! - I've got Visum to Netherlands (Shengen States) for myself and > my two kids for twenty days today! I fly to Amsterdam on 20 March 2003. I > plan to visit also Hamburg, Ghent, Brugge, Brussels, Paris etc. I go back > home on 03 of April 2003. > > Without your great moral support and hints of Marty I would have not had > Visum today... > And of course Onno van Shelven who is not on the list these days but who I > contact from time to time with was the main helping hand - he helped me to > define a concept and then edit/augment a letter, which I wrote and sent to > the Consul and which made this incredible bombing effect and holed > bureaucracy wall... > > Well, I had to pay second time for their services and I didn't hear any > words of excuses or something like that but all that doesn't matter when > what was almost impossible on Monday becomes a reality on Friday... > > THNX a lot again to everybody, > Have nice weekend, > Shamil :) > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: > Sent: Monday, March 10, 2003 11:23 PM > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > THNX Marty, > > > > I will give it another try to solve the problem without complaints - if no > > result then maybe I will go compainingt o the Head Office. But the chances > > are very high that they will not accept any of my complaints and will play > > fool - or you've any success stories when complaints helped to solve the > > situations like that mine? > > > > TIA for any additional info, > > Shamil > > > > ----- Original Message ----- > > From: "MartyConnelly" > > To: > > Sent: Monday, March 10, 2003 10:44 PM > > Subject: Re: [AccessD] OT: "Chevaux de frise" of free world... > > > > > > > I would complain (umm... make a request for clarification or advice) to > > > the Head Office rather than locally. "Better to complain to the organ > > > grinder than the monkey". This is an English aphorism > > > referring to street buskers who would play a portable windup organ and > > > have a little monkey running around with a cup to collect spare change. > > > > > > Here is the mailing address for Ministry in the Hague > > > The Netherlands Ministry of Foreign Affairs > > > > > > Visitors Address: > > > Bezuidenhoutseweg 67, The Hague > > > tel. +31 70 3486486; > > > fax. + 31 70 3484848; > > > > > > The Netherlands Ministry of Foreign Affairs > > > Postal Address: > > > PO Box 20061 > > > 2500 EB The Hague > > > > > > Or email complaint page > > > > > > http://www.minbuza.nl/default.asp?CMS_ITEM=5A764C199D984EB288FB2B58766A3E25X > > 2X55346X5 > > > or > > > > > > If you have any questions, please check the Frequently Asked Questions > > > first. If you have still not found an answer to your question, then you > > > can call the Communication department on weekdays from 9 a.m. to 12:30 > > > p.m. and from 1:30 p.m. to 4:30 p.m. on +31 (0)70 370 3124. > > > see: in english Visa Applications > > > > > > http://www.immigratiedienst.nl/ > > > > > > Probably a phone call to their communication department in external > > > affairs for clarification would quickly resolve the matter. They aren't > > > clear on their forms about very short business trips or actually working > > > for a company on a 3 month contract or a business man who goes to > > > Holland to solicit business and takes along his wife so she can shop or > > > sitesee or a technician who goes to Holland to repair a machine. A 10 > > > minute phone call to Europe from Canada only costs a little over a > dollar, > > > I don't know about your costs. > > > > > > Also when you applied, Holland was going through a National election > > > where one of the major topics was Illegal Immigration and assylum > > > seekers. So there may have been political direction to be hesitant or > > > over zealous in the checking of visas, to avoid political embarassment > > > to the powers that be, during the election period. > > > > > > This wasn't hard for me to check up. I was a Civil (Silly) Servant for a > > > few years and can find my way around . You do learn skills as a civil > > > servant. Things like reading upside down and backwards > > > so you can read a letter on a desk you are not supposed to see. I can > > > carry two passports EU and Canadian and still get into trouble over > > > there with the regulations. > > > > > > > > > Shamil Salakhetdinov wrote: > > > > > > >THNX for your info Marty! > > > >Very much appreciated! > > > > > > > > > > > > > > > >> it isn't worth the hassle to complain > > > >>about some minor functionary or bureaucrat > > > >> > > > >> > > > >OK, I decided to reapply for the Visum if they are asking to do so but > > I'd > > > >like to have some documents left on my hands(unfortunately I didn't > make > > the > > > >copy of the first Visa application) > > > > > > > >I'd like to write a letter to the head of the Consulate-General with > > request > > > >for their help of solving this small misapprehension ASAP - how should > I > > > >proceed with them to let me to pass this letter to him and to allow me > to > > > >meet with him/his representative and to officially register my letter > > with > > > >help request and explanation (my vision) of situation (of course > without > > any > > > >complaints)? > > > > > > > > > > > > > > > >>filling in a Green Card lottery form for permanent > > > >>residence in US (odds 1:100) > > > >> > > > >> > > > >You propose me to immigrate to the States? A plenty of work there and a > > room > > > >for five people? - I still prefer to stay here in Russia and find a way > > to > > > >freely travel around the World - should be doable but needs some time > to > > > >solve this without immigration to the States... > > > > > > > >Shamil > > > > > > <<< tail skipped for brevity >>> > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From John.Clark at niagaracounty.com Wed Mar 19 13:53:01 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Wed Mar 19 13:53:01 2003 Subject: [AccessD] OT - Missing Word Menu Bar Message-ID: In my case it tuned out to be a corrupt registry key, which was part 4 (I think) in the following link that was passed on to me by Bryan Carbonnell (http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=wrd&Number=197827). I used the "/a" parameter, and it opened fine, then I ruled out the normal.doc problem. We reset the registry key and, voila! It worked fine! John W Clark >>> hsimpson88 at hotmail.com 03/19/03 11:21AM >>> I recently followed a thread with a similar topic a few weeks ago and made a comment about stability of Word docs and keeping templates simple. Curiously, in the past week or so, after I had deleted all the postings on the thread, one of my clients had a user report the problem. I tried to find the thread in Drew's archive but it was inaccessible and yesterday I managed to get account information and log in as the user by dial up to Terminal Server session. No menu bar was present in Word yet Alt-F dropped the file menu. The user had the taskbar at the top of the screen and I thought this might have covered something. After I went in to edit the toolbars and when I dragged Word by its title bar, the menu bar appeared as a toolbox that I dragged into the correct position. I don't know how or why, the the file menu was in or under Word's title bar. Sometimes you just have to get on a machine and horse around to find a solution. Hen _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 19 14:00:00 2003 From: ttom at accessyourdata.com (t tom) Date: Wed Mar 19 14:00:00 2003 Subject: [AccessD] Does table exist? References: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: <003801c2ee51$474d38c0$132b9244@cg.shawcable.net> Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Wed Mar 19 14:12:20 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 14:12:20 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA88@mail2k.mcbassoc.com> Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Wed Mar 19 14:31:00 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed Mar 19 14:31:00 2003 Subject: [AccessD] Default Value On Numerics In-Reply-To: <3E780091.19715.122CBE@localhost> Message-ID: <000001c2ee56$19dff120$b274d0d5@andypc> Yea, probably an internationalization issue :-)))) (ducks) Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 19 March 2003 10:31 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Default Value On Numerics > > > On 19 Mar 2003 at 7:26, Andy Lacey wrote: > > > Well I wasn't, cos I've never used MAKE TABLE. Nevertheless > thanks for > > the definitive answer Charlotte. > > Neither was I. For exactly the same reason. > > Oh well, it must be a Commonwealth thing Andy. :-) > > Thanks Charlotte. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Programming today is a race between software engineers striving > to build bigger and better idiot-proof programs, and the Universe > producing bigger and better idiots. So far, the Universe is > winning. - > Mark Mischler. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From StaRKeY at Wanadoo.nl Wed Mar 19 14:34:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed Mar 19 14:34:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA88@mail2k.mcbassoc.com> Message-ID: Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Wed Mar 19 14:37:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 14:37:00 2003 Subject: [AccessD] Access to Excel - #Num! In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BFE82EA1@PKDWB01C.ad.sprint.com> Message-ID: I tried formatting the column as a number, no help John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [LTD] Sent: Wednesday, March 19, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access to Excel - #Num! John, I've run into that when the "number" in Excel is actually a "text" value. Try converting the offending Excel value to a number using Excel's "Value" function. In my case that always took care of the problem. HTH Don McGillivray -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, March 19, 2003 11:20 AM To: AccessD Subject: [AccessD] Access to Excel - #Num! does anyone know what #Num! is in a Excel cell? The data if clicked in the spreadsheet is a number, but when viewed in a linked table is #Num! John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2224 bytes Desc: not available URL: From EdTesiny at oasas.state.ny.us Wed Mar 19 14:53:01 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed Mar 19 14:53:01 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: John, #Num! The #Num! error value means that the value in the field is too large (either positively or negatively) to be stored in the field, based on the field's DataType or FieldSize property setting Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Wednesday, March 19, 2003 3:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" > value. > Try converting the offending Excel value to a number using Excel's > "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked > in the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Wed Mar 19 14:57:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed Mar 19 14:57:01 2003 Subject: [AccessD] Access to Excel - #Num! References: Message-ID: <03d601c2ee59$b5d0b850$f8ecffcc@SusanOne> John, I've really no clue, but these are the things I'd check first. 1.) Make sure the column in the linked table is wide enough to display the values. 2.) Check the data types -- it may be something Access simply can't interpret. Sorry, I know that's probably not any help. Susan H. > I tried formatting the column as a number, no help From davesharpe2 at cox.net Wed Mar 19 15:02:08 2003 From: davesharpe2 at cox.net (davesharpe2 at cox.net) Date: Wed Mar 19 15:02:08 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <20030319210004.EHOG1354.lakemtao03.cox.net@smtp.east.cox.net> John Formatting just addresses presentation, not the actual content of the cell. Look in the FORMULA bar; do you see just 1234 ( a number ) or '1234 ( 1234 as text ). Dave > > From: "John W. Colby" > Date: 2003/03/19 Wed PM 03:35:20 EST > To: > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2224 bytes Desc: not available URL: From accessd at shaw.ca Wed Mar 19 15:34:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 15:34:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: Just a note: Quote from MS: "Machines running the Windows NT and XP operating systems are not vulnerable, according to Microsoft." Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Norm Sent: Wednesday, March 19, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: Re: Re[2]: [AccessD] RE:Virus attack http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM This may or not be of any use to you - but worth looking into - about machines failing to boot after installing the latest patch from Microsoft. HTH Norm > > I would like more information on this. I have lost two machines, > totally unbootable, in the past week or so. One was my development > machine running WindowsXP and the desktop edition of IIS was, I'm > almost certain, running too. The other machine was a Windows ME backup > box, though, and I don't think it had even the desktop version of IIS > running but I'm not certain of that. Would this problem affect > machines under those circumstances do you know? I can't find anything > about this on the MS site (yet). > > Please contact me off-list if you feel this is too far off-topic. > chizotz at charter.net > > Thanks for any further information, > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Wed Mar 19 15:37:01 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Wed Mar 19 15:37:01 2003 Subject: [AccessD] Access to Excel - #Num! Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BFE830C2@PKDWB01C.ad.sprint.com> John, Maybe I'm barking up the wrong tree with this, but here's a bit more detail about my similar experience: I've encountered this with an Excel sheet used as a linked table, where the Excel sheet was being populated by another person each month. Turns out they were cutting the data from a query of some sort (not really sure how the query was generated, but the data came from a PeopleSoft accounting database) and pasting it into the spreadsheet. No matter how I looked at the resulting data, it looked like a numeric in Excel, but when viewed via Access I'd get the #Num! thing. I tried reformatting the Excel column as a number, but no glory. The only solution I found was to convert the offending cell values to numbers in a separate column of the sheet (using the Value function in Excel). Then, copy the resulting values and paste them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta crap to go thru each month - so I got them to do it on the other end ;-). Hope this helps Don McGillivray > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Wednesday, March 19, 2003 12:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com From jcolby at ColbyConsulting.com Wed Mar 19 15:51:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Wed Mar 19 15:51:00 2003 Subject: [AccessD] Access to Excel - #Num! In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BFE830C2@PKDWB01C.ad.sprint.com> Message-ID: That appears to be what is happening here. Thanks for the suggestion. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [LTD] Sent: Wednesday, March 19, 2003 4:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access to Excel - #Num! John, Maybe I'm barking up the wrong tree with this, but here's a bit more detail about my similar experience: I've encountered this with an Excel sheet used as a linked table, where the Excel sheet was being populated by another person each month. Turns out they were cutting the data from a query of some sort (not really sure how the query was generated, but the data came from a PeopleSoft accounting database) and pasting it into the spreadsheet. No matter how I looked at the resulting data, it looked like a numeric in Excel, but when viewed via Access I'd get the #Num! thing. I tried reformatting the Excel column as a number, but no glory. The only solution I found was to convert the offending cell values to numbers in a separate column of the sheet (using the Value function in Excel). Then, copy the resulting values and paste them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta crap to go thru each month - so I got them to do it on the other end ;-). Hope this helps Don McGillivray > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Wednesday, March 19, 2003 12:35 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > I tried formatting the column as a number, no help > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 2:43 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > I've run into that when the "number" in Excel is actually a "text" value. > Try converting the offending Excel value to a number using Excel's "Value" > function. In my case that always took care of the problem. > > HTH > > Don McGillivray > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, March 19, 2003 11:20 AM > To: AccessD > Subject: [AccessD] Access to Excel - #Num! > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > the > spreadsheet is a number, but when viewed in a linked table is #Num! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3124 bytes Desc: not available URL: From accessd at shaw.ca Wed Mar 19 16:06:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed Mar 19 16:06:02 2003 Subject: [AccessD] Does table exist? In-Reply-To: <42DE35C7D61279419C166543CD42F405CA7B@mail2k.mcbassoc.com> Message-ID: Hi Mark: For older Access97 applications the following code could be used... Dim db1 As Database Dim ltabdefTables As TableDef Set db1 = CurrentDb() With db1 For Each ltabdefTables In .TableDefs If strDoesthisTableExis = ltabdefTables.Name Then TableExists = True Exit For End if Next End With ... and for current Access applications... if currentdb.TableDefs(strDoesthisTableExist).Name <> "" Then TableExists = True HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Wednesday, March 19, 2003 9:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Wed Mar 19 16:26:00 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed Mar 19 16:26:00 2003 Subject: [AccessD] Does table exist? Message-ID: <42DE35C7D61279419C166543CD42F405CA90@mail2k.mcbassoc.com> Thanks Jim. Mark -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, March 19, 2003 5:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Hi Mark: For older Access97 applications the following code could be used... Dim db1 As Database Dim ltabdefTables As TableDef Set db1 = CurrentDb() With db1 For Each ltabdefTables In .TableDefs If strDoesthisTableExis = ltabdefTables.Name Then TableExists = True Exit For End if Next End With ... and for current Access applications... if currentdb.TableDefs(strDoesthisTableExist).Name <> "" Then TableExists = True HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Wednesday, March 19, 2003 9:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hadyn at dataconcepts.co.nz Wed Mar 19 16:37:00 2003 From: hadyn at dataconcepts.co.nz (Hadyn Morgan) Date: Wed Mar 19 16:37:00 2003 Subject: [AccessD] Access to Excel - #Num! References: Message-ID: <00c301c2ee68$6715da10$0700000a@xpdev> Hi John http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 Had the same problem. This fixed it. Kind regards Hadyn ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 20, 2003 9:50 AM Subject: RE: [AccessD] Access to Excel - #Num! > That appears to be what is happening here. Thanks for the suggestion. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > Donald [LTD] > Sent: Wednesday, March 19, 2003 4:36 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access to Excel - #Num! > > > John, > > Maybe I'm barking up the wrong tree with this, but here's a bit more detail > about my similar experience: > > I've encountered this with an Excel sheet used as a linked table, where the > Excel sheet was being populated by another person each month. Turns out > they were cutting the data from a query of some sort (not really sure how > the query was generated, but the data came from a PeopleSoft accounting > database) and pasting it into the spreadsheet. No matter how I looked at > the resulting data, it looked like a numeric in Excel, but when viewed via > Access I'd get the #Num! thing. I tried reformatting the Excel column as a > number, but no glory. The only solution I found was to convert the > offending cell values to numbers in a separate column of the sheet (using > the Value function in Excel). Then, copy the resulting values and paste > them AS VALUES (Edit/Paste Special/Values) over the offending cells. Lotta > crap to go thru each month - so I got them to do it on the other end ;-). > > Hope this helps > > Don McGillivray > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John W. Colby > > Sent: Wednesday, March 19, 2003 12:35 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access to Excel - #Num! > > > > I tried formatting the column as a number, no help > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mcgillivray, > > Donald [LTD] > > Sent: Wednesday, March 19, 2003 2:43 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access to Excel - #Num! > > > > > > John, > > > > I've run into that when the "number" in Excel is actually a "text" value. > > Try converting the offending Excel value to a number using Excel's "Value" > > function. In my case that always took care of the problem. > > > > HTH > > > > Don McGillivray > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Wednesday, March 19, 2003 11:20 AM > > To: AccessD > > Subject: [AccessD] Access to Excel - #Num! > > > > > > does anyone know what #Num! is in a Excel cell? The data if clicked in > > the > > spreadsheet is a number, but when viewed in a linked table is #Num! > > > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From stuart at lexacorp.com.pg Wed Mar 19 17:28:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:28:01 2003 Subject: [AccessD] Access security integration with NT security groups In-Reply-To: Message-ID: <3E798918.26696.38EDB0@localhost> I have "futzed" it in the past by using folders :-) Set up a series of sub-folders below your application directory, each one containing a simple text file. Apply group rights to each folder. In Access, try to read the file in each folder. If you can, you are a member of the group. You can then use that information to control access to various parts of your access application. > Network security basically works at the folder level, so whatever > permissions one has applies to all objects in the Access app and any > other apps in the folder. If you want to use NT security at a finer > granularity, then you need SQL Server. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Wednesday 2003 Mar 19 12:27 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Thanks for the response Charles. I guess I worded my question > incorrectly. > > > I do realize that Access security does not integrate directly with NT > security, and I do assign my permissions by group. Doing this purely > with Access security would just be too easy, and is sparking some ideas > :) > > I'm looking to accomplish 1) centralized Access application security by > the network admins and 2) remove the need for a logon by the users for > Access. > > The vision I have is for the Network Admin to simply have to add users > to the NT group. When the Access app is opened by a user, the user is > authenticated through code (their NT groups are evaluated), and are > given access based on these NT group associations. > > The Administrator would not have to individually add personnel to each > Access app, and the users would not have to have a separate logons for > each app. > > For this app and environment it's a no-brainer, I'll do straight Access > security. They have 25 static users, 3 user groups and only one Access > app. However I've been in environments with dozens of secured Access > apps across the enterprise (and each user may use 5 or more) where this > type of security schema would be very handy. > > Doable? Feasible? Any ideas on how to implement? > > Mark > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 19, 2003 4:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Mark, > > Access does not use NT Security, it has its own security. Access > security came into being long before M$ developed WinNT and WinNT > Security. It would be nice if a future version of Access did allow > integration with NT Security, or whatever version of Windows Security is > in place then. > > If you read the Access Security FAQ > http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon > tent%2Fsecfaq%2Easp (watch for line wrap) > you will see it is recommended that you set up security for groups and > then assign individuals to groups. Thus you, or whoever you appoint as > security administrator of the application, only has to add and delete > individuals from groups. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Tuesday 2003 Mar 18 16:40 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Access security integration with NT security groups > > > An old client would like to secure their mdb and I'm wondering how easy > it would be to integrate Access security with NT security (ala SQL > Server). I'd like to focus on security groups, not individuals. > > Does anyone have experience with this and can point me in the right > direction? Or is it more trouble than it's worth? > > (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) > > Thanks, > > Mark Porter > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 19 17:31:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:31:00 2003 Subject: [AccessD] Connecting to a URL through code In-Reply-To: Message-ID: <3E798919.5092.38EF87@localhost> > In my application logic, there is one instance where I want the user to > be directed to a web page. How do I do that through code? In other > words, how do I write code that would do the same thing as if a person > clicked on a hyperlink on the face of the form? > I posted this in response to another question on 10 Oct 2002, but it applies equally well here - The document can be a URL: (Watch for word wrap) You can do it using ShellExecute(). The Sub below will open any registered document type maximized in the foreground, leaving Access maximized behind it. (Other ShowWindow constants are: SW_HIDE = 0 SW_NORMAL = 1 SW_SHOWMINIMIZED = 2 SW_SHOWMAXIMIZED = 3 SW_SHOWNOACTIVATE = 4 SW_SHOWMINNOACTIVE = 7 SW_SHOWDEFAULT = 10 ) Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Sub ShowDocMaximized(DocName As String) Dim ErrorStatus As Long Dim ErrorMessage As String Const SW_MAXIMIZED = 3 If IsNull(docname) Then MsgBox "No Document Name": Exit Sub ErrorStatus = ShellExecute(0, "Open", DocName, "", CurDir$, SW_MAXIMIZED) If ErrorStatus < 33 Then Select Case ErrorStatus Case 0: ErrorMessage = "The operating system is out of memory or resources." Case 2: ErrorMessage = " The specified file was not found." Case 3: ErrorMessage = "The specified path was not found." Case 5: ErrorMessage = "The operating system denied access to the specified file." Case 8: ErrorMessage = "There was not enough memory to complete the operation." Case11: ErrorMessage = "The .EXE file is invalid (non-Win32 .EXE or error in .EXE image)." Case 26: ErrorMessage = "A sharing violation occurred." Case 27: ErrorMessage = "The filename association is incomplete or invalid." Case 29: ErrorMessage = "The DDE transaction failed." Case 28: ErrorMessage = "The DDE transaction could not be completed because the request timed out." Case 30: ErrorMessage = "The DDE transaction could not be completed because other DDE transactions were being processed." Case 31: ErrorMessage = "There is no application associated with the given filename extension." Case 32: ErrorMessage = "The specified dynamic-link library was not found." Case Else: ErrorMessage = "Unidentified Error when opening document" End Select MsgBox ErrorMessage End If End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Mar 19 17:33:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed Mar 19 17:33:12 2003 Subject: [AccessD] Access security integration with NT security groups In-Reply-To: Message-ID: <3E798918.31853.38EE8D@localhost> I've looked into doing this with API calls a few times and have decided it wasn't worth the effort every time. The security APIs are VERY tricky. I have "futzed" it in the past by using folders :-) Set up a series of sub-folders below your application directory, each one containing a simple text file. Apply group rights to each folder. In Access, try to read the file in each folder. If you can, you are a member of the group. You can then use that information to control access to various parts of your access application. > Thanks for the response Charles. I guess I worded my question incorrectly. > > > I do realize that Access security does not integrate directly with NT > security, and I do assign my permissions by group. Doing this purely with > Access security would just be too easy, and is sparking some ideas :) > > I'm looking to accomplish 1) centralized Access application security by the > network admins and 2) remove the need for a logon by the users for Access. > > The vision I have is for the Network Admin to simply have to add users to > the NT group. When the Access app is opened by a user, the user is > authenticated through code (their NT groups are evaluated), and are given > access based on these NT group associations. > > The Administrator would not have to individually add personnel to each > Access app, and the users would not have to have a separate logons for each > app. > > For this app and environment it's a no-brainer, I'll do straight Access > security. They have 25 static users, 3 user groups and only one Access app. > However I've been in environments with dozens of secured Access apps across > the enterprise (and each user may use 5 or more) where this type of security > schema would be very handy. > > Doable? Feasible? Any ideas on how to implement? > > Mark > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, March 19, 2003 4:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access security integration with NT security > groups > > > Mark, > > Access does not use NT Security, it has its own security. Access > security came into being long before M$ developed WinNT and WinNT > Security. It would be nice if a future version of Access did allow > integration with NT Security, or whatever version of Windows Security is > in place then. > > If you read the Access Security FAQ > http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcon > tent%2Fsecfaq%2Easp (watch for line wrap) > you will see it is recommended that you set up security for groups and > then assign individuals to groups. Thus you, or whoever you appoint as > security administrator of the application, only has to add and delete > individuals from groups. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Porter, Mark [mailto:MPorter at acsalaska.com] > Sent: Tuesday 2003 Mar 18 16:40 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Access security integration with NT security groups > > > An old client would like to secure their mdb and I'm wondering how easy > it would be to integrate Access security with NT security (ala SQL > Server). I'd like to focus on security groups, not individuals. > > Does anyone have experience with this and can point me in the right > direction? Or is it more trouble than it's worth? > > (Win2k server, Win2K Pro desktops and Access 2000 mdb files.) > > Thanks, > > Mark Porter > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Wed Mar 19 17:46:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 17:46:01 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: <00a001c2ee71$aaee3c10$6101a8c0@amd2k512> ...that's exactly it :))) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Norm" To: Sent: Wednesday, March 19, 2003 12:42 PM Subject: Re: Re[2]: [AccessD] RE:Virus attack > http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM > > This may or not be of any use to you - but worth looking into - about > machines failing to boot after installing the latest patch from Microsoft. > HTH > Norm > > > > > I would like more information on this. I have lost two machines, > > totally unbootable, in the past week or so. One was my development > > machine running WindowsXP and the desktop edition of IIS was, I'm > > almost certain, running too. The other machine was a Windows ME backup > > box, though, and I don't think it had even the desktop version of IIS > > running but I'm not certain of that. Would this problem affect > > machines under those circumstances do you know? I can't find anything > > about this on the MS site (yet). > > > > Please contact me off-list if you feel this is too far off-topic. > > chizotz at charter.net > > > > Thanks for any further information, > > > > Ron > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Mar 19 17:58:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed Mar 19 17:58:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82335@main2.marlow.com> ASP is probably the best approach for this. If you are practicing 'hit and release', the number of concurrent users is relatively ignorable, since the chances of having even two people 'submit' their data at the same time is pretty high....even then it wouldn't be a problem unless you had more then a hundred or so trying to submit at one time (physically 255 is the limit, but it might hiccup if a large number submit simultaneously.). Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Mar 19 18:01:02 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed Mar 19 18:01:02 2003 Subject: [AccessD] Using Access to reconcile store cash References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> <4236157581.20030319190640@cactus.dk> Message-ID: <00b501c2ee73$976518b0$6101a8c0@amd2k512> gustav ...have you actually used CodeCharge to produce a working web application? ...I'm seriously interested in something like this but so far have not found anything to beat DreamweaverMX ...interested in how this actually performs compared to its marleting claims. William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Gustav Brock" To: "Hale, Jim" Sent: Wednesday, March 19, 2003 1:06 PM Subject: Re: [AccessD] Using Access to reconcile store cash > Hi Jim > > With only few forms and a login function, that could be a job for > CodeCharge: > > http://www.codecharge.com > > /gustav > > > > Currently we have 150 stores which fill out a daily cash reconciliation > > form. Although the form is in Excel the stores currently fax the report to a > > central location where the cash reconciliation clerk uses the data to > > reconcile. Clearly the entire process could benefit from some automation. > > While I can visualize some solutions using a combination of Excel and Access > > it seems to me that a web form that feeds a database would be ideal. While > > the data per form is minimal (15-20 data elements/day) I will probably have > > situations where 20-40 stores need to fill out the form at the same time. > > Unfortunately I've never done any web work. My questions for the group are: > > A. Is the web/database the best solution? > > B. If it is what is the simplest way to implement it? > > C. Is an Access .mdb the appropriate database i.e. can it handle many > > simultaneous users? > > > TIA for your ideas > > Jim Hale > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Wed Mar 19 18:04:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed Mar 19 18:04:00 2003 Subject: [AccessD] Using Access to reconcile store cash Message-ID: <869379ABF177D4118D3100508B5EF873057C2CDB@corp-es00> Thanks. This looks like the way to go. Jim H -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, March 19, 2003 11:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Using Access to reconcile store cash Jim, The web/database, to me, is the best solution. I have a client that started with 50 locations and now has over 70, using multiple pages to send data to the main office. Some have dial-up others broadband. Doesn't matter. Except we did have trouble with any site that was using AOL. Use ASP connecting to an Access mdb. Use NT security. Implementation: Create the ASP pages and the Access database. Move both to an active server. Let your sites know it's location. Use it! HTH Jim -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Wednesday, March 19, 2003 11:29 AM To: ''Accessd (E-mail)' Subject: [AccessD] Using Access to reconcile store cash Currently we have 150 stores which fill out a daily cash reconciliation form. Although the form is in Excel the stores currently fax the report to a central location where the cash reconciliation clerk uses the data to reconcile. Clearly the entire process could benefit from some automation. While I can visualize some solutions using a combination of Excel and Access it seems to me that a web form that feeds a database would be ideal. While the data per form is minimal (15-20 data elements/day) I will probably have situations where 20-40 stores need to fill out the form at the same time. Unfortunately I've never done any web work. My questions for the group are: A. Is the web/database the best solution? B. If it is what is the simplest way to implement it? C. Is an Access .mdb the appropriate database i.e. can it handle many simultaneous users? TIA for your ideas Jim Hale _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 19 18:47:00 2003 From: ttom at accessyourdata.com (t tom) Date: Wed Mar 19 18:47:00 2003 Subject: [AccessD] Does table exist? References: Message-ID: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> OK , Lets try again ( making code a little less squeaky , now only checks for tables ) Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and type=1" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function Tomt ----- Original Message ----- From: StaRKeY To: accessd at databaseadvisors.com Sent: Wednesday, March 19, 2003 1:27 PM Subject: RE: [AccessD] Does table exist? Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I'll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. ---------------------------------------------------------------------------- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-3-2003 Tested on: 19-3-2003 21:27:40 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chizotz at charter.net Wed Mar 19 20:53:00 2003 From: chizotz at charter.net (Ron Allen) Date: Wed Mar 19 20:53:00 2003 Subject: [AccessD] RE:Virus attack In-Reply-To: <004d01c2ee3e$fb761c80$52d2d23f@norm> References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> Message-ID: <4210561765.20030319205255@charter.net> N> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM N> This may or not be of any use to you - but worth looking into - about N> machines failing to boot after installing the latest patch from Microsoft. Thanks Norm, I'll go take a peek. Ron From SDSSoftware at Optusnet.com.au Wed Mar 19 21:14:01 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed Mar 19 21:14:01 2003 Subject: [AccessD] Combo - force dropdown Message-ID: <000001c2ee8e$8181cf50$54dd31d2@OfficePC> Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastercafe at ctv.es Wed Mar 19 21:30:00 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Wed Mar 19 21:30:00 2003 Subject: [AccessD] Combo - force dropdown In-Reply-To: <000001c2ee8e$8181cf50$54dd31d2@OfficePC> Message-ID: That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Wed Mar 19 21:34:01 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed Mar 19 21:34:01 2003 Subject: [AccessD] Combo - force dropdown References: Message-ID: <001501c2ee91$50bdcd80$54dd31d2@OfficePC> Hi Juan - I want it to go away after a choice is made with the mouse - just as it would if I had pressed F4 and made a selection using the mouse. Kath ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 2:24 PM Subject: RE: [AccessD] Combo - force dropdown That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Thu Mar 20 03:16:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu Mar 20 03:16:00 2003 Subject: [AccessD] OT Please Sort References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> Message-ID: <00bd01c2eec1$3254c3f0$9111758f@aine> Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin From DWUTKA at marlow.com Thu Mar 20 03:30:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 03:30:01 2003 Subject: [AccessD] OT Please Sort Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82364@main2.marlow.com> No problem. I've 'approved' it, however, I'm not on the OT list (get too much mail with just AccessD ), so if you could, email me offline (dwutka at marlow.com) if the message goes through or not. (First time 'approving' a message). Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, March 20, 2003 3:15 AM To: accessd Subject: [AccessD] OT Please Sort Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Thu Mar 20 04:31:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Thu Mar 20 04:31:00 2003 Subject: [AccessD] RE:Virus attack References: <000a01c2edee$c524ae30$6101a8c0@amd2k512> <000001c2ee02$25d4bf00$da681442@jlmoss> <003001c2ee0e$5ac15e10$6101a8c0@amd2k512> <54916937.20030320113150@charter.net> <004d01c2ee3e$fb761c80$52d2d23f@norm> <4210561765.20030319205255@charter.net> Message-ID: <000901c2eecb$c27207e0$60b95041@jlmoss> Those machines that wouldn't boot after installing the patch may be due to itchy trigger fingers. Mine took a very long time to boot the first time. After that it's been OK. ----- Original Message ----- From: "Ron Allen" To: "Norm" Sent: Wednesday, March 19, 2003 8:52 PM Subject: Re[4]: [AccessD] RE:Virus attack > N> http://computerworld.com/newsletter/0,4902,79504,0.html?nlid=AM > > N> This may or not be of any use to you - but worth looking into - about > N> machines failing to boot after installing the latest patch from Microsoft. > > Thanks Norm, I'll go take a peek. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Mar 20 05:31:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 05:31:01 2003 Subject: [AccessD] Using Access to reconcile store cash In-Reply-To: <00b501c2ee73$976518b0$6101a8c0@amd2k512> References: <869379ABF177D4118D3100508B5EF873057C2C04@corp-es00> <4236157581.20030319190640@cactus.dk> <00b501c2ee73$976518b0$6101a8c0@amd2k512> Message-ID: <213067019.20030320123027@cactus.dk> Hi William No, time has not allowed me to do so yet. But I've studied the site with live sample applications and they work nicely and, I noticed, very fast. CodeCharge is not meant to beat Dreamweaver MX which is very much more flexible. I guess it is more comparable to the data pages of Access which I cannot use as they are Internet Explorer dependant. I would like to, too, to hear how others with an Access background would judge CodeCharge ... /gustav > ...have you actually used CodeCharge to produce a working web application? > ...I'm seriously interested in something like this but so far have not found > anything to beat DreamweaverMX ...interested in how this actually performs > compared to its marleting claims. > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > ----- Original Message ----- > From: "Gustav Brock" > To: "Hale, Jim" > Sent: Wednesday, March 19, 2003 1:06 PM > Subject: Re: [AccessD] Using Access to reconcile store cash >> Hi Jim >> >> With only few forms and a login function, that could be a job for >> CodeCharge: >> >> http://www.codecharge.com >> >> /gustav >> >> >> > Currently we have 150 stores which fill out a daily cash reconciliation >> > form. Although the form is in Excel the stores currently fax the report >> > to a >> > central location where the cash reconciliation clerk uses the data to >> > reconcile. Clearly the entire process could benefit from some >> > automation. >> > While I can visualize some solutions using a combination of Excel and >> > Access >> > it seems to me that a web form that feeds a database would be ideal. >> > While >> > the data per form is minimal (15-20 data elements/day) I will probably >> > have >> > situations where 20-40 stores need to fill out the form at the same >> > time. >> > Unfortunately I've never done any web work. My questions for the group >> > are: >> > A. Is the web/database the best solution? >> > B. If it is what is the simplest way to implement it? >> > C. Is an Access .mdb the appropriate database i.e. can it handle many >> > simultaneous users? >> >> > TIA for your ideas >> > Jim Hale From paul.hartland at fsmail.net Thu Mar 20 05:32:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 05:32:00 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320113152.GJNK3144.fep08-svc.ttys.com@localhost> To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Thu Mar 20 05:43:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 05:43:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> References: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> Message-ID: <5513803738.20030320124244@cactus.dk> Hi Tom Nice try, Tom, but Type = 1 only reveals internal tables, not attached. Also, minor point, I believe DCount always return a value, zero if no records were found; thus the Nz() is not needed - you call it "moot" I think ... /gustav > OK , Lets try again ( making code a little less squeaky , now only checks for tables ) > Public Function CheckTableExist(strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and type=1" > If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then > CheckTableExist = True > Else > CheckTableExist = False > End If > End Function > Tomt > ----- Original Message ----- > From: StaRKeY > To: accessd at databaseadvisors.com > Sent: Wednesday, March 19, 2003 1:27 PM > Subject: RE: [AccessD] Does table exist? > Lets not(!)...Marc > Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not > work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) > The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to > just use code mentioned earlier. From michael.broesdorf at web.de Thu Mar 20 05:59:01 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Thu Mar 20 05:59:01 2003 Subject: AW: [AccessD] Problem with online help In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C592C@mercury.tnco-inc.com> Message-ID: Thanks so much - that was it! Michael -----Urspr?ngliche Nachricht----- Von: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]Im Auftrag von Joe Rojas Gesendet: Mittwoch, 19. M?rz 2003 20:00 An: 'accessd at databaseadvisors.com' Betreff: RE: [AccessD] Problem with online help Not sure of the specs of your computer, but if your running XP, 2000, or ME then this is probably your problem. http://support.microsoft.com/default.aspx?scid=kb;en-us;249065 -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Wednesday, March 19, 2003 5:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with online help Dear group, I am having trouble with the online help of Access 2K (had to reinstall my machine due to a harddisk crash): If searching for certain topics (e.g. Containers Collection), I see the topic in the list, but if I click it, the topic is not displayed. A few months ago I found an article in the Internet describing this problem and how to solve it. Unfortunately I can't remember where that was. Any help with the help would be greatly appreciated! Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Thu Mar 20 06:08:01 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu Mar 20 06:08:01 2003 Subject: [AccessD] Combo - force dropdown In-Reply-To: <001501c2ee91$50bdcd80$54dd31d2@OfficePC> Message-ID: We check another time your question, and our PC make the same : dropdown , select with keyboard o mouse then dropup. Check is you have all patches for A2K or Office 2000, we are using an Spanish version and this run correct... but have another problems that english version have correct. Check this link to microsoft and look for this http://office.microsoft.com/productupdates/ Juan -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:32 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] Combo - force dropdown Hi Juan - I want it to go away after a choice is made with the mouse - just as it would if I had pressed F4 and made a selection using the mouse. Kath ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 2:24 PM Subject: RE: [AccessD] Combo - force dropdown That's correct, but what do you want to do the combo?? We uses this code for dropdown and run correctly Juan Menendez www.mastercafe.com -----Mensaje original----- De: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]En nombre de Software Design & Solutions Pty Ltd. Enviado el: jueves, 20 de marzo de 2003 04:03 Para: AccessD at databaseadvisors.com Asunto: [AccessD] Combo - force dropdown Not long ago there was a thread on forcing a combo to drop down when it has the focus. I am finding that when I use that code, if an option is selected from the list by using the keyboard then the drop down list disappears (as per normal). BUT if an option is made using the mouse, then the drop down list stays and you have to actually click outside the combo to get rid of it. Any comments from anyone who uses this ? Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Thu Mar 20 06:52:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 06:52:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <004501c2ee7a$13204d20$132b9244@cg.shawcable.net> Message-ID: Just out of curiousity Tom, why are you so persistent in using the msysobjects while we are being offered a pretty easy down to earth Access objectmodel? (I'm sorry if I came on too strong about the sample) Eric Starkenburg -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 01:46 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? OK , Lets try again ( making code a little less squeaky , now only checks for tables ) Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and type=1" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function Tomt ----- Original Message ----- From: StaRKeY To: accessd at databaseadvisors.com Sent: Wednesday, March 19, 2003 1:27 PM Subject: RE: [AccessD] Does table exist? Lets not(!)...Marc Fyi this table also contains the names of forms, modules, classes or in short Access objects... in case the name of a table resembles another object any object for that matter this code will not work properly. Ofcourse, if you are sure it's of no importance to you go ahead and use squeeky code:-) (no offense Tom) The code would get better if you also use the special ID's used for tables but then again there are several since you can have hidden/linked/system tables... all having their own id... easier to just use code mentioned earlier. BN -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark Boyd Sent: woensdag 19 maart 2003 21:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Does table exist? Thanks Tom. I?ll give it a try. Mark -----Original Message----- From: t tom [mailto:ttom at accessyourdata.com] Sent: Wednesday, March 19, 2003 2:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Try Public Function CheckTableExist(strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" If Nz(DCount("[ID]", "MSysObjects", strCriteria), 0) > 0 Then CheckTableExist = True Else CheckTableExist = False End If End Function HTH Tomt ----- Original Message ----- From: Mark Boyd To: AccessD at databaseadvisors.com Sent: Wednesday, March 19, 2003 10:48 AM Subject: [AccessD] Does table exist? Is there code to find out if an Access table exists in the database? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------------------------------------------------------------------- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-3-2003 Tested on: 19-3-2003 21:27:40 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Thu Mar 20 07:20:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 07:20:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <20030320113152.GJNK3144.fep08-svc.ttys.com@localhost> Message-ID: <011001c2eee3$5f2348d0$8e01a8c0@Rock> This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Mar 20 07:25:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu Mar 20 07:25:01 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: Paul, It's the latest security feature that M$ thought up. It supposedly prevents "call-home" spyware from calling home without your permission. It is a pain in the *** (you know where) when it is your own application that is trying to send e-mails. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday 2003 Mar 20 05:32 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland From michael.mattys at adelphia.net Thu Mar 20 07:28:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 07:28:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: <002001c2eee5$f345e200$6401a8c0@default> Will an A2K MDE work with 2002? I see that A2K cannot open A97 MDE's, which is why I ask. Mike Mattys From paul.hartland at fsmail.net Thu Mar 20 07:32:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 07:32:00 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320133059.GDUY17777.fep02-svc.ttys.com@localhost> Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From snegus at doulosenterprises.com Thu Mar 20 07:56:01 2003 From: snegus at doulosenterprises.com (Stephen Negus) Date: Thu Mar 20 07:56:01 2003 Subject: [AccessD] Mouse Pointer Message-ID: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> Hi List, Does anyone know if there is a number to use for the "pointing finger" mouse pointer in the following line of code... screen.mousepointer = ?? (For example, screen.mousepointer = 11 displays the hourglass) Thanks, Stephen Negus ---------------------------------------------------------------- Stephen Negus Doulos Enterprises snegus at doulosenterprises.com www.doulosenterprises.com From michael.mattys at adelphia.net Thu Mar 20 08:14:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 08:14:00 2003 Subject: [AccessD] Mouse Pointer References: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> Message-ID: <000d01c2eeec$731ae470$6401a8c0@default> Stephen 1 Normal Select (Arrow) 3 Text Select (I-Beam) 7 Vertical Resize (Size N, S) 9 Horizontal Resize (Size E, W) 11 Busy (Hourglass) Mike Mattys ----- Original Message ----- From: "Stephen Negus" To: "AccessD" Sent: Thursday, March 20, 2003 8:55 AM Subject: [AccessD] Mouse Pointer > Hi List, > > Does anyone know if there is a number to use for the "pointing finger" mouse > pointer in the following line of code... > > screen.mousepointer = ?? > > (For example, screen.mousepointer = 11 displays the hourglass) > > Thanks, > > Stephen Negus > > ---------------------------------------------------------------- > Stephen Negus > Doulos Enterprises > snegus at doulosenterprises.com > www.doulosenterprises.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Mar 20 08:19:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 20 08:19:01 2003 Subject: [AccessD] Mouse Pointer References: <001e01c2eee8$61bbdbc0$0c21fea9@OneVoiceLaptop> <000d01c2eeec$731ae470$6401a8c0@default> Message-ID: <000601c2eeeb$b8e55e00$6101a8c0@amd2k512> ...the pointing finger code is here ...HTH :) http://www.mvps.org/access/api/api0044.htm William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Michael R Mattys" To: Sent: Thursday, March 20, 2003 9:24 AM Subject: Re: [AccessD] Mouse Pointer > Stephen > > 1 Normal Select (Arrow) > 3 Text Select (I-Beam) > 7 Vertical Resize (Size N, S) > 9 Horizontal Resize (Size E, W) > 11 Busy (Hourglass) > > Mike Mattys > > ----- Original Message ----- > From: "Stephen Negus" > To: "AccessD" > Sent: Thursday, March 20, 2003 8:55 AM > Subject: [AccessD] Mouse Pointer > > > > Hi List, > > > > Does anyone know if there is a number to use for the "pointing finger" > mouse > > pointer in the following line of code... > > > > screen.mousepointer = ?? > > > > (For example, screen.mousepointer = 11 displays the hourglass) > > > > Thanks, > > > > Stephen Negus > > > > ---------------------------------------------------------------- > > Stephen Negus > > Doulos Enterprises > > snegus at doulosenterprises.com > > www.doulosenterprises.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Thu Mar 20 08:35:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu Mar 20 08:35:01 2003 Subject: [AccessD] OT Please Sort In-Reply-To: <00bd01c2eec1$3254c3f0$9111758f@aine> Message-ID: This is as it's supposed to be. Why doesn't the poster subscribe? I saw a bunch of these from William using a hotmail address. Since it appears that his regular address is sorted I just denied them assuming that he would repost from his normal address is which does belong to the list. Understand that with the old software there was no "will be approved". It either went, or it didn't. With this software, if the post doesn't go, a message is sent saying it is being held and the reason why. This is generating a LOT of extra work for moderators since they now have to go in and look at each message and make a decision. I am going to be one of those making this decision and I plan to simply disapprove under 99% of the cases. Unless there is a very good reason to approve. One I did approve was an over length message that was a single long response to a message to the OT list posted by Rocky. Most of the rest were messages that were too long because they weren't clipped, i.e. the whole damned thread was included in the message and it was too long. The message returned to the sender says it's too long. The sender can clip it and resend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Martin Reid Sent: Thursday, March 20, 2003 4:15 AM To: accessd Subject: [AccessD] OT Please Sort Can some sort this. Apologies for posting on the main list. Your mail to 'dba-OT' with the subject Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2680 bytes Desc: not available URL: From artful at rogers.com Thu Mar 20 09:59:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 09:59:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <20030320133059.GDUY17777.fep02-svc.ttys.com@localhost> Message-ID: <012201c2eef9$86dd4270$8e01a8c0@Rock> IIRC = if I recall correctly. Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ Hth = hope this helps. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Move from Windows NT to XP Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Thu Mar 20 10:22:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu Mar 20 10:22:01 2003 Subject: [AccessD] Move from Windows NT to XP Message-ID: <20030320162117.GIPG20663.fep03-svc.ttys.com@localhost> Thanks once again Arthur......Very helpful indeed...... From: "Arthur Fuller" Date: Thu 20/Mar/2003 15:58 GMT To: Subject: RE: RE: [AccessD] Move from Windows NT to XP IIRC = if I recall correctly. Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ Hth = hope this helps. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] Move from Windows NT to XP Thanks Arthur, but I'm about to show how dim I am......what or who is IIRC Redemption ????. I don't really want to remove the security patch, but I just want to look for a way around it when it is my application that is trying to send the emails. Thanks for the help Paul From: "Arthur Fuller" Date: Thu 20/Mar/2003 13:19 GMT To: Subject: RE: [AccessD] Move from Windows NT to XP This is due to the security patch added to recent versions of Outlook. There is a patch to undo the patch, and IIRC Redemption also has a way around this problem. I forget whether SQL 7 has the sp_sendmail sproc, but if so you could skip Outlook and send the mail directly. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 20, 2003 6:32 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Move from Windows NT to XP To all, I have a VB6 FE connected to a SQL Server 7.0 BE, on the employee records when someone changes a payroll number myself and the HR Department would receive an email stating the changes. Under Windows NT the email got sent automatically without a problem, BUT we have just gone to Windows XP and before it sends an email the following happens : 1. The user gets asked for his/her Outlook profile name. 2. The user receive's a message saying a program is automatically trying to send an email, and asks for confirmation that Outlook should send the email.... Has anyone else come across this ?. If so, is there anyway around this problem as sometimes it will ask me to confirm the email to each individual recipient (sometimes upto 15 people), and this can be very irritating.... Thanks for any help in advance...... Paul Hartland __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Thu Mar 20 10:32:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 10:32:00 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <012201c2eef9$86dd4270$8e01a8c0@Rock> References: <012201c2eef9$86dd4270$8e01a8c0@Rock> Message-ID: <9931107740.20030320173108@cactus.dk> Hi Arthur > IIRC = if I recall correctly. > Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ > Hth = hope this helps. Arthur = Another reply that helps us romanticize (or recuberate or ..) /gustav From gustav at cactus.dk Thu Mar 20 10:56:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu Mar 20 10:56:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <532571585.20030320175531@cactus.dk> Hi Eric That day a man stops looking for alternatives, he's old. The same goes for women. /gustav > Just out of curiousity Tom, why are you so persistent in using the > msysobjects while we are being offered a pretty easy down to earth Access > objectmodel? (I'm sorry if I came on too strong about the sample) From cfoust at infostatsystems.com Thu Mar 20 11:26:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 11:26:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: A2k can't create A97 MDEs but it should be able to open one. 2002 should handle 2000 MDEs just find, with the same proviso. The only version that can create an MDE is the same version as the MDE. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, March 20, 2003 5:38 AM To: AccessD Subject: [AccessD] Acsess 2000 MDE with Access 2002 Will an A2K MDE work with 2002? I see that A2K cannot open A97 MDE's, which is why I ask. Mike Mattys _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 20 11:33:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 11:33:01 2003 Subject: [AccessD] Move from Windows NT to XP In-Reply-To: <9931107740.20030320173108@cactus.dk> Message-ID: <012a01c2ef06$acef4780$8e01a8c0@Rock> Wow! In the latest William Gibson novel, Pattern Recognition, there's a similar acronym: LOMBARD = lots of money but a real dickhead. I got away mercifully. I'm most grateful, Gustav. (Now I'm sidetracked into thinking of a phrase for GUSTAV. I'll be back at ya soon. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 20, 2003 11:31 AM To: Arthur Fuller Subject: Re: [AccessD] Move from Windows NT to XP Hi Arthur > IIRC = if I recall correctly. > Redemption = an Outlook add-in. See http://www.dimastr.com/redemption/ > Hth = hope this helps. Arthur = Another reply that helps us romanticize (or recuberate or ..) /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Mar 20 11:34:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu Mar 20 11:34:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <532571585.20030320175531@cactus.dk> Message-ID: <012b01c2ef06$c3b49830$8e01a8c0@Rock> Then may all your women be young, Gustav. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 20, 2003 11:56 AM To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi Eric That day a man stops looking for alternatives, he's old. The same goes for women. /gustav > Just out of curiousity Tom, why are you so persistent in using the > msysobjects while we are being offered a pretty easy down to earth > Access objectmodel? (I'm sorry if I came on too strong about the > sample) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Thu Mar 20 11:56:00 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: Thu Mar 20 11:56:00 2003 Subject: [AccessD] Listers in print Message-ID: <1048182967.5166.14.camel@sgsax-th4022c> Now three listers published in Element K Journals' Inside Microsoft Access this month. Congratulations to Susan Harkins, Doris Manning, and Martin Reid. Nice writing, folks! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From mikedorism at ntelos.net Thu Mar 20 12:23:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 20 12:23:00 2003 Subject: [AccessD] Listers in print In-Reply-To: <1048182967.5166.14.camel@sgsax-th4022c> Message-ID: <000e01c2ef0d$fcf80080$68360cd8@hargrove.internal> Please direct all the writing compliments to Susan... I just handle the technical end. :) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Seth Galitzer Sent: Thursday, March 20, 2003 12:56 PM To: accessd Subject: [AccessD] Listers in print Now three listers published in Element K Journals' Inside Microsoft Access this month. Congratulations to Susan Harkins, Doris Manning, and Martin Reid. Nice writing, folks! Seth -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Thu Mar 20 12:42:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu Mar 20 12:42:00 2003 Subject: [AccessD] Listers in print References: <000e01c2ef0d$fcf80080$68360cd8@hargrove.internal> Message-ID: <081801c2ef10$68bf7c10$f8ecffcc@SusanOne> Hey, I can't write it if I can't think of it. :) Susan H. > Please direct all the writing compliments to Susan... I just handle the > technical end. :) From jeffrey.demulling at usbank.com Thu Mar 20 12:42:59 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu Mar 20 12:42:59 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Message-ID: Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Thu Mar 20 12:46:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu Mar 20 12:46:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 References: Message-ID: <002801c2ef12$74a07dc0$6401a8c0@default> Charlotte, Thanks for responding. Maybe I have some setting that is wrong: A2K first asks if I want to convert the A97 mde, so I select "Open Database." It then brings up a messagebox that says, "You can't convert or enable an mde" You don't get this same thing, then? Mike Mattys ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, March 20, 2003 12:21 PM Subject: RE: [AccessD] Acsess 2000 MDE with Access 2002 > A2k can't create A97 MDEs but it should be able to open one. 2002 > should handle 2000 MDEs just find, with the same proviso. The only > version that can create an MDE is the same version as the MDE. > > Charlotte Foust > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday, March 20, 2003 5:38 AM > To: AccessD > Subject: [AccessD] Acsess 2000 MDE with Access 2002 > > > Will an A2K MDE work with 2002? > I see that A2K cannot open A97 MDE's, > which is why I ask. > > Mike Mattys > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Mar 20 12:58:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu Mar 20 12:58:00 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools In-Reply-To: Message-ID: <001c01c2ef12$cd8488a0$68360cd8@hargrove.internal> If you don't want to go the eBay route, try www.dealtime.com. They have it advertised on their site for $30. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, March 20, 2003 01:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Thu Mar 20 13:03:00 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu Mar 20 13:03:00 2003 Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools References: Message-ID: <004501c2ef13$99301f00$0300000a@PASCAL> If you have a legit copy of Office XP, M$ has a program that you can buy the earlier version for $20 or so. At least they used to. I got a copy of 97 back when 2000 was the latest through this program. They should have info on their site. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com Sent: Thursday, March 20, 2003 12:42 PM Subject: [AccessD] Finding a copy of Office 2000 Developer or Office 2000 Developer Tools Does anyone know where I could buy a copy of Office 2000 Developer or Office 2000 Developer Tools? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From ttom at accessyourdata.com Thu Mar 20 13:30:00 2003 From: ttom at accessyourdata.com (t tom) Date: Thu Mar 20 13:30:00 2003 Subject: [AccessD] Does table exist? References: <012b01c2ef06$c3b49830$8e01a8c0@Rock> Message-ID: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Mar 20 13:54:00 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu Mar 20 13:54:00 2003 Subject: [AccessD] Does table exist? Message-ID: <916187228923D311A6FE00A0CC3FAA30332F03@ADGSERVER> Another way that I have not seen here yet is something similar to: 'this is OTOH on error resume next if db.tabledefs("tablename").name="" then End If if err.number=(can't remember the # right now) then TableExists=FALSE Else TableExists=TRUE End if I don't know if this would be any faster, but it only has to look in a collection, not run a query. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: Thursday, March 20, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt From StaRKeY at Wanadoo.nl Thu Mar 20 14:47:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 14:47:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Message-ID: Ah, okay:-) > That day a man stops looking for alternatives, he's old. As in..old & wise?:-) How many female alternatives do you need to figure them out? How about this one: Function TableExists(str As String) As Boolean On Error Resume Next Dim tbl As DAO.TableDef Set tbl = CurrentDb.TableDefs(str) TableExists = Not CBool(Err) Err = 0 Set tbl = Nothing End Function And there are actually more table types to worry about Tim, since you can have oracle/sql server etc. linked tables they all have their own characteristic type, go figure;-) Have fun, Eric S. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 20:31 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:40:44 (c) 2000-2003 ALWIL Software. http://www.avast.com From cfoust at infostatsystems.com Thu Mar 20 14:53:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 14:53:00 2003 Subject: [AccessD] Acsess 2000 MDE with Access 2002 Message-ID: You're absolutely right. When I tested it, I mistakenly clicked on an mda file, not the mde. AXP gives the same message. What is really interesting is that I couldn't set a reference to the 97 mde either, apparently for the same reasons. Nor can I set a reference to an A97 mdb file. Must be the difference between VBA versions. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, March 20, 2003 10:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Acsess 2000 MDE with Access 2002 Charlotte, Thanks for responding. Maybe I have some setting that is wrong: A2K first asks if I want to convert the A97 mde, so I select "Open Database." It then brings up a messagebox that says, "You can't convert or enable an mde" You don't get this same thing, then? Mike Mattys ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, March 20, 2003 12:21 PM Subject: RE: [AccessD] Acsess 2000 MDE with Access 2002 > A2k can't create A97 MDEs but it should be able to open one. 2002 > should handle 2000 MDEs just find, with the same proviso. The only > version that can create an MDE is the same version as the MDE. > > Charlotte Foust > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday, March 20, 2003 5:38 AM > To: AccessD > Subject: [AccessD] Acsess 2000 MDE with Access 2002 > > > Will an A2K MDE work with 2002? > I see that A2K cannot open A97 MDE's, > which is why I ask. > > Mike Mattys > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Thu Mar 20 14:54:01 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 14:54:01 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <004501c2ef13$99301f00$0300000a@PASCAL> Message-ID: <000401c2ef22$d50694a0$0100a8c0@CX615377A> Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Thu Mar 20 14:55:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 14:55:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: <003e01c2ef17$2bf10fe0$132b9244@cg.shawcable.net> Message-ID: How about: Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 and other types)" CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) End Function I must be getting old since I am running out of alternatives:-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: donderdag 20 maart 2003 20:31 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt ----- Original Message ----- From: "Arthur Fuller" To: Sent: Thursday, March 20, 2003 10:33 AM Subject: RE: [AccessD] Does table exist? > Then may all your women be young, Gustav. > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 20, 2003 11:56 AM > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > > > Hi Eric > > That day a man stops looking for alternatives, he's old. > The same goes for women. > > /gustav > > > > Just out of curiousity Tom, why are you so persistent in using the > > msysobjects while we are being offered a pretty easy down to earth > > Access objectmodel? (I'm sorry if I came on too strong about the > > sample) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:48:25 (c) 2000-2003 ALWIL Software. http://www.avast.com From StaRKeY at Wanadoo.nl Thu Mar 20 15:00:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 15:00:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30332F03@ADGSERVER> Message-ID: Okay, ONE more and then I'll stop... I find this one the shortest and nicest:-) Function Exists(str As String) As Boolean On Error Resume Next Exists = (CurrentDb.Containers("Tables").Documents(str).Name = str) End Function Good night. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Bobby Heid Sent: donderdag 20 maart 2003 20:57 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Does table exist? Another way that I have not seen here yet is something similar to: 'this is OTOH on error resume next if db.tabledefs("tablename").name="" then End If if err.number=(can't remember the # right now) then TableExists=FALSE Else TableExists=TRUE End if I don't know if this would be any faster, but it only has to look in a collection, not run a query. Bobby -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of t tom Sent: Thursday, March 20, 2003 2:31 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Does table exist? Hi Eric Sorry, didn't mean to be persistent just having fun with this. Its just that it looks more compact and doesn't use a loop. Until I came across this code I did use the For Each .....Next construct. and thanks gustav, how about if I rewrite this way Public Function CheckTableExist (strTableName As String) As Boolean Dim strCriteria As String strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6)" CheckTableExist = IIf(DCount("[ID]", "MSysObjects", strCriteria) > 0, True, False) End Function Tomt _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 21:53:34 (c) 2000-2003 ALWIL Software. http://www.avast.com From cfoust at infostatsystems.com Thu Mar 20 15:01:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 15:01:00 2003 Subject: [AccessD] Access XP Developer and replication manager Message-ID: Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From subs at solution-providers.ie Thu Mar 20 15:09:01 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu Mar 20 15:09:01 2003 Subject: [AccessD] Using Global Connections References: Message-ID: <01d501c2ef26$b61c7830$1fff869f@IEW001> Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From klk at ksu.edu Thu Mar 20 15:18:01 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Thu Mar 20 15:18:01 2003 Subject: [AccessD] Screen painting and lockup issues with autolinker resolved. Message-ID: <001201c2ef26$18cd7930$c35b8281@current> There was recently a thread about the lockup with the autolinker from Carl Tribble. Seth and I had been noticing this issue for some time and set out to solve it (got tired of not being able to do anything while a network database linked). Well, the solution to both the lack of a redraw after switching to different window or app which at the same time makes Access inoperable afterwards is to place a 'DoEvents' in the .pmIncrement routine of the ts_frmProgressMeter module right where the .repaint line currently is. Seems so simple it's silly, but it works. Keith L. Kovala klk at ksu.edu From cfoust at infostatsystems.com Thu Mar 20 15:21:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 15:21:00 2003 Subject: [AccessD] Access XP and references in libraries Message-ID: In 97, we had used a library database that had a reference set to the CDO.DLL library so we could handle email features using Redemption. If that DLL was missing on the target machine, the library had a broken reference but it didn't affect the main project except that the email capabilities were disabled. In XP, when you load the app, you get a message that the CDO.DLL is missing. I assume the difference in behavior is because of the change in the VBE IDE in 2000 and later, but does anyone know what the further implications might be? We haven't deployed this app yet, so I'm looking for input. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at murphyscreativity.com Thu Mar 20 15:36:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 15:36:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: Message-ID: <000d01c2ef28$a2f37630$0100a8c0@CX615377A> Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the user's system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From StaRKeY at Wanadoo.nl Thu Mar 20 15:37:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Thu Mar 20 15:37:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: <01d501c2ef26$b61c7830$1fff869f@IEW001> Message-ID: First of all, I am not against globals but I think there are a couple of things to bare in mind: 1) - kept open connections could slow down traffic in general, usually only if your app is used by a lot of people/connections 2) - what is the max. amount of open connections allowed? 3) - globals can loose their value in case an unhandled error occurs 4) - no Mark, in a LOT of cases you are NOT the only programmer over time... Last but not least, I've seen many different Access applications and to be honest, whenever I was asked to come fix or upgrade an app. I've never really cared about how the job was done unless it actually was creating/being a problem. My two cents.. Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: donderdag 20 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connections Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 22:29:50 (c) 2000-2003 ALWIL Software. http://www.avast.com From Rich_Lavsa at pghcorning.com Thu Mar 20 15:43:00 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu Mar 20 15:43:00 2003 Subject: [AccessD] Excel Automation - Pivot Table and Chart Message-ID: <833956F5C117124A89417638FDB112904FB3F5@goexchange.pghcorning.com> Hello all, Cross posted to AccessD and Access-L.. I am beginning to get very aggravated with Access Charts!! I found an article on automation on how to create a chart from a table or query in Microsoft Knowledgebase Article #184273. Very COOL stuff. I have practically no knowledge of the Excel object model nor do I have any books or references to it other then the Excel help files. Does anyone have any code examples or know a good reference on the web to find other examples of generating a pivot table in excel through VBA in access, as well as generating graphs through VBA, or even the ultimate which is what I am trying to do is to generate a pivot table, then generate the graph from the generated pivot table in excel. I learn from examples quicker then reading a book.. Thanks in advance, Rich From cfoust at infostatsystems.com Thu Mar 20 16:08:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu Mar 20 16:08:01 2003 Subject: [AccessD] Access XP Developer and replication manager Message-ID: No, I haven't. When I've used replication, I didn't try to do it on a schedule because I had no control over the users' schedules. Procedurally, our users were instructed to sync their replica at the beginning of each session to get the latest updates and at the end of a session to upload their own changes. You could set up code to sync the database when they opened it, but there is at least a slight delay involved with that. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the user's system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From the ADH it looks like I could do everything through use of the Jet Replication Object and some code, but I was looking for a user friendly way of doing this. Have you had any experience with managing synchronization this way? Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, March 20, 2003 12:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Replication manager is an administrative tool, not an end user tool. The users of your app will be able to synchronize without any kind of replication manager because replicas have the capability of synchronizing built in. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access XP Developer and replication manager Hi List, I have what seem like a simple question but I don't seem to be able to find the answer. I have Office XP Developer. I am looking at the use of replication to keep several users synchronized on a really slow network plus be able to synchronize lap tops when they dial in. I got interested in this method after reading Arthur Fuller's article in "Inside Microsoft Access", March edition. I also read the chapter in the ADH on replication to get additional information. What I have been trying to determine is can I distribute the Replication Manager tool that comes with the Developer Edition with my database. It seems like this is the easiest way to set up the replication and synchronization schedule on the users system. I found an article on the web for access 97 that seems to indicate that Replication Manager is distributable but nothing on XP and have found nothing in any of my XP literature of help files. Has anyone had experience with this tool and been able to distribute it or does the user need to have the MOD on their machine? Thanks in advance for your assistance. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Thu Mar 20 16:26:00 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu Mar 20 16:26:00 2003 Subject: [AccessD] Excel Automation - Pivot Table and Chart Message-ID: <869379ABF177D4118D3100508B5EF873057C2E0A@corp-es00> I will send you an example off line. Jim Hale -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, March 20, 2003 3:42 PM To: Access Listserv (E-mail); AccessD at databaseadvisors. com (E-mail) Subject: [AccessD] Excel Automation - Pivot Table and Chart Hello all, Cross posted to AccessD and Access-L.. I am beginning to get very aggravated with Access Charts!! I found an article on automation on how to create a chart from a table or query in Microsoft Knowledgebase Article #184273. Very COOL stuff. I have practically no knowledge of the Excel object model nor do I have any books or references to it other then the Excel help files. Does anyone have any code examples or know a good reference on the web to find other examples of generating a pivot table in excel through VBA in access, as well as generating graphs through VBA, or even the ultimate which is what I am trying to do is to generate a pivot table, then generate the graph from the generated pivot table in excel. I learn from examples quicker then reading a book.. Thanks in advance, Rich _______________________________________________ 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 Mar 20 17:55:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu Mar 20 17:55:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: References: <3E788B29.8666.1301A9A@localhost> Message-ID: <3E7AE0B5.21936.2FE1D@localhost> On 19 Mar 2003 at 10:53, Darren Dick wrote: > Hi Stuart > The following code just won't work, even with your 'time' suggestion > I must be missing something really obvious. This should work. > A couple of things I messed up in my original example. That's what happens when you write code directly in an email client and don't debug :-( (rs!BookingTime - cmbInterval / dblMinutes) >= Time() Should be: Time => (rs!BookingTime - cmbInterval * dblMinutes) In my first example, we need to mulitpy by the fractional dblMinutes, not divide by it (that's why you would have been getting dates in then 1860s or whatever. We need it to trigger after the notice time, not before it! This one has been tired in A2K and worked as expected: Private Sub Form_Timer() Dim rs As DAO.Recordset Dim dblMinutes As Double dblMinutes = 1 / 24 / 60 If IsNull(cmbInterval) Then Exit Sub Set rs = Me.Recordset While Not rs.EOF If Time() >= (rs!BookingTime - cmbInterval * dblMinutes) And Not rs!WarningDone Then MsgBox rs!Message rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From davide at dalyn.co.nz Thu Mar 20 18:08:00 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 20 18:08:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: Message-ID: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> I have been involved with A97 replication for a number of years. While definitely not an expert, I have tried a number of methods. In all cases I distributed a runtime version of Access. I found that internet synchronization was a disaster because of lack of security on the server (it needed anonymous user access which meant that anyone could get in - and did!). Now I use dial up connections and indirect synchronization. I distribute replication manager as part of the installation and once it is configured on the users machines they are (mostly) able to follow the simple synchronization process using it. I am not sure about XP but would be pretty certain that it would be distributable as well. David Emerson Dalyn Software Ltd New Zealand At 20/03/2003, you wrote: >No, I haven't. When I've used replication, I didn't try to do it on a >schedule because I had no control over the users' >schedules. Procedurally, our users were instructed to sync their replica >at the beginning of each session to get the latest updates and at the end >of a session to upload their own changes. You could set up code to sync >the database when they opened it, but there is at least a slight delay >involved with that. > >Charlotte Foust >-----Original Message----- >From: Doug Murphy [mailto:doug at murphyscreativity.com] >Sent: Thursday, March 20, 2003 1:36 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access XP Developer and replication manager > >Charlotte, > > > >Thank you. I guess my ignorance is going to show here but that is how I >learn, sometimes. My objective, I think, is to have the replication >manager on the users system so I can set up the replicas on the various >computers and set up the synchronization schedule. From what I understand >if I use the Access menu I can make the replicas and put them on the >various computers but I can not get automatic synchronization, or indirect >synchronization. It seems like a real waste to put the full developer >edition on a computer just to get the replication manager tool, but this >is a MS product. > > > > From the ADH it looks like I could do everything through use of the Jet > Replication Object and some code, but I was looking for a user friendly > way of doing this. Have you had any experience with managing > synchronization this way? > > > >Doug > > > > > > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Thursday, March 20, 2003 12:57 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access XP Developer and replication manager > > > >Replication manager is an administrative tool, not an end user tool. The >users of your app will be able to synchronize without any kind of >replication manager because replicas have the capability of synchronizing >built in. > > > >Charlotte Foust > >-----Original Message----- >From: Doug Murphy [mailto:doug at murphyscreativity.com] >Sent: Thursday, March 20, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access XP Developer and replication manager > >Hi List, > >I have what seem like a simple question but I don't seem to be able to >find the answer. I have Office XP Developer. I am looking at the use of >replication to keep several users synchronized on a really slow network >plus be able to synchronize lap tops when they dial in. I got interested >in this method after reading Arthur Fuller's article in "Inside Microsoft >Access", March edition. I also read the chapter in the ADH on replication >to get additional information. What I have been trying to determine is >can I distribute the Replication Manager tool that comes with the >Developer Edition with my database. It seems like this is the easiest way >to set up the replication and synchronization schedule on the users >system. I found an article on the web for access 97 that seems to >indicate that Replication Manager is distributable but nothing on XP and >have found nothing in any of my XP literature of help files. > >Has anyone had experience with this tool and been able to distribute it or >does the user need to have the MOD on their machine? > >Thanks in advance for your assistance. > >Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at murphyscreativity.com Thu Mar 20 19:23:00 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 19:23:00 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> Message-ID: <000401c2ef48$6f9143b0$0100a8c0@CX615377A> David, Thank you. Now I use dial up connections and indirect synchronization. I distribute replication manager as part of the installation and once it is configured on the users machines they are (mostly) able to follow the simple synchronization process using it. That is the answer I was searching for; you can distribute the replication manager as part of the runtime. How do you do the indirect synchronization over a modem? That is another task I need to do. Doug I am not sure about XP but would be pretty certain that it would be distributable as well. David Emerson Dalyn Software Ltd New Zealand At 20/03/2003, you wrote: No, I haven't. When I've used replication, I didn't try to do it on a schedule because I had no control over the users' schedules. Procedurally, our users were instructed to sync their replica at the beginning of each session to get the latest updates and at the end of a session to upload their own changes. You could set up code to sync the database when they opened it, but there is at least a slight delay involved with that. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: Thursday, March 20, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager Charlotte, Thank you. I guess my ignorance is going to show here but that is how I learn, sometimes. My objective, I think, is to have the replication manager on the users system so I can set up the replicas on the various computers and set up the synchronization schedule. From what I understand if I use the Access menu I can make the replicas and put them on the various computers but I can not get automatic synchronization, or indirect synchronization. It seems like a real waste to put the full developer edition on a computer just to get the replication manager tool, but this is a MS product. From martyconnelly at shaw.ca Thu Mar 20 19:26:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu Mar 20 19:26:00 2003 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7A6993.2050708@shaw.ca> CDO is a wrapper around MAPI, the license is not redistributable but the version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have installed from a selection of Exchange, Outlook and WinXP or win2000. By default, Outlook 2000 and Outlook 2002 installations do not include the CDO 1.2x component. When you view the options for Office or Outlook setup, CDO is listed under the options for Outlook. For a full table of versions and what installs see INFO: Where to Acquire the CDO Libraries (all versions) http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 For more info see: http://www.cdolive.com/start.htm Charlotte Foust wrote: > In 97, we had used a library database that had a reference set to the > CDO.DLL library so we could handle email features using Redemption. > If that DLL was missing on the target machine, the library had a > broken reference but it didn't affect the main project except that the > email capabilities were disabled. In XP, when you load the app, you > get a message that the CDO.DLL is missing. I assume the difference in > behavior is because of the change in the VBE IDE in 2000 and later, > but does anyone know what the further implications might be? We > haven't deployed this app yet, so I'm looking for input. > > Charlotte Foust > From jcolby at ColbyConsulting.com Thu Mar 20 19:36:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu Mar 20 19:36:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: Message-ID: Eric, If you have unhandled errors causing globals to lose their value you have big problems. Unhandled errors pretty much reset the whole damned world, not just "global" variables. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY Sent: Thursday, March 20, 2003 4:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connections First of all, I am not against globals but I think there are a couple of things to bare in mind: 1) - kept open connections could slow down traffic in general, usually only if your app is used by a lot of people/connections 2) - what is the max. amount of open connections allowed? 3) - globals can loose their value in case an unhandled error occurs 4) - no Mark, in a LOT of cases you are NOT the only programmer over time... Last but not least, I've seen many different Access applications and to be honest, whenever I was asked to come fix or upgrade an app. I've never really cared about how the job was done unless it actually was creating/being a problem. My two cents.. Eric -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: donderdag 20 maart 2003 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Using Global Connections Hello John, I am glad to hear that I am on the right track anyway. The reason that I asked the question was that I noticed a few people referring to globals recently. Also, I have been reading a bit about them and the author was complaining about globals. But, as we are both agreed, for a global constant connection, there is a lot of upside and very little downside to using one. I had considered using a class and setting properties, bit again, that is only really complictating it further. However, I could make it a read only class, and that would have some benefit, or I could do as you do and use a function. Based on the fact that I am the programmer, nobody else is going to mess with my global variable, I can probably continue to use a normal global and pass it around. I am reading with interest your migration to .net, I am about to start the same thing myself in the next few weeks. If I have anything to post, I will. I think that everybody on the list should let each other know if we come across any good reading material, especially online / free stuff. Thanks to all for the feedback on the globals. Best Regards Mark L. Breen Solution Providers Ireland ----- Original Message ----- From: "John W. Colby" To: Sent: Saturday, March 15, 2003 5:03 PM Subject: RE: [AccessD] Using Global Connections > Mark, > > I also use globals for the db connection. This is a case where the > connection is specific, a penalty is paid for creating / deleting it, and it > is needed all over the app. The connection is not something that is going > to be updated (written to) by pieces of the application, it is going to be > created once and then used all over. That is a good candidate for a global. > > > Globals tend to cause problems when they are *updated* from all over the > place, and the reason is that is quite difficult to track down who is doing > the updating when it is incorrectly updated. If for example a serial port > is opened and closed by 10 different functions, one function tries to use > the serial port and it is closed. Who closed it? It's supposed to be > opened, but some process closed it unexpectedly. These kinds of problems > can be a real bear to track down and fix. > > It becomes a bigger problem if the system is written and maintained by a > team of programmers where nobody knows the whole story. Globals by > definition are available to anyone at any time. > > Scope exists for a reason. If a variable is only used by a specific > function, then it's variables have no business being global to the program > (or even the module). If a variable is only used by code inside an instance > of a class but needs to be accessed by several functions inside the class, > then it should be defined inside the class (in the header) as a PRIVATE > variable. Thus only code inside the class can modify the variable. If a > variable needs to be shared by many functions inside of a module, but only > these functions modify the variable, then the variable should be PRIVATE to > that module. By making any of these variables truly Global to the project, > you end up with things being (able to be) set by code that has no business > setting the variable. > > On the other hand, if as in your example, a database connection is needed, > and a function calls a function which calls a function, which needs that > connection, why pass the connection through 3 functions that don't even need > the connection simply so that the fourth function that does need it can have > access to the connection? > > In a case like this, I tend to make the connection a private variable inside > a module, with a function that initializes the variable when the db opens, > and then define a function that READS the connection variable and returns > the value. This in effect makes it read only. Anyone can call the function > that gets the value, but since the variable is PRIVATE to the module, no one > outside the module can write to it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: Friday, March 14, 2003 12:37 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connctions > > > Hello All, > > I was not aware that a previous debate (sounds a little heated) had been > already carried out. Sorry for duplicating the discussion. > > In the last few emails, Marcus was the only one that explicitly stated that > he likes the idea of using Globals for a db connection. > > So leaving aside passing around an order nunber or a customer id as a global > (which I would never even consider), what do you guys do to hand around a > database connection? Do you use Globals or do you make the connction each > time or do you use some kind of class. Any sample code would be interesting > to read. > > What I do is have the following code in a module > > ' This will be the global connection that we will share, we open it once > only and share it throughout the applications life > Global gccnn As New ADODB.Connection > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > Source=PC1" > > > and then in the first form_load I have > > ' Give it a connect string > gccnn.ConnectionString = gcstrConStr > > ' And make the connection > gccnn.Open > > > > What do you guys think of this strategy, should I use a class to pass it > around. And if I am not using a class, do you think that it is a little bit > untidy or is downright bad practice. > > Again, I am just curious what the rest of the world is doing in their apps. > > Thanks > > Mark > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 20-3-2003 22:29:50 (c) 2000-2003 ALWIL Software. http://www.avast.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5668 bytes Desc: not available URL: From davide at dalyn.co.nz Thu Mar 20 21:20:01 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu Mar 20 21:20:01 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <000401c2ef48$6f9143b0$0100a8c0@CX615377A> References: <5.2.0.9.0.20030321115301.00b1ca48@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030321151637.00b45338@mail.dalyn.co.nz> At 20/03/2003, you wrote: >How do you do the indirect synchronization over a modem? That is another >task I need to do. > > >Doug Best advise is to get the M$ White papers. Here is my resource list for A97. Similar papers should be available for AXP Here is a list of some resources for A97 - Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Microsoft Jet Database Replication (Peter Bateman, Bruce Schatzman) Microsoft Access 97 Replication Site http://support.microsoft.com/default.aspx?scid=/support/access/content/repl/replication.asp Internet Synchronization with Microsoft Jet 3.5 (Michael Wachal) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q181371 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Mar 20 21:47:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu Mar 20 21:47:00 2003 Subject: [AccessD] Using Global Connections Message-ID: Well... unhandled errors do not close forms opened from the database window or by docmd, nor queries or reports nor cause controls on open forms to lose their properties including rowsources or text. There are some anomalies. Assume a form that can be opened from the database window named frmTest, try the following code in a module: Global a As Form_frmTest Public b As Form_frmTest Dim c As Form_frmTest Sub VariableTest() Static d As Form_frmTest Dim e As Form_frmTest Set a = New Form_frmTest a.Visible = True Set b = New Form_frmTest b.Visible = True Set c = New Form_frmTest c.Visible = True Set d = New Form_frmTest d.Visible = True DoCmd.OpenForm "frmTest" End Sub Sub VariableTest2() Dim f As Form_frmTest Set f = New Form_frmTest f.Visible = True DoCmd.OpenForm "frmTest" End Sub Close all open forms. Place a breakpoint (F9) on both End Sub lines. Place the cursor in the first procedure and hit the F5 key to run the code. Then in the immediate pane of the debug window, run the following: ?forms.count ?forms(0).name ?forms(1).name ?forms(2).name ?forms(3).name ?forms(4).name Then hit F8 or F5 in the code window to finish running the module code and switch to the debug window and rerun the line ?forms.count Then run the following line in the immediate pane end and then rerun the ?forms.count line Aha. Only one form left open, but there is still one that survived. Close the open form and then run the code in the second procedure and while it is stopped at the break point, rerun the ?forms.count line. Then let the code run to completion and again rerun the ?forms.count line. What have we learned about the persistence of Global, Public, module level and procedure level and static procedure level variables? What's strange is that the local variable in the first procedure survived execution of the sub while the local variable in the second went out of scope. This is also why you don't refer to forms in the forms collection by name. If ever you use multiple instances, you must use an object variable to identify an instance. If you close these forms in the debug window by running the line docmd.Close acform,"frmTest" several times, you will see that the last form closed won't be the 'persistent' form. Hen >From: "John W. Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Using Global Connections >Date: Thu, 20 Mar 2003 20:36:04 -0500 > >Eric, > >If you have unhandled errors causing globals to lose their value you have >big problems. Unhandled errors pretty much reset the whole damned world, >not just "global" variables. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY >Sent: Thursday, March 20, 2003 4:30 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Using Global Connections > > >First of all, I am not against globals but I think there are a couple of >things to bare in mind: > >1) - kept open connections could slow down traffic in general, usually only >if your app is used by a lot of > people/connections >2) - what is the max. amount of open connections allowed? >3) - globals can loose their value in case an unhandled error occurs >4) - no Mark, in a LOT of cases you are NOT the only programmer over >time... > >Last but not least, I've seen many different Access applications and to be >honest, whenever I was asked to come fix or upgrade an app. I've never >really cared about how the job was done unless it actually was >creating/being a problem. > >My two cents.. >Eric > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen >Sent: donderdag 20 maart 2003 22:22 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Using Global Connections > > >Hello John, > >I am glad to hear that I am on the right track anyway. The reason that I >asked the question was that I noticed a few people referring to globals >recently. Also, I have been reading a bit about them and the author was >complaining about globals. But, as we are both agreed, for a global >constant connection, there is a lot of upside and very little downside to >using one. I had considered using a class and setting properties, bit >again, that is only really complictating it further. However, I could make >it a read only class, and that would have some benefit, or I could do as >you >do and use a function. > >Based on the fact that I am the programmer, nobody else is going to mess >with my global variable, I can probably continue to use a normal global and >pass it around. > >I am reading with interest your migration to .net, I am about to start the >same thing myself in the next few weeks. > >If I have anything to post, I will. > >I think that everybody on the list should let each other know if we come >across any good reading material, especially online / free stuff. > >Thanks to all for the feedback on the globals. > >Best Regards > > >Mark L. Breen >Solution Providers >Ireland > > > > >----- Original Message ----- >From: "John W. Colby" >To: >Sent: Saturday, March 15, 2003 5:03 PM >Subject: RE: [AccessD] Using Global Connections > > > > Mark, > > > > I also use globals for the db connection. This is a case where the > > connection is specific, a penalty is paid for creating / deleting it, >and >it > > is needed all over the app. The connection is not something that is >going > > to be updated (written to) by pieces of the application, it is going to >be > > created once and then used all over. That is a good candidate for a >global. > > > > > > Globals tend to cause problems when they are *updated* from all over the > > place, and the reason is that is quite difficult to track down who is >doing > > the updating when it is incorrectly updated. If for example a serial >port > > is opened and closed by 10 different functions, one function tries to >use > > the serial port and it is closed. Who closed it? It's supposed to be > > opened, but some process closed it unexpectedly. These kinds of >problems > > can be a real bear to track down and fix. > > > > It becomes a bigger problem if the system is written and maintained by a > > team of programmers where nobody knows the whole story. Globals by > > definition are available to anyone at any time. > > > > Scope exists for a reason. If a variable is only used by a specific > > function, then it's variables have no business being global to the >program > > (or even the module). If a variable is only used by code inside an >instance > > of a class but needs to be accessed by several functions inside the >class, > > then it should be defined inside the class (in the header) as a PRIVATE > > variable. Thus only code inside the class can modify the variable. If >a > > variable needs to be shared by many functions inside of a module, but >only > > these functions modify the variable, then the variable should be PRIVATE >to > > that module. By making any of these variables truly Global to the >project, > > you end up with things being (able to be) set by code that has no >business > > setting the variable. > > > > On the other hand, if as in your example, a database connection is >needed, > > and a function calls a function which calls a function, which needs that > > connection, why pass the connection through 3 functions that don't even >need > > the connection simply so that the fourth function that does need it can >have > > access to the connection? > > > > In a case like this, I tend to make the connection a private variable >inside > > a module, with a function that initializes the variable when the db >opens, > > and then define a function that READS the connection variable and >returns > > the value. This in effect makes it read only. Anyone can call the >function > > that gets the value, but since the variable is PRIVATE to the module, no >one > > outside the module can write to it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > > Sent: Friday, March 14, 2003 12:37 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hello All, > > > > I was not aware that a previous debate (sounds a little heated) had been > > already carried out. Sorry for duplicating the discussion. > > > > In the last few emails, Marcus was the only one that explicitly stated >that > > he likes the idea of using Globals for a db connection. > > > > So leaving aside passing around an order nunber or a customer id as a >global > > (which I would never even consider), what do you guys do to hand around >a > > database connection? Do you use Globals or do you make the connction >each > > time or do you use some kind of class. Any sample code would be >interesting > > to read. > > > > What I do is have the following code in a module > > > > ' This will be the global connection that we will share, we open it once > > only and share it throughout the applications life > > Global gccnn As New ADODB.Connection > > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > > Source=PC1" > > > > > > and then in the first form_load I have > > > > ' Give it a connect string > > gccnn.ConnectionString = gcstrConStr > > > > ' And make the connection > > gccnn.Open > > > > > > > > What do you guys think of this strategy, should I use a class to pass it > > around. And if I am not using a class, do you think that it is a little >bit > > untidy or is downright bad practice. > > > > Again, I am just curious what the rest of the world is doing in their >apps. > > > > Thanks > > > > Mark > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >--- >Message is tested virus free >Virus Database (VPS): 19-3-2003 >Tested on: 20-3-2003 22:29:50 > >(c) 2000-2003 ALWIL Software. >http://www.avast.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com ><< winmail.dat >> _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From doug at murphyscreativity.com Thu Mar 20 21:48:08 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Thu Mar 20 21:48:08 2003 Subject: [AccessD] Access XP Developer and replication manager In-Reply-To: <5.2.0.9.0.20030321151637.00b45338@mail.dalyn.co.nz> Message-ID: <000f01c2ef5c$a1ef4f00$0100a8c0@CX615377A> David, Thank you for the information. It is much appreciated. Doug -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, March 20, 2003 7:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP Developer and replication manager At 20/03/2003, you wrote: How do you do the indirect synchronization over a modem? That is another task I need to do. Doug Best advise is to get the M$ White papers. Here is my resource list for A97. Similar papers should be available for AXP Here is a list of some resources for A97 - Database Replication in Microsoft Jet (Tony Poll - Microsoft Replication White Paper) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q164553 Building Applications with Microsoft Access 97 Access 97 Developers Handbook (Litwin, Getz, Gilbert) Microsoft Jet Database Replication (Peter Bateman, Bruce Schatzman) Microsoft Access 97 Replication Site http://support.microsoft.com/default.aspx?scid=/support/access/content/r epl/replication.asp Internet Synchronization with Microsoft Jet 3.5 (Michael Wachal) http://support.microsoft.com/default.aspx?scid=kb;en-us;Q181371 Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Thu Mar 20 22:29:00 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu Mar 20 22:29:00 2003 Subject: [AccessD] A2K: This should be easy In-Reply-To: <3E7AE0B5.21936.2FE1D@localhost> Message-ID: Hi Stuart You are da man!!!!!!!!!!!!!!!!!!!!!! We have lift off. Many many thanks Darren -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Friday, 21 March 2003 10:52 AM To: Darren Dick; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: This should be easy On 19 Mar 2003 at 10:53, Darren Dick wrote: > Hi Stuart > The following code just won't work, even with your 'time' suggestion > I must be missing something really obvious. This should work. > A couple of things I messed up in my original example. That's what happens when you write code directly in an email client and don't debug :-( (rs!BookingTime - cmbInterval / dblMinutes) >= Time() Should be: Time => (rs!BookingTime - cmbInterval * dblMinutes) In my first example, we need to mulitpy by the fractional dblMinutes, not divide by it (that's why you would have been getting dates in then 1860s or whatever. We need it to trigger after the notice time, not before it! This one has been tired in A2K and worked as expected: Private Sub Form_Timer() Dim rs As DAO.Recordset Dim dblMinutes As Double dblMinutes = 1 / 24 / 60 If IsNull(cmbInterval) Then Exit Sub Set rs = Me.Recordset While Not rs.EOF If Time() >= (rs!BookingTime - cmbInterval * dblMinutes) And Not rs!WarningDone Then MsgBox rs!Message rs.Edit rs!WarningDone = True rs.Update End If rs.MoveNext Wend End Sub -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 20 22:42:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 22:42:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Just take a look at the 'title' for Microsoft's KB Article 276283. Just tickled my funny bone, and had to share! Drew From wdhindman at bellsouth.net Thu Mar 20 23:11:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu Mar 20 23:11:00 2003 Subject: [AccessD] OT-Thought this was funny.... References: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Message-ID: <005001c2ef68$50f647f0$6101a8c0@amd2k512> ...lol ...tickled mine as well ...thanks :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 20, 2003 11:41 PM Subject: [AccessD] OT-Thought this was funny.... > Just take a look at the 'title' for Microsoft's KB Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Thu Mar 20 23:22:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu Mar 20 23:22:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82377@main2.marlow.com> I knew there would be at least one person on this list that found that funny......personally, when I saw it (cause I saw it printed off in our computer room), I wanted to print a few hundred copies to pin on all of the 'user's' heads! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 20, 2003 11:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... ...lol ...tickled mine as well ...thanks :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 20, 2003 11:41 PM Subject: [AccessD] OT-Thought this was funny.... > Just take a look at the 'title' for Microsoft's KB Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From StaRKeY at Wanadoo.nl Fri Mar 21 00:36:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 00:36:01 2003 Subject: [AccessD] Using Global Connections In-Reply-To: Message-ID: well yeah:-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] > Sent: vrijdag 21 maart 2003 02:36 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connections > > Eric, > > If you have unhandled errors causing globals to lose their value you have > big problems. Unhandled errors pretty much reset the whole damned world, > not just "global" variables. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of StaRKeY > Sent: Thursday, March 20, 2003 4:30 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Using Global Connections > > > First of all, I am not against globals but I think there are a couple of > things to bare in mind: > > 1) - kept open connections could slow down traffic in general, usually > only > if your app is used by a lot of > people/connections > 2) - what is the max. amount of open connections allowed? > 3) - globals can loose their value in case an unhandled error occurs > 4) - no Mark, in a LOT of cases you are NOT the only programmer over > time... > > Last but not least, I've seen many different Access applications and to be > honest, whenever I was asked to come fix or upgrade an app. I've never > really cared about how the job was done unless it actually was > creating/being a problem. > > My two cents.. > Eric > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > Sent: donderdag 20 maart 2003 22:22 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Using Global Connections > > > Hello John, > > I am glad to hear that I am on the right track anyway. The reason that I > asked the question was that I noticed a few people referring to globals > recently. Also, I have been reading a bit about them and the author was > complaining about globals. But, as we are both agreed, for a global > constant connection, there is a lot of upside and very little downside to > using one. I had considered using a class and setting properties, bit > again, that is only really complictating it further. However, I could > make > it a read only class, and that would have some benefit, or I could do as > you > do and use a function. > > Based on the fact that I am the programmer, nobody else is going to mess > with my global variable, I can probably continue to use a normal global > and > pass it around. > > I am reading with interest your migration to .net, I am about to start the > same thing myself in the next few weeks. > > If I have anything to post, I will. > > I think that everybody on the list should let each other know if we come > across any good reading material, especially online / free stuff. > > Thanks to all for the feedback on the globals. > > Best Regards > > > Mark L. Breen > Solution Providers > Ireland > > > > > ----- Original Message ----- > From: "John W. Colby" > To: > Sent: Saturday, March 15, 2003 5:03 PM > Subject: RE: [AccessD] Using Global Connections > > > > Mark, > > > > I also use globals for the db connection. This is a case where the > > connection is specific, a penalty is paid for creating / deleting it, > and > it > > is needed all over the app. The connection is not something that is > going > > to be updated (written to) by pieces of the application, it is going to > be > > created once and then used all over. That is a good candidate for a > global. > > > > > > Globals tend to cause problems when they are *updated* from all over the > > place, and the reason is that is quite difficult to track down who is > doing > > the updating when it is incorrectly updated. If for example a serial > port > > is opened and closed by 10 different functions, one function tries to > use > > the serial port and it is closed. Who closed it? It's supposed to be > > opened, but some process closed it unexpectedly. These kinds of > problems > > can be a real bear to track down and fix. > > > > It becomes a bigger problem if the system is written and maintained by a > > team of programmers where nobody knows the whole story. Globals by > > definition are available to anyone at any time. > > > > Scope exists for a reason. If a variable is only used by a specific > > function, then it's variables have no business being global to the > program > > (or even the module). If a variable is only used by code inside an > instance > > of a class but needs to be accessed by several functions inside the > class, > > then it should be defined inside the class (in the header) as a PRIVATE > > variable. Thus only code inside the class can modify the variable. If > a > > variable needs to be shared by many functions inside of a module, but > only > > these functions modify the variable, then the variable should be PRIVATE > to > > that module. By making any of these variables truly Global to the > project, > > you end up with things being (able to be) set by code that has no > business > > setting the variable. > > > > On the other hand, if as in your example, a database connection is > needed, > > and a function calls a function which calls a function, which needs that > > connection, why pass the connection through 3 functions that don't even > need > > the connection simply so that the fourth function that does need it can > have > > access to the connection? > > > > In a case like this, I tend to make the connection a private variable > inside > > a module, with a function that initializes the variable when the db > opens, > > and then define a function that READS the connection variable and > returns > > the value. This in effect makes it read only. Anyone can call the > function > > that gets the value, but since the variable is PRIVATE to the module, no > one > > outside the module can write to it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Mark L. Breen > > Sent: Friday, March 14, 2003 12:37 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Using Global Connctions > > > > > > Hello All, > > > > I was not aware that a previous debate (sounds a little heated) had been > > already carried out. Sorry for duplicating the discussion. > > > > In the last few emails, Marcus was the only one that explicitly stated > that > > he likes the idea of using Globals for a db connection. > > > > So leaving aside passing around an order nunber or a customer id as a > global > > (which I would never even consider), what do you guys do to hand around > a > > database connection? Do you use Globals or do you make the connction > each > > time or do you use some kind of class. Any sample code would be > interesting > > to read. > > > > What I do is have the following code in a module > > > > ' This will be the global connection that we will share, we open it once > > only and share it throughout the applications life > > Global gccnn As New ADODB.Connection > > Global Const gcstrConStr As String = "Provider=SQLOLEDB.1;Integrated > > Security=SSPI;Persist Security Info=False;Initial Catalog=spps40;Data > > Source=PC1" > > > > > > and then in the first form_load I have > > > > ' Give it a connect string > > gccnn.ConnectionString = gcstrConStr > > > > ' And make the connection > > gccnn.Open > > > > > > > > What do you guys think of this strategy, should I use a class to pass it > > around. And if I am not using a class, do you think that it is a little > bit > > untidy or is downright bad practice. > > > > Again, I am just curious what the rest of the world is doing in their > apps. > > > > Thanks > > > > Mark > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > --- > Message is tested virus free > Virus Database (VPS): 19-3-2003 > Tested on: 20-3-2003 22:29:50 > > (c) 2000-2003 ALWIL Software. > http://www.avast.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 7:29:41 (c) 2000-2003 ALWIL Software. http://www.avast.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5948 bytes Desc: not available URL: From roz.clarke at donnslaw.co.uk Fri Mar 21 03:05:00 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri Mar 21 03:05:00 2003 Subject: [AccessD] Listers in print Message-ID: <61F915314798D311A2F800A0C9C83188039565D8@dibble.observatory.donnslaw.co.uk> Well done to all of you! -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: 20 March 2003 18:42 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Listers in print Hey, I can't write it if I can't think of it. :) Susan H. > Please direct all the writing compliments to Susan... I just handle > the technical end. :) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 04:38:01 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 04:38:01 2003 Subject: [AccessD] OT - XP Taskbar Help Required Message-ID: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> To all, We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... Thanks in advance. Yours going absolutely raving mental...... Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From gustav at cactus.dk Fri Mar 21 05:09:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 05:09:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <8711307889.20030321120803@cactus.dk> Hi StaRKeY This won't catch attached ODBC tables. /gustav > How about: > Public Function CheckTableExist (strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 > and other types)" > CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) > End Function > I must be getting old since I am running out of alternatives:-) Well, you try. From gustav at cactus.dk Fri Mar 21 05:21:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 05:21:00 2003 Subject: [AccessD] Using Global Connections In-Reply-To: References: Message-ID: <12612050307.20030321122026@cactus.dk> Hi Henry First, in a runtime environment - which should be used for all apps - this won't happen. Second, to quote John C.: "If you have unhandled errors .. you have big problems." /gustav > Well... unhandled errors do not close forms opened from the database window > or by docmd, nor queries or reports nor cause controls on open forms to lose > their properties including rowsources or text. There are some anomalies. From pctech at mybellybutton.com Fri Mar 21 06:20:01 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Fri Mar 21 06:20:01 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82376@main2.marlow.com> Message-ID: <20030321121921.40734.qmail@web13408.mail.yahoo.com> Not Available at This Time. --- Drew Wutka wrote: > Just take a look at the 'title' for Microsoft's KB > Article 276283. Just > tickled my funny bone, and had to share! > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 21 07:52:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 07:52:00 2003 Subject: [AccessD] OT - XP Taskbar Help Required References: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> Message-ID: <003301c2efb1$0677ce80$6101a8c0@amd2k512> Paul ...Tools/Options/View ...turn off the "Windows In Toolbar" option ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: To: ; Sent: Friday, March 21, 2003 5:37 AM Subject: [AccessD] OT - XP Taskbar Help Required > To all, > > We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... > > Thanks in advance. > > Yours going absolutely raving mental...... > > Paul > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Fri Mar 21 07:55:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 07:55:00 2003 Subject: [AccessD] OT-Thought this was funny.... References: <20030321121921.40734.qmail@web13408.mail.yahoo.com> Message-ID: <003e01c2efb1$88efc520$6101a8c0@amd2k512> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: "Frank Tanner III" To: Sent: Friday, March 21, 2003 7:19 AM Subject: Re: [AccessD] OT-Thought this was funny.... > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! > > > > Drew > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tomadatn at bellsouth.net Fri Mar 21 08:07:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 08:07:00 2003 Subject: [AccessD] OT - Friday Humor ... References: <2F8793082E00D4119A1700B0D0216BF801D82377@main2.marlow.com> Message-ID: <001b01c2efb3$a98252b0$6400000a@dogbert2k> To quote the mighty Dilbert - "Mr. User, you know you're going to have to eventually do some work!" This is especially funny for me because I've got a job where the user could be in the comic strip because of this. http://www.unitedmedia.com/comics/dilbert/ From paul.hartland at fsmail.net Fri Mar 21 08:14:08 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 08:14:08 2003 Subject: [AccessD] OT - XP Taskbar Help Required Message-ID: <20030321141341.AZF7262.fep12-svc.ttys.com@localhost> Thanks for that........Might even regain my sanity still From: "William Hindman" Date: Fri 21/Mar/2003 13:51 GMT To: Subject: Re: [AccessD] OT - XP Taskbar Help Required Paul ...Tools/Options/View ...turn off the "Windows In Toolbar" option ...HTH :) William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman ----- Original Message ----- From: To: ; Sent: Friday, March 21, 2003 5:37 AM Subject: [AccessD] OT - XP Taskbar Help Required > To all, > > We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... > > Thanks in advance. > > Yours going absolutely raving mental...... > > Paul > > __________________________________________________________________________ > Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for > your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month > after that. > > For more information visit http://www.freeserve.com/time/ or call free on > 0800 970 8890 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From tomadatn at bellsouth.net Fri Mar 21 08:21:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 08:21:00 2003 Subject: [AccessD] Tech books ... References: <833956F5C117124A89417638FDB112904FB3F5@goexchange.pghcorning.com> Message-ID: <002501c2efb5$9e054620$6400000a@dogbert2k> To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. From artful at rogers.com Fri Mar 21 08:41:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 08:41:00 2003 Subject: [AccessD] OT - XP Taskbar Help Required In-Reply-To: <20030321103735.ZHY5916.fep10-svc.ttys.com@localhost> Message-ID: <006d01c2efb7$c21ba340$8e01a8c0@Rock> /Tools/Options/Show Windows in Taskbar. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: March 21, 2003 5:38 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] OT - XP Taskbar Help Required To all, We have recently (2 days ago) upgraded to XP (not a very big fan at all), and there is one thing thats absolutely driving me mad. I have an Access Application and as usual when you run it, a button appears in the taskbar.....BUT, when you select an option from the switchboard opening another form another button appears and so on. Is there any way to stop XP creating a button for each form you have open.... Thanks in advance. Yours going absolutely raving mental...... Paul __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?13.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 08:45:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 08:45:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <002501c2efb5$9e054620$6400000a@dogbert2k> Message-ID: <006e01c2efb8$6da11790$8e01a8c0@Rock> As one of said writers, I hearily agree. 1500-page tomes such as ADH contain lots of good stuff, but 1000 pages of fluff as well (from the p.o.v. of an experienced developer). I would much prefer a series of books, each focused on a particular subject. For example, using classes, doing replication, upsizing, using parameterized sprocs in forms, and so on. Then you could spend $20 instead of $80 and get all and only what you need. Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: March 21, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Mar 21 08:54:01 2003 From: JHewson at karta.com (Jim Hewson) Date: Fri Mar 21 08:54:01 2003 Subject: [AccessD] Tech books ... Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 21 09:05:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 09:05:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, The economics of book publishing do not allow for such specialized books as you envision. You have noticed that several computer-oriented book publishers such as Wrox have ceased publishing lately, haven't you? Such specialized topics usually have to be done as white papers for which the authors receive no compensation. You may also have noticed that most white papers are sponsored by organizations that employ the authors. There are few authors that can afford to give away the fruit of their labors. I doubt that Susan is willing to live in poverty so you can freely benefit from her knowledge. Thus the advantage of lists such as AccessD, there are many on this list willing to freely share some of their knowledge. However, the price you pay for this free knowledge is that it is not organized, you have to work to put all the pieces together. Have a nice day and a nice weekend! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 08:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... As one of said writers, I hearily agree. 1500-page tomes such as ADH contain lots of good stuff, but 1000 pages of fluff as well (from the p.o.v. of an experienced developer). I would much prefer a series of books, each focused on a particular subject. For example, using classes, doing replication, upsizing, using parameterized sprocs in forms, and so on. Then you could spend $20 instead of $80 and get all and only what you need. Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: March 21, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From artful at rogers.com Fri Mar 21 09:25:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 09:25:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> Message-ID: <007101c2efbd$fd100c60$8e01a8c0@Rock> >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... From bob at renaissancesiding.com Fri Mar 21 09:26:00 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri Mar 21 09:26:00 2003 Subject: [AccessD] Tech books .. Message-ID: <01C2EF94.39028560.bob@renaissancesiding.com> Tom No disagreement about your authoring comments. Just a side suggestion - go to Helen Feddema's phenomenal site: http://www.helenfeddema.com/ She has very useful and informative cross-application code. Regards, Bob Gajewski On Friday, March 21, 2003 09:25 AM, Tom Adams [SMTP:tomadatn at bellsouth.net] wrote: > To the whizzes that write books in this list > > A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers > > There are two points I'd like to point out (neither of which has a chance of making it) > 1. Have a few overly documented examples if you will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no comments. The documented > examples in books are usually too simple to be very useful. Real code will teach most > developers without the comments > > 2. As there are millions of Excel and Access power users through developers - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg > From Access to VB, From Jet to Sql Server, etc > > I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out > Makes me want to find one of the Access guys at Microsoft and give them my first born child (I > know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the differences are often difficult to figure > out > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From RGeldart at detma.org Fri Mar 21 09:30:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Fri Mar 21 09:30:00 2003 Subject: [AccessD] Tech books ... Message-ID: I generally agree with Tom. There are enough complications in Access to make the idea of a "comprehensive" guide ridiculous. Smaller but meatier tomes on different themes might be better, but would the cost to us be any better? A few thoughts of my own... 1. "ADH97" is a great book, a great reference, but I've only used about 20% of it. Looked through a lot of the coding examples, but unable to use it as a tutorial from cover to cover. Use it as a reference when I'm stumped or need a fresh look. 2. "VBA For Dummies" by Paul Litwin - the only "for dummies" book I have. It's a great quick and concise reference. Term description, syntax, example. 3. Books, while good resources--often because of their authors--are static, "old technology". Newer tech resources are dynamic resources like magazines and e-lists. Responses and solutions are almost immediate, and interactive. I am the only database programmer in a small department. This list gives me a needed ability to talk with others and bounce ideas around looking for solutions. Bob Geldart RGeldart at detma.org Massachusetts Department of Employment & Training > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > To the whizzes that write books in this list. .... From tomadatn at bellsouth.net Fri Mar 21 09:35:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 09:35:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <000801c2efc0$0225dbb0$6400000a@dogbert2k> As IBM says - there are no unsolveable problems - just challenges. The vanity press business has really come a long way. You can get a run of 5,000 books at 200 pages for about $1-2 per book(might be more now). Look at the smaller newer groups in music for direction and inspiration. They're seeing these kind of efforts pay for themselves and soon there will be a big breakthrough and somebody will go from self published to superstar and the game will have changed forever. Look at the Blair Witch project. $60,000 to millions by amateurs. A little farther along the curve is the Spy Kids series. Done in Texas by an independent for a fraction of the usual cost. Combine that with the Inet and these NewsGroups and there's now a chance to do it small and profitably. As an important side benefit - an author can use it in their marketing to promote their programming. Looks great on a resume and dropping a potential client your book (even though they won't read it and wouldn't understand it if they did) should be a big plus. Tom ----- Original Message ----- From: "Wortz, Charles" To: Sent: Friday, March 21, 2003 9:04 AM Subject: RE: [AccessD] Tech books ... > Arthur, > > > The economics of book publishing do not allow for such specialized books > as you envision. You have noticed that several computer-oriented book > publishers such as Wrox have ceased publishing lately, haven't you? > Such specialized topics usually have to be done as white papers for > which the authors receive no compensation. You may also have noticed > that most white papers are sponsored by organizations that employ the > authors. > > There are few authors that can afford to give away the fruit of their > labors. I doubt that Susan is willing to live in poverty so you can > freely benefit from her knowledge. > > Thus the advantage of lists such as AccessD, there are many on this list > willing to freely share some of their knowledge. However, the price you > pay for this free knowledge is that it is not organized, you have to > work to put all the pieces together. > > > Have a nice day and a nice weekend! > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday 2003 Mar 21 08:45 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > contain lots of good stuff, but 1000 pages of fluff as well (from the > p.o.v. of an experienced developer). I would much prefer a series of > books, each focused on a particular subject. For example, using classes, > doing replication, upsizing, using parameterized sprocs in forms, and so > on. Then you could spend $20 instead of $80 and get all and only what > you need. > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading books brought up a point I've been meaning to make. I know the > publishers push you to include all Access user levels in your books so > more will sell. However that means that 80% of the book is useless for > moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of making it). 1. Have a few overly documented examples if you > will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real > code will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 21 09:42:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 09:42:00 2003 Subject: [AccessD] Tech books ... References: <006e01c2efb8$6da11790$8e01a8c0@Rock> Message-ID: <008401c2efc0$66ea36e0$364afccc@SusanOne> > There are two points I'd like to point out (neither of which has a chance of > making it). 1. Have a few overly documented examples if you will - but > include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. ============I include just the code that does the task -- no error handling, no comments, just the code. I get fussed at a lot by other readers and some editors -- but I resist. Occasionally, if a particular error is inherent to the task, I will include handling for that, but only when it's specific to the task. There's a difference between the two. > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. ============You'll probably not find any publishers or authors willing to take on these projects. You need to be an expert in more than one thing, and that cuts a lot of authors out. Then, frankly... these titles have limited appeal. Generally, a book needs to attrack a large audience. That's why you don't see many "specialized" books -- they don't make any money. Neither publishers or authors can afford to work for free, and that's what would happen. The book Martin and I wrote is aimed at the Jet to T-SQL audience, and trust me... I'd be on the streets if that were the only work I had right now. It's a shame, cause it's a great book. Susan H. From tomadatn at bellsouth.net Fri Mar 21 09:43:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 09:43:00 2003 Subject: [AccessD] Daily Tasks Program ... References: Message-ID: <001901c2efc1$10a683f0$6400000a@dogbert2k> I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom From harkins at iglou.com Fri Mar 21 09:48:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 09:48:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <00b301c2efc1$419e1180$364afccc@SusanOne> Charles is right on the money folks. If people would buy them, I'd write them. :) The book that caters to the largest market makes money. The rest of them don't. Susan H. > Arthur, > > > The economics of book publishing do not allow for such specialized books > as you envision. You have noticed that several computer-oriented book > publishers such as Wrox have ceased publishing lately, haven't you? > Such specialized topics usually have to be done as white papers for > which the authors receive no compensation. You may also have noticed > that most white papers are sponsored by organizations that employ the > authors. > > There are few authors that can afford to give away the fruit of their > labors. I doubt that Susan is willing to live in poverty so you can > freely benefit from her knowledge. > > Thus the advantage of lists such as AccessD, there are many on this list > willing to freely share some of their knowledge. However, the price you > pay for this free knowledge is that it is not organized, you have to > work to put all the pieces together. > > > Have a nice day and a nice weekend! > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Friday 2003 Mar 21 08:45 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > contain lots of good stuff, but 1000 pages of fluff as well (from the > p.o.v. of an experienced developer). I would much prefer a series of > books, each focused on a particular subject. For example, using classes, > doing replication, upsizing, using parameterized sprocs in forms, and so > on. Then you could spend $20 instead of $80 and get all and only what > you need. > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: March 21, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading books brought up a point I've been meaning to make. I know the > publishers push you to include all Access user levels in your books so > more will sell. However that means that 80% of the book is useless for > moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of making it). 1. Have a few overly documented examples if you > will - but include a bunch of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real > code will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > >From X to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Mar 21 10:03:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 10:03:01 2003 Subject: [AccessD] Tech books ... References: <000801c2efc0$0225dbb0$6400000a@dogbert2k> Message-ID: <00d601c2efc3$4671f5d0$364afccc@SusanOne> How many Blair Witch Projects didn't make it? That's what you're dealing with -- not the ones that do, but the ones that don't. Publishers and authors aren't going to produce books that probably won't sell on the chance that their one will be that one in a million. Seriously, it is that unlikely. Publishing is still, very much a business of volume. Only a scant few make a lot of money. The rest make some, and you have to have several out at all times to actually make a living at it. Often a book produces no royalties -- you write it strictly for the advance. Then there's the deals where you don't even get an advance, and then the book doesn't sell well either... It's difficult to have several out at any one time because they take 6 to 8 months to produce, and have a shelf-life of a few years at best. Traditionally, publishers publish as many books as possible, knowing that some won't sell, but knowing most would sell "enough" and a few would sell really well. There's no way to really predict which books will fall into what categories. However, specialty books have been one area that publishers routinely don't touch... I've discussed plenty of them with a number of publishers -- and after having finally produced one of my own -- I can promise you, I'll probably never touch another one. It may be unfortunate for those that need the specialized information. All I can tell you is, if those books sold, we'd be writing them. Susan H. ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 10:39 AM Subject: Re: [AccessD] Tech books ... > As IBM says - there are no unsolveable problems - just challenges. > > The vanity press business has really come a long way. You can get a run > of 5,000 books at 200 pages for about $1-2 per book(might be more now). > > Look at the smaller newer groups in music for direction and inspiration. They're > seeing these kind of efforts pay for themselves and soon there will be a big > breakthrough and somebody will go from self published to superstar and > the game will have changed forever. > > Look at the Blair Witch project. $60,000 to millions by amateurs. A little > farther along the curve is the Spy Kids series. Done in Texas by an independent > for a fraction of the usual cost. > > Combine that with the Inet and these NewsGroups and there's now a chance > to do it small and profitably. As an important side benefit - an author can > use it in their marketing to promote their programming. Looks great on a > resume and dropping a potential client your book (even though they won't > read it and wouldn't understand it if they did) should be a big plus. > > Tom > > > ----- Original Message ----- > From: "Wortz, Charles" > To: > Sent: Friday, March 21, 2003 9:04 AM > Subject: RE: [AccessD] Tech books ... > > > > Arthur, > > > > > > The economics of book publishing do not allow for such specialized books > > as you envision. You have noticed that several computer-oriented book > > publishers such as Wrox have ceased publishing lately, haven't you? > > Such specialized topics usually have to be done as white papers for > > which the authors receive no compensation. You may also have noticed > > that most white papers are sponsored by organizations that employ the > > authors. > > > > There are few authors that can afford to give away the fruit of their > > labors. I doubt that Susan is willing to live in poverty so you can > > freely benefit from her knowledge. > > > > Thus the advantage of lists such as AccessD, there are many on this list > > willing to freely share some of their knowledge. However, the price you > > pay for this free knowledge is that it is not organized, you have to > > work to put all the pieces together. > > > > > > Have a nice day and a nice weekend! > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Arthur Fuller [mailto:artful at rogers.com] > > Sent: Friday 2003 Mar 21 08:45 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Tech books ... > > > > As one of said writers, I hearily agree. 1500-page tomes such as ADH > > contain lots of good stuff, but 1000 pages of fluff as well (from the > > p.o.v. of an experienced developer). I would much prefer a series of > > books, each focused on a particular subject. For example, using classes, > > doing replication, upsizing, using parameterized sprocs in forms, and so > > on. Then you could spend $20 instead of $80 and get all and only what > > you need. > > > > Arthur > > > > "Those who would sacrifice liberty for security deserve neither." > > -- Benjamin Franklin > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > > Sent: March 21, 2003 9:25 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Tech books ... > > > > > > To the whizzes that write books in this list. > > > > A recent post that said they learned better from examples than from > > reading books brought up a point I've been meaning to make. I know the > > publishers push you to include all Access user levels in your books so > > more will sell. However that means that 80% of the book is useless for > > moderate to advanced readers. > > > > There are two points I'd like to point out (neither of which has a > > chance of making it). 1. Have a few overly documented examples if you > > will - but include a bunch of heavy duty > > code for examples for the advanced programmers - with little or no > > comments. The documented > > examples in books are usually too simple to be very useful. Real > > code will teach most > > developers without the comments. > > > > 2. As there are millions of Excel and Access power users through > > developers > > - and sometimes they > > will be doing other apps - eg. Excel to Access, Excel to VB, Access > > to VB and/or VB to Access, > > Access to Sql Server and Sql Server to Jet - consider writing a > > From X to Y Dictionary. Eg. > > From Access to VB, From Jet to Sql Server, etc. > > > > I've moved into VB for the last 6 months and would have paid almost > > anything for an Access to Vb > > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > > this took me to figure out. > > Makes me want to find one of the Access guys at Microsoft and give > > them my first born child (I > > know, I know - she's a teenager and that's a punishment worse than > > death to inflict on anyone but > > the thought is grateful.) > > > > I find that I know exactly what I want to do in Access but the > > differences are often difficult to figure > > out. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jarus at amerinet-gpo.com Fri Mar 21 10:04:01 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 21 10:04:01 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Fri Mar 21 10:05:00 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri Mar 21 10:05:00 2003 Subject: [AccessD] Daily Tasks Program ... Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBDE@cpixchng-1.cpiqpc.net> Tom, Sounds like we work for the same people ;) I would be very interested in taking a look at this program. Rusty -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 9:47 AM To: accessd at databaseadvisors.com Subject: [AccessD] Daily Tasks Program ... I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 10:10:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 10:10:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: <20030321161000.PRB3294.fep02-svc.ttys.com@localhost> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From artful at rogers.com Fri Mar 21 10:11:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 10:11:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: <008401c2efc0$66ea36e0$364afccc@SusanOne> Message-ID: <007601c2efc4$61f945f0$8e01a8c0@Rock> The lightbulb goes on! Eureka! "Microsoft Developer's WankBook". A. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 21, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Tech books ... > There are two points I'd like to point out (neither of which has a > chance of > making it). 1. Have a few overly documented examples if you will - > but include a bunch of heavy duty > code for examples for the advanced programmers - with little or > no comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. ============I include just the code that does the task -- no error handling, no comments, just the code. I get fussed at a lot by other readers and some editors -- but I resist. Occasionally, if a particular error is inherent to the task, I will include handling for that, but only when it's specific to the task. There's a difference between the two. > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, > Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. ============You'll probably not find any publishers or authors willing to take on these projects. You need to be an expert in more than one thing, and that cuts a lot of authors out. Then, frankly... these titles have limited appeal. Generally, a book needs to attrack a large audience. That's why you don't see many "specialized" books -- they don't make any money. Neither publishers or authors can afford to work for free, and that's what would happen. The book Martin and I wrote is aimed at the Jet to T-SQL audience, and trust me... I'd be on the streets if that were the only work I had right now. It's a shame, cause it's a great book. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Fri Mar 21 10:27:00 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri Mar 21 10:27:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: I want the user to define the range - this will vary. The only thing that doesn't vary is the column range. Thanks for your input. >>> paul.hartland at fsmail.net 03/21/03 10:10AM >>> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Mar 21 10:47:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri Mar 21 10:47:00 2003 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82386@main2.marlow.com> I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew -----Original Message----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: 3/21/03 9:24 AM Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 21 10:50:00 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri Mar 21 10:50:00 2003 Subject: [AccessD] OT: Excel 97 Macro Message-ID: <20030321164933.HSW23959.fep08-svc.ttys.com@localhost> Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland From: "Terri Jarus" Date: Fri 21/Mar/2003 16:33 GMT To: Subject: Re: [AccessD] OT: Excel 97 Macro I want the user to define the range - this will vary. The only thing that doesn't vary is the column range. Thanks for your input. >>> paul.hartland at fsmail.net 03/21/03 10:10AM >>> Terri, Try something like this : Sub Macro1() Range("A10:R20").Select End Sub Paul From: "Terri Jarus" Date: Fri 21/Mar/2003 16:09 GMT To: Subject: [AccessD] OT: Excel 97 Macro Hope someone can give me some guidance or point me to some websites to review. I just need to write a simple macro that allows the user to select a range of rows to sort. The column range is always going to be the same. For example, the user selects A10:A20 as the range of rows to sort and the column range will always be through R. Thanks for any help. Let me know if more info is required. Thanks. __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Freeserve AnyTime - Go online whenever you want for just ?6.99 a month for your first 3 months, that's HALF PRICE! And then it's just ?14.99 a month after that. For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890 From weeden1949 at hotmail.com Fri Mar 21 10:50:12 2003 From: weeden1949 at hotmail.com (Greg S) Date: Fri Mar 21 10:50:12 2003 Subject: [AccessD] Daily Tasks Program ... References: <001901c2efc1$10a683f0$6400000a@dogbert2k> Message-ID: Tom: Been there. Had to do that. But I didn't create a program to track my progress. I'd be interested in seeing it as well. Greg Smith Programmer/Trainer ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 9:46 AM Subject: [AccessD] Daily Tasks Program ... I'm in a situation where the Accounting manager doesn't really think I'm worth a damn and she's trying to micro-manage my programming. She asked for a daily list of what I do, time taken and all the code I've changed to try to see if she's getting her money's worth. She's also asked for a list of tasks she's assigned, in priority order with notes on what's been finished. I really think the daily tasks report is useless to her but have found it helps me a lot. I stick my head in my computer every day - work hard - and leave brain dead every night and really didn't have a clear idea of what I had done. Now I do. After using it for a week I really like it. She likes the paper and might one day actually read some of it. Anyway I've developed a simple program to do both. If anyone is interested let me know and I'll post it on my website. Tom _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Fri Mar 21 11:01:03 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri Mar 21 11:01:03 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! From accessd at shaw.ca Fri Mar 21 11:12:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 11:12:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ABC@NT04> Message-ID: Jim: Some solace...they do get better. At eighteen (it actually extended from about twelve on) I was as dumb as a stump and at twenty-three she is now working with me. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, March 21, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 11:22:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 11:22:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82386@main2.marlow.com> Message-ID: <008401c2efce$4d3beeb0$8e01a8c0@Rock> Thanks for that and I'll gladly give it a try. I seem to recall something about a bug in planting the image control on an Access form at design time; and that the alleged solution is to add it in code instead. But I could just be having a senior moment. On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? One step removed from cosmetic is the use of the image to indicate something even before the user clicks on the node, for example, in a list of customers->orders->>order items, customers whose expenditures in the past year > $5K get a special image in the list ($$$ :-), while the common rabble get nothing but a file folder. But you've given me the nudge I needed to do some woodshedding :-) Thank God for unemployment (at least until the end of the month). Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 21, 2003 11:46 AM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Tech books ... I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew From tomadatn at bellsouth.net Fri Mar 21 11:23:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 11:23:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <001901c2efc1$10a683f0$6400000a@dogbert2k> Message-ID: <001501c2efcf$05a1e540$6400000a@dogbert2k> It's on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org Tom ----- Original Message ----- From: "Greg S" To: Sent: Friday, March 21, 2003 10:49 AM Subject: Re: [AccessD] Daily Tasks Program ... > Tom: > > Been there. Had to do that. But I didn't create a program to track my > progress. I'd be interested in seeing it as well. > > Greg Smith > Programmer/Trainer > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Friday, March 21, 2003 9:46 AM > Subject: [AccessD] Daily Tasks Program ... > > > I'm in a situation where the Accounting manager doesn't really think I'm > worth a damn and she's trying to micro-manage my > programming. She asked for a daily list of what I do, time taken and all > the code I've changed to try to see if she's getting her > money's worth. > > She's also asked for a list of tasks she's assigned, in priority order with > notes on what's been finished. > > I really think the daily tasks report is useless to her but have found it > helps me a lot. I stick my head in my computer every > day - work hard - and leave brain dead every night and really didn't have a > clear idea of what I had done. Now I do. After using > it for a week I really like it. She likes the paper and might one day > actually read some of it. > > Anyway I've developed a simple program to do both. If anyone is interested > let me know and I'll post it on my website. > > Tom > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 21 11:23:13 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 11:23:13 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: Message-ID: OT The truth is that any Window box decreases in speed as long as it is being used. Eventually, you will have backup/re-format/re-install and carry on. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, March 21, 2003 8:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 11:23:25 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 11:23:25 2003 Subject: [AccessD] Tech books ... References: Message-ID: <001601c2efcf$05a6a030$6400000a@dogbert2k> To semi-quote Mark Twain ... "When I was 18 my dad was the dumbest person on the face of the earth. When I was 22 he had made considerable progress." ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Friday, March 21, 2003 11:10 AM Subject: RE: [AccessD] Tech books ... > Jim: > > Some solace...they do get better. At eighteen (it actually extended from > about twelve on) I was as dumb as a stump and at twenty-three she is now > working with me. > > HTH > Jim > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Friday, March 21, 2003 6:54 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Tech books ... > > > > I concur with Tom on several points, I'd like to add a few. > > 1. Good coding examples would be very helpful. Simple examples are useful > only to give a rudimentary idea of what is being explained, but it doesn't > help when trying to implement a solution. > > 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote > an article about it awhile back and it is the best I have seen. The last > book I bought didn't even discuss treeviews even though it's touted as a > "comprehensive reference" for Access with 1600 pages and 2 CDs! > > 3. If a CD is included make sure it works! The book I bought was supposed > to have samples of the code and example databases to put into practice what > was discussed by each chapter. Some of the examples didn't work or were not > included on the CD. I contacted the author, the publisher, and visited the > web site and still didn't get the correct files. > > Tom also mentioned his first born child and that "she's a teenager and > that's a punishment worse than death to inflict on anyone." My teenage > daughter just turned 18 - she seems to be getting worse! What makes her > think that a date on the calendar gives her wisdom? She seems to think I > get dumber every day! > > Oh well, this too shall pass. > > Jim > > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a chance of > making it). > 1. Have a few overly documented examples if you will - but include a bunch > of heavy duty > code for examples for the advanced programmers - with little or no > comments. The documented > examples in books are usually too simple to be very useful. Real code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give them > my first born child (I > know, I know - she's a teenager and that's a punishment worse than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 21 11:24:00 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 11:24:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <20030321164933.HSW23959.fep08-svc.ttys.com@localhost> Message-ID: I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3544 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Fri Mar 21 11:26:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 11:26:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: Jim, >At eighteen (it actually extended from about twelve on) I was as dumb as a stump I would bet that from 12 to 18 you were indeed "dumb as a stump"! I know I was. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Friday, March 21, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Jim: Some solace...they do get better. At eighteen (it actually extended from about twelve on) I was as dumb as a stump and at twenty-three she is now working with me. HTH Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, March 21, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... I concur with Tom on several points, I'd like to add a few. 1. Good coding examples would be very helpful. Simple examples are useful only to give a rudimentary idea of what is being explained, but it doesn't help when trying to implement a solution. 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. The last book I bought didn't even discuss treeviews even though it's touted as a "comprehensive reference" for Access with 1600 pages and 2 CDs! 3. If a CD is included make sure it works! The book I bought was supposed to have samples of the code and example databases to put into practice what was discussed by each chapter. Some of the examples didn't work or were not included on the CD. I contacted the author, the publisher, and visited the web site and still didn't get the correct files. Tom also mentioned his first born child and that "she's a teenager and that's a punishment worse than death to inflict on anyone." My teenage daughter just turned 18 - she seems to be getting worse! What makes her think that a date on the calendar gives her wisdom? She seems to think I get dumber every day! Oh well, this too shall pass. Jim -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3976 bytes Desc: not available URL: From StaRKeY at Wanadoo.nl Fri Mar 21 11:35:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 11:35:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <8711307889.20030321120803@cactus.dk> Message-ID: it will...check out my extended information in the code...'and other types'... :-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 21 maart 2003 12:08 To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi StaRKeY This won't catch attached ODBC tables. /gustav > How about: > Public Function CheckTableExist (strTableName As String) As Boolean > Dim strCriteria As String > strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 > and other types)" > CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) > End Function > I must be getting old since I am running out of alternatives:-) Well, you try. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 18:28:00 (c) 2000-2003 ALWIL Software. http://www.avast.com From gustav at cactus.dk Fri Mar 21 11:59:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 11:59:00 2003 Subject: [AccessD] Does table exist? In-Reply-To: References: Message-ID: <8035923505.20030321185819@cactus.dk> Hi StaRKeY Ahh, didn't notice that, sorry. It's 4 by the way. /gustav > it will...check out my extended information in the code...'and other > types'... > :-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: vrijdag 21 maart 2003 12:08 > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > Hi StaRKeY > This won't catch attached ODBC tables. > /gustav >> How about: >> Public Function CheckTableExist (strTableName As String) As Boolean >> Dim strCriteria As String >> strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 >> and other types)" >> CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) >> End Function From rfv at entelix.com Fri Mar 21 12:06:00 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri Mar 21 12:06:00 2003 Subject: [AccessD] Daily Tasks Program ... In-Reply-To: <001501c2efcf$05a1e540$6400000a@dogbert2k> Message-ID: <000601c2efd4$6e07def0$0800a8c0@LapRFV> Tom, There is a broken refernce for:TA_stdCode3.mda Rudolf F. Vanek -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. To: accessd at databaseadvisors.com Subject: Re: [AccessD] Daily Tasks Program ... It's on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org Tom ----- Original Message ----- From: "Greg S" To: Sent: Friday, March 21, 2003 10:49 AM Subject: Re: [AccessD] Daily Tasks Program ... > Tom: > > Been there. Had to do that. But I didn't create a program to track my > progress. I'd be interested in seeing it as well. > > Greg Smith > Programmer/Trainer > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Friday, March 21, 2003 9:46 AM > Subject: [AccessD] Daily Tasks Program ... > > > I'm in a situation where the Accounting manager doesn't really think I'm > worth a damn and she's trying to micro-manage my > programming. She asked for a daily list of what I do, time taken and all > the code I've changed to try to see if she's getting her > money's worth. > > She's also asked for a list of tasks she's assigned, in priority order with > notes on what's been finished. > > I really think the daily tasks report is useless to her but have found it > helps me a lot. I stick my head in my computer every > day - work hard - and leave brain dead every night and really didn't have a > clear idea of what I had done. Now I do. After using > it for a week I really like it. She likes the paper and might one day > actually read some of it. > > Anyway I've developed a simple program to do both. If anyone is interested > let me know and I'll post it on my website. > > Tom > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 12:20:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 12:20:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <000601c2efd4$6e07def0$0800a8c0@LapRFV> Message-ID: <000901c2efd6$f6969a20$6400000a@dogbert2k> Just heard about it. Sorry - I use my reference library for everything and I forget. I'll scrub them out and post a new version in about an hour. Tom ----- Original Message ----- From: "Rudolf F. Vanek" To: Sent: Friday, March 21, 2003 12:05 PM Subject: RE: [AccessD] Daily Tasks Program ... > Tom, > There is a broken refernce for:TA_stdCode3.mda > > > > > Rudolf F. Vanek > > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Daily Tasks Program ... > > It's on my web site. Click Download on the left menu and goto Daily > Tasks. > > www.accessdevgroup.org > > Tom > > > ----- Original Message ----- > From: "Greg S" > To: > Sent: Friday, March 21, 2003 10:49 AM > Subject: Re: [AccessD] Daily Tasks Program ... > > > > Tom: > > > > Been there. Had to do that. But I didn't create a program to track > my > > progress. I'd be interested in seeing it as well. > > > > Greg Smith > > Programmer/Trainer > > > > ----- Original Message ----- > > From: "Tom Adams" > > To: > > Sent: Friday, March 21, 2003 9:46 AM > > Subject: [AccessD] Daily Tasks Program ... > > > > > > I'm in a situation where the Accounting manager doesn't really think > I'm > > worth a damn and she's trying to micro-manage my > > programming. She asked for a daily list of what I do, time taken and > all > > the code I've changed to try to see if she's getting her > > money's worth. > > > > She's also asked for a list of tasks she's assigned, in priority order > with > > notes on what's been finished. > > > > I really think the daily tasks report is useless to her but have found > it > > helps me a lot. I stick my head in my computer every > > day - work hard - and leave brain dead every night and really didn't > have a > > clear idea of what I had done. Now I do. After using > > it for a week I really like it. She likes the paper and might one day > > actually read some of it. > > > > Anyway I've developed a simple program to do both. If anyone is > interested > > let me know and I'll post it on my website. > > > > Tom > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 21 12:27:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 12:27:01 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: References: Message-ID: <18137634014.20030321192650@cactus.dk> Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. From cfoust at infostatsystems.com Fri Mar 21 12:29:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:29:01 2003 Subject: [AccessD] Access XP and references in libraries Message-ID: Thanks, but I found all thatwhen we were first researching putting this in to a library in the first place. Right now I'm trying late binding in the library database to see if we can at least get it to bomb gracefully instead of breaking the application that references it. The problem is that in A97, the breakage was limited to the library database and the application database just realized that it couldn't use email. In AXP, the breakage affects the application database, not just the library. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, March 20, 2003 5:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries CDO is a wrapper around MAPI, the license is not redistributable but the version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have installed from a selection of Exchange, Outlook and WinXP or win2000. By default, Outlook 2000 and Outlook 2002 installations do not include the CDO 1.2x component. When you view the options for Office or Outlook setup, CDO is listed under the options for Outlook. For a full table of versions and what installs see INFO: Where to Acquire the CDO Libraries (all versions) http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 For more info see: http://www.cdolive.com/start.htm Charlotte Foust wrote: > In 97, we had used a library database that had a reference set to the > CDO.DLL library so we could handle email features using Redemption. > If that DLL was missing on the target machine, the library had a > broken reference but it didn't affect the main project except that the > email capabilities were disabled. In XP, when you load the app, you > get a message that the CDO.DLL is missing. I assume the difference in > behavior is because of the change in the VBE IDE in 2000 and later, > but does anyone know what the further implications might be? We > haven't deployed this app yet, so I'm looking for input. > > Charlotte Foust > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 21 12:36:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:36:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Mar 21 12:42:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri Mar 21 12:42:00 2003 Subject: [AccessD] OT-Thought this was funny.... Message-ID: It's ambiguous. Does the computer's performance decrease because of all the trask they downloaded or the does the user's performance on the computer decrease because they're playing the games they just downloaded? Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, March 21, 2003 8:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT-Thought this was funny.... Computer Performance May Decrease After You Download Programs from the Internet ? Y'all must be especially ticklish, because I just don't get it! And, yes, I am a blonde! >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> ...still there when I look :) http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 William Hindman "The tree of liberty only grows when watered by the blood of tyrants. "Bertrand Bar?re de Vieuzac--a Frenchman > Not Available at This Time. > > --- Drew Wutka wrote: > > Just take a look at the 'title' for Microsoft's KB > > Article 276283. Just > > tickled my funny bone, and had to share! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Mar 21 12:55:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri Mar 21 12:55:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, In VB it depends on the size of the font for the text in the Treeview. I typically use 16x16 with 10-12 pt font. If you use 32x32 you end up with a big icon that looks out of place with the smaller fonts. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> artful at rogers.com 21-Mar-03 12:21:25 PM >>> On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? From StaRKeY at Wanadoo.nl Fri Mar 21 13:11:01 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Fri Mar 21 13:11:01 2003 Subject: [AccessD] Does table exist? In-Reply-To: <8035923505.20030321185819@cactus.dk> Message-ID: Hi Gustav, I used the msystable once for developers-use (access add-in), some sort of documenting type of thing combined with the use of a treeview... so all objects like the regular access tabulars were showing and then tables were more specific than those being shown in access including the Oracle, SQL server, system, hidden etc.. ones also showing more specific connect information etc... same for queries (pass-through, unions etc...) etc... maybe I still have it somewhere but I am not sure... Anyway, I had a lot of type numbers figured out:-) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 21 maart 2003 18:58 To: StaRKeY Subject: Re: [AccessD] Does table exist? Hi StaRKeY Ahh, didn't notice that, sorry. It's 4 by the way. /gustav > it will...check out my extended information in the code...'and other > types'... > :-) > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: vrijdag 21 maart 2003 12:08 > To: StaRKeY > Subject: Re: [AccessD] Does table exist? > Hi StaRKeY > This won't catch attached ODBC tables. > /gustav >> How about: >> Public Function CheckTableExist (strTableName As String) As Boolean >> Dim strCriteria As String >> strCriteria = "name = '" & strTableName & "'" & " and (type=1 or type=6 >> and other types)" >> CheckTableExist = CBool(DCount("[ID]", "MSysObjects", strCriteria)) >> End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 19-3-2003 Tested on: 21-3-2003 20:04:13 (c) 2000-2003 ALWIL Software. http://www.avast.com From accessd at shaw.ca Fri Mar 21 13:33:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 13:33:00 2003 Subject: [AccessD] OT-Thought this was funny.... In-Reply-To: <18137634014.20030321192650@cactus.dk> Message-ID: The truth is; that all those great suede applications, that are spawned from the web, used rarely, continue to suck up any systems resources, regardless of hard-dive and memory size and have to be eventually purged. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 21, 2003 10:27 AM To: Jim Lawrence (AccessD) Subject: Re: [AccessD] OT-Thought this was funny.... Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Fri Mar 21 13:51:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri Mar 21 13:51:00 2003 Subject: [AccessD] Daily Tasks Program ... References: <000601c2efd4$6e07def0$0800a8c0@LapRFV> <000901c2efd6$f6969a20$6400000a@dogbert2k> Message-ID: <003e01c2efe3$c9c2d9c0$6400000a@dogbert2k> I've copied the needed code from my library to the project. The new version is on my web site. Click Download on the left menu and goto Daily Tasks. www.accessdevgroup.org If you have any problems let me know. Tom ----- Original Message ----- From: "Tom Adams" To: Sent: Friday, March 21, 2003 12:23 PM Subject: Re: [AccessD] Daily Tasks Program ... > Just heard about it. > > Sorry - I use my reference library for everything and I forget. > > I'll scrub them out and post a new version in about an hour. > > Tom > > ----- Original Message ----- > From: "Rudolf F. Vanek" > To: > Sent: Friday, March 21, 2003 12:05 PM > Subject: RE: [AccessD] Daily Tasks Program ... > > > > Tom, > > There is a broken refernce for:TA_stdCode3.mda > > > > > > > > > > Rudolf F. Vanek > > > > > > > > > > -----Original Message----- > > From: accessd-admin at databaseadvisors.com > > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > > Sent: Viernes, 21 de Marzo de 2003 11:25 a.m. > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Daily Tasks Program ... > > > > It's on my web site. Click Download on the left menu and goto Daily > > Tasks. > > > > www.accessdevgroup.org > > > > Tom From gustav at cactus.dk Fri Mar 21 14:00:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri Mar 21 14:00:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <18843197865.20030321205933@cactus.dk> Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav > I have a similar requirement, but I want to do something specific to > selected ranges, from inside of Access using automation, to any excel > spreadsheet I choose. Some background. > As I posted earlier this week, I am seeing problems where the data in the > first cells of a given column are numeric, but lower down the cells switch > to text. The data is still numeric, i.e. the data is still simply a number > - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked > to Access and displayed, Access decides that the column is numeric because > of the first few cells at the top of the column, then can't figure out what > to do with the cells that are actually text down below. This is all > discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 > as Hayden pointed out. > The "Fix" is to go into the spreadsheet, select the column of data, and > prepend a space to the beginning of each cell, which apparently causes any > numeric data to turn into text. Now, in the linked data inside of Access, > because the entire column is a single type of data (text) it can be > displayed all the way down. I can then use a cLng (or whatever is > necessary) to convert the data back to the data type needed. > PITA, but this is MS after all ;-) > So, the code shown for doing this is: > Sub Addspace() > Dim cell As Object > For Each cell In Selection > cell.Value = " " & cell.Value > cell.Value = Right(cell.Value, Len(cell.Value) - 1) > Next > End Sub > run as a macro inside of Excel. Of course if this is to be generic, any > given spreadsheet will not have this macro inside of it so I will have to > insert the macro. Further I have to add code to select a given range, then > run this code. > Several years ago, when I lived in Mexico, I did a bunch of formatting of > Excel. What I did in that case was to build a workbook in which I created > my macros. I then copied the workbook to a new name, imported the > worksheet(s) that needed formatting, and then ran the formatting macros. I > could do the same thing here but I would prefer to have code stored inside > of Access, open the spreadsheet that needs this process performed on it, > insert a module with the code, select the area, and run the macro. > If this sounds like a major PITA to fix a bug in Excel / Access interaction, > I couldn't agree more. But we do what we have to do. BTW, I have also seen > dates with similar problems A data column looks prefect inside of Excel, > but when linked and viewed inside of Access, some dates are hosed. The > problem is exactly the same, they are text. > Before I go off re-inventing the wheel, does anyone have code for doing > anything similar? Pieces for doing parts of what I am trying to do? > Interest in working with me to jointly solve this problem? From michael.mattys at adelphia.net Fri Mar 21 14:05:00 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri Mar 21 14:05:00 2003 Subject: [AccessD] OT: Excel 97 Macro References: <18843197865.20030321205933@cactus.dk> Message-ID: <015f01c2efe5$ce4edfa0$6401a8c0@default> ... a strange silence came over the room ... like the calm before a storm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: "John W. Colby" Sent: Friday, March 21, 2003 2:59 PM Subject: Re: [AccessD] OT: Excel 97 Macro > Hi John > > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? From snegus at doulosenterprises.com Fri Mar 21 14:12:00 2003 From: snegus at doulosenterprises.com (Stephen Negus) Date: Fri Mar 21 14:12:00 2003 Subject: [AccessD] Mouse Pointer References: <20030320180001.15957.78722.Mailman@databaseadvisors.com> Message-ID: <002801c2efe6$15503610$0c21fea9@OneVoiceLaptop> Thanks William, that did the trick... Stephen ---------------------------------------------------------------- Stephen Negus Doulos Enterprises snegus at doulosenterprises.com www.doulosenterprises.com > From: "William Hindman" > To: > Subject: Re: [AccessD] Mouse Pointer > Date: Thu, 20 Mar 2003 09:19:30 -0500 > Reply-To: accessd at databaseadvisors.com > > ...the pointing finger code is here ...HTH :) > > http://www.mvps.org/access/api/api0044.htm > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > ----- Original Message ----- > From: "Michael R Mattys" > To: > Sent: Thursday, March 20, 2003 9:24 AM > Subject: Re: [AccessD] Mouse Pointer > > > > Stephen > > > > 1 Normal Select (Arrow) > > 3 Text Select (I-Beam) > > 7 Vertical Resize (Size N, S) > > 9 Horizontal Resize (Size E, W) > > 11 Busy (Hourglass) > > > > Mike Mattys > > > > ----- Original Message ----- > > From: "Stephen Negus" > > To: "AccessD" > > Sent: Thursday, March 20, 2003 8:55 AM > > Subject: [AccessD] Mouse Pointer > > > > > > > Hi List, > > > > > > Does anyone know if there is a number to use for the "pointing finger" > > mouse > > > pointer in the following line of code... > > > > > > screen.mousepointer = ?? > > > > > > (For example, screen.mousepointer = 11 displays the hourglass) > > > > > > Thanks, > > > > > > Stephen Negus > > > > > > ---------------------------------------------------------------- > > > Stephen Negus > > > Doulos Enterprises > > > snegus at doulosenterprises.com > > > www.doulosenterprises.com From wdhindman at bellsouth.net Fri Mar 21 14:15:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri Mar 21 14:15:01 2003 Subject: [AccessD] OT-Thought this was funny.... References: Message-ID: <004101c2efe6$976dd7b0$6101a8c0@amd2k512> "And, yes, I am a blonde!" John Clark ...'nuff said ...'splains it all! :)))))) William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "John Clark" To: Sent: Friday, March 21, 2003 11:58 AM Subject: Re: [AccessD] OT-Thought this was funny.... > Computer Performance May Decrease After You Download Programs from the > Internet ? > > Y'all must be especially ticklish, because I just don't get it! And, > yes, I am a blonde! > > >>> wdhindman at bellsouth.net 03/21/03 08:55AM >>> > ...still there when I look :) > http://support.microsoft.com/default.aspx?scid=kb;en-us;276283 > > William Hindman > "The tree of liberty only grows when watered by the blood of tyrants. > "Bertrand Bar?re de Vieuzac--a Frenchman > > > Not Available at This Time. > > > > --- Drew Wutka wrote: > > > Just take a look at the 'title' for Microsoft's KB > > > Article 276283. Just > > > tickled my funny bone, and had to share! > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Mar 21 14:43:00 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 14:43:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB From artful at rogers.com Fri Mar 21 14:44:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 14:44:01 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: <009c01c2efea$936d3a30$8e01a8c0@Rock> It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... >> 2. I have yet to find a book that explains treeviews. Arthur Fuller wrote an article about it awhile back and it is the best I have seen. Thanks for the praise, Jim. I wish I could say that I understood treeviews! I'm still stumped by several aspects of them, in particular, how to get the image list working right. In case anyone knows how, I'd happily roll your instructions into an update of my previous article. Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson Sent: March 21, 2003 9:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 21 14:45:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri Mar 21 14:45:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: Message-ID: <009d01c2efea$af7cc290$8e01a8c0@Rock> Thanks! That's a good start. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: March 21, 2003 1:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, In VB it depends on the size of the font for the text in the Treeview. I typically use 16x16 with 10-12 pt font. If you use 32x32 you end up with a big icon that looks out of place with the smaller fonts. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> artful at rogers.com 21-Mar-03 12:21:25 PM >>> On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 21 14:54:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 14:54:00 2003 Subject: [AccessD] Tech books ... Message-ID: Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust From klk at ksu.edu Fri Mar 21 14:56:00 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Fri Mar 21 14:56:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <008401c2efce$4d3beeb0$8e01a8c0@Rock> Message-ID: <001501c2efec$34ccea00$c35b8281@current> Arthur, You are correct in this. Add the ImageList Control at design time, but do not assign the .ImageList property on the treeview at design time, instead use a line similar to: Set tvNavigate.ImageList = imlImages.Object in code to assign that value early on. This is due to a memory leak in the control. Keith L. Kovala > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, March 21, 2003 11:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > > Thanks for that and I'll gladly give it a try. I seem to > recall something about a bug in planting the image control on > an Access form at design time; and that the alleged solution > is to add it in code instead. But I could just be having a > senior moment. > > On the purely cosmetic side, what's the ideal size for the > images in said list? I have a program called IconSucker and I > have used it to suck some icons, but they seem to be in > different sizes and shapes. What would you suggest in that regard? > > One step removed from cosmetic is the use of the image to > indicate something even before the user clicks on the node, > for example, in a list of > customers->orders->>order items, customers whose expenditures in the > customers->orders->>past > year > $5K get a special image in the list ($$$ :-), while > the common rabble get nothing but a file folder. > > But you've given me the nudge I needed to do some > woodshedding :-) Thank God for unemployment (at least until > the end of the month). > > > Arthur > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: March 21, 2003 11:46 AM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Tech books ... > > > I have never used a Treeview in Access, but in VB, you just > put the image control onto the form. Then add the images. > Then to change the image on a node, just set it's image > property to the images 'index' in the image list. > > Drew > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Fri Mar 21 14:57:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 14:57:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: John, Are you are behind in installing SPs? IIRC this problem was solved with one of the SPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday 2003 Mar 21 14:48 To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB From john at winhaven.net Fri Mar 21 14:59:00 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 14:59:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Never mind, I found it - (I couldn't find it with MSDN's own search until I googled it) -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Friday, March 21, 2003 2:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Mar 21 15:06:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri Mar 21 15:06:00 2003 Subject: [AccessD] Tech books ... Message-ID: Volume 1 #2, Sept 2001 http://www.databaseadvisors.com/newsletters/news0109.htm Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 21-Mar-03 3:53:47 PM >>> Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Mar 21 15:06:18 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 15:06:18 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Hmm.....I've spent the last year developing an Access/Excel Planning/financial reporting system currently being used by a 150 store, 400 million sales company. This includes creating Excel planning templates (with store history)from within Access. After the templates are completed the finished plan data is uploaded back into Access. The system also includes downloading historical/plan/forecast data from linked AS400 tables into Excel spreadsheets for board reports, downloading into pivot tables, consolidations, etc. It seems to me the Access books don't discuss in depth techniques for interacting with Excel. The Excel books are no better. They all have the obligatory "Access/Excel can be used with other office products" chapter and a little obligatory code. My idea is to write a book discussing techniques for using Excel with Access. I would use my system as the example and include the whole thing on the book's disk. The problem, as Tom points out, is that you can't very well teach all of Access and Excel and cover the system's code techniques in a single book. Do any of you think there would be any interest in a book like this or is it overkill? Would anyone be interested in a Access based planning and financial reporting system? Susan, any thoughts? Jim Hale -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 21 15:06:29 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri Mar 21 15:06:29 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <015f01c2efe5$ce4edfa0$6401a8c0@default> Message-ID: lol. Charlotte is the one that should be sputtering. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Friday, March 21, 2003 3:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Excel 97 Macro ... a strange silence came over the room ... like the calm before a storm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: "John W. Colby" Sent: Friday, March 21, 2003 2:59 PM Subject: Re: [AccessD] OT: Excel 97 Macro > Hi John > > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2068 bytes Desc: not available URL: From CWortz at tea.state.tx.us Fri Mar 21 15:09:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri Mar 21 15:09:00 2003 Subject: [AccessD] Tech books ... Message-ID: Thanks. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday 2003 Mar 21 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Volume 1 #2, Sept 2001 http://www.databaseadvisors.com/newsletters/news0109.htm Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 21-Mar-03 3:53:47 PM >>> Arthur, Volume and Issue number please. I cannot find it in any issues of M:M that I have received. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday 2003 Mar 21 14:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... It's in M:M. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 21, 2003 1:31 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Arthur, I missed your treeview article. Do you have a link to it? Charlotte Foust From martyconnelly at shaw.ca Fri Mar 21 15:10:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 21 15:10:00 2003 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7B7FA8.1050501@shaw.ca> I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library database >and the application database just realized that it couldn't use email. >In AXP, the breakage affects the application database, not just the >library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Fri Mar 21 15:11:01 2003 From: john at winhaven.net (John Bartow) Date: Fri Mar 21 15:11:01 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Nope. -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 21, 2003 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] cpu usagage 100% John, Are you are behind in installing SPs? IIRC this problem was solved with one of the SPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday 2003 Mar 21 14:48 To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 21 15:16:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri Mar 21 15:16:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Message-ID: <1048281313.3e7b80e18764f@hosea.qub.ac.uk> Yeah but are there 20000 people out there who want to spend $50 to read it. You write what the publishers will apy for and they will pay for what sells. If they felt there was a market for the book then they would go with it. Writing a book even a beginners books is no easy task. Martin Quoting "Hale, Jim" : > developers - > and sometimes they > will be doing other apps - eg. Excel to Access > > > Hmm.....I've spent the last year developing an Access/Excel > Planning/financial reporting system currently being used by a 150 store, > 400 > million sales company. This includes creating Excel planning > templates > (with store history)from within Access. After the templates are > completed > the finished plan data is uploaded back into Access. The system also > includes downloading historical/plan/forecast data from linked AS400 > tables > into Excel spreadsheets for board reports, downloading into pivot > tables, > consolidations, etc. > > It seems to me the Access books don't discuss in depth techniques for > interacting with Excel. The Excel books are no better. They all have > the > obligatory "Access/Excel can be used with other office products" chapter > and > a little obligatory code. My idea is to write a book discussing > techniques > for using Excel with Access. I would use my system as the example and > include the whole thing on the book's disk. The problem, as Tom points > out, > is that you can't very well teach all of Access and Excel and cover > the > system's code techniques in a single book. Do any of you think there > would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? > Susan, > any thoughts? > Jim Hale > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your > books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of > making it). > 1. Have a few overly documented examples if you will - but include a > bunch > of heavy duty > code for examples for the advanced programmers - with little or > no > comments. The documented > examples in books are usually too simple to be very useful. Real > code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid > almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them > my first born child (I > know, I know - she's a teenager and that's a punishment worse > than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Fri Mar 21 15:50:00 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri Mar 21 15:50:00 2003 Subject: [AccessD] Tech books ... Message-ID: It never made M:M. Instead, check Downloads: http://www.databaseadvisors.com/downloads/index.htm Hen >From: "Arthur Fuller" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Tech books ... >Date: Fri, 21 Mar 2003 15:43:49 -0500 > >It's in M:M. > >"Those who would sacrifice liberty for security deserve neither." >-- Benjamin Franklin > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: March 21, 2003 1:31 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Tech books ... > > >Arthur, > >I missed your treeview article. Do you have a link to it? > >Charlotte Foust > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Friday, March 21, 2003 7:25 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Tech books ... > > > >> 2. I have yet to find a book that explains treeviews. Arthur Fuller >wrote an article about it awhile back and it is the best I have seen. > >Thanks for the praise, Jim. I wish I could say that I understood treeviews! >I'm still stumped by several aspects of them, in particular, how to get the >image list working right. In case anyone knows how, I'd happily roll your >instructions into an update of my previous article. > >Arthur > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com] On Behalf Of Jim Hewson >Sent: March 21, 2003 9:54 AM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Tech books ... > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From harkins at iglou.com Fri Mar 21 16:14:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 16:14:00 2003 Subject: [AccessD] Tech books ... References: Message-ID: <024a01c2eff7$21241a90$364afccc@SusanOne> http://www.databaseadvisors.com/newsletters/0109UsingTreeViews.htm yes it did :) Susan H. > It never made M:M. Instead, check Downloads: > > http://www.databaseadvisors.com/downloads/index.htm From harkins at iglou.com Fri Mar 21 16:14:21 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 16:14:21 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C2FD3@corp-es00> Message-ID: <024b01c2eff7$21fcee60$364afccc@SusanOne> Do any of you think there would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? Susan, > any thoughts? > Jim Hale =============Jim, I don't know. If you're serious about it, I'll help you work it through the synopsis and toc process and help you put before some publishers. Can't hurt. Susan H. From jim.hale at fleetpride.com Fri Mar 21 16:56:01 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 16:56:01 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3013@corp-es00> Thanks. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 21, 2003 4:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Tech books ... Do any of you think there would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? Susan, > any thoughts? > Jim Hale =============Jim, I don't know. If you're serious about it, I'll help you work it through the synopsis and toc process and help you put before some publishers. Can't hurt. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Fri Mar 21 16:56:44 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 16:56:44 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> That, of course, is the real question. Many things never get done because they've never been done, an infinite loop until some writer/publisher has the courage (or temporary insanity spell)to give it a go. If it works, presto, a dozen "me toos" appear. Seriously, in this case I've seen few Access/Excel how-toos for financial power user types. Most Access books are either written for the rank begineer ("here is a table, it is your friend") or computer professionals ("here is the code for generating a faster than light engine with modules that take advantage of the undocumented 5th and 6th dimensions of the windows API"). There are a LOT of financial types who are using Excel to produce financial reports who are constantly yearning for more power. Maybe I could help lead them to the promised land (for a fee of course) :-)) Jim H -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Friday, March 21, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Yeah but are there 20000 people out there who want to spend $50 to read it. You write what the publishers will apy for and they will pay for what sells. If they felt there was a market for the book then they would go with it. Writing a book even a beginners books is no easy task. Martin Quoting "Hale, Jim" : > developers - > and sometimes they > will be doing other apps - eg. Excel to Access > > > Hmm.....I've spent the last year developing an Access/Excel > Planning/financial reporting system currently being used by a 150 store, > 400 > million sales company. This includes creating Excel planning > templates > (with store history)from within Access. After the templates are > completed > the finished plan data is uploaded back into Access. The system also > includes downloading historical/plan/forecast data from linked AS400 > tables > into Excel spreadsheets for board reports, downloading into pivot > tables, > consolidations, etc. > > It seems to me the Access books don't discuss in depth techniques for > interacting with Excel. The Excel books are no better. They all have > the > obligatory "Access/Excel can be used with other office products" chapter > and > a little obligatory code. My idea is to write a book discussing > techniques > for using Excel with Access. I would use my system as the example and > include the whole thing on the book's disk. The problem, as Tom points > out, > is that you can't very well teach all of Access and Excel and cover > the > system's code techniques in a single book. Do any of you think there > would > be any interest in a book like this or is it overkill? Would anyone be > interested in a Access based planning and financial reporting system? > Susan, > any thoughts? > Jim Hale > > -----Original Message----- > From: Tom Adams [mailto:tomadatn at bellsouth.net] > Sent: Friday, March 21, 2003 8:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Tech books ... > > > To the whizzes that write books in this list. > > A recent post that said they learned better from examples than from > reading > books brought up a point I've been meaning to make. I > know the publishers push you to include all Access user levels in your > books > so more will sell. However that means that 80% of the > book is useless for moderate to advanced readers. > > There are two points I'd like to point out (neither of which has a > chance of > making it). > 1. Have a few overly documented examples if you will - but include a > bunch > of heavy duty > code for examples for the advanced programmers - with little or > no > comments. The documented > examples in books are usually too simple to be very useful. Real > code > will teach most > developers without the comments. > > 2. As there are millions of Excel and Access power users through > developers > - and sometimes they > will be doing other apps - eg. Excel to Access, Excel to VB, Access > to > VB and/or VB to Access, > Access to Sql Server and Sql Server to Jet - consider writing a > From X > to Y Dictionary. Eg. > From Access to VB, From Jet to Sql Server, etc. > > I've moved into VB for the last 6 months and would have paid > almost > anything for an Access to Vb > book. Eg. Combo Box. What a pain in VB. Can't tell you how long > this > took me to figure out. > Makes me want to find one of the Access guys at Microsoft and give > them > my first born child (I > know, I know - she's a teenager and that's a punishment worse > than > death to inflict on anyone but > the thought is grateful.) > > I find that I know exactly what I want to do in Access but the > differences are often difficult to figure > out. > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Fri Mar 21 17:20:00 2003 From: chizotz at charter.net (Ron Allen) Date: Fri Mar 21 17:20:00 2003 Subject: [AccessD] Tech books ... In-Reply-To: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> Message-ID: <17811450968.20030321171949@charter.net> HJ> There are a LOT of financial types who are using Excel to produce financial HJ> reports who are constantly yearning for more power. Jim, I just wanted to tell you, I have made a career out of that very fact. I got my start in this field when a manager wanted to do database work using Excel because she didn't know anything else, and I was in the right place at the right time to say, "excuse me, have you considered...?" Changed my life, it did. Yes, there are _lots_ of financial types out there who would like more powerful and/or more appropriate solutions to their daily problems. Many are not even aware of what Access is and how they can benefit from it. Good luck. Ron From harkins at iglou.com Fri Mar 21 17:34:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri Mar 21 17:34:00 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> Message-ID: <027801c2f002$4ace7380$364afccc@SusanOne> > Yes, there are _lots_ of financial types out there who would like more > powerful and/or more appropriate solutions to their daily problems. > Many are not even aware of what Access is and how they can benefit > from it. > =========Sounds like a market for templates and drop-in modules. Susan H. From jim.hale at fleetpride.com Fri Mar 21 17:59:01 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri Mar 21 17:59:01 2003 Subject: [AccessD] Tech books ... Message-ID: <869379ABF177D4118D3100508B5EF873057C3023@corp-es00> Definately. Something along the lines of "MBA's Guide to MS Excel 2002" or Walkenbach's "Excel 2000 formulas" only more powerful. Jim H -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, March 21, 2003 5:34 PM To: accessd at databaseadvisors.com Subject: Re: Re[2]: [AccessD] Tech books ... > Yes, there are _lots_ of financial types out there who would like more > powerful and/or more appropriate solutions to their daily problems. > Many are not even aware of what Access is and how they can benefit > from it. > =========Sounds like a market for templates and drop-in modules. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Mar 21 18:35:00 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri Mar 21 18:35:00 2003 Subject: [AccessD] cpu usagage 100% Message-ID: John, I had the same problem after installing an HP multi-function printer (k series). The CPU and printer were constantly communicating back and forth, taking up all of the RAM. Have you recently installed a new printer? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From martyconnelly at shaw.ca Fri Mar 21 20:26:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri Mar 21 20:26:00 2003 Subject: [AccessD] Tech books ... References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> <027801c2f002$4ace7380$364afccc@SusanOne> Message-ID: <3E7BC9A1.5090405@shaw.ca> An HTML attachment was scrubbed... URL: From accessd at shaw.ca Fri Mar 21 22:16:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri Mar 21 22:16:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Hi John: No, its a feature and it works on all Windows O/S regardless of the amount of memory or Mhz. Jim -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Bartow Sent: Friday, March 21, 2003 12:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sat Mar 22 01:26:00 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat Mar 22 01:26:00 2003 Subject: [AccessD] OT Wrox Press In-Reply-To: <001601c2efcf$05a6a030$6400000a@dogbert2k> References: <001601c2efcf$05a6a030$6400000a@dogbert2k> Message-ID: <1048317940.3e7c0ff469416@hosea.qub.ac.uk> Apologies for this OT. This information is intended for any list member who worked for Wrox Press as either an Editor or Author. I didnt contact people directly as some list members may do Technical Edit work for the company in addition to those of us under contract to them. This who worked for Wrox will find the following useful. It is a support list for Wrox Authors etc and contains useful information on whats happening. http://www.flash-mx.com/foedsupport If you know of anyone else who will benefit from this, please feel free to pass along the URL. An archive of the messages can be found at: http://www.flash-mx.com/foedsupport/archive.cfm Martin From tomadatn at bellsouth.net Sat Mar 22 02:31:00 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Sat Mar 22 02:31:00 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> Message-ID: <003201c2f05e$6fe66f40$0000fea9@tomvideo> Anybody have any code on automating duplex printing? Do you even know what duplex printing is? I don't. Doing this for a friend who's trying to make a living with an inexpensive vertical app. Thanks - Tom ----- Original Message ----- From: "D Cook" To: Sent: Saturday, June 28, 2003 11:33 AM Subject: [AccessD] more on printing > > On behalf of William Hindman, who's posts don't seem to be getting through. > > Donna > > Susan > > ...if you do this from code then you may need to look into using three > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > default printer if none is specified in the report properties ...but you can > use OpenReport to preview the report, PrtDevNames to select an available > printer, and PrintOut to select its properties such as copies to print, > print range, print quality, etc. ...in other words it is possible to use the > full range of available printers and their capabilities from code ...HTH :) > > William Hindman > > ----- Original Message ----- > From: "Susan Harkins" > > To: > > Sent: Thursday, February 27, 2003 11:34 PM > Subject: [AccessD] more on printing > > > > After setting all the appropriate Printer properties and choosing a > > nondefault printer, how do you actually print a report? Will the > OpenReport > > method print to the set printer or always print to the default printer? > > > > Susan H. > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Sat Mar 22 03:09:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat Mar 22 03:09:01 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> <003201c2f05e$6fe66f40$0000fea9@tomvideo> Message-ID: <000801c2f052$b5c498e0$6101a8c0@amd2k512> Tom ...kb 284286 has working code for setting the AXP printer object to duplex and resetting it to the defaults ...works fine for me on Minolta and HP printers with built-in duplexing capabilities ...HTH :) William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Tom Adams" To: Sent: Saturday, March 22, 2003 5:32 AM Subject: Re: [AccessD] more on printing > Anybody have any code on automating duplex printing? > > Do you even know what duplex printing is? I don't. > > Doing this for a friend who's trying to make a living with an > inexpensive vertical app. > > Thanks - Tom > > > > ----- Original Message ----- > From: "D Cook" > To: > Sent: Saturday, June 28, 2003 11:33 AM > Subject: [AccessD] more on printing > > > > > > On behalf of William Hindman, who's posts don't seem to be getting through. > > > > Donna > > > > Susan > > > > ...if you do this from code then you may need to look into using three > > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use the > > default printer if none is specified in the report properties ...but you can > > use OpenReport to preview the report, PrtDevNames to select an available > > printer, and PrintOut to select its properties such as copies to print, > > print range, print quality, etc. ...in other words it is possible to use the > > full range of available printers and their capabilities from code ...HTH :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Susan Harkins" > > > To: > > > Sent: Thursday, February 27, 2003 11:34 PM > > Subject: [AccessD] more on printing > > > > > > > After setting all the appropriate Printer properties and choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default printer? > > > > > > Susan H. > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From andy at minstersystems.co.uk Sat Mar 22 03:23:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat Mar 22 03:23:01 2003 Subject: [AccessD] more on printing In-Reply-To: <003201c2f05e$6fe66f40$0000fea9@tomvideo> Message-ID: <005501c2f054$1e0eca00$b274d0d5@andypc> Duplex = printing on both sides Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Tom Adams > Sent: 22 March 2003 10:32 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] more on printing > > > Anybody have any code on automating duplex printing? > > Do you even know what duplex printing is? I don't. > > Doing this for a friend who's trying to make a living with an > inexpensive vertical app. > > Thanks - Tom > > > > ----- Original Message ----- > From: "D Cook" > To: > Sent: Saturday, June 28, 2003 11:33 AM > Subject: [AccessD] more on printing > > > > > > On behalf of William Hindman, who's posts don't seem to be getting > > through. > > > > Donna > > > > Susan > > > > ...if you do this from code then you may need to look into > using three > > methods to accomplish all you want ...in XP, > DoCmd.OpenReport will use > > the default printer if none is specified in the report properties > > ...but you can use OpenReport to preview the report, PrtDevNames to > > select an available printer, and PrintOut to select its properties > > such as copies to print, print range, print quality, etc. > ...in other > > words it is possible to use the full range of available > printers and > > their capabilities from code ...HTH :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Susan Harkins" > > > To: > > > > Sent: Thursday, February 27, 2003 11:34 PM > > Subject: [AccessD] more on printing > > > > > > > After setting all the appropriate Printer properties and > choosing a > > > nondefault printer, how do you actually print a report? Will the > > OpenReport > > > method print to the set printer or always print to the default > > > printer? > > > > > > Susan H. > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From Erwin.Craps at ithelps.be Sat Mar 22 04:11:00 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat Mar 22 04:11:00 2003 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <104AB6116A2DD511A7580008C7097A982195B0@AARDBEI> Hi I already have a archive system for archiving outgooing emails and word doucments from an access database. But I need some archiving for Incoming correspondence to. I believe the only way to achief this is to have a sort of drag and drop function. The user should be able to drag a document from the explorer or from inside an email but also an e-mail itself to a form in access where a specific customer is already selected. This when dropping the object o this customer, access will save the object (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer related record with the filename into the archive table. What I'm basicly asking for is some easy or advanced code to see how the drag and drop works between Outlook/Explorer and Access and how I need to save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). The document archiving system I already have, but I never used a drag and drop functionality... Thx Erwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sat Mar 22 04:37:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 04:37:00 2003 Subject: [AccessD] Access and Excel for financial reporting (was: Tech books ...) In-Reply-To: <17811450968.20030321171949@charter.net> References: <869379ABF177D4118D3100508B5EF873057C3014@corp-es00> <17811450968.20030321171949@charter.net> Message-ID: <1365865303.20030322113622@cactus.dk> Hi Ron So you might have some tips, methods and smart solutions to share ...? /gustav HJ>> There are a LOT of financial types who are using Excel to produce financial HJ>> reports who are constantly yearning for more power. > I just wanted to tell you, I have made a career out of that > very fact. I got my start in this field when a manager wanted to do > database work using Excel because she didn't know anything else, and I > was in the right place at the right time to say, "excuse me, have you > considered...?" Changed my life, it did. From HollisVJ at pgdp.usec.com Sat Mar 22 08:13:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 08:13:00 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Sat Mar 22 08:27:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat Mar 22 08:27:00 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> Message-ID: <3E7CFF3E.9437.3863E3B@localhost> et > I have a search form that I would like to show the actual record opened in a > separate form when the number is clicked. > > The only problem, the search results list different types of documents so > clicking the number would require a different form to be opened based on the > number selected. The same type of documents begin with the same numbering > scheme. For example, service orders all being with Z, Reviews begin with > CPP, etc. Each type of document is different and has it's own screen because > they contain different data (so I can't use one screen for all results when > the number is clicked). > > The only thing I can think to base the results on is the numbering scheme? > If the number is like Z open service orders, if the number is Like CPP, open > the review form. > > Really not sure how I can do this or if it can be done? > > Virginia Set up a key table Z ; "frmServiceOrder" CPP ; "frmReview" etc Assuming you are using a continuous form and the document number is in txtDocument: Private Sub txtDocument_OnClick() Docmd.Openform DLookup("FormName","tblDocumentTypes",DocType like '" & txtDocument & "*'" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From HollisVJ at pgdp.usec.com Sat Mar 22 08:50:01 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 08:50:01 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF4@exchange.pgdp> Get the error: The action or argument requires a FormName. I made a table: tblDocumentTypes TypeID: Autonumber DocType: Z FormName: frmServiceOrder DocType: CPP Formname: frmReview Etc. DoCmd.OpenForm DLookup("FormName", "tblDocumentTypes", DocType Like "'" & [txtESO] & "*'") It is not a continuos form, it is a form & subform (subform set to form). -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Saturday, March 22, 2003 8:27 AM To: Hollis,Virginia; accessd at databaseadvisors.com Subject: Re: [AccessD] Open diff forms based on number et > I have a search form that I would like to show the actual record opened in a > separate form when the number is clicked. > > The only problem, the search results list different types of documents so > clicking the number would require a different form to be opened based on the > number selected. The same type of documents begin with the same numbering > scheme. For example, service orders all being with Z, Reviews begin with > CPP, etc. Each type of document is different and has it's own screen because > they contain different data (so I can't use one screen for all results when > the number is clicked). > > The only thing I can think to base the results on is the numbering scheme? > If the number is like Z open service orders, if the number is Like CPP, open > the review form. > > Really not sure how I can do this or if it can be done? > > Virginia Set up a key table Z ; "frmServiceOrder" CPP ; "frmReview" etc Assuming you are using a continuous form and the document number is in txtDocument: Private Sub txtDocument_OnClick() Docmd.Openform DLookup("FormName","tblDocumentTypes",DocType like '" & txtDocument & "*'" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sat Mar 22 08:53:01 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 22 08:53:01 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFEF@exchange.pgdp> Message-ID: <000401c2f082$9cb27130$8e01a8c0@Rock> Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Sat Mar 22 09:09:00 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Sat Mar 22 09:09:00 2003 Subject: [AccessD] Open diff forms based on number Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF5@exchange.pgdp> DocumentName:= Named argument not found. The one letter will work since only certain types begin with different prefixes, Z, C, F, etc. Z99999 CCP-9999-99 FPT-Z9999-001 -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 22, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open diff forms based on number Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Sat Mar 22 09:39:01 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Sat Mar 22 09:39:01 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <18843197865.20030321205933@cactus.dk> Message-ID: Gustav, Must have been mom. ;-) I used dbase and 123 back in the 80s but never got into them at anything close to this depth. In fact I should guess that automation as we know it didn't even exist. You mention Macro Sheets. I know about macro modules, which are just code modules as we have in Access. Are we talking about building up a macro library in a separate workbook and then referencing that workbook from another workbook, like we reference an MDA from another MDB? Knowing the little I know about dynamically setting references in a running Access App, I am not sure how to apply that to an Excel spreadsheet received from a client. These sheets have no code in them, or if they do that are not my code. IOW, I have to somehow insert a module or at least a macro into a module inside of the received sheet, even in order to get the code running that would link to my "library" workbook (assuming that this is even the strategy you are discussing). It seems that if I go to the bother of doing that, then I would just insert all of the code I needed (an entire module) into the target worksheet and just run it. Given the lack of specific response to my question I guess I'll dive in to trying to figure out how to do that process. Open a worksheet, insert a module, and run code. I have done everything except insert the module, but I suspect that process isn't too difficult. What would be nice is to know the ending row of the data. Does anyone know off the top of their head how to determine the max size (the largest row index) of a populated row? Remember I am working with what appears to be a table - fixed column count / fixed row count. What is the numbers of records in that table (as determined in Excel). I can always if necessary just link the table in and get a record count but it would be nice to figure it out in Excel. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 21, 2003 3:00 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4424 bytes Desc: not available URL: From harkins at iglou.com Sat Mar 22 09:48:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat Mar 22 09:48:01 2003 Subject: [AccessD] more on printing References: <001701c33dac$2b5e5ea0$9865fea9@cook> <003201c2f05e$6fe66f40$0000fea9@tomvideo> <000801c2f052$b5c498e0$6101a8c0@amd2k512> Message-ID: <034701c2f08a$5044bb70$364afccc@SusanOne> Also, if I'm not mistaken, a few of the Northwind XP reports use it -- try the catalog report or perhaps it's the alphabetical listing of products. There may be others. Susan H. > Tom > > ...kb 284286 has working code for setting the AXP printer object to duplex > and resetting it to the defaults ...works fine for me on Minolta and HP > printers with built-in duplexing capabilities ...HTH :) > > William Hindman > "We have gone forth from our shores repeatedly over the last 100 years > ...and put wonderful young men and women at risk, many of whom have lost > their lives, and we have asked for nothing except enough ground to bury them > in." Colin Powell > > ----- Original Message ----- > From: "Tom Adams" > To: > Sent: Saturday, March 22, 2003 5:32 AM > Subject: Re: [AccessD] more on printing > > > > Anybody have any code on automating duplex printing? > > > > Do you even know what duplex printing is? I don't. > > > > Doing this for a friend who's trying to make a living with an > > inexpensive vertical app. > > > > Thanks - Tom > > > > > > > > ----- Original Message ----- > > From: "D Cook" > > To: > > Sent: Saturday, June 28, 2003 11:33 AM > > Subject: [AccessD] more on printing > > > > > > > > > > On behalf of William Hindman, who's posts don't seem to be getting > through. > > > > > > Donna > > > > > > Susan > > > > > > ...if you do this from code then you may need to look into using three > > > methods to accomplish all you want ...in XP, DoCmd.OpenReport will use > the > > > default printer if none is specified in the report properties ...but you > can > > > use OpenReport to preview the report, PrtDevNames to select an available > > > printer, and PrintOut to select its properties such as copies to print, > > > print range, print quality, etc. ...in other words it is possible to use > the > > > full range of available printers and their capabilities from code ...HTH > :) > > > > > > William Hindman > > > > > > ----- Original Message ----- > > > From: "Susan Harkins" > > > > To: > > > > Sent: Thursday, February 27, 2003 11:34 PM > > > Subject: [AccessD] more on printing > > > > > > > > > > After setting all the appropriate Printer properties and choosing a > > > > nondefault printer, how do you actually print a report? Will the > > > OpenReport > > > > method print to the set printer or always print to the default > printer? > > > > > > > > Susan H. > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Sat Mar 22 10:12:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat Mar 22 10:12:00 2003 Subject: [AccessD] Open diff forms based on number In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECAFF5@exchange.pgdp> Message-ID: <001901c2f08d$bbf473d0$8e01a8c0@Rock> I knew I shouldn't have written it in Outlook! It's FormName not DocumentName. :-) "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Open diff forms based on number DocumentName:= Named argument not found. The one letter will work since only certain types begin with different prefixes, Z, C, F, etc. Z99999 CCP-9999-99 FPT-Z9999-001 -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 22, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open diff forms based on number Everything can be done, Virginia. Since the document-type prefixes seem to be different lengths, you'll have to examine each one separately. It would be more convenient if they were all the same length (i.e. CPP is equivalent to C since no other document type starts with C). Something like this: If Left(txtDocumentID1) = "Z" Then strFormName = "frmServiceOrders" strQuery = "ServiceID = " & txtDocumentID ElseIf Left(txtDocument, 3) = "CPP" Then strFormName = "frmReviews" strQuery = "ReviewID = " & txtDocumentID ElseIf ... etc. End If DoCmd.OpenForm DocumentName := strFormName, WhereCondition := strQuery HTH, Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 22, 2003 9:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Open diff forms based on number I have a search form that I would like to show the actual record opened in a separate form when the number is clicked. The only problem, the search results list different types of documents so clicking the number would require a different form to be opened based on the number selected. The same type of documents begin with the same numbering scheme. For example, service orders all being with Z, Reviews begin with CPP, etc. Each type of document is different and has it's own screen because they contain different data (so I can't use one screen for all results when the number is clicked). The only thing I can think to base the results on is the numbering scheme? If the number is like Z open service orders, if the number is Like CPP, open the review form. Really not sure how I can do this or if it can be done? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sat Mar 22 10:32:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 10:32:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <7027157961.20030322173115@cactus.dk> Hi John > Must have been mom. ;-) All right. > I used dbase and 123 back in the 80s but never got into them at anything > close to this depth. In fact I should guess that automation as we know it > didn't even exist. > You mention Macro Sheets. I know about macro modules, which are just code > modules as we have in Access. Are we talking about building up a macro > library in a separate workbook and then referencing that workbook from > another workbook, like we reference an MDA from another MDB? > Knowing the little I know about dynamically setting references in a running > Access App, I am not sure how to apply that to an Excel spreadsheet received > from a client. These sheets have no code in them, or if they do that are > not my code. IOW, I have to somehow insert a module or at least a macro > into a module inside of the received sheet, even in order to get the code > running that would link to my "library" workbook (assuming that this is even > the strategy you are discussing). It seems that if I go to the bother of > doing that, then I would just insert all of the code I needed (an entire > module) into the target worksheet and just run it. > Given the lack of specific response to my question I guess I'll dive in to > trying to figure out how to do that process. Open a worksheet, insert a > module, and run code. I have done everything except insert the module, but > I suspect that process isn't too difficult. You can apply addins or references to a workbook and I guess dynamically too but I haven't worked with that. My suggestion (which works very well for me) is to let the macro workbook open and manipulate the workbook(s) with data and/or formatting. Look at my code snippet again which runs in the macro workbook: [snip] ' Open file with statistics as template. Set wkbPeriod = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate [snip] wkbPeriod is the workbook to manipulate. All preformatting is done in the template cstrWorkbookForm so only formatting etc. specific to this single dataset has to be carried out. This saves a lot of work and code. As the first task (shown above) wkbPeriod is saved to a working file which later will be the finished workbook. wkbPeriodData is another workbook which carries all the data to be filled into wkbPeriod. The data workbook could be your customer data. For my task it also contains a "system"-sheet. Sheets and/or Named Ranges in wkbPeriodData are linked as tables to my Access app which means that all data can be collected and calculated in Access prior to calling the macro workbook and performing the formatting etc. in Excel. The complete function I use is quite complicated and very specific - I can only understand it through my comments - and will rather bring confusion than help to you. I know this can be done in a lot of other ways. The great thing, however, is that the clear separation between data, code and basic formatting makes debugging if not simple then much easier. /gustav > Don't you regularly brag of your experience with old DOS applications > like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? > Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate > macro sheets to keep code separated from data. > You can do the same in Excel - it's like the Named Ranges - it's a > splendid feature but only few use it. > The additional advantage is that your macro workbook can stay > protected if you write protect the file. > Here's a snippet from the start of a main function called from Access > (as you learnt me). > Access opens the macro book and runs this macro. This macro opens a > template and another workbook (with data only), then saves the > template as a temporary workbook which the function then manipulates: > --- > ' Filenames of standard workbooks. > Public Const cstrWorkbookForm As String = "PeriodForm.xls" > Public Const cstrWorkbookData As String = "PeriodData.xls" > Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" > Public Const cstrWorkbookSend As String = "PeriodSend.xlt" > Public Const cstrWorkbookDist As String = "PeriodSend.xls" > [snip] > Function CreateSurvey() As Boolean > Const cstrWorksheetName As String = "Survey" > ' Maximum length of name for a sheet. > Const cbytWorksheetNameLen As Byte = 31 > Dim wkb As Workbook > Dim wkbPeriod As Workbook > Dim wkbPeriodData As Workbook > Dim wks As Worksheet > Dim rng As Range > Dim rngGroups As Range > Dim rngFormat As Range > Dim rngData As Range > Dim rngTxtHeader As Range > Dim rngTxtPeriod As Range > Dim rngTxtPeriodData As Range > Dim rngTxtSeason As Range > Dim rngTxtSeasonData As Range > [snip] > With Application > ' Disable automatic recalculation and screen updating. > .Calculation = xlCalculationManual > .ScreenUpdating = False > End With > ' For debugging only. > With Application > ' .Visible = True > ' .ScreenUpdating = True > End With > ' Close all files except the first if more than one should be open. > Call CloseOtherWorkbooks(False) > strPath = ActiveWorkbook.Path > ' Open file with statistics as template. > Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) > ' This is used by DLookupSystem(): > Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & > cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) > Application.DisplayAlerts = False > strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp > ' Save statistics in temporary file in the smaller Excel5-format. > wkbPeriod.SaveAs strPathFileName, xlExcel5 > Application.DisplayAlerts = True > wkbPeriod.Activate > ' Set ranges. > Set rngGroups = Range("xlsGroupInterval") > Set rngFormat = Range("FormatHeader") > Set rngData = Range("xlsSurvey") > Set rngTxtHeader = Range("TextHeader") > Set rngTxtPeriod = Range("TextPeriod") > Set rngTxtPeriodData = Range("TextPeriodData") > Set rngTxtSeason = Range("TextSeason") > Set rngTxtSeasonData = Range("TextSeasonData") > [snip] > Run formatting code ... > --- > Finally (cut away from this example, no big deal) the finished range > in the temporary workbook is copied into an empty template workbook - > clean with no code or left-over data - and saved as the finished > workbook. From gustav at cactus.dk Sat Mar 22 11:41:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat Mar 22 11:41:00 2003 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: References: Message-ID: <8331283913.20030322184001@cactus.dk> Hi John > What would be nice is to know the ending row of the data. Does anyone know > off the top of their head how to determine the max size (the largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav From john at winhaven.net Sat Mar 22 12:49:00 2003 From: john at winhaven.net (John Bartow) Date: Sat Mar 22 12:49:00 2003 Subject: [AccessD] cpu usagage 100% In-Reply-To: Message-ID: Nope. Here is a readable rewrite of the MSDN article that explains the problem: http://www.irmsonline.com/irmskb/access_shows_100_percent_cpu_usage.htm JB -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Friday, March 21, 2003 6:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] cpu usagage 100% John, I had the same problem after installing an HP multi-function printer (k series). The CPU and printer were constantly communicating back and forth, taking up all of the RAM. Have you recently installed a new printer? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at brougham.co.uk Sat Mar 22 13:19:01 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Sat Mar 22 13:19:01 2003 Subject: [AccessD] LISTMASTER MESSAGE- Maintenance for 1 hour Message-ID: <02dc01c2f0a7$d0aeb370$253c98d5@brougham.info> LISTMASTER MESSAGE- Maintenance for 1 hour The Lists will be unavailable for a duration of approximately one hour to allow upgrading of the list software. During this time, the archives and list administration interfaces will be unavailable. Messages will be delayed but your ISP's will retry sending them when the server is available again. Thank you for your cooperation. Brougham From Lembit.Soobik at t-online.de Sun Mar 23 04:19:55 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sun, 23 Mar 2003 11:19:55 +0100 Subject: [AccessD] testing References: Message-ID: <003f01c2f125$c03f40d0$0300a8c0@S856> test Lembit Soobik From wdhindman at bellsouth.net Sun Mar 23 04:52:31 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 23 Mar 2003 05:52:31 -0500 Subject: [AccessD] testing References: <003f01c2f125$c03f40d0$0300a8c0@S856> Message-ID: <001b01c2f12a$4defd940$6101a8c0@amd2k512> untest William Hindman "We have gone forth from our shores repeatedly over the last 100 years ...and put wonderful young men and women at risk, many of whom have lost their lives, and we have asked for nothing except enough ground to bury them in." Colin Powell ----- Original Message ----- From: "Lembit Soobik" To: Sent: Sunday, March 23, 2003 5:19 AM Subject: [AccessD] testing > test > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 04:57:12 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 11:57:12 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231157.AA00328@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From andy at minstersystems.co.uk Sun Mar 23 05:31:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 23 Mar 2003 11:31:25 -0000 Subject: [AccessD] email ontvangst bevestiging In-Reply-To: <10303231157.AA00328@oop.nl> Message-ID: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Well now we're getting stuff like this. I have NO idea what I'm supposed to do, or if, how, or when etc etc. What the b****y hell is going on? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oop! Software & Computers > Sent: 23 March 2003 10:57 > To: accessd at databaseadvisors.com > Subject: [AccessD] email ontvangst bevestiging > > > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl > > Met vriendelijke groet > Oop! software & Computers > www.oop.nl > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 05:40:29 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 12:40:29 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231240.AA02476@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Lembit.Soobik at t-online.de Sun Mar 23 05:46:59 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sun, 23 Mar 2003 12:46:59 +0100 Subject: [AccessD] email ontvangst bevestiging References: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Message-ID: <00e101c2f132$4c063810$0300a8c0@S856> as far as I found out, marcel's mailbox is overflown and I think his mail is forwarded to an address which sends automated responses. unfortunately our software was upgraded last night and the password changed. I am working to get Marcel unsubscribed. Lembit Soobik ----- Original Message ----- From: "Andy Lacey" To: Sent: Sunday, March 23, 2003 12:31 PM Subject: RE: [AccessD] email ontvangst bevestiging > Well now we're getting stuff like this. I have NO idea what I'm supposed > to do, or if, how, or when etc etc. What the b****y hell is going on? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Oop! Software & Computers > > Sent: 23 March 2003 10:57 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] email ontvangst bevestiging > > > > > > email ontvangst bevestiging > > > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > > verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl > > > > Met vriendelijke groet > > Oop! software & Computers > > www.oop.nl > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sun Mar 23 05:50:17 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 23 Mar 2003 11:50:17 +0000 (GMT) Subject: [AccessD] email ontvangst bevestiging In-Reply-To: <009a01c2f12f$bd1322a0$b274d0d5@andypc> References: <009a01c2f12f$bd1322a0$b274d0d5@andypc> Message-ID: <1048420217.3e7d9f793a6eb@hosea.qub.ac.uk> Andy asda ahs8yh kjak kjl kljl lkjl ;lklk e,mvasva Martin Could not resist LOL Quoting Andy Lacey : > Well now we're getting stuff like this. I have NO idea what I'm > supposed > to do, or if, how, or when etc etc. What the b****y hell is going on? > > Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Oop! Software & Computers > > Sent: 23 March 2003 10:57 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] email ontvangst bevestiging > > > > > > email ontvangst bevestiging > > > > Uw email is correct ontvangen, en zal zo spoedig mogelijk > > verwerkt worden. Voor support vragen kunt u mailen naar > support at oop.nl > > > > Met vriendelijke groet > > Oop! software & Computers > > www.oop.nl > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Sun Mar 23 05:55:14 2003 From: info at oop.nl (Oop! Software & Computers) Date: Sun, 23 Mar 2003 12:55:14 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303231255.AA00336@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From sgoodhall at comcast.net Sun Mar 23 20:45:52 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 23 Mar 2003 21:45:52 -0500 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <8331283913.20030322184001@cactus.dk> Message-ID: This construct works even if there is no data in A1. Sub TestUsedRange() Dim oUsed As Range, lLastRow As Long, lLastCol As Long Set oUsed = ThisWorkbook.Sheets(1).UsedRange lLastRow = oUsed.Cells.SpecialCells(xlCellTypeLastCell).Row lLastCol = oUsed.Cells.SpecialCells(xlCellTypeLastCell).Column Debug.Print lLastRow, lLastCol End Sub Steve Goodhall -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 22, 2003 12:40 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John > What would be nice is to know the ending row of the data. Does anyone know > off the top of their head how to determine the max size (the largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Sun Mar 23 20:50:25 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 03:50:25 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303240350.AA02240@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bbruen at bigpond.com Sun Mar 23 20:57:36 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon, 24 Mar 2003 13:57:36 +1100 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: <8331283913.20030322184001@cactus.dk> Message-ID: <000001c2f1b1$20c0b200$4f308690@bbb888> Gustav, Grabbed these off on old excel workbook of mine, cant remember whether they worked or whether they are what you're looking for but thought I'd send anyway. Bruce ------- This workbook contains an example of how to do range lookups when the range is not limited e.g. in a database list. It uses two functions LastRow() and ListRange() Lastrow(sheetname) returns the last row used on a sheet. Obviously the list must be contiguous and starting at row one. Listrange(sheetname, col) returns a range that can be acted on by other functions such as countif etc Since ListRange returns a string representing the range then the INDIRECT(Listrange) function is used to address the actual range) Public Function LastRow(sheetname As String) As String LastRow = Sheets(sheetname).UsedRange.Rows.Count End Function Public Function ListRange(sheetname As String, col As String) Dim endaddr As String endaddr = LastRow(sheetname) endaddr = col & "1:" & col & endaddr ListRange = Sheets(sheetname).Range(endaddr).Address(External:=True) End Function --------- -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, March 23, 2003 4:40 AM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John > What would be nice is to know the ending row of the data. Does anyone > know off the top of their head how to determine the max size (the > largest row > index) of a populated row? Remember I am working with what appears to be a > table - fixed column count / fixed row count. What is the numbers of > records in that table (as determined in Excel). I can always if necessary > just link the table in and get a record count but it would be nice to figure > it out in Excel. If you have nothing but data in that sheet and these are filled from cell A1, then you could use something like this: Dim rng As Range Set rng = ActiveWorkbook.Worksheets("Data").UsedRange Debug.Print rng.Rows.Count, rng.Columns.Count /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 From info at oop.nl Sun Mar 23 21:06:00 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 04:06:00 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303240406.AA01816@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Lembit.Soobik at t-online.de Mon Mar 24 02:16:32 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Mar 2003 09:16:32 +0100 Subject: [AccessD] OT: Excel 97 Macro References: <000001c2f1b1$20c0b200$4f308690@bbb888> Message-ID: <01cb01c2f1de$c0e56cd0$0300a8c0@S856> Dear listers, unfortunately during the software upgrade one part of software broke. It will be fixed soon, but while it is in a we will not mess with anything, that means the confirmation messages from Oop! software & Computers will keep comming. thanks for your patience Lembit Soobik ----- Original Message ----- From: "Bruce Bruen" To: Sent: Monday, March 24, 2003 3:57 AM Subject: RE: [AccessD] OT: Excel 97 Macro > Gustav, > > Grabbed these off on old excel workbook of mine, cant remember whether > they worked or whether they are what you're looking for but thought I'd > send anyway. > > Bruce > ------- > This workbook contains an example of how to do range lookups > when the range is not limited e.g. in a database list. > > > It uses two functions LastRow() and ListRange() > > Lastrow(sheetname) returns the last row used on a sheet. > Obviously the list must be contiguous and starting at row one. > > Listrange(sheetname, col) returns a range that can be acted on by other > functions > such as countif etc > Since ListRange returns a string representing the range then > the INDIRECT(Listrange) function is used to address the actual > range) > > > Public Function LastRow(sheetname As String) As String > LastRow = Sheets(sheetname).UsedRange.Rows.Count > End Function > > Public Function ListRange(sheetname As String, col As String) > Dim endaddr As String > endaddr = LastRow(sheetname) > endaddr = col & "1:" & col & endaddr > ListRange = Sheets(sheetname).Range(endaddr).Address(External:=True) > End Function > --------- > > > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, March 23, 2003 4:40 AM > To: John W. Colby > Subject: Re: [AccessD] OT: Excel 97 Macro > > > Hi John > > > What would be nice is to know the ending row of the data. Does anyone > > > know off the top of their head how to determine the max size (the > > largest row > > index) of a populated row? Remember I am working with what appears to > be a > > table - fixed column count / fixed row count. What is the numbers of > > records in that table (as determined in Excel). I can always if > necessary > > just link the table in and get a record count but it would be nice to > figure > > it out in Excel. > > If you have nothing but data in that sheet and these are filled from > cell A1, then you could use something like this: > > Dim rng As Range > > Set rng = ActiveWorkbook.Worksheets("Data").UsedRange > Debug.Print rng.Rows.Count, rng.Columns.Count > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at achmea.nl Mon Mar 24 06:46:41 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon, 24 Mar 2003 13:46:41 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Message-ID: Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From Lembit.Soobik at t-online.de Mon Mar 24 06:52:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 24 Mar 2003 13:52:53 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging References: Message-ID: <026b01c2f204$524d16d0$0300a8c0@S856> well then, Congratulations :) Lembit Soobik ----- Original Message ----- From: To: ; Sent: Monday, March 24, 2003 1:46 PM Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging > Dear group, > > I am sorry that this has happened. I have not checked my email since last > week because I became first time father of a great daughter. So I had > something else on my mind than email :-))))),,, > > I will solve this tonight. > > Thanks...Marcel > > > > > "Oop! Software & Computers" @databaseadvisors.com op > 23-03-2003 12:55:14 > > Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com > > Verzonden door: accessd-bounces at databaseadvisors.com > > > Aan: accessd at databaseadvisors.com > cc: > > Onderwerp: [AccessD] email ontvangst bevestiging > > > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. > Voor support vragen kunt u mailen naar support at oop.nl > > Met vriendelijke groet > Oop! software & Computers > www.oop.nl > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ***************************************************************** > Dit bericht is bij binnenkomst gecontroleerd op de > aanwezigheid van virussen. Er zijn geen (bekende) > virussen gevonden. Active > ***************************************************************** > > > > > > > ********************* DISCLAIMER ********************* > De informatie in dit e-mail bericht is uitsluitend > bestemd voor de geadresseerde. Verstrekking aan > en gebruik door anderen is niet toegestaan. > Door de electronische verzending van het bericht > kunnen er geen rechten worden ontleend aan de > informatie. > ************************************************************ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From info at oop.nl Mon Mar 24 06:53:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 13:53:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241353.AA00512@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From StaRKeY at Wanadoo.nl Mon Mar 24 07:02:19 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Mon, 24 Mar 2003 14:02:19 +0100 Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging In-Reply-To: Message-ID: Gefeliciteerd! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of marcel.vreuls at achmea.nl Sent: maandag 24 maart 2003 13:47 To: info at oop.nl; accessd at databaseadvisors.com Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 21-3-2003 Tested on: 24-3-2003 14:02:17 (c) 2000-2003 ALWIL Software. http://www.avast.com From info at oop.nl Mon Mar 24 07:14:40 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:14:40 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241414.AA01768@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 07:26:30 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 08:26:30 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F13@ADGSERVER> Hi all, Trying to do a sub report on a report. The main report and sub report both pull from the same table. The main report is linked to the sub report via the project. My problem is that: The main report with out the sub report runs fine. The sub report by itself runs fine. But when I put the 2 together, the "formatting page" progress bar goes to 100% and just sits there. I have let it sit for several minutes (report and sub report by themselves come up pretty fast). Any ideas as to what I may be doing wrong? Does the project on the sub report have to be on the report? Or just in the query of the sub report? Thanks in advance, Bobby From info at oop.nl Mon Mar 24 07:29:34 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:29:34 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241429.AA02408@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From jarus at amerinet-gpo.com Mon Mar 24 07:42:16 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 24 Mar 2003 07:42:16 -0600 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Here's the code I finally figured out to allow the user to define a range: Dim UserRange As Range Prompt = "Select the rows to be sorted." Title = "Sort Rows" On Error Resume Next Set UserRange = Application.InputBox( _ Prompt:=Prompt, _ Title:=Title, _ Default:=ActiveCell.Address, _ Type:=8) Range(UserRange, ActiveCell.Offset(0, 17)).Select Selection.Sort Key1:=Range("F9"), Order1:=xlAscending, Key2:=Range("E9") _ , Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _ False, Orientation:=xlTopToBottom Application.Goto Reference:="bottom" End Sub I adapted some code I found at The Spreadsheet Page website by John Walkenbach - j-walk.com/ss/ - to give appropriate credit. Thanks for everyone's suggestions. -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 07:44:49 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 14:44:49 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241444.AA02388@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From jarus at amerinet-gpo.com Mon Mar 24 08:08:30 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 24 Mar 2003 08:08:30 -0600 Subject: [AccessD] OT: Excel 97 Macro Message-ID: Here's just some additional information - if the first record Access "sees" has the first cell of the column as TEXT, then it treats all the rest as text whether they are numeric or not. It all depends on that first record. I have run across this as I import a lot of files into Access and find that the field used for an Item ID could be text or numeric or mixed throughout the file. I just move a record that has Text for the ItemID to the first record and it all imports just fine. Point being - that maybe all you have to do is change the first record - not all the records - if that helps. >>> jcolby at colbyconsulting.com 03/21/03 11:23AM >>> I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 08:09:14 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:09:14 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241509.AA00512@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 08:17:45 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 08:17:45 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACC@NT04> Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 7:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] Report/Sub report question. Hi all, Trying to do a sub report on a report. The main report and sub report both pull from the same table. The main report is linked to the sub report via the project. My problem is that: The main report with out the sub report runs fine. The sub report by itself runs fine. But when I put the 2 together, the "formatting page" progress bar goes to 100% and just sits there. I have let it sit for several minutes (report and sub report by themselves come up pretty fast). Any ideas as to what I may be doing wrong? Does the project on the sub report have to be on the report? Or just in the query of the sub report? Thanks in advance, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Mon Mar 24 08:23:03 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:23:03 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241523.AA02308@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 08:30:48 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 09:30:48 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F16@ADGSERVER> Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 9:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim From jcolby at ColbyConsulting.com Mon Mar 24 08:31:08 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 09:31:08 -0500 Subject: [AccessD] OT: Excel 97 Macro In-Reply-To: Message-ID: Hmm, that's a good point. I built code that does the whole column and it takes only a small part of a second to do 1200 cells, so it isn't a big deal, but only doing the first would be more efficient. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Monday, March 24, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: Re: [AccessD] OT: Excel 97 Macro Here's just some additional information - if the first record Access "sees" has the first cell of the column as TEXT, then it treats all the rest as text whether they are numeric or not. It all depends on that first record. I have run across this as I import a lot of files into Access and find that the field used for an Item ID could be text or numeric or mixed throughout the file. I just move a record that has Text for the ItemID to the first record and it all imports just fine. Point being - that maybe all you have to do is change the first record - not all the records - if that helps. >>> jcolby at colbyconsulting.com 03/21/03 11:23AM >>> I have a similar requirement, but I want to do something specific to selected ranges, from inside of Access using automation, to any excel spreadsheet I choose. Some background. As I posted earlier this week, I am seeing problems where the data in the first cells of a given column are numeric, but lower down the cells switch to text. The data is still numeric, i.e. the data is still simply a number - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked to Access and displayed, Access decides that the column is numeric because of the first few cells at the top of the column, then can't figure out what to do with the cells that are actually text down below. This is all discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 as Hayden pointed out. The "Fix" is to go into the spreadsheet, select the column of data, and prepend a space to the beginning of each cell, which apparently causes any numeric data to turn into text. Now, in the linked data inside of Access, because the entire column is a single type of data (text) it can be displayed all the way down. I can then use a cLng (or whatever is necessary) to convert the data back to the data type needed. PITA, but this is MS after all ;-) So, the code shown for doing this is: Sub Addspace() Dim cell As Object For Each cell In Selection cell.Value = " " & cell.Value cell.Value = Right(cell.Value, Len(cell.Value) - 1) Next End Sub run as a macro inside of Excel. Of course if this is to be generic, any given spreadsheet will not have this macro inside of it so I will have to insert the macro. Further I have to add code to select a given range, then run this code. Several years ago, when I lived in Mexico, I did a bunch of formatting of Excel. What I did in that case was to build a workbook in which I created my macros. I then copied the workbook to a new name, imported the worksheet(s) that needed formatting, and then ran the formatting macros. I could do the same thing here but I would prefer to have code stored inside of Access, open the spreadsheet that needs this process performed on it, insert a module with the code, select the area, and run the macro. If this sounds like a major PITA to fix a bug in Excel / Access interaction, I couldn't agree more. But we do what we have to do. BTW, I have also seen dates with similar problems A data column looks prefect inside of Excel, but when linked and viewed inside of Access, some dates are hosed. The problem is exactly the same, they are text. Before I go off re-inventing the wheel, does anyone have code for doing anything similar? Pieces for doing parts of what I am trying to do? Interest in working with me to jointly solve this problem? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Friday, March 21, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: Re: Re: [AccessD] OT: Excel 97 Macro Terri, Try this then Sub Macro1() Dim StartRow As Integer Dim FinishRow As Integer Dim MyRange As String StartRow = InputBox("Enter Start Row") FinishRow = InputBox("Enter Finish Row") MyRange = "A" & startrow & ":R" & finishrow Range(MyRange).Select End Sub This should do the job..... Paul Hartland ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 08:34:11 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:34:11 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241534.AA02412@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 08:37:54 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 15:37:54 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241537.AA02412@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 09:34:41 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 09:34:41 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 9:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, It seems to me, there is a normalization problem. Sub reports/forms are used to display a one to many relationship. If "the main report and sub report ... pull from the same table" that indicates a one to one relationship and there is no need for a sub report. To insure a sub report works correctly, the common field between the main report and sub report needs to be visible to both. HTH Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at oop.nl Mon Mar 24 09:45:28 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 16:45:28 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241645.AA01980@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From szayko at secor.com Mon Mar 24 09:57:14 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Mon, 24 Mar 2003 10:57:14 -0500 Subject: [AccessD] Report - Group Footer In-Reply-To: <42DE35C7D61279419C166543CD42F405EDAA@mail2k.mcbassoc.com> Message-ID: <008a01c2f21e$0a0ed4c0$283da8c0@secor024> Group: Is there an easy way to make a report's group footer only visible if that footer is at the bottom of a page? I don't want to use a "page footer" because those are at the bottom of the page. For formatting reasons I want the "group footer" because it appears immediately below the detail section. I know that you can set a report's page footer to not show with a report footer. I kind of want the same thing here. Thanks. Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4132 bytes Desc: not available URL: From info at oop.nl Mon Mar 24 10:03:54 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:03:54 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241703.AA00328@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From bheid at appdevgrp.com Mon Mar 24 10:06:06 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 24 Mar 2003 11:06:06 -0500 Subject: [AccessD] Report/Sub report question. Message-ID: <916187228923D311A6FE00A0CC3FAA30332F18@ADGSERVER> Thanks again Jim for taking the time to look at this. No, the prime's cannot be a sub also. These are actually contracts. The data is actually processed into a work table because of the weird requirements of the report. The main report and sub report are actually working correctly by themselves. I guess my main problem is that I have to CTRL-Break to get the report to stop doing whatever it is doing. When I do this, I am put back into design mode. Therefore I cannot tell what exactly is causing the problem. There is another field in the table that tells the proper order for display. Thanks again, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 10:35 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby From accessd at shaw.ca Mon Mar 24 10:11:40 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 24 Mar 2003 08:11:40 -0800 Subject: OT: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging In-Reply-To: Message-ID: OT Hi Dad: Congratulations...as a proud owner (actually it is the other way around) of two daughters, it is a great move. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of marcel.vreuls at achmea.nl Sent: Monday, March 24, 2003 4:47 AM To: info at oop.nl; accessd at databaseadvisors.com Subject: SORRY-SORRY-SORRY [AccessD] email ontvangst bevestiging Dear group, I am sorry that this has happened. I have not checked my email since last week because I became first time father of a great daughter. So I had something else on my mind than email :-))))),,, I will solve this tonight. Thanks...Marcel "Oop! Software & Computers" @databaseadvisors.com op 23-03-2003 12:55:14 Antwoord aub aan info at oop.nl; Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: accessd at databaseadvisors.com cc: Onderwerp: [AccessD] email ontvangst bevestiging email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 24 10:10:53 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 08:10:53 -0800 Subject: [AccessD] Access 2003 - How to Disable Macro Enable Check on opening MDB References: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> Message-ID: <3E7F2E0D.7000306@shaw.ca> When you open an MDB in Access 2003,epecially with a 97 conversion, I get an enable disable macros check. The MDB has no macros, yet it still occurs. This seems to like the old Word macro check to stop viruses. If you click disable you get a "cannot open" due to security settings and digital certicates not being verified for that mdb. If you click enable you get in. The "More Info" button gives no info. This is a pain, if you have to use an autoexec macro. The Access help file gives a long rigamarole description of reinstalling and resetting registry keys to disable this macro check for Office . I am not keen on doing this as MS says you only have 5 installs for the Beta 2 and 10 installs if you use a Corporate Activation key. Anyone encountered a workaround for this. From harkins at iglou.com Mon Mar 24 10:14:45 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 24 Mar 2003 11:14:45 -0500 Subject: [AccessD] Report - Group Footer References: <008a01c2f21e$0a0ed4c0$283da8c0@secor024> Message-ID: <001401c2f220$7dff16e0$b9e6ffcc@SusanOne> So, if the group footer doesn't fall naturally at the bottom of a page, you don't want to see it? Does that mean you're printing more than one group per page? This is a design I don't really understand -- why would you want to suppress some group footer's on location rather than on content? I'm not saying you shouldn't, just that maybe there's an easier way to get what you want and if we knew the conditions... > I don't want to use a "page footer" because those are at the bottom of the > page. > For formatting reasons I want the "group footer" because it appears > immediately below the detail section. =======See, this is in conflict with what you want, and that's why I'm not sure I'm understanding your question. You want it to fall immediately after the Detail section, but then you want to print it at the bottom of the page -- with one group per page -- is that what you're really after? Susan H. From info at oop.nl Mon Mar 24 10:16:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:16:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241716.AA01968@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:17:45 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:17:45 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241717.AA01076@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:22:36 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:22:36 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241722.AA00860@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From Tim.Pain at e20.akzonobel.com Mon Mar 24 10:22:20 2003 From: Tim.Pain at e20.akzonobel.com (Pain, T. (Tim)) Date: Mon, 24 Mar 2003 16:22:20 -0000 Subject: [AccessD] Query synatx Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6367D36@lbrn12.d20.intra> Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 10:26:56 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:26:56 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241726.AA02360@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:31:51 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:31:51 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241731.AA02476@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From JHewson at karta.com Mon Mar 24 10:34:17 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 24 Mar 2003 10:34:17 -0600 Subject: [AccessD] Report/Sub report question. Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ACE@NT04> In that case, make sure the main report and the sub report have the Contract number as the link field between the two. The query criteria for the sub report needs to have the contract number, the tier code and the order field plus what ever else you want to display. The tier code for the sub report needs to specify "<>0" criteria. If it still doesn't work, send me a sample of the database and I'll take a look at it. Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 10:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Thanks again Jim for taking the time to look at this. No, the prime's cannot be a sub also. These are actually contracts. The data is actually processed into a work table because of the weird requirements of the report. The main report and sub report are actually working correctly by themselves. I guess my main problem is that I have to CTRL-Break to get the report to stop doing whatever it is doing. When I do this, I am put back into design mode. Therefore I cannot tell what exactly is causing the problem. There is another field in the table that tells the proper order for display. Thanks again, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 10:35 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. Bobby, One question comes to mind. Can a Prime Contractor also be a sub contractor? If so, then I would suggest creating a table to record the 1-M relationships. Two fields labeled Prime and Sub is all that is needed. So the data would look like: Prime Sub A B A C A D B A B E Etc. The reason to do it this way is that a Prime Contractor on one contract can be a Sub contractor for another. Unless a Prime will always be a prime and sub will always be a sub. If the tier code is one field in the primary table, I'm not sure how you would separate the data to what you need. e.g. if a company is prime and ONLY a prime, how do you determine what companies are the subs? Maybe I don't understand how it works. Yes, the field needs to be available on the report. I'm confused, but that's my normal state.... Jim -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, March 24, 2003 8:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Report/Sub report question. Hi Jim, The two reports pull different data based upon a tier code. The primary report pulls data for tier 0, and the sub report pulls data for tier<>0. The reason I need to do it this way is that the report is required to show a different subtotal for the tier 0 records and one total of all of the records for the tiers under that one tier. Note that there can be many tier 0 records. The tier 0 records are primary contractors and the tier<>0 records are sub contractors under that contractor. When you say that the field needs to be visible, are you saying visible on the report or available to display on the report (IE. in the query)? Hope I haven't confused everyone even more. LOL. Thanks, Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Mon Mar 24 10:34:07 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Mon, 24 Mar 2003 11:34:07 -0500 Subject: [AccessD] Query synatx Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D44@bwam02msx.ae.ge.com> How about an if statement like the following Select OrderID, Price, IIF(InvoiceType = True, Quantity, Quantity * -1) as QTY FROM OrderHeader, OrderDetails WHERE OrderHeader.OrderID = OrderDetails.OrderID You get the jist? Scott -----Original Message----- From: Pain, T. (Tim) [mailto:Tim.Pain at e20.akzonobel.com] Sent: Monday, March 24, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Query synatx Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at oop.nl Mon Mar 24 10:45:07 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:45:07 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241745.AA02108@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From info at oop.nl Mon Mar 24 10:46:11 2003 From: info at oop.nl (Oop! Software & Computers) Date: Mon, 24 Mar 2003 17:46:11 +0100 Subject: [AccessD] email ontvangst bevestiging Message-ID: <10303241746.AA00860@oop.nl> email ontvangst bevestiging Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt worden. Voor support vragen kunt u mailen naar support at oop.nl Met vriendelijke groet Oop! software & Computers www.oop.nl From accessd at brougham.co.uk Mon Mar 24 11:46:20 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Mon, 24 Mar 2003 17:46:20 -0000 Subject: LISTMASTER Re: [AccessD] email ontvangst bevestiging References: <10303241745.AA02108@oop.nl> Message-ID: <009801c2f22d$4789f9b0$253c98d5@brougham.info> Sorry for these messages throughout the day.This email address is now moderated and set to nomail. Brougham Oop! Software & Computers wrote: > email ontvangst bevestiging > > Uw email is correct ontvangen, en zal zo spoedig mogelijk verwerkt > worden. Voor support vragen kunt u mailen naar support at oop.nl > From harkins at iglou.com Mon Mar 24 12:41:44 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 24 Mar 2003 13:41:44 -0500 Subject: [AccessD] data entry Message-ID: <01d201c2f235$171f7040$b9e6ffcc@SusanOne> Anybody here in charge of supervising data entry personnel? If so, would you contact me privately? Thanks! Susan H. From cfoust at infostatsystems.com Mon Mar 24 14:41:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 12:41:47 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: We are using an Access MDE, not an add-in, and setting a reference to it in the app that gets packaged. The MDE isn't "installed", it is simply placed in a folder by the application installer. Late binding solved the problem of breakage when the CDO.DLL wasn't installed, although since we couldn't use the CDO constants, I had to create a set of user defined constants for handling the possible errors we wanted to trap. The problem we found is that Access doesn't handle a reference, at least to an MDE, quite the way the articles suggest. The reference gets resolved and it isn't shown as MISSING when we put it into the application folder, but it also isn't any good. The only cure we've found in both 97 and 2002 is to have the installer insert the MDE being referenced into a folder we know is always going to be there in the same location, because we create it during the install. Out development machines have that same folder, and our databases have to have the reference set to that file in that folder before we build the installer. Then the app works when it's installed on a target machine. Otherwise we get unexpected "Function 'Format' not found..." , etc., messages and things break. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 21, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library >database and the application database just realized that it couldn't >use email. In AXP, the breakage affects the application database, not >just the library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but >the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 24 14:47:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 14:47:03 -0600 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8244D@main2.marlow.com> Honestly don't know about quirks on Access forms. I have only ever used a treeview or image control in VB. As far as 'size' goes...well they say size doesn't really matter! Just kidding. As far as I know, the treeview is going to 'mark' the icons to be the same size as your largest icon....I THINK. Thus, don't let any of your icons go over the size you are trying to get. Personally, I use axialis icons. (I think it's www.axialis.com. If you want a copy, I can send it to you offline, I don't think the version I have is available on their site anymore. It's shareware.) Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 21, 2003 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Tech books ... Thanks for that and I'll gladly give it a try. I seem to recall something about a bug in planting the image control on an Access form at design time; and that the alleged solution is to add it in code instead. But I could just be having a senior moment. On the purely cosmetic side, what's the ideal size for the images in said list? I have a program called IconSucker and I have used it to suck some icons, but they seem to be in different sizes and shapes. What would you suggest in that regard? One step removed from cosmetic is the use of the image to indicate something even before the user clicks on the node, for example, in a list of customers->orders->>order items, customers whose expenditures in the past year > $5K get a special image in the list ($$$ :-), while the common rabble get nothing but a file folder. But you've given me the nudge I needed to do some woodshedding :-) Thank God for unemployment (at least until the end of the month). Arthur -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka Sent: March 21, 2003 11:46 AM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Tech books ... I have never used a Treeview in Access, but in VB, you just put the image control onto the form. Then add the images. Then to change the image on a node, just set it's image property to the images 'index' in the image list. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 24 14:49:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 14:49:30 -0600 Subject: [AccessD] OT-Thought this was funny.... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8244F@main2.marlow.com> I concur. 9x definitely degardes over time (unless you do absolutely nothing on them). However, NT based machines seem to fair WAY better over it's life time. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 21, 2003 12:27 PM To: Jim Lawrence (AccessD) Subject: Re: [AccessD] OT-Thought this was funny.... Hi Jim That depends. My trusty IBM Intellistation has been reformatted once - when I (after a couple of years) upgraded from NT4 to Win2000 19 months ago. I know - I could have upgraded without reformatting but I chose not to do so. /gustav > The truth is that any Window box decreases in speed as long as it is being > used. Eventually, you will have backup/re-format/re-install and carry on. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 24 14:46:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 12:46:04 -0800 Subject: [AccessD] OT: Excel 97 Macro Message-ID: >>Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? I missed this on Friday, Gustav. Are you trying to start a war? I don't BRAG about that experience, I ADMIT to it. There's a big difference. And John is far too old to be the son of someone as young as I am. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 21, 2003 12:00 PM To: John W. Colby Subject: Re: [AccessD] OT: Excel 97 Macro Hi John Don't you regularly brag of your experience with old DOS applications like dBase and Lotus 1-2-3? Or is that your mother, Charlotte? Anyway, Lotus 1-2-3 and Quattro Pro both sported the use of separate macro sheets to keep code separated from data. You can do the same in Excel - it's like the Named Ranges - it's a splendid feature but only few use it. The additional advantage is that your macro workbook can stay protected if you write protect the file. Here's a snippet from the start of a main function called from Access (as you learnt me). Access opens the macro book and runs this macro. This macro opens a template and another workbook (with data only), then saves the template as a temporary workbook which the function then manipulates: --- ' Filenames of standard workbooks. Public Const cstrWorkbookForm As String = "PeriodForm.xls" Public Const cstrWorkbookData As String = "PeriodData.xls" Public Const cstrWorkbookTemp As String = "PeriodTemp.xls" Public Const cstrWorkbookSend As String = "PeriodSend.xlt" Public Const cstrWorkbookDist As String = "PeriodSend.xls" [snip] Function CreateSurvey() As Boolean Const cstrWorksheetName As String = "Survey" ' Maximum length of name for a sheet. Const cbytWorksheetNameLen As Byte = 31 Dim wkb As Workbook Dim wkbPeriod As Workbook Dim wkbPeriodData As Workbook Dim wks As Worksheet Dim rng As Range Dim rngGroups As Range Dim rngFormat As Range Dim rngData As Range Dim rngTxtHeader As Range Dim rngTxtPeriod As Range Dim rngTxtPeriodData As Range Dim rngTxtSeason As Range Dim rngTxtSeasonData As Range [snip] With Application ' Disable automatic recalculation and screen updating. .Calculation = xlCalculationManual .ScreenUpdating = False End With ' For debugging only. With Application ' .Visible = True ' .ScreenUpdating = True End With ' Close all files except the first if more than one should be open. Call CloseOtherWorkbooks(False) strPath = ActiveWorkbook.Path ' Open file with statistics as template. Set wkbPeriode = Workbooks.Add(strPath & vbBackSlash & cstrWorkbookForm) ' This is used by DLookupSystem(): Set wkbPeriodData = Workbooks.Open(strPath & vbBackSlash & cstrWorkbookData, UpdateLinks:=0, ReadOnly:=True) Application.DisplayAlerts = False strPathFileName = strPath & vbBackSlash & cstrWorkbookTemp ' Save statistics in temporary file in the smaller Excel5-format. wkbPeriod.SaveAs strPathFileName, xlExcel5 Application.DisplayAlerts = True wkbPeriod.Activate ' Set ranges. Set rngGroups = Range("xlsGroupInterval") Set rngFormat = Range("FormatHeader") Set rngData = Range("xlsSurvey") Set rngTxtHeader = Range("TextHeader") Set rngTxtPeriod = Range("TextPeriod") Set rngTxtPeriodData = Range("TextPeriodData") Set rngTxtSeason = Range("TextSeason") Set rngTxtSeasonData = Range("TextSeasonData") [snip] Run formatting code ... --- Finally (cut away from this example, no big deal) the finished range in the temporary workbook is copied into an empty template workbook - clean with no code or left-over data - and saved as the finished workbook. /gustav > I have a similar requirement, but I want to do something specific to > selected ranges, from inside of Access using automation, to any excel > spreadsheet I choose. Some background. > As I posted earlier this week, I am seeing problems where the data in > the first cells of a given column are numeric, but lower down the > cells switch to text. The data is still numeric, i.e. the data is > still simply a number > - 2, 3.4 etc. but the FORMAT in the cell is text. As a result, when linked > to Access and displayed, Access decides that the column is numeric because > of the first few cells at the top of the column, then can't figure out what > to do with the cells that are actually text down below. This is all > discussed in http://support.microsoft.com/default.aspx?scid=kb;en-us;162539 > as Hayden pointed out. > The "Fix" is to go into the spreadsheet, select the column of data, > and prepend a space to the beginning of each cell, which apparently > causes any numeric data to turn into text. Now, in the linked data > inside of Access, because the entire column is a single type of data > (text) it can be displayed all the way down. I can then use a cLng > (or whatever is > necessary) to convert the data back to the data type needed. > PITA, but this is MS after all ;-) > So, the code shown for doing this is: > Sub Addspace() > Dim cell As Object > For Each cell In Selection > cell.Value = " " & cell.Value > cell.Value = Right(cell.Value, Len(cell.Value) - 1) > Next > End Sub > run as a macro inside of Excel. Of course if this is to be generic, > any given spreadsheet will not have this macro inside of it so I will > have to insert the macro. Further I have to add code to select a > given range, then run this code. > Several years ago, when I lived in Mexico, I did a bunch of formatting > of Excel. What I did in that case was to build a workbook in which I > created my macros. I then copied the workbook to a new name, imported > the > worksheet(s) that needed formatting, and then ran the formatting macros. I > could do the same thing here but I would prefer to have code stored inside > of Access, open the spreadsheet that needs this process performed on it, > insert a module with the code, select the area, and run the macro. > If this sounds like a major PITA to fix a bug in Excel / Access > interaction, I couldn't agree more. But we do what we have to do. > BTW, I have also seen dates with similar problems A data column looks > prefect inside of Excel, but when linked and viewed inside of Access, > some dates are hosed. The problem is exactly the same, they are text. > Before I go off re-inventing the wheel, does anyone have code for > doing anything similar? Pieces for doing parts of what I am trying to > do? Interest in working with me to jointly solve this problem? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 24 14:52:17 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 15:52:17 -0500 Subject: [AccessD] Access XP and references in libraries In-Reply-To: Message-ID: I always just put the mde/a in the Windows directory. For MDAs the file is found and the reference fixed. I don't remember whether the reference to an MDE would be fixed. I have never heard of the reference "not being any good". What does that mean? The file is in the right place, the reference points to it, but the code still fails? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 24, 2003 3:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access XP and references in libraries We are using an Access MDE, not an add-in, and setting a reference to it in the app that gets packaged. The MDE isn't "installed", it is simply placed in a folder by the application installer. Late binding solved the problem of breakage when the CDO.DLL wasn't installed, although since we couldn't use the CDO constants, I had to create a set of user defined constants for handling the possible errors we wanted to trap. The problem we found is that Access doesn't handle a reference, at least to an MDE, quite the way the articles suggest. The reference gets resolved and it isn't shown as MISSING when we put it into the application folder, but it also isn't any good. The only cure we've found in both 97 and 2002 is to have the installer insert the MDE being referenced into a folder we know is always going to be there in the same location, because we create it during the install. Out development machines have that same folder, and our databases have to have the reference set to that file in that folder before we build the installer. Then the app works when it's installed on a target machine. Otherwise we get unexpected "Function 'Format' not found..." , etc., messages and things break. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, March 21, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries I am guessing (don't know how you are installing mda) but there is a difference in how Access 97 and 2000 (+ )resolves references. ACC97: How Access 97 Resolves Visual Basic for Applications References (Q280465) ACC2000: How Access 2000 Resolves Visual Basic for Applications References (Q248941) ACC2002: How Access 2002 Resolves Visual Basic for Applications References (Q286300) The latter two have an extra step for resolution and also look in different directories. Also MS has added in Office 2000 a method of adding an Office COM Addin that will link to all office products at same time; maybe this is causing the reference checking problem. Sort of an MDA for Word, Excel and Access. At some point Access has to resolve for these as well. HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 --------------------------------------- Have a look at Tony Toew's site for his notes on using Addin's especially if using MDE's http://www.granite.ab.ca/access/addins.htm ---------------------------------------- Here is Dev Ashish's method for late binding a mapi session where mobjSession set to object Public Sub MAPILogon() On Error GoTo err_sMAPILogon Const cERROR_USERCANCEL = -2147221229 mstStatus = SysCmd(acSysCmdSetStatus, "Login....") Set mobjSession = CreateObject("MAPI.Session") mobjSession.Logon exit_sMAPILogon: Exit Sub err_sMAPILogon: mboolErr = True If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" ElseIf Err = cERROR_USERCANCEL Then MsgBox "Aborting since you pressed cancel.", _ vbOKOnly + vbInformation, "Operatoin Cancelled!" Else MsgBox "Error number " & Err - mcERR_DECIMAL & " description. " _ & Error$(Err) End If Resume exit_sMAPILogon End Sub Charlotte Foust wrote: >Thanks, but I found all thatwhen we were first researching putting this >in to a library in the first place. Right now I'm trying late binding >in the library database to see if we can at least get it to bomb >gracefully instead of breaking the application that references it. The >problem is that in A97, the breakage was limited to the library >database and the application database just realized that it couldn't >use email. In AXP, the breakage affects the application database, not >just the library. > >Charlotte Foust > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Thursday, March 20, 2003 5:24 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access XP and references in libraries > > >CDO is a wrapper around MAPI, the license is not redistributable but >the > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you have >installed from a selection of Exchange, Outlook and WinXP or win2000. > >By default, Outlook 2000 and Outlook 2002 installations do not include >the CDO 1.2x component. When you view the options for Office or Outlook >setup, CDO is listed under the options for Outlook. > > For a full table of versions and what installs see INFO: Where to >Acquire the CDO Libraries (all versions) >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > >For more info see: >http://www.cdolive.com/start.htm > > >Charlotte Foust wrote: > > > >>In 97, we had used a library database that had a reference set to the >>CDO.DLL library so we could handle email features using Redemption. >>If that DLL was missing on the target machine, the library had a >>broken reference but it didn't affect the main project except that the >> >> > > > >>email capabilities were disabled. In XP, when you load the app, you >>get a message that the CDO.DLL is missing. I assume the difference in >> >> > > > >>behavior is because of the change in the VBE IDE in 2000 and later, >>but does anyone know what the further implications might be? We >>haven't deployed this app yet, so I'm looking for input. >> >>Charlotte Foust >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5156 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 24 15:15:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 13:15:54 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: It means that if the library file is in the application folder, which is determined by the user at installation, and the reference adjusts itself and points to it, the code still fails. If you open the VBE and uncheck and browse to the reference in the same location, resetting it to the same file, the code is fine. It doesn't seem to like library databases to move around. On the other hand, if it finds the file in exactly the same location as the original reference, then it doesn't have a problem. Charlotte Foust > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Monday, March 24, 2003 12:52 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access XP and references in libraries > > I always just put the mde/a in the Windows directory. For MDAs the > file is found and the reference fixed. I don't remember whether the > reference to an MDE would be fixed. I have never heard of the > reference "not being any good". What does that mean? The file is in > the right place, the reference points to it, but the code still fails? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, March 24, 2003 3:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access XP and references in libraries > > > We are using an Access MDE, not an add-in, and setting a reference to > it > in the app that gets packaged. The MDE isn't "installed", it is > simply > placed in a folder by the application installer. Late binding solved > the problem of breakage when the CDO.DLL wasn't installed, although > since we couldn't use the CDO constants, I had to create a set of user > defined constants for handling the possible errors we wanted to trap. > > > The problem we found is that Access doesn't handle a reference, at > least > to an MDE, quite the way the articles suggest. The reference gets > resolved and it isn't shown as MISSING when we put it into the > application folder, but it also isn't any good. The only cure we've > found in both 97 and 2002 is to have the installer insert the MDE > being > referenced into a folder we know is always going to be there in the > same > location, because we create it during the install. Out development > machines have that same folder, and our databases have to have the > reference set to that file in that folder before we build the > installer. > Then the app works when it's installed on a target machine. Otherwise > we get unexpected "Function 'Format' not found..." , etc., messages > and > things break. > > Charlotte Foust > > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Friday, March 21, 2003 1:10 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access XP and references in libraries > > > I am guessing (don't know how you are installing mda) but there is a > difference in how Access 97 and 2000 (+ )resolves references. > > ACC97: How Access 97 Resolves Visual Basic for Applications > References > (Q280465) > ACC2000: How Access 2000 Resolves Visual Basic for Applications > References (Q248941) > ACC2002: How Access 2002 Resolves Visual Basic for Applications > References (Q286300) > The latter two have an extra step for resolution and also look in > different directories. > > Also MS has added in Office 2000 a method of adding an Office COM > Addin > > that will link to all office products at same time; maybe this is > causing the reference checking problem. Sort of an > MDA for Word, Excel and Access. At some point Access has to resolve > for > > these as well. > > HOWTO: Build an Office 2000 COM Add-In in Visual Basic Q238228 > --------------------------------------- > > Have a look at Tony Toew's site for his notes on using Addin's > especially if using MDE's http://www.granite.ab.ca/access/addins.htm > > ---------------------------------------- > > > Here is Dev Ashish's method for late binding a mapi session > where mobjSession set to object > > Public Sub MAPILogon() > On Error GoTo err_sMAPILogon > Const cERROR_USERCANCEL = -2147221229 > > mstStatus = SysCmd(acSysCmdSetStatus, "Login....") > Set mobjSession = CreateObject("MAPI.Session") > mobjSession.Logon > > exit_sMAPILogon: > Exit Sub > > err_sMAPILogon: > mboolErr = True > If Err = CdoE_LOGON_FAILED - mcERR_DECIMAL Then > MsgBox "Logon Failed", vbCritical + vbOKOnly, "Error" > ElseIf Err = cERROR_USERCANCEL Then > MsgBox "Aborting since you pressed cancel.", _ > vbOKOnly + vbInformation, "Operatoin Cancelled!" > Else > MsgBox "Error number " & Err - mcERR_DECIMAL & " description. > " > _ > & Error$(Err) > End If > Resume exit_sMAPILogon > End Sub > > Charlotte Foust wrote: > > >Thanks, but I found all thatwhen we were first researching putting > this > > >in to a library in the first place. Right now I'm trying late > binding > >in the library database to see if we can at least get it to bomb > >gracefully instead of breaking the application that references it. > The > > >problem is that in A97, the breakage was limited to the library > >database and the application database just realized that it couldn't > >use email. In AXP, the breakage affects the application database, not > > >just the library. > > > >Charlotte Foust > > > >-----Original Message----- > >From: MartyConnelly [mailto:martyconnelly at shaw.ca] > >Sent: Thursday, March 20, 2003 5:24 PM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Access XP and references in libraries > > > > > >CDO is a wrapper around MAPI, the license is not redistributable but > >the > > > >version (1.1, 1.2, 1.21 and ver 6.0) you have depends on what you > have > >installed from a selection of Exchange, Outlook and WinXP or win2000. > > > >By default, Outlook 2000 and Outlook 2002 installations do not > include > >the CDO 1.2x component. When you view the options for Office or > Outlook > > >setup, CDO is listed under the options for Outlook. > > > > For a full table of versions and what installs see INFO: Where to > >Acquire the CDO Libraries (all versions) > >http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 > > > >For more info see: > >http://www.cdolive.com/start.htm > > > > > >Charlotte Foust wrote: > > > > > > > >>In 97, we had used a library database that had a reference set to > the > >>CDO.DLL library so we could handle email features using Redemption. > >>If that DLL was missing on the target machine, the library had a > >>broken reference but it didn't affect the main project except that > the > >> > >> > > > > > > > >>email capabilities were disabled. In XP, when you load the app, you > >>get a message that the CDO.DLL is missing. I assume the difference > in > >> > >> > > > > > > > >>behavior is because of the change in the VBE IDE in 2000 and later, > >>but does anyone know what the further implications might be? We > >>haven't deployed this app yet, so I'm looking for input. > >> > >>Charlotte Foust > >> > >> > >> > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00260.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Mon Mar 24 16:07:29 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Mar 2003 23:07:29 +0100 Subject: [AccessD] checkboxes Message-ID: <006601c2f252$2bb44630$f8c581d5@pedro> Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Mon Mar 24 16:07:56 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 24 Mar 2003 23:07:56 +0100 Subject: [AccessD] IF ...... ELSEIF Message-ID: <006701c2f252$2cfb4520$f8c581d5@pedro> Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:14:31 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:14:31 -0500 Subject: [AccessD] checkboxes References: <006601c2f252$2bb44630$f8c581d5@pedro> Message-ID: <002701c2f252$bea77200$6101a8c0@amd2k512> Pedro ...use an option group instead ...that's exactly what they were designed for ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Pedro Janssen To: AccessD at databaseadvisors.com Sent: Monday, March 24, 2003 5:07 PM Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:17:12 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:17:12 -0500 Subject: [AccessD] IF ...... ELSEIF References: <006701c2f252$2cfb4520$f8c581d5@pedro> Message-ID: <003901c2f253$1e94a2a0$6101a8c0@amd2k512> Pedro ...look up the SelectCase methods in your Help file ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Pedro Janssen To: AccessD at databaseadvisors.com Sent: Monday, March 24, 2003 5:07 PM Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 24 16:21:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:21:24 -0600 Subject: [AccessD] cpu usagage 100% Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82451@main2.marlow.com> It's not a bug, it's how JET optimizes. It may show at 100%, but it will relinquish the CPU to anything asking for it. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, March 21, 2003 2:48 PM To: AccessD Subject: [AccessD] cpu usagage 100% I get 100% cpu usage on W2k with A97. Is this a bug of some kind? I remember seeing this but I couldn't find it in the archives and wolfwares.com is howling but not talking... JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Mar 24 16:21:51 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 14:21:51 -0800 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E7F84FF.70503@shaw.ca> You might try this code in your MDE at the immediate start to display and compare proper reference paths . I got tired of trying to decipher the full path name to a DLL in Tools: Reference Window. In Access 97 it cuts off the path filename at about 30 chars. To get the a list of the all the filenames and paths for your external references, run the routine below it places all the references into a string suitable for dropping into a text box. As an afterthought I added some code to give the actual version number from the dll or ocx file etc. This might be useful in an MDE to track if the user has correct version number of DAO ADO etc. installed. Place in About popup window. It only seems to work some of the time if a reference is missing, seems to depend on installation order. So it might not help in missing references. Try printing the returned string on immediate opening in a text box or debug.print MsgBox wont work because it is a member of VBA library and if a reference error occurs you will have a Disambiguation error. Not sure if you will get away with calling as VBA.MsgBox Function ReferencePropertiesList() As String 'list all references in a MDB and place in a string Dim ref As Reference Dim strList As String strList = "Reference Properties:" & vbCrLf & vbCrLf For Each ref In References ' Check for ActiveX type files 'Check for Broken Properties If ref.IsBroken = False Then strList = strList & " Name: " & ref.Name & vbCrLf strList = strList & " FullPath: " & ref.FullPath & vbCrLf strList = strList & " Version: " & ref.Major & "." & ref.Minor & _ vbCrLf 'skip these two calls if detail not needed ' strList = strList & " Description: " & _ GetFileDescription(ref.FullPath) & vbCrLf ' strList = strList & " Version No: " & _ FileVersionNo(ref.FullPath) & _ vbCrLf & vbCrLf Else strList = strList & " GUIDs of broken references:" & vbCrLf strList = strList & " " & ref.Guid & vbCrLf & vbCrLf End If 'MsgBox GetFileDescription(ref.FullPath) 'MsgBox FileVersionNo(ref.FullPath) Next ref Debug.Print strList ReferencePropertiesList = strList End Function From DWUTKA at marlow.com Mon Mar 24 16:24:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:24:55 -0600 Subject: [AccessD] Tech books ... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82452@main2.marlow.com> If the person is an Access developer...and they want to interact with Excel, I can get them going with 2 statements. 1. Data can be read/written to/from excel by using ADO (with the Jet OLEDB driver). 2. To use automation, open Excel, record a macro to get yourself close to what you are trying to do, then copy the code the macro creates into a module. You'll need to create an Excel.Application object, and preface the lines of codes with that object. All done. Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, March 21, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Tech books ... Hmm.....I've spent the last year developing an Access/Excel Planning/financial reporting system currently being used by a 150 store, 400 million sales company. This includes creating Excel planning templates (with store history)from within Access. After the templates are completed the finished plan data is uploaded back into Access. The system also includes downloading historical/plan/forecast data from linked AS400 tables into Excel spreadsheets for board reports, downloading into pivot tables, consolidations, etc. It seems to me the Access books don't discuss in depth techniques for interacting with Excel. The Excel books are no better. They all have the obligatory "Access/Excel can be used with other office products" chapter and a little obligatory code. My idea is to write a book discussing techniques for using Excel with Access. I would use my system as the example and include the whole thing on the book's disk. The problem, as Tom points out, is that you can't very well teach all of Access and Excel and cover the system's code techniques in a single book. Do any of you think there would be any interest in a book like this or is it overkill? Would anyone be interested in a Access based planning and financial reporting system? Susan, any thoughts? Jim Hale -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 21, 2003 8:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Tech books ... To the whizzes that write books in this list. A recent post that said they learned better from examples than from reading books brought up a point I've been meaning to make. I know the publishers push you to include all Access user levels in your books so more will sell. However that means that 80% of the book is useless for moderate to advanced readers. There are two points I'd like to point out (neither of which has a chance of making it). 1. Have a few overly documented examples if you will - but include a bunch of heavy duty code for examples for the advanced programmers - with little or no comments. The documented examples in books are usually too simple to be very useful. Real code will teach most developers without the comments. 2. As there are millions of Excel and Access power users through developers - and sometimes they will be doing other apps - eg. Excel to Access, Excel to VB, Access to VB and/or VB to Access, Access to Sql Server and Sql Server to Jet - consider writing a From X to Y Dictionary. Eg. From Access to VB, From Jet to Sql Server, etc. I've moved into VB for the last 6 months and would have paid almost anything for an Access to Vb book. Eg. Combo Box. What a pain in VB. Can't tell you how long this took me to figure out. Makes me want to find one of the Access guys at Microsoft and give them my first born child (I know, I know - she's a teenager and that's a punishment worse than death to inflict on anyone but the thought is grateful.) I find that I know exactly what I want to do in Access but the differences are often difficult to figure out. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 24 16:21:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 14:21:31 -0800 Subject: [AccessD] checkboxes Message-ID: As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 24 16:28:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 16:28:13 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> Just a thought. Why not have the users create a folder within their inbox. Have them drag emails they want 'recoreded' into that folder. Then create a service/routine that just runs through that folder, importing the data into access? Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Saturday, March 22, 2003 4:10 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Hi I already have a archive system for archiving outgooing emails and word doucments from an access database. But I need some archiving for Incoming correspondence to. I believe the only way to achief this is to have a sort of drag and drop function. The user should be able to drag a document from the explorer or from inside an email but also an e-mail itself to a form in access where a specific customer is already selected. This when dropping the object o this customer, access will save the object (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer related record with the filename into the archive table. What I'm basicly asking for is some easy or advanced code to see how the drag and drop works between Outlook/Explorer and Access and how I need to save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). The document archiving system I already have, but I never used a drag and drop functionality... Thx Erwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Mon Mar 24 16:37:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:37:01 -0500 Subject: [AccessD] checkboxes References: Message-ID: <006c01c2f255$e2f42bf0$6101a8c0@amd2k512> Message...hhhmmm ...ok ...but why? ...Checkboxes can be used in an Option Group and all the functionality is built in without a line of code :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 24, 2003 5:21 PM Subject: RE: [AccessD] checkboxes As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Mon Mar 24 16:44:27 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 24 Mar 2003 16:44:27 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> Message-ID: <1048545867.1564.3.camel@sgsax-th4022c> Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From wdhindman at bellsouth.net Mon Mar 24 16:49:55 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 17:49:55 -0500 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> <1048545867.1564.3.camel@sgsax-th4022c> Message-ID: <000601c2f257$b06ee790$6101a8c0@amd2k512> "No matter how "dumbed down" you try to make the process, there will always be a dumber user." Seth ...Programming 101 :((((( William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Seth Galitzer" To: "accessd" Sent: Monday, March 24, 2003 5:44 PM Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. > Drew, > > You don't know users very well. :) They don't want to have to think > about it, they just want to do it. No matter how "dumbed down" you try > to make the process, there will always be a dumber user. Saying, "copy > the file to a folder," makes sense to you or me, but you can guarantee > Joe User will give you a glazed look as soon as you try to explain why. > Of course, Joe User may not understand "drag the file onto the > application" either. Really, you can't win, but you can die trying. :) > > Seth > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > Just a thought. Why not have the users create a folder within their inbox. > > Have them drag emails they want 'recoreded' into that folder. Then create a > > service/routine that just runs through that folder, importing the data into > > access? > > > > Drew > > > > -----Original Message----- > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > Sent: Saturday, March 22, 2003 4:10 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Drag and drop files and Emails on form for archive > > purpose. > > > > > > Hi > > > > I already have a archive system for archiving outgooing emails and word > > doucments from an access database. > > But I need some archiving for Incoming correspondence to. > > > > I believe the only way to achief this is to have a sort of drag and drop > > function. > > The user should be able to drag a document from the explorer or from inside > > an email but also an e-mail itself to a form in access where a specific > > customer is already selected. > > This when dropping the object o this customer, access will save the object > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > > related record with the filename into the archive table. > > > > What I'm basicly asking for is some easy or advanced code to see how the > > drag and drop works between Outlook/Explorer and Access and how I need to > > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > > > The document archiving system I already have, but I never used a drag and > > drop functionality... > > > > Thx > > > > Erwin. > > > > ---- > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > Seth Galitzer sgsax at ksu.edu > Computing Specialist http://puma.agron.ksu.edu/~sgsax > Dept. of Plant Pathology > Kansas State University > > _______________________________________________ > 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 Mar 24 16:52:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Mar 2003 08:52:41 +1000 Subject: [AccessD] Query synatx In-Reply-To: <0BB2DFBAEF484F4AA077B46F1B165FE6367D36@lbrn12.d20.intra> Message-ID: <3E8018D9.23222.2CF4A8@localhost> > I have a OrderHeader and OrderDetails tables. > The OrderHeader contains a InvoiceType field, set to True for Invoice > and False for CreditNotes. In other words Invoice Header = -1 for Invoice and 0 for CreditNotes > The OrderDetails contains a Quantity field. This is always a positive > value, even for CreditNotes. > The join between the tables is on OrderID. > > What I am trying to do is create a query that will return a single value > for all the quantities on order in the OrderDetails, for a given product > number. So where the InvoiceType = False, the Quantity will have to be > Quantity * -1. > - (Quantity * InvoiceType) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Mon Mar 24 17:11:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 24 Mar 2003 17:11:10 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82454@main2.marlow.com> I completely agree that it is hard to guard against or program around dumb users. However, which is simpler? Asking a user to drag an email into an application (which would require that they have the application open, and also that they know how to drag from one window to another (a lot of times, they may have Outlook open maximized, which would prevent (on a single monitor machine) dragging an email anywhere.). Or telling them to just move 'specific' emails to a specific folder within their email? Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 24, 2003 4:44 PM To: accessd Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Mon Mar 24 17:21:19 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 24 Mar 2003 17:21:19 -0600 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <000601c2f257$b06ee790$6101a8c0@amd2k512> References: <2F8793082E00D4119A1700B0D0216BF801D82453@main2.marlow.com> <1048545867.1564.3.camel@sgsax-th4022c> <000601c2f257$b06ee790$6101a8c0@amd2k512> Message-ID: <1048548079.1564.18.camel@sgsax-th4022c> The more you can "hide" from the user the better. It's so much easier to explain it as "magic" then to try to explain what's really happening. That's the principle I design all my apps around. Give them a single button to click, not a three-step process. No matter how "easy" the three steps are, you can bet you'll have a user who can't handle it. When they call every other day asking, "How do I do that again," it's much easier to say "click on the big button," than "just follow the wizard." Seth On Mon, 2003-03-24 at 16:49, William Hindman wrote: > "No matter how "dumbed down" you try to make the process, there will always > be a dumber user." Seth > > ...Programming 101 :((((( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." Edmund > Burke > > > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Monday, March 24, 2003 5:44 PM > Subject: RE: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > > Drew, > > > > You don't know users very well. :) They don't want to have to think > > about it, they just want to do it. No matter how "dumbed down" you try > > to make the process, there will always be a dumber user. Saying, "copy > > the file to a folder," makes sense to you or me, but you can guarantee > > Joe User will give you a glazed look as soon as you try to explain why. > > Of course, Joe User may not understand "drag the file onto the > > application" either. Really, you can't win, but you can die trying. :) > > > > Seth > > > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > > Just a thought. Why not have the users create a folder within their > inbox. > > > Have them drag emails they want 'recoreded' into that folder. Then > create a > > > service/routine that just runs through that folder, importing the data > into > > > access? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > > Sent: Saturday, March 22, 2003 4:10 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] Drag and drop files and Emails on form for archive > > > purpose. > > > > > > > > > Hi > > > > > > I already have a archive system for archiving outgooing emails and word > > > doucments from an access database. > > > But I need some archiving for Incoming correspondence to. > > > > > > I believe the only way to achief this is to have a sort of drag and drop > > > function. > > > The user should be able to drag a document from the explorer or from > inside > > > an email but also an e-mail itself to a form in access where a specific > > > customer is already selected. > > > This when dropping the object o this customer, access will save the > object > > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a > customer > > > related record with the filename into the archive table. > > > > > > What I'm basicly asking for is some easy or advanced code to see how the > > > drag and drop works between Outlook/Explorer and Access and how I need > to > > > save the object to disk in its original format (.DOC, .MSG, .XLS, > etc...). > > > > > > The document archiving system I already have, but I never used a drag > and > > > drop functionality... > > > > > > Thx > > > > > > Erwin. > > > > > > ---- > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From cfoust at infostatsystems.com Mon Mar 24 17:18:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 15:18:28 -0800 Subject: [AccessD] checkboxes Message-ID: Don't ask me, I just answer questions. I once had a request for option groups that met specific business rules and allowed multiple answers under specific circumstances. Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Monday, March 24, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] checkboxes ...hhhmmm ...ok ...but why? ...Checkboxes can be used in an Option Group and all the functionality is built in without a line of code :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, March 24, 2003 5:21 PM Subject: RE: [AccessD] checkboxes As William suggests, that is what option groups were created for. However, if you want to do it with checkboxes for whatever reason, here's how. Put all the checkboxes sequentially, 1 - 10, into a collection and use the name of the checkbox as the key so you can refer to the members either by name or by index number. Alternatively, use an array declared as CheckBox and use the numeric portion of the name as the index. Create a form level flag that is a boolean and set it to True in the afterupdate event of each checkbox but only if the checkbox is set to true. Then you can easily use the BeforeUpdate event of each checkbox to see if the flag is already set. If it is, you can quickly loop through the collection or the array to see which one is set to True. The handling after that will be up to you. You could either pop up an error message or simply change the other checkbox to false and the current one to true. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 2:07 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 24 17:24:56 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 24 Mar 2003 18:24:56 -0500 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82454@main2.marlow.com> Message-ID: I wrote code for my users which looks for email (which had attachments we processed) in a specific folder. An outlook rule watched for the email and placed it into a subfolder. My Withevents class running in Access looked for email received events. Every email that came in caused the event to run, and my class then looked for email in the folder where this mail would be placed by the rule. If any email, open it, cycle through the attachments saving them to a backup directory, and also importing them into the database (two text files and an Excel file. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 24, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. I completely agree that it is hard to guard against or program around dumb users. However, which is simpler? Asking a user to drag an email into an application (which would require that they have the application open, and also that they know how to drag from one window to another (a lot of times, they may have Outlook open maximized, which would prevent (on a single monitor machine) dragging an email anywhere.). Or telling them to just move 'specific' emails to a specific folder within their email? Drew -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Monday, March 24, 2003 4:44 PM To: accessd Subject: RE: [AccessD] Drag and drop files and Emails on form for archive purpose. Drew, You don't know users very well. :) They don't want to have to think about it, they just want to do it. No matter how "dumbed down" you try to make the process, there will always be a dumber user. Saying, "copy the file to a folder," makes sense to you or me, but you can guarantee Joe User will give you a glazed look as soon as you try to explain why. Of course, Joe User may not understand "drag the file onto the application" either. Really, you can't win, but you can die trying. :) Seth On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > Just a thought. Why not have the users create a folder within their inbox. > Have them drag emails they want 'recoreded' into that folder. Then create a > service/routine that just runs through that folder, importing the data into > access? > > Drew > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Saturday, March 22, 2003 4:10 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Drag and drop files and Emails on form for archive > purpose. > > > Hi > > I already have a archive system for archiving outgooing emails and word > doucments from an access database. > But I need some archiving for Incoming correspondence to. > > I believe the only way to achief this is to have a sort of drag and drop > function. > The user should be able to drag a document from the explorer or from inside > an email but also an e-mail itself to a form in access where a specific > customer is already selected. > This when dropping the object o this customer, access will save the object > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a customer > related record with the filename into the archive table. > > What I'm basicly asking for is some easy or advanced code to see how the > drag and drop works between Outlook/Explorer and Access and how I need to > save the object to disk in its original format (.DOC, .MSG, .XLS, etc...). > > The document archiving system I already have, but I never used a drag and > drop functionality... > > Thx > > Erwin. > > ---- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3916 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 24 17:20:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 24 Mar 2003 15:20:13 -0800 Subject: [AccessD] Access XP and references in libraries Message-ID: The MDE doesn't have the problem, it's the database that references it that has a problem. The MDE knows where it as at all times. The database doesn't seem to. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Monday, March 24, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access XP and references in libraries You might try this code in your MDE at the immediate start to display and compare proper reference paths . I got tired of trying to decipher the full path name to a DLL in Tools: Reference Window. In Access 97 it cuts off the path filename at about 30 chars. To get the a list of the all the filenames and paths for your external references, run the routine below it places all the references into a string suitable for dropping into a text box. As an afterthought I added some code to give the actual version number from the dll or ocx file etc. This might be useful in an MDE to track if the user has correct version number of DAO ADO etc. installed. Place in About popup window. It only seems to work some of the time if a reference is missing, seems to depend on installation order. So it might not help in missing references. Try printing the returned string on immediate opening in a text box or debug.print MsgBox wont work because it is a member of VBA library and if a reference error occurs you will have a Disambiguation error. Not sure if you will get away with calling as VBA.MsgBox Function ReferencePropertiesList() As String 'list all references in a MDB and place in a string Dim ref As Reference Dim strList As String strList = "Reference Properties:" & vbCrLf & vbCrLf For Each ref In References ' Check for ActiveX type files 'Check for Broken Properties If ref.IsBroken = False Then strList = strList & " Name: " & ref.Name & vbCrLf strList = strList & " FullPath: " & ref.FullPath & vbCrLf strList = strList & " Version: " & ref.Major & "." & ref.Minor & _ vbCrLf 'skip these two calls if detail not needed ' strList = strList & " Description: " & _ GetFileDescription(ref.FullPath) & vbCrLf ' strList = strList & " Version No: " & _ FileVersionNo(ref.FullPath) & _ vbCrLf & vbCrLf Else strList = strList & " GUIDs of broken references:" & vbCrLf strList = strList & " " & ref.Guid & vbCrLf & vbCrLf End If 'MsgBox GetFileDescription(ref.FullPath) 'MsgBox FileVersionNo(ref.FullPath) Next ref Debug.Print strList ReferencePropertiesList = strList End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Mon Mar 24 19:45:22 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Tue, 25 Mar 2003 02:45:22 +0100 Subject: [AccessD] checkboxes In-Reply-To: <006601c2f252$2bb44630$f8c581d5@pedro> Message-ID: I recommend you use the OPTION GROUP this solve you the CODE problem to permit only 1 of this. If this will not possible we recommend a simple code that sum the checkbox value, the total value can be over -1. Another option can be on event after update multiply all values by 0 except the current. Regards Juan Men?ndez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: lunes, 24 de marzo de 2003 23:07 Para: AccessD at databaseadvisors.com Asunto: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Mon Mar 24 21:07:27 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 25 Mar 2003 14:07:27 +1100 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? Many thanks in advance Darren From wdhindman at bellsouth.net Mon Mar 24 21:26:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 24 Mar 2003 22:26:24 -0500 Subject: [AccessD] A2K: Dim DAO.Recordset References: Message-ID: <008301c2f27e$509bbce0$6101a8c0@amd2k512> Darren ...dao reports don't support the recordset property ...instead, you have to set the recordsource property to the name property of the recorset's source table, query, or select statement ...HTH :) Set rs = db.OpenRecordset("SourceQueryName", dbOpenDynaset) Me.RecordSource = rs.Name William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Monday, March 24, 2003 10:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset > Hello all > Why does... > Dim rs As DAO.Recordset > Set rs = Me.Recordset > work fine in a form but not in a report in the same dB? > > eg on form > > Private Sub Form_Load() > Dim rs As DAO.Recordset > Set rs = Me.Recordset > Debugs fine > but in a report > > Private Sub Report_Open() > Dim rs As DAO.Recordset > Set rs = Me.Recordset > or > Set rs = Me.RecordSource > > When I debug, it fails on the = Me.Recordset bit > and an error msg says > Compile error. > Method or data member not found. > > or if I use RecordSource it fails on the = Me.RecordSource bit > and an error msg says > Compile error. > Type Mismatch > > Can't I set a recordset for a report?? > > Many thanks in advance > > Darren > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Mar 24 23:18:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 21:18:30 -0800 Subject: [AccessD] Access 2003 - How to Disable Macro Enable Check on opening MDB References: <353A32F9B331D411BB8F00A0C9FC503701294ACD@NT04> <3E7F2E0D.7000306@shaw.ca> Message-ID: <3E7FE6A6.2030309@shaw.ca> Ahh I found it there are two security menu items from main menu Tools--> Security Tools--> More down button--> Macro --> Security (The one I wanted) Access 2003 defaults to medium security, where Access XP I think defaults to low. I wonder if this means you have to use a security certificate for deployment. It was a trap, there was two of them! MartyConnelly wrote: > > When you open an MDB in Access 2003,epecially with a 97 conversion, I > get an enable disable macros check. The MDB has no macros, yet it > still occurs. > > This seems to like the old Word macro check to stop viruses. If you > click disable you get a "cannot open" due to security settings and > digital certicates not being verified for that mdb. If you click > enable you get in. The "More Info" button gives no info. This is a > pain, if you have to use an autoexec macro. > > The Access help file gives a long rigamarole description of > reinstalling and resetting registry keys > to disable this macro check for Office . I am not keen on doing this > as MS says you only have 5 installs for the Beta 2 and 10 installs if > you use a Corporate Activation key. > > Anyone encountered a workaround for this. > > From martyconnelly at shaw.ca Tue Mar 25 01:56:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Mar 2003 23:56:06 -0800 Subject: [AccessD] Access XP and references in libraries References: Message-ID: <3E800B96.7070506@shaw.ca> An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 25 02:28:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 02:28:20 -0600 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82457@main2.marlow.com> This is because a form is an interface for a recordsource, where as a report is just a 'snapshot' of the data. Thus, you can view various data on a report, as it is formatting, but it is only reading the data. With a form, you can 'change' data from the form, thus the recordset behind it is 'open' and available. The RecordSource property is just the name of the table or query (or SQL statement) that the form or report is using for it's bound data source. Drew -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/24/03 9:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 25 03:48:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 03:48:05 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82458@main2.marlow.com> A recent post on Woody's Lounge prompted me to post some code, to a 'top secret' project I have been working on. This project has been dumped to the back burner (for several months), because I've had a lot of 'paying' work that needed priority. Anyways, this project has no 'real' purpose (though ironically it practically solves this posters issue....), however it is kind of fun to 'run'. The post has all the information you will need to run it, and it has the .exe (and all of it's source) as a zipped attachment. Just wanted to let ya'll have some fun with it. (The real fun is watching the full project run through the web....it is currently running on my current employer's Intranet.(since my Assignment of Inventions agreement with them, allows them to use whatever I write on my own, for free). It's just running in a 'partial' state, because I discovered Access has a VERY interesting way of dealing with an actual Access form, versus a dialog window.) Anyhow, here's the link. Let me know what you think. (I think Darren Dick got an earlier version of this 'test' project, but it only 'displayed' dialog windows within Access, what I posted was the 'finalized' test project, that allows interaction with the dialog windows too...) http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=acc&Number=238098 &Search=true&Forum=acc&Words=wolfweb&Match=And&Searchpage=0&Limit=10&Old=all posts&Main=237199 (Sorry for the long URL (and post )...watch for wrapping.) Drew From wdhindman at bellsouth.net Tue Mar 25 04:57:07 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Mar 2003 05:57:07 -0500 Subject: [AccessD] Just for a little fun..... References: <2F8793082E00D4119A1700B0D0216BF801D82458@main2.marlow.com> Message-ID: <013101c2f2bd$470229a0$6101a8c0@amd2k512> ...you REALLY need to get your site working again!!!! ...enough with the excuses already!! :)))) William Hindman "War is an ugly thing but not the ugliest of things; the decayed and degraded state of moral and patriotic feelings which thinks that nothing is worth war is much worse. A man who has nothing for which he is willing to fight, nothing which is more important than his own personal safety, is a miserable creature and has no chance of being free unless made and kept so by the exertions of better men than himself." John Stuart Mill ----- Original Message ----- From: "Drew Wutka" To: "''AccessD List ' '" Sent: Tuesday, March 25, 2003 4:48 AM Subject: [AccessD] Just for a little fun..... > A recent post on Woody's Lounge prompted me to post some code, to a 'top > secret' project I have been working on. This project has been dumped to the > back burner (for several months), because I've had a lot of 'paying' work > that needed priority. > > Anyways, this project has no 'real' purpose (though ironically it > practically solves this posters issue....), however it is kind of fun to > 'run'. The post has all the information you will need to run it, and it has > the .exe (and all of it's source) as a zipped attachment. > > Just wanted to let ya'll have some fun with it. (The real fun is watching > the full project run through the web....it is currently running on my > current employer's Intranet.(since my Assignment of Inventions agreement > with them, allows them to use whatever I write on my own, for free). It's > just running in a 'partial' state, because I discovered Access has a VERY > interesting way of dealing with an actual Access form, versus a dialog > window.) > > Anyhow, here's the link. Let me know what you think. (I think Darren Dick > got an earlier version of this 'test' project, but it only 'displayed' > dialog windows within Access, what I posted was the 'finalized' test > project, that allows interaction with the dialog windows too...) > > http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=acc&Number=238098 > &Search=true&Forum=acc&Words=wolfweb&Match=And&Searchpage=0&Limit=10&Old=all > posts&Main=237199 > > (Sorry for the long URL (and post )...watch for wrapping.) > > Drew > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Tue Mar 25 06:52:04 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 07:52:04 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <004f01c2f2cd$560e7240$a2c50a44@hr.cox.net> I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 07:25:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 08:25:26 -0500 Subject: [AccessD] IF ...... ELSEIF Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54E9F@TTNEXCHSRV1.hshhp.com> Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 07:33:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 08:33:57 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8561E@TTNEXCHSRV1.hshhp.com> That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 07:35:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 07:35:49 -0600 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, There is no datatype of Date in Access. It is just an alias for the DateTime datatype, which of course has time included. You can mask out the time portion in your reports. As to your printer problem, please start a new thread about that and include more details so we can help you. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday 2003 Mar 25 06:52 To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 25 07:39:25 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 08:39:25 -0500 Subject: [AccessD] Problem with Date type variable In-Reply-To: <004f01c2f2cd$560e7240$a2c50a44@hr.cox.net> Message-ID: <000501c2f2d3$f36c56a0$8e01a8c0@Rock> That's just a formatting issue. Copy the following into a module: Public Sub TestDate() Dim d As Date Debug.Print d Debug.Print Format(d, "long date") End Sub In the debug window you will see: 12:00:00 AM December 30, 1899 HTH, Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjwrite at earthlink.net Tue Mar 25 07:58:36 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Tue, 25 Mar 2003 8:58:36 -0500 Subject: [AccessD] Text file as Data Source Message-ID: <4120033225135836620@earthlink.net> An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Tue Mar 25 08:01:39 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:01:39 -0500 Subject: [AccessD] Problem with Date type variable References: <22F1CCD5171D17419CB37FEEE09D5F99D8561E@TTNEXCHSRV1.hshhp.com> Message-ID: <008201c2f2d7$0ea54dc0$a2c50a44@hr.cox.net> I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Tue Mar 25 08:06:36 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:06:36 -0500 Subject: [AccessD] Printer not printing lines Message-ID: <009701c2f2d7$bfc2cba0$a2c50a44@hr.cox.net> I am having a problem with my printer (HP Laserjet IIP Plus) not printing lines on reports in Access 97 (which it was doing fine last week). It will print border lines on boxes and underscores, but not lines "drawn" with the line tool. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 08:02:14 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 09:02:14 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85621@TTNEXCHSRV1.hshhp.com> Looks like yes. You could also check for CLng(dtDate) <> 0. Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 08:06:29 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 08:06:29 -0600 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, Just ignore the time portion until you are ready to print the report. There is nothing you can do about deleting the time portion from the Date datatype since it is really a DateTime datatype. On the report you will want to format dtDate so as to not show any time. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday 2003 Mar 25 08:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 08:23:04 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 15:23:04 +0100 Subject: [AccessD] attachment Message-ID: <006f01c2f2da$e45a9850$f4c581d5@pedro> Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Mar 25 08:32:56 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 09:32:56 -0500 Subject: [AccessD] attachment Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85624@TTNEXCHSRV1.hshhp.com> Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From RGeldart at detma.org Tue Mar 25 08:47:17 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Tue, 25 Mar 2003 09:47:17 -0500 Subject: [AccessD] Problem with Date type variable Message-ID: Barbara, Can you show an example of how the date should look on the text file, and if possible how it looks on the record whereit appears as 12:00? I'm assuming it's simply a formatting problem. However, if it's possible that some dates are not in proper format on the text file, make sure you're prepared for them. 1. Import the date as a text and then deal with it. Try Trim(ImportString) to strip spaces 2. Make sure it's not a null. Try NZ(ImportString,"_") 3. If you are only getting a default time (with no date), it may be an empty string. Try NZ(Trim(ImportString),"_") -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Mar 25 08:54:52 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 25 Mar 2003 09:54:52 -0500 Subject: [AccessD] Problem with Date type variable References: <22F1CCD5171D17419CB37FEEE09D5F99D85621@TTNEXCHSRV1.hshhp.com> Message-ID: <00f601c2f2de$7e1bae40$a2c50a44@hr.cox.net> Thanks....that works fine!..............Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 9:02 AM Subject: RE: [AccessD] Problem with Date type variable Looks like yes. You could also check for CLng(dtDate) <> 0. Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Problem with Date type variable I am importing data from a text file ---- only if the "date" in this import file is populated (i.e., NOT blank/spaces), then the import date is moved to my date variable ("dtDate"). I then write the contents of dtDate (along with other data) to a table, which is then printed on a report. Should I be checking "If dtDate <> 12:00:00 AM, then write contents of dtDate to table date?" Thanks, Barb ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:33 AM Subject: RE: [AccessD] Problem with Date type variable That's the zero value for a Date datatype. Any variable of this type has this value until you fill it with a value. Thanks, Jim DeMarco -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 7:52 AM To: Access List Subject: [AccessD] Problem with Date type variable I am encountering a problem with date type variables in Access 97. When I create a date type variable (e.g., "Dim dtDate as Date") , the variable has a default value of 12:00:00 AM. I don't remember this happening before. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? I ask that question because I am also having a problem with my printer (HP IIP Plus) not printing lines on reports (which it was doing fine last week). Any thoughts? Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Mar 25 09:44:51 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 10:44:51 -0500 Subject: [AccessD] attachment In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85624@TTNEXCHSRV1.hshhp.com> Message-ID: <006101c2f2e5$793b30b0$8e01a8c0@Rock> It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Tue Mar 25 09:56:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 25 Mar 2003 15:56:25 -0000 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. Message-ID: <61F915314798D311A2F800A0C9C8318803956660@dibble.observatory.donnslaw.co.uk> Did the how-to question get answered? I'm about to write an app for users who are aldready used to drag/drop archiving from excel (it's in a 3rd party app) and rather than freak them out with an alternative method I think I'll have to do it the same way! Roz -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: 24 March 2003 23:21 To: accessd Subject: Re: [AccessD] Drag and drop files and Emails on form for archive purpose. The more you can "hide" from the user the better. It's so much easier to explain it as "magic" then to try to explain what's really happening. That's the principle I design all my apps around. Give them a single button to click, not a three-step process. No matter how "easy" the three steps are, you can bet you'll have a user who can't handle it. When they call every other day asking, "How do I do that again," it's much easier to say "click on the big button," than "just follow the wizard." Seth On Mon, 2003-03-24 at 16:49, William Hindman wrote: > "No matter how "dumbed down" you try to make the process, there will > always be a dumber user." Seth > > ...Programming 101 :((((( > > William Hindman > "All it takes for evil to prevail is for good men to do nothing." > Edmund Burke > > > ----- Original Message ----- > From: "Seth Galitzer" > To: "accessd" > Sent: Monday, March 24, 2003 5:44 PM > Subject: RE: [AccessD] Drag and drop files and Emails on form for > archive purpose. > > > > Drew, > > > > You don't know users very well. :) They don't want to have to think > > about it, they just want to do it. No matter how "dumbed down" you > > try to make the process, there will always be a dumber user. > > Saying, "copy the file to a folder," makes sense to you or me, but > > you can guarantee Joe User will give you a glazed look as soon as > > you try to explain why. Of course, Joe User may not understand "drag > > the file onto the application" either. Really, you can't win, but > > you can die trying. :) > > > > Seth > > > > On Mon, 2003-03-24 at 16:28, Drew Wutka wrote: > > > Just a thought. Why not have the users create a folder within > > > their > inbox. > > > Have them drag emails they want 'recoreded' into that folder. > > > Then > create a > > > service/routine that just runs through that folder, importing the > > > data > into > > > access? > > > > > > Drew > > > > > > -----Original Message----- > > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > > Sent: Saturday, March 22, 2003 4:10 AM > > > To: 'accessd at databaseadvisors.com' > > > Subject: [AccessD] Drag and drop files and Emails on form for > > > archive purpose. > > > > > > > > > Hi > > > > > > I already have a archive system for archiving outgooing emails and > > > word doucments from an access database. But I need some archiving > > > for Incoming correspondence to. > > > > > > I believe the only way to achief this is to have a sort of drag > > > and drop function. The user should be able to drag a document from > > > the explorer or from > inside > > > an email but also an e-mail itself to a form in access where a > > > specific customer is already selected. This when dropping the > > > object o this customer, access will save the > object > > > (file/email) in the same format (.DOC, .XLS, .MSG) and creating a > customer > > > related record with the filename into the archive table. > > > > > > What I'm basicly asking for is some easy or advanced code to see > > > how the drag and drop works between Outlook/Explorer and Access > > > and how I need > to > > > save the object to disk in its original format (.DOC, .MSG, .XLS, > etc...). > > > > > > The document archiving system I already have, but I never used a > > > drag > and > > > drop functionality... > > > > > > Thx > > > > > > Erwin. > > > > > > ---- > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > -- > > Seth Galitzer sgsax at ksu.edu > > Computing Specialist http://puma.agron.ksu.edu/~sgsax > > Dept. of Plant Pathology > > Kansas State University > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Mar 25 09:54:21 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 25 Mar 2003 10:54:21 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg From Jdemarco at hshhp.org Tue Mar 25 10:09:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 11:09:02 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85639@TTNEXCHSRV1.hshhp.com> Not clear on just what you want? Are you passing the form an existing class object but want the ability to pass an object of any custom (class) type? And then show the object's property values no matter what type of object you passed in? Or will yo know in advance what type of object to expect? Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 10:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Tue Mar 25 10:26:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Tue, 25 Mar 2003 11:26:59 -0500 Subject: [AccessD] Populating a form with attributes of a class In-Reply-To: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: I assume this is unbound? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, March 25, 2003 10:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2268 bytes Desc: not available URL: From cfoust at infostatsystems.com Tue Mar 25 10:34:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:34:11 -0800 Subject: [AccessD] Populating a form with attributes of a class Message-ID: By attributes, do you mean public properties, methods, or what? And what exactly do you want to form to do when it "presents" them? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 7:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Mar 25 10:39:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Mar 2003 17:39:29 +0100 Subject: [AccessD] Text file as Data Source In-Reply-To: <4120033225135836620@earthlink.net> References: <4120033225135836620@earthlink.net> Message-ID: <1931134739.20030325173929@cactus.dk> Hi Judy > I'm modifying an A97 database to A2002 and would like to change the > data source of a combo box selection to a tab delimited text file > that is updated every month. Will maintain the same format and will > only have 2 fields a # and a name. Both pieces of data will be > stored in the record they are selected for (so don't need any kind > of reference back). Well, attach that text file as a table and you're off. /gustav From cfoust at infostatsystems.com Tue Mar 25 10:37:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:37:57 -0800 Subject: [AccessD] Text file as Data Source Message-ID: Unless you are attaching the text file as a linked table, how were you planning to use it? It is certainly possible to read a test file into a recordset and stream it into a string, but I'm not clear on why you want to do this. Charlotte Foust -----Original Message----- From: Judy Johnson [mailto:jjwrite at earthlink.net] Sent: Tuesday, March 25, 2003 5:59 AM To: AccessD Subject: [AccessD] Text file as Data Source I'm modifying an A97 database to A2002 and would like to change the data source of a combo box selection to a tab delimited text file that is updated every month. Will maintain the same format and will only have 2 fields a # and a name. Both pieces of data will be stored in the record they are selected for (so don't need any kind of reference back). Thanks for your help. Judy -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Mar 25 10:40:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 25 Mar 2003 08:40:05 -0800 Subject: [AccessD] A2K: Dim DAO.Recordset Message-ID: Actually, it's because reports in A2k and earlier don't expose their recordset property. In AXP, reports have an exposed recordset property. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, March 25, 2003 12:28 AM To: 'AccessD List ' Subject: RE: [AccessD] A2K: Dim DAO.Recordset This is because a form is an interface for a recordsource, where as a report is just a 'snapshot' of the data. Thus, you can view various data on a report, as it is formatting, but it is only reading the data. With a form, you can 'change' data from the form, thus the recordset behind it is 'open' and available. The RecordSource property is just the name of the table or query (or SQL statement) that the form or report is using for it's bound data source. Drew -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/24/03 9:07 PM Subject: [AccessD] A2K: Dim DAO.Recordset Hello all Why does... Dim rs As DAO.Recordset Set rs = Me.Recordset work fine in a form but not in a report in the same dB? eg on form Private Sub Form_Load() Dim rs As DAO.Recordset Set rs = Me.Recordset Debugs fine but in a report Private Sub Report_Open() Dim rs As DAO.Recordset Set rs = Me.Recordset or Set rs = Me.RecordSource When I debug, it fails on the = Me.Recordset bit and an error msg says Compile error. Method or data member not found. or if I use RecordSource it fails on the = Me.RecordSource bit and an error msg says Compile error. Type Mismatch Can't I set a recordset for a report?? 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 Tim.Pain at e20.akzonobel.com Tue Mar 25 10:48:31 2003 From: Tim.Pain at e20.akzonobel.com (Pain, T. (Tim)) Date: Tue, 25 Mar 2003 16:48:31 -0000 Subject: [AccessD] Query synatx Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6367D3A@lbrn12.d20.intra> Scott & Stuart, Your pointers were a great help. It's a SQL server backend so I swaped the IIF for Case and ended up with the following - SELECT SUM(Quantity) AS TotalQuantity FROM (SELECT 'Quantity' = CASE WHEN dbo.Orders.Type = 0 THEN dbo.[Order Details].Outers ELSE dbo.[Order Details].Outers * - 1 END FROM dbo.Orders INNER JOIN dbo.[Order Details] ON dbo.Orders.OrderID = dbo.[Order Details].OrderID WHERE (dbo.Orders.Status <> 2) AND (dbo.Orders.StockAdj = 0) AND (dbo.[Order Details].SupplierRef = 'AM040')) DummyAlias Many thanks Tim -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: 24 March 2003 16:34 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Query synatx How about an if statement like the following Select OrderID, Price, IIF(InvoiceType = True, Quantity, Quantity * -1) as QTY FROM OrderHeader, OrderDetails WHERE OrderHeader.OrderID = OrderDetails.OrderID You get the jist? Scott -----Original Message----- From: Pain, T. (Tim) [mailto:Tim.Pain at e20.akzonobel.com] Sent: Monday, March 24, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Query synatx Dear List I have a OrderHeader and OrderDetails tables. The OrderHeader contains a InvoiceType field, set to True for Invoice and False for CreditNotes. The OrderDetails contains a Quantity field. This is always a positive value, even for CreditNotes. The join between the tables is on OrderID. What I am trying to do is create a query that will return a single value for all the quantities on order in the OrderDetails, for a given product number. So where the InvoiceType = False, the Quantity will have to be Quantity * -1. This has got to be possible, but having spent most of the day going nowhere with this, I need help. Any ideas would be much appreciated. Many thanks Tim Pain -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Mar 25 12:11:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 12:11:36 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82459@main2.marlow.com> Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? Archives will be up in the next few days. I am still 'building' my site, so right now there are just menus. What did you think of my little 'test' project? Drew -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/25/03 4:57 AM Subject: Re: [AccessD] Just for a little fun..... ...you REALLY need to get your site working again!!!! ...enough with the excuses already!! :)))) William Hindman " From wdhindman at bellsouth.net Tue Mar 25 12:32:22 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 25 Mar 2003 13:32:22 -0500 Subject: [AccessD] Just for a little fun..... References: <2F8793082E00D4119A1700B0D0216BF801D82459@main2.marlow.com> Message-ID: <000401c2f2fc$e0560790$6101a8c0@amd2k512> ...didn't try it ...just noticed you were referencing your site again and started poking around :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 25, 2003 1:11 PM Subject: RE: [AccessD] Just for a little fun..... > Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? > Archives will be up in the next few days. I am still 'building' my site, so > right now there are just menus. What did you think of my little 'test' > project? > > Drew > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/25/03 4:57 AM > Subject: Re: [AccessD] Just for a little fun..... > > ...you REALLY need to get your site working again!!!! ...enough with the > excuses already!! :)))) > > William Hindman > " > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Mar 25 13:09:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 13:09:58 -0600 Subject: [AccessD] Just for a little fun..... Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8245C@main2.marlow.com> Try it! . I didn't reference my site in my post, only on the Woody's Lounge post...I think. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, March 25, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Just for a little fun..... ...didn't try it ...just noticed you were referencing your site again and started poking around :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Tuesday, March 25, 2003 1:11 PM Subject: RE: [AccessD] Just for a little fun..... > Do you mean www.wolfwares.com? Or do you mean the archives I am hosting? > Archives will be up in the next few days. I am still 'building' my site, so > right now there are just menus. What did you think of my little 'test' > project? > > Drew > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/25/03 4:57 AM > Subject: Re: [AccessD] Just for a little fun..... > > ...you REALLY need to get your site working again!!!! ...enough with the > excuses already!! :)))) > > William Hindman > " > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Mar 25 13:14:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 25 Mar 2003 13:14:02 -0600 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8245D@main2.marlow.com> Are you saying that you want to 'see' the properties of the class? I wrote a Properties Property Add-In for VB, that creates a 'Properties' property, where you can programmatically list the properties of a class (names, types and values(read/write)). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 9:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Mar 25 13:14:01 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:14:01 +0100 Subject: [AccessD] checkboxes References: Message-ID: <00bb01c2f304$51a1eb60$f9c581d5@pedro> Thank You all for the small discussion on checkboxes. You pointed me in the right direction. Greetings Pedro Janssen ----- Original Message ----- From: MastercafeCTV To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:45 AM Subject: RE: [AccessD] checkboxes I recommend you use the OPTION GROUP this solve you the CODE problem to permit only 1 of this. If this will not possible we recommend a simple code that sum the checkbox value, the total value can be over -1. Another option can be on event after update multiply all values by 0 except the current. Regards Juan Men?ndez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Pedro Janssen Enviado el: lunes, 24 de marzo de 2003 23:07 Para: AccessD at databaseadvisors.com Asunto: [AccessD] checkboxes Hello Group, When i have a form with 10 checkboxes (chb1 to 10) and only one may be True. Is there a way to get an error message when you select two checkboxes as True. TIA Pedro Janssen ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 13:16:58 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:16:58 +0100 Subject: [AccessD] IF ...... ELSEIF References: <22F1CCD5171D17419CB37FEEE09D5F99E54E9F@TTNEXCHSRV1.hshhp.com> Message-ID: <00bc01c2f304$532c0dd0$f9c581d5@pedro> Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 13:21:46 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 20:21:46 +0100 Subject: [AccessD] attachment References: <006101c2f2e5$793b30b0$8e01a8c0@Rock> Message-ID: <00bf01c2f304$562e5150$f9c581d5@pedro> MessageI thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From szeller at cce.umn.edu Tue Mar 25 13:29:26 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Tue, 25 Mar 2003 13:29:26 -0600 Subject: [AccessD] Printer not printing lines Message-ID: Barb, While I have not head this exact problem, I did have printer problems a while back. The same app had problems printing certain objects on only some printers. Turned out to be a driver problem in every case. --Susan -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, March 25, 2003 8:07 AM To: Access List Subject: [AccessD] Printer not printing lines I am having a problem with my printer (HP Laserjet IIP Plus) not printing lines on reports in Access 97 (which it was doing fine last week). It will print border lines on boxes and underscores, but not lines "drawn" with the line tool. I recently did a "cleanup" on my PC, removing software I no longer use. Could I have removed a needed driver(s)? Any thoughts? Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 13:31:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 13:31:06 -0600 Subject: [AccessD] attachment Message-ID: Pedro, It is because you and others are sending your e-mails as HTML instead of plain text. M$ Outlook seems to want to put that header info into an attachment on HTML e-mail. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday 2003 Mar 25 13:22 To: artful at rogers.com; accessd at databaseadvisors.com Subject: Re: [AccessD] attachment Importance: Low I thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Mar 25 13:37:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 25 Mar 2003 13:37:16 -0600 Subject: [AccessD] attachment Message-ID: Oops! Sorry, I forgot to reset the format to plain text and left it in HTML format when I replied. Thus, you got yet another attachment. Since this reply is in plain text, there should not be an attachment with it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Wortz, Charles Sent: Tuesday 2003 Mar 25 13:31 To: accessd at databaseadvisors.com; artful at rogers.com Subject: RE: [AccessD] attachment Importance: Low Pedro, It is because you and others are sending your e-mails as HTML instead of plain text. M$ Outlook seems to want to put that header info into an attachment on HTML e-mail. Charles Wortz -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday 2003 Mar 25 13:22 To: artful at rogers.com; accessd at databaseadvisors.com Subject: Re: [AccessD] attachment Importance: Low I thought that it would be something like this, but find it strange that some mails have attachment signs and some mails don't have. I have seen this before in other mails, but find it rather disturbing. I think its better to add the lines of text to the message text. Pedro Janssen ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 4:44 PM Subject: RE: [AccessD] attachment It seems that the lines below are being attached as a text file rather than added to the message text. A new feature? :-) AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: March 25, 2003 9:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] attachment Those just started appearing this morning. The attachment contains message header info. Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 9:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] attachment Hello Group, why do i receive a attachment sign with a lot of Emails from this group, while there isn't an attachment. Pedro Janssen From mikedorism at ntelos.net Tue Mar 25 13:40:05 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 25 Mar 2003 14:40:05 -0500 Subject: [AccessD] Need to create PDF Print Server Message-ID: <00ce01c2f306$5ac99970$493a0cd8@hargrove.internal> We would like to create our own version of a PDF Print Server. Basically, we want to pass information (report name, parameters, requestor name) to our SQL Server via a sproc. We then want SQL Server to generate a PDF file which will then be stored in a designated place on the network for pick up by the calling program. Getting the info to SQL and generating the PDF is already handled. Figuring out how to tell SQL Server when there is info to be processed is the issue we are trying to make a decision on. My thoughts so far are: 1) Create an Insert Trigger that fires a DTS ActiveX script to open an Access session (if not already open), process anything in the file and shut down when there are no requests. Question here is when control would return to calling program? 2) Create a DTS schedule to start up a "monitoring" database which would operate during normal business hours. Question here is how to handle after-hour needs. Does anybody have any thoughts or suggestions? Mike and Doris Manning mikedorism at ntelos.net manning7 at shentel.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Mar 25 13:40:05 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 25 Mar 2003 14:40:05 -0500 Subject: [AccessD] [dba-SQLServer]Need to create PDF Print Server Message-ID: <00db01c2f306$60c34b00$493a0cd8@hargrove.internal> We would like to create our own version of a PDF Print Server. Basically, we want to pass information (report name, parameters, requestor name) to our SQL Server via a sproc. We then want SQL Server to generate a PDF file which will then be stored in a designated place on the network for pick up by the calling program. Getting the info to SQL and generating the PDF is already handled. Figuring out how to tell SQL Server when there is info to be processed is the issue we are trying to make a decision on. My thoughts so far are: 1) Create an Insert Trigger that fires a DTS ActiveX script to open an Access session (if not already open), process anything in the file and shut down when there are no requests. Question here is when control would return to calling program? 2) Create a DTS schedule to start up a "monitoring" database which would operate during normal business hours. Question here is how to handle after-hour needs. Does anybody have any thoughts or suggestions? Mike and Doris Manning mikedorism at ntelos.net manning7 at shentel.net -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3524 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Mar 25 13:48:02 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 14:48:02 -0500 Subject: [AccessD] IF ...... ELSEIF Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85648@TTNEXCHSRV1.hshhp.com> Pedro, If you use this code (or something like it) add the test for: If blnGetOut = True before moving to Next j also to get you out of the inner loop as well. Oversight on my part. Sorry, Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IF ...... ELSEIF Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Tue Mar 25 13:50:14 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 25 Mar 2003 13:50:14 -0600 Subject: [AccessD] Populating a form with attributes of a class In-Reply-To: <006601c2f2e6$ccc38240$8e01a8c0@Rock> References: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: <1048621816.2823.24.camel@sgsax-th4022c> Arthur, Are you wanting to use data in an object to populate a form? Or am I misreading you? AFAIK, there is no way to pass an object as a form parameter. You can pass a string, but that's about it. And I don't think you can reference an object by such a string value. You would need some kind of container, like a collection, for your objects, which you could then reference by a key name. Note this collection would need to be global, but if you look at it like any other application-wide collection, it's really the same thing. The Forms or Tabledefs collections are really nothing more that "system" global collections. While globals are typically considered a "bad thing" by most developers, sometimes you can't get around them. I think in this case, where you're not keeping an armada of global objects available and just a single collection, it shouldn't be too painful for you. :) Seth On Tue, 2003-03-25 at 09:54, Arthur Fuller wrote: > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From michael.mattys at adelphia.net Tue Mar 25 14:21:29 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Mar 2003 15:21:29 -0500 Subject: [AccessD] Populating a form with attributes of a class References: <006601c2f2e6$ccc38240$8e01a8c0@Rock> Message-ID: <012801c2f30c$1ff5ba30$6401a8c0@default> Since forms and controls are classes (and may be expressed as WithEvents Classes) there is no reason that you cannot Open a New form class with a New person, a car, a network, or whatever. If you get the form's HWnd in Class Init, you can set it's control's values to whatever you like. No? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Tuesday, March 25, 2003 10:54 AM Subject: [AccessD] Populating a form with attributes of a class > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Mar 25 15:00:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 25 Mar 2003 16:00:01 -0500 Subject: [AccessD] Populating a form with attributes of a class Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54EC7@TTNEXCHSRV1.hshhp.com> If the string contains the library and class names he could use a string just like you would in: CreateObject("Excel.Application") or in the case of a custom object: CreateObject("MyLibrary.MyClassObject") Jim DeMarco -----Original Message----- From: Seth Galitzer [mailto:sgsax at ksu.edu] Sent: Tuesday, March 25, 2003 2:50 PM To: accessd Subject: Re: [AccessD] Populating a form with attributes of a class Arthur, Are you wanting to use data in an object to populate a form? Or am I misreading you? AFAIK, there is no way to pass an object as a form parameter. You can pass a string, but that's about it. And I don't think you can reference an object by such a string value. You would need some kind of container, like a collection, for your objects, which you could then reference by a key name. Note this collection would need to be global, but if you look at it like any other application-wide collection, it's really the same thing. The Forms or Tabledefs collections are really nothing more that "system" global collections. While globals are typically considered a "bad thing" by most developers, sometimes you can't get around them. I think in this case, where you're not keeping an armada of global objects available and just a single collection, it shouldn't be too painful for you. :) Seth On Tue, 2003-03-25 at 09:54, Arthur Fuller wrote: > Suppose I have a class that represents a person, a car, a network, whatever. > What would you suggest is the best way to present the attributes of an > instance of said class on a form? Somehow the form has to be able to see the > object. Pass its name and then derefence it inside the form_open()? It's > simple enough in debug.print because you can deal with the object as an > object and just interrogate it. > > I don't want to declare a global because there could be any number of them. > Any suggestions, you object guys? > > "Prediction is difficult, especially of the future." > - Werner Heisenberg -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jscott at mchsi.com Tue Mar 25 15:16:39 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 15:16:39 -0600 Subject: [AccessD] Reports: paper size Message-ID: I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it?s fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It?s driving me nuts! Jeanine -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Tue Mar 25 15:23:48 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 22:23:48 +0100 Subject: [AccessD] attachment References: Message-ID: <003c01c2f315$d3083b30$f9c581d5@pedro> Charles, Thanks for the info. This email then must be without attachment. Pedro Janssen ----- Original Message ----- From: "Wortz, Charles" To: ; Sent: Tuesday, March 25, 2003 8:37 PM Subject: RE: [AccessD] attachment > Oops! Sorry, I forgot to reset the format to plain text and left it in > HTML format when I replied. Thus, you got yet another attachment. > Since this reply is in plain text, there should not be an attachment > with it. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > -----Original Message----- > From: Wortz, Charles > Sent: Tuesday 2003 Mar 25 13:31 > To: accessd at databaseadvisors.com; artful at rogers.com > Subject: RE: [AccessD] attachment > Importance: Low > > > Pedro, > > It is because you and others are sending your e-mails as HTML instead of > plain text. M$ Outlook seems to want to put that header info into an > attachment on HTML e-mail. > > Charles Wortz > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday 2003 Mar 25 13:22 > To: artful at rogers.com; accessd at databaseadvisors.com > Subject: Re: [AccessD] attachment > Importance: Low > > > I thought that it would be something like this, but find it strange that > some mails have attachment signs and some mails don't have. > I have seen this before in other mails, but find it rather disturbing. I > think its better to add the lines of text to the message text. > > Pedro Janssen > > ----- Original Message ----- > From: Arthur Fuller > To: accessd at databaseadvisors.com > Sent: Tuesday, March 25, 2003 4:44 PM > Subject: RE: [AccessD] attachment > > > It seems that the lines below are being attached as a text file rather > than added to the message text. A new feature? :-) > > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: March 25, 2003 9:33 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] attachment > > > Those just started appearing this morning. The attachment contains > message header info. > Jim DeMarco > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, March 25, 2003 9:23 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] attachment > > > Hello Group, > > why do i receive a attachment sign with a lot of Emails from this group, > while there isn't an attachment. > > Pedro Janssen > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Tue Mar 25 15:27:12 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 25 Mar 2003 22:27:12 +0100 Subject: [AccessD] IF ...... ELSEIF References: <22F1CCD5171D17419CB37FEEE09D5F99D85648@TTNEXCHSRV1.hshhp.com> Message-ID: <003d01c2f315$d4fa6e40$f9c581d5@pedro> Hello Jim, thanks for the extra information. I wasn't testing already. After i have done it, i will let you know if it works. You don't have to say sorry. When it works. It will save me a lot of time Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 8:48 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, If you use this code (or something like it) add the test for: If blnGetOut = True before moving to Next j also to get you out of the inner loop as well. Oversight on my part. Sorry, Jim DeMarco -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, March 25, 2003 2:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IF ...... ELSEIF Thank You William and Jim. I now the SelectCase statement. But i still find it a lot of work. I hoped to receive a reaction like Jim did. I will try this and hopefully it works. Greetings Pedro Janssen ----- Original Message ----- From: Jim DeMarco To: accessd at databaseadvisors.com Sent: Tuesday, March 25, 2003 2:25 PM Subject: RE: [AccessD] IF ...... ELSEIF Pedro, Since you seem to be following a control naming/numbering scheme try something like this (untested, written in notepad; watch for wrapping): Dim blnGetOut As Boolean for i = 1 to 6 'change to the number of chbx items (x = numeric value) for j = 0 to 1 'change to the number of letters (suffix) to iterate through - 1 (as in chb1A or chb1B) if controls("chb" & i) = true and controls("chb" & j & chr(65 + j)) = true prps.Item("Name").Value = Nz(Me.Controls("txtName" & i) prps.Item("Adress").Value = NZ(Me.conrols("txtAddress" & i) prps.Item("Part" & i & chr(65 + j)).Value = Nz(Me.controls("txtPart" & i & chr(65 + j)) prps.Item("ZkFonds" & i & chr(65 + j)).Value = Nz(Me.controls("txtZkfonds" & i & chr(65 + j)) blnGetOut = True end if next j If blnGetOut = True Then Exit For next i HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Monday, March 24, 2003 5:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] IF ...... ELSEIF Hello Group, The code below is a part of a code that i use to make wordletters with data from access2K. If chb1 = True and chb1A = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) ElseIf chb1 = True and chb1B = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf chb2 = True and chb2A = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) ElseIf chb2 = True and chb2B = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If because i have lots of fields and lots of checkboxes its a hell of a job to type, or copy/paste and change all this. I know the code below isn't working, but is there a way to modifie the code to something like If chb1 = True then prps.Item("Name").Value = Nz(Me![txtName1]) prps.Item("Adress").Value = Nz(Me![txtAddress1]) AND chb2A = True Then prps.Item("Part1A").Value = Nz(Me![txtPart1A]) prps.Item("ZkFonds1A").Value = Nz(Me![txtZkFonds1A]) AND chb2B = True Then prps.Item("Part1B").Value = Nz(Me![txtPart1B]) prps.Item("ZkFonds1B").Value = Nz(Me![txtZkFonds1B]) ElseIf If chb2 = True then prps.Item("Name").Value = Nz(Me![txtName2]) prps.Item("Adress").Value = Nz(Me![txtAddress2]) AND chb2A = True Then prps.Item("Part2A").Value = Nz(Me![txtPart2A]) prps.Item("ZkFonds2A").Value = Nz(Me![txtZkFonds2A]) AND chb2B = True Then prps.Item("Part2B").Value = Nz(Me![txtPart2B]) prps.Item("ZkFonds2B").Value = Nz(Me![txtZkFonds2B]) End If TIA Pedro Janssen **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Tue Mar 25 15:35:48 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 25 Mar 2003 15:35:48 -0600 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thevigil at kabelfoon.nl Tue Mar 25 15:53:53 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:53:53 +0100 Subject: [AccessD] Reports: paper size References: Message-ID: <013801c2f319$0a1e8720$115b2d3e@jester> Jeanine, look in the options and on the 'General' tab make sure 'perform name AutoCorrect' is NOT selected. Access is know for not savind page setup settings for reports with this option selected. That is in A2k HTH Bert-Jan ----- Original Message ----- From: Jeanine Scott To: AccessD at databaseadvisors. com Sent: Tuesday, March 25, 2003 10:16 PM Subject: [AccessD] Reports: paper size I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it's fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It's driving me nuts! Jeanine ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thevigil at kabelfoon.nl Tue Mar 25 15:55:47 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:55:47 +0100 Subject: [AccessD] Breakpoint Message-ID: <015101c2f319$53843360$115b2d3e@jester> Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan From thevigil at kabelfoon.nl Tue Mar 25 15:56:54 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 22:56:54 +0100 Subject: [AccessD] for each.... Message-ID: <015201c2f319$73b3f260$115b2d3e@jester> Hi group. The strangest thing is happening to me (which i was unable to solve the past hour ;-( ): The following code used in one event is working fine and in the other not: dim ctl as control for eacht ctl in me.detail.controls debug.print ctl.name next When it is working fine it lists all controls in the detailsection... that is what i want When it doesn't work fine fine it only lists 1 control? Why? And why it does lists that specific control i do not know? I gave it another tab index and i replaced it on the form but still it will list the same control (i am rewriting someone elses database, so i do not know if that control was created first on that form, but i suspect that is the thing... does access keep another (hidden) order of controls on a form?) And while i was trying to solve this i found another strange thing..... (i will start a different thread for this aswell) I placed a breakpoint in the code to see how it was executed..... and it didn't jump to the breakpoint...?? And it does in other databases on the same PC! Bert-Jan From MPorter at acsalaska.com Tue Mar 25 16:04:49 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 25 Mar 2003 13:04:49 -0900 Subject: [AccessD] Breakpoint Message-ID: Is it possible that your logic is bypassing the breakpoint? Mark -----Original Message----- From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] Sent: Tuesday, March 25, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From thevigil at kabelfoon.nl Tue Mar 25 16:07:18 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Tue, 25 Mar 2003 23:07:18 +0100 Subject: [AccessD] Breakpoint References: Message-ID: <01c301c2f31a$e7e5ede0$115b2d3e@jester> nope. I thought of that aswell and placed it on the first line of code.... ----- Original Message ----- From: "Porter, Mark" To: Sent: Tuesday, March 25, 2003 11:04 PM Subject: RE: [AccessD] Breakpoint > Is it possible that your logic is bypassing the breakpoint? > > Mark > > -----Original Message----- > From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] > Sent: Tuesday, March 25, 2003 12:56 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Breakpoint > > > Hi Group, > > while trying to solve something i was troubling with i placed a breakpoint > in the code to see how the code was executed. > But while running the code Access won't jump to the breakpoint...? > > It does in other databases on the same PC? > > I use A2k on a Windows 2000 professional machine > > Bert-Jan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, please notify > us immediately by reply or by telephone (collect at 907-564-1000) and ask to > speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jscott at mchsi.com Tue Mar 25 16:18:21 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 16:18:21 -0600 Subject: [AccessD] Reports: paper size In-Reply-To: <013801c2f319$0a1e8720$115b2d3e@jester> Message-ID: Thanks ? I neglected to mention that I?m working in Access97 so I don?t think that?s my problem? Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Tuesday, March 25, 2003 3:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports: paper size Jeanine, look in the options and on the 'General' tab make sure 'perform name AutoCorrect' is NOT selected. Access is know for not savind page setup settings for reports with this option selected. That is in A2k HTH Bert-Jan ----- Original Message ----- From: Jeanine Scott To: AccessD at databaseadvisors. com Sent: Tuesday, March 25, 2003 10:16 PM Subject: [AccessD] Reports: paper size I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it?s fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It?s driving me nuts! Jeanine _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Tue Mar 25 16:54:49 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 14:54:49 -0800 Subject: [AccessD] Breakpoint Message-ID: <657FB70438B7D311AF320090279C1801026D797E@EXCHMAIL> place the word STOP one line above the breakpoint, if it still does not stop, then it is likely that that procedure isn't being called. if it is an event for a control, make sure you (in design view) click on the control and the event reads [EVENT PROCEDURE] if it does not, then the code wont fire. HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Tuesday, March 25, 2003 1:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan From DMcAfee at haascnc.com Tue Mar 25 16:57:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 14:57:00 -0800 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: <657FB70438B7D311AF320090279C1801026D797F@EXCHMAIL> Jeffrey, if a stored procedure (SPROC) is what populating the combo box (and you are in an ADP) then all you have to do is place the following in the combo box's OnEnter event: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere '" & YourParameter & "'" if you have no parameter to send to the SPROC, then it is even easier: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere" or if it simply a view then just place the view's name in the combo's recordsource filed as you would a query. If you are not using an ADP, and instead are using an MDB, you should be able to simply put the name of the query as the rowsource for you combo Doesn't your query/sproc return the result set that you want for your combo? HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, March 25, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help populating a drop down box in A2K Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Tue Mar 25 18:04:35 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 25 Mar 2003 16:04:35 -0800 Subject: [AccessD] Reports: paper size References: Message-ID: <3E80EE93.30808@shaw.ca> An HTML attachment was scrubbed... URL: From jscott at mchsi.com Tue Mar 25 18:37:58 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 25 Mar 2003 18:37:58 -0600 Subject: [AccessD] Reports: paper size In-Reply-To: <3E80EE93.30808@shaw.ca> Message-ID: Thanks Marty. I added this code and hopefully that will take care of it. Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, March 25, 2003 6:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports: paper size You could force it to Legal size with this code. Also changing your Printer Port can cause this error. How to Build a Visual Basic Module to Print a Report in Landscape Mode on Legal-Size Paper http://support.microsoft.com/default.aspx?scid=kb;en-us;302650 Jeanine Scott wrote: I have a report where the page setup is legal size. For some reason the paper size keeps changing back to letter size. I open the report, set the paper size, save it, print a few times and it's fine. Then for some reason it changes back to letter size again. I open the report differently based on how the screen is being viewed. If there is a filter on the screen then the code opens the report with a groupby option otherwise it opens the report as normal. I posted the code below. If Me.FilterOn = True Then DoCmd.OpenReport "rptCollectionsSummary", , "GroupBy = '" & Me.txtGroupBy & "'" Else DoCmd.OpenReport "rptCollectionsSummary" End If Any suggestions??? It's driving me nuts! Jeanine _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 19:04:00 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 12:04:00 +1100 Subject: [AccessD] Combo force drop down UNDO Message-ID: <000a01c2f333$964d3880$54dd31d2@OfficePC> I still have a problem with this. (When user selects an option from the drop down list with the mouse the drop down list STAYS instead of disappearing as it woiuld normally. So my question is: does anyone know of a command which will reverse this and FORCE the dropdown away? (I can't find any). Me.TxtClientSurname.SetFocus Me.TxtClientSurname.Dropdown TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Tue Mar 25 19:41:41 2003 From: papparuff at attbi.com (John Ruff) Date: Tue, 25 Mar 2003 17:41:41 -0800 Subject: [AccessD] Combo force drop down UNDO In-Reply-To: <000a01c2f333$964d3880$54dd31d2@OfficePC> Message-ID: <020b01c2f338$da59c6b0$6401a8c0@papparuff> In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 20:25:35 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 13:25:35 +1100 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff> Message-ID: <001701c2f33e$fc44e290$54dd31d2@OfficePC> MessageThanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub John V. Ruff - The Eternal Optimist J Always Looking For Contract Opportunities ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Tue Mar 25 20:38:08 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 25 Mar 2003 21:38:08 -0500 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff> <001701c2f33e$fc44e290$54dd31d2@OfficePC> Message-ID: <01d101c2f340$be7d89b0$cce6ffcc@SusanOne> Message I need to know how to keep the focus on the control but kill the drop down. ==You don't want the list to dropdown at all then? Susan H. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Mar 25 20:40:46 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 25 Mar 2003 21:40:46 -0500 Subject: [AccessD] Combo force drop down UNDO References: <000a01c2f333$964d3880$54dd31d2@OfficePC> Message-ID: <004401c2f341$1c9a1900$6401a8c0@default> >When user selects an option from the drop down list with the mouse... Kath, If it sets focus to the next in taborder with the keyboard then you might setfocus in the OnMouse_Up event. Possibly? Michael R. Mattys www.mattysconsulting.com From DMcAfee at haascnc.com Tue Mar 25 21:19:43 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 19:19:43 -0800 Subject: [AccessD] Combo force drop down UNDO Message-ID: <657FB70438B7D311AF320090279C1801026D7980@EXCHMAIL> Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub From SDSSoftware at Optusnet.com.au Tue Mar 25 21:08:29 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:08:29 +1100 Subject: [AccessD] Combo force drop down UNDO References: <020b01c2f338$da59c6b0$6401a8c0@papparuff><001701c2f33e$fc44e290$54dd31d2@OfficePC> <01d101c2f340$be7d89b0$cce6ffcc@SusanOne> Message-ID: <004d01c2f344$fafa0450$54dd31d2@OfficePC> MessageHi Susan - I do want the combo to drop down the list after the first 2 letters have been entered (ie. once the combo row source has been populated). But after the user clicks on one of the options on the list, I want the drop down list to disappear. For some reason this is not happening when the mouse is used to make a selection - although when using the keyboard is used (eg. enter) it behaves normally and the drop down disappears. Kath ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 1:38 PM Subject: Re: [AccessD] Combo force drop down UNDO I need to know how to keep the focus on the control but kill the drop down. ==You don't want the list to dropdown at all then? Susan H. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 21:21:08 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:21:08 +1100 Subject: [AccessD] Combo force drop down UNDO References: <657FB70438B7D311AF320090279C1801026D7980@EXCHMAIL> Message-ID: <006601c2f346$c0907c70$54dd31d2@OfficePC> David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 21:23:42 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 14:23:42 +1100 Subject: [AccessD] Combo force drop down UNDO References: <000a01c2f333$964d3880$54dd31d2@OfficePC> <004401c2f341$1c9a1900$6401a8c0@default> Message-ID: <007b01c2f347$1a648ca0$54dd31d2@OfficePC> Thanks Michael...... ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 1:40 PM Subject: Re: [AccessD] Combo force drop down UNDO >When user selects an option from the drop down list with the mouse... Kath, If it sets focus to the next in taborder with the keyboard then you might setfocus in the OnMouse_Up event. Possibly? Michael R. Mattys www.mattysconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Tue Mar 25 21:40:02 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Tue, 25 Mar 2003 19:40:02 -0800 Subject: [AccessD] Combo force drop down UNDO Message-ID: <657FB70438B7D311AF320090279C1801026D7982@EXCHMAIL> Yup: Private Sub cboPN_Change() If Len(Me.cboPN.Text) < 2 Then Me.cboPN.RowSource = "" Else Me.cboPN.RowSource = "EXEC stp_007A_FillcboPN '" & Me.cboPN.Text & "'" Me.cboPN.Dropdown End If End Sub I would have went bigger, but we actually have 2 digit PN's :( Anyway, I finally got aggravated enough that I went back to my old plan of having the user enter the PN into a text box and calling a SPROC in the after update event of the text box. If the PN doesn't exist, then I give them a nice ol' MsgBox and clear out the field :) I figured that since the form is unbound, I can disable the [OK] button until all fields have good data in them ;) Another thing you can do, if you don't get this working, is to switch to a text box and make an non visible list box appear under the text box, then on select (of the LB), populate the text box and hide the lb! HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Mar 25 22:00:08 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 26 Mar 2003 15:00:08 +1100 Subject: [AccessD] Combo force drop down UNDO References: <657FB70438B7D311AF320090279C1801026D7982@EXCHMAIL> Message-ID: <00e501c2f34c$36c724c0$54dd31d2@OfficePC> Glad to hear that I'm not the only one with this problem....your code and mine give me exactly the same result, so I'll have a think about your last suggestion with the text box. Add to wishlist: Ctrl.dropdown = false Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:40 PM Subject: RE: [AccessD] Combo force drop down UNDO Yup: Private Sub cboPN_Change() If Len(Me.cboPN.Text) < 2 Then Me.cboPN.RowSource = "" Else Me.cboPN.RowSource = "EXEC stp_007A_FillcboPN '" & Me.cboPN.Text & "'" Me.cboPN.Dropdown End If End Sub I would have went bigger, but we actually have 2 digit PN's :( Anyway, I finally got aggravated enough that I went back to my old plan of having the user enter the PN into a text box and calling a SPROC in the after update event of the text box. If the PN doesn't exist, then I give them a nice ol' MsgBox and clear out the field :) I figured that since the form is unbound, I can disable the [OK] button until all fields have good data in them ;) Another thing you can do, if you don't get this working, is to switch to a text box and make an non visible list box appear under the text box, then on select (of the LB), populate the text box and hide the lb! HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO David - it sounds like your form is quite similar. Are you forcing the drop down to display after the first 2 chars are entered? That forcing of the drop down is what's mucking up the behaviour of the combo. I have put this combo on the very front menu (as there may be 20,000 clients), so that users can zero into the record they want straight away. They then hit a 'Go' button to open the appropriate client detail record. What's wrong with the drop down list still being displayed? It *feels* like you haven't made a selection, because normal combo behaviour would be: 1. Click on drop down arrow (or F4) to see options. 2. Click on an option. 3. Option selected appears in control. 4. The drop down disappears. When the 4th part doesn't happen it goes against expected behaviour and is confusing. And because this combo has a wide drop down (5 columns) it really is blocking the users from seeing other menu options. They have to find a blank place on the menu and click there to get rid of it. I could forget about forcing the drop down, but as there is no record source until 2 chars are entered, it looks great to enter 2 and then the list populated and displayed automatically. Kath ----- Original Message ----- From: David McAfee To: 'accessd at databaseadvisors.com' Sent: Wednesday, March 26, 2003 2:19 PM Subject: RE: [AccessD] Combo force drop down UNDO Kath, I have a very similar form which acts the same way. I have to look up PNs and if I didn't limit the result set by not calling the SPROC until I have at least two characters in my combo box, I'd have a lot of PN's in that combo box! Anyway, after I click on the combo, I (or the user) clicks on another field or hits tab to leave the field, so the combo at that points hides the drop down, so why go through the work of trying to hide it? What does the user do next on your form after selecting something from the box? Is there an OK button? I am just trying to visualize what's going on. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Software Design & Solutions Pty Ltd. Sent: Tuesday, March 25, 2003 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Combo force drop down UNDO Thanks John. That would work except that this is a combo that has no row source until the first 2 letters have been entered by the user. So the combo has an 'on change' event which requires the control to have the focus. Moving the focus to another control on the after update won't allow the on change to occur. I need to know how to keep the focus on the control but kill the drop down. Kath ----- Original Message ----- From: John Ruff To: accessd at databaseadvisors.com Sent: Wednesday, March 26, 2003 12:41 PM Subject: RE: [AccessD] Combo force drop down UNDO In the dropdown's AfterUpdate, set the focus to another control. Private Sub TxtClientSurname_AfterUpdate() LastName.setfocus End Sub ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Mar 26 02:34:24 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Mar 2003 00:34:24 -0800 Subject: [AccessD] Drag and drop files and Emails on form for archive purpose. References: <104AB6116A2DD511A7580008C7097A982195B0@AARDBEI> Message-ID: <3E816610.1040809@shaw.ca> An HTML attachment was scrubbed... URL: From Rick.Ehlers at cinergy.com Wed Mar 26 06:04:21 2003 From: Rick.Ehlers at cinergy.com (Ehlers, Rick) Date: Wed, 26 Mar 2003 07:04:21 -0500 Subject: [AccessD] Breakpoint Message-ID: <1091FC4177258B40BC4B712C053AF57D1256D0@excincybe03.cinergy.com> Bert-Jan, Under Access 2000 - Tools - Startup - Advanced, there is a checkbox to turn off and on the use of special Access keys. I have been burned when testing code that if the box is not checked, the code won't stop at the breakpoint. The other problem I have is if I set a breakpoint and then toggle it back off later and leave the startup option unchecked, my "phantom" breakpoint is still active, even after I close the application. This never occurred under Access 97. Must be a "feature". HTH Rick Ehlers Energy Merchant Business Unit Power Business Information 4th & Main - Room 540A Phone: (513) 287-3406 EMail: rhehlers at cinergy.com -----Original Message----- From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] Sent: Tuesday, March 25, 2003 4:56 PM To: accessd at databaseadvisors.com Subject: [AccessD] Breakpoint Hi Group, while trying to solve something i was troubling with i placed a breakpoint in the code to see how the code was executed. But while running the code Access won't jump to the breakpoint...? It does in other databases on the same PC? I use A2k on a Windows 2000 professional machine Bert-Jan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ttom at accessyourdata.com Wed Mar 26 00:36:16 2003 From: ttom at accessyourdata.com (t tom) Date: Tue, 25 Mar 2003 23:36:16 -0700 Subject: [AccessD] Re: OT : References Message-ID: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Hi All Does anyone know where I get info on the "Available References" found in Access and VB. I can use the Object Browser but there must be better documentation somewhere! TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Wed Mar 26 07:55:34 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 08:55:34 -0500 Subject: [AccessD] Provider not found Message-ID: Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From CWortz at tea.state.tx.us Wed Mar 26 08:03:02 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 26 Mar 2003 08:03:02 -0600 Subject: [AccessD] Provider not found Message-ID: Nancy, Are you sure you have Jet 4.0 installed, since that is the version you are asking for. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday 2003 Mar 26 07:56 To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From Jdemarco at hshhp.org Wed Mar 26 08:05:29 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 09:05:29 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8565A@TTNEXCHSRV1.hshhp.com> Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From klk at ksu.edu Wed Mar 26 08:15:22 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Wed, 26 Mar 2003 08:15:22 -0600 Subject: [AccessD] Provider not found In-Reply-To: Message-ID: <001201c2f3a2$23af2e90$3c588281@current> This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From nancy.lytle at auatac.com Wed Mar 26 08:16:40 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 09:16:40 -0500 Subject: [AccessD] Provider not found In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D8565A@TTNEXCHSRV1.hshhp.com> Message-ID: I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Wed Mar 26 08:31:17 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 09:31:17 -0500 Subject: [AccessD] Provider not found In-Reply-To: <001201c2f3a2$23af2e90$3c588281@current> Message-ID: Thanks Keith, I didn't even notice that, too early I guess, so I corrected it and now it is saying no value given for one or more required parameters. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith L. Kovala Sent: Wednesday, March 26, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 26 09:08:18 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 26 Mar 2003 09:08:18 -0600 Subject: [AccessD] Provider not found In-Reply-To: References: Message-ID: <1048691298.7325.16.camel@sgsax-th4022c> Nancy, You don't need a semicolon after the last parameter. Try taking it off and see if that helps. I'm no ADO wizard, so I have no idea if this will help or not. Seth On Wed, 2003-03-26 at 08:31, Nancy Lytle wrote: > Thanks Keith, I didn't even notice that, too early I guess, so I corrected > it and now it is saying no value given for one or more required parameters. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" > > Nancy > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From Jdemarco at hshhp.org Wed Mar 26 09:16:00 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 10:16:00 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Wed Mar 26 09:22:48 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 10:22:48 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85666@TTNEXCHSRV1.hshhp.com> Just noticed that you're passing a provider string to the recordset.Open method and it's expecting a connection. Try opening a connection first then open the recordset: dim cnn as ADODB.Connection dim rs as ADODB.Recordset Set cnn = NEW ADODB.Connection cnn.Provider = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" cnn.Open rs.Open strSQL, cnn HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Thanks Keith, I didn't even notice that, too early I guess, so I corrected it and now it is saying no value given for one or more required parameters. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith L. Kovala Sent: Wednesday, March 26, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found This may be overly simple, but you might want to check the string you sent. Between each parameter in the connect string there should be a ";". So, it should look something like this. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb;" Keith L. Kovala > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, March 26, 2003 7:56 AM > To: Accessd > Subject: [AccessD] Provider not found > > > Can anyone tell me why I would get this message? > > Provider not found. It may not be installed properly. > > I understand the meaning, it's just that the provider it > can't find is Jet. > > Here is the code. > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > Any assistance appreciated. > > Nancy Lytle > > The entire context is: > > Public Function StartDB() > Call fcnOSUserName > Dim strSQL As String > Dim strGroup As String > Dim intClientIDCount As Integer > Dim rstGroup As ADODB.Recordset > Set rstGroup = New ADODB.Recordset > > strSQL = "Select Group from tblUsers Where UserName = " & "'" > & fcnOSUserName & "'" > > rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ > "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" > > strGroup = rstGroup.GetString() > > If strGroup = "A" Then > > DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal > DoCmd.Maximize > ElseIf strGroup = "RW" Then > > DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal > DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", > acNormal, "", "", , acNormal > > DoCmd.Maximize > > End If 'User name > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Wed Mar 26 09:36:33 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 26 Mar 2003 09:36:33 -0600 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: Jim, There are several ways to solve the problem that there is only one file extension (.mdb) that has to be shared among the various versions of Access. The way I solve it is to create shortcuts for each of my apps that include the path to the correct version of Access to open that app with. For my A02 apps the shortcut looks as such: "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "Path to proper MDW for app" "Path to application" in that order. First you tell it where to find the proper version of Access to use, then you tell it where to find the proper workgroup file to control permissions if you are not using the default System.mdw, and finally you tell it where to find the application. Once I have set up all the shortcuts I never have to worry about them until something gets moved or converted. The only problem with this technique is you have to train yourself to never double-click on the app, always double-click on the shortcut. But if you have enough brains to be an Access developer, this should be easy. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday 2003 Mar 26 09:16 To: AccessD (E-mail) Subject: [AccessD] Access 2002 overides A97 as default app We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan From michael.mattys at adelphia.net Wed Mar 26 09:44:03 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 26 Mar 2003 10:44:03 -0500 Subject: [AccessD] Access 2002 overides A97 as default app References: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> Message-ID: <008901c2f3ae$9468a420$6401a8c0@default> Jim, Christian Rosu made this for A2K/A97 Just needs some more entries for 2002 http://168.144.193.113/more/A97A2KREG.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim DeMarco" To: "AccessD (E-mail)" Sent: Wednesday, March 26, 2003 10:16 AM Subject: [AccessD] Access 2002 overides A97 as default app > We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Wed Mar 26 09:55:06 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Wed, 26 Mar 2003 16:55:06 +0100 Subject: [AccessD] AccessD Conference - Call for Papers Message-ID: <002701c2f3b0$12be72e0$0300a8c0@S856> The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Depending on the number of participants, the presentations will be held at either my house or a nearby location. Please send Title and short Abstract of your presentation to dba-conf at databaseadvisors.com thank you Lembit Lembit Soobik From Jdemarco at hshhp.org Wed Mar 26 11:02:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:02:11 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54EF0@TTNEXCHSRV1.hshhp.com> Thanks but: I have only 2 developers who need A2K2, the rest use A97 and all of our in-house apps use A97. Now the two developers can no longer double-click to open the 99.9% of apps that use A97. My laptop with A2K and A97 defaults to A97 on a double-click but I can't remember if or how I got this to happen. There must be a registry entry somewhere I can change to set it back. Changing shortcuts and adding right click options won't do (at this point at least). Thanks, Jim DeMarco -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, March 26, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 2002 overides A97 as default app Jim, There are several ways to solve the problem that there is only one file extension (.mdb) that has to be shared among the various versions of Access. The way I solve it is to create shortcuts for each of my apps that include the path to the correct version of Access to open that app with. For my A02 apps the shortcut looks as such: "C:\Program Files\Microsoft Office\Office10\Msaccess.exe" /wrkgrp "Path to proper MDW for app" "Path to application" in that order. First you tell it where to find the proper version of Access to use, then you tell it where to find the proper workgroup file to control permissions if you are not using the default System.mdw, and finally you tell it where to find the application. Once I have set up all the shortcuts I never have to worry about them until something gets moved or converted. The only problem with this technique is you have to train yourself to never double-click on the app, always double-click on the shortcut. But if you have enough brains to be an Access developer, this should be easy. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday 2003 Mar 26 09:16 To: AccessD (E-mail) Subject: [AccessD] Access 2002 overides A97 as default app We just installed Access 2002 for a project but now anytime we open and mdb it opens in the newer version. I tried changing the association in the properties window (Win 2K) but it didn't work. How can I reset the default application for mdbs to A97? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From garykjos at hotmail.com Wed Mar 26 11:21:10 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 26 Mar 2003 11:21:10 -0600 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Jdemarco at hshhp.org Wed Mar 26 11:34:24 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:34:24 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85677@TTNEXCHSRV1.hshhp.com> I'll give it a try and let you know. Thanks, Jim DeMarco -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ranthony at wrsystems.com Wed Mar 26 11:37:10 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Wed, 26 Mar 2003 12:37:10 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641284D1@mail2.wrsystems.com> Or if you have shortcut icons, make sure the shortcut target line has the path for the Access97 .exe to start the app with. -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*************************************************************************** ******** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*************************************************************************** ******** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Mar 26 11:51:30 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 12:51:30 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85678@TTNEXCHSRV1.hshhp.com> That did it. Thanks Gary, Jim DeMarco -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Wednesday, March 26, 2003 12:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app Doesn't the system "remember" what the last version of Access you opened a database with and that becomes the default for the file extension association? So isn't the answer to open Access 97 and then open an Access 97 database. From then on double clicking an MDB will use 97 won't it? Until you open a newer version of course ;-) I have the luxury of seperate machines for the different versions I use so unfortunately I can't test this myself. Gary Kjos garykjos at hotmail.com >From: "Jim DeMarco" >Reply-To: accessd at databaseadvisors.com >To: "AccessD (E-mail)" >Subject: [AccessD] Access 2002 overides A97 as default app >Date: Wed, 26 Mar 2003 10:16:00 -0500 > >We just installed Access 2002 for a project but now anytime we open and mdb >it opens in the newer version. I tried changing the association in the >properties window (Win 2K) but it didn't work. How can I reset the default >application for mdbs to A97? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health Plan >(HS/HHP) that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly prohibited. > If you have received this message in error or are not the named >recipient, please notify us immediately, either by contacting the sender at >the electronic mail address noted above or calling HS/HHP at (914) >631-1611. If you are not the intended recipient, please do not forward this >email to anyone, and delete and destroy all copies of this message. Thank >You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 12:12:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 10:12:12 -0800 Subject: [AccessD] Provider not found Message-ID: As far as I know there is no Jet 3.61 provider. There's a OLEDB 3.51 and an OLEDB 4.0 Charlotte Foust -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 6:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Wed Mar 26 12:31:08 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 26 Mar 2003 13:31:08 -0500 Subject: [AccessD] Provider not found In-Reply-To: Message-ID: Well I finally got it to work for now, using DAO and the code at the end of the message. Now I have a user table by which I will be able to assign who sees what on start up, and I will be able to add and move people around as necessary. Thanks for all your help guys and girls - Now I will start working on getting it to work using ADO (it was still giving me the missing parameters when I gave up on it) Nancy L CODE: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim db As Database Dim strGroup As String Dim intNameCount As Integer Dim rstGroup As Recordset strSQL = "SELECT tblUsers.Group FROM tblUsers " strSQL = strSQL & "WHERE (tblUsers.UserName) = " & "'" & fcnOSUserName & "'" MsgBox strSQL Set db = CurrentDB On Error Resume Next Set rstGroup = db.OpenRecordset(strSQL) rstGroup.MoveFirst rstGroup.MoveLast intNameCount = rstGroup.RecordCount MsgBox intNameCount 'Get the value for the rstGroup Field "Group" strGroup = rstGroup.Fields(0).Value MsgBox strGroup If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function From Jdemarco at hshhp.org Wed Mar 26 12:30:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 13:30:17 -0500 Subject: [AccessD] Provider not found Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567A@TTNEXCHSRV1.hshhp.com> You're right!! Sorry I mistyped it. Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 1:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found As far as I know there is no Jet 3.61 provider. There's a OLEDB 3.51 and an OLEDB 4.0 Charlotte Foust -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 6:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found I get the same message using rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.3.61" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" I forgot to mention that Access97 (don't use it) is also installed (I don't know if this is just on my machine or everyone's, since I just started here on Monday). This is a new computer(to me) running Windows 2000 professional and Office 2000. Thanks, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, March 26, 2003 9:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Provider not found Nancy, You could try changing the provider to Microsoft.Jet.OLEDB.3.61 or update your MDAC version. HTH, Jim DeMarco -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Wednesday, March 26, 2003 8:56 AM To: Accessd Subject: [AccessD] Provider not found Can anyone tell me why I would get this message? Provider not found. It may not be installed properly. I understand the meaning, it's just that the provider it can't find is Jet. Here is the code. rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" Any assistance appreciated. Nancy Lytle The entire context is: Public Function StartDB() Call fcnOSUserName Dim strSQL As String Dim strGroup As String Dim intClientIDCount As Integer Dim rstGroup As ADODB.Recordset Set rstGroup = New ADODB.Recordset strSQL = "Select Group from tblUsers Where UserName = " & "'" & fcnOSUserName & "'" rstGroup.Open strSQL, "Provider=Microsoft.Jet.OLEDB.4.0" & _ "Data Source=C:\AccC:\AccessTests\CRDatabaseTest\CRMasterFE.mdb:" strGroup = rstGroup.GetString() If strGroup = "A" Then DoCmd.OpenForm "frmAdministration", acNormal, "", "", , acNormal DoCmd.Maximize ElseIf strGroup = "RW" Then DoCmd.OpenForm "frmDataEntry", acNormal, "", "", , acNormal DoCmd.Maximize Else DoCmd.OpenForm "z_RFil5_frmCustom", acNormal, "", "", , acNormal DoCmd.Maximize End If 'User name End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From michael.mattys at adelphia.net Wed Mar 26 12:32:56 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 26 Mar 2003 13:32:56 -0500 Subject: [AccessD] Access 2002 overides A97 as default app References: <22F1CCD5171D17419CB37FEEE09D5F99D85665@TTNEXCHSRV1.hshhp.com> <008901c2f3ae$9468a420$6401a8c0@default> Message-ID: <002401c2f3c6$1fc7b0d0$6401a8c0@default> I forgot to mention that you can right-click on desktop icons and it will still give you the context menu, so you can choose whatever version you like. Michael R. Mattys www.mattysconsulting.com > > Christian Rosu made this for A2K/A97 > Just needs some more entries for 2002 > http://168.144.193.113/more/A97A2KREG.htm > From gustav at cactus.dk Wed Mar 26 12:33:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Mar 2003 19:33:50 +0100 Subject: [AccessD] Semi OT - Moving an App to the Web In-Reply-To: <00fb01c2996d$a5a47a20$8eb85041@xfilesao46sl20> References: <003b01c29948$0a197210$6601a8c0@HAL9002> <001c01c2995a$0687baa0$4b399d40@yourxo8le8q24p> <7533906785.20021201200136@cactus.dk> <00fb01c2996d$a5a47a20$8eb85041@xfilesao46sl20> Message-ID: <18237697165.20030326193350@cactus.dk> Hi James et all Just noticed that CodeCharge Studio is out in V2.0. It certainly looks like a serious tool know. Check out this (lengthy) explanation of new features: http://docs.codecharge.com/studio/html/UserGuide/Intro/ProductFeatures.html?toc I noticed particularly this: Separation of Programming logic from the Presentation Layer. CodeCharge Studio fully supports the separation of programming logic from the presentation layer by generating source code files (.asp, .php, .jsp, etc.), which are separate from their corresponding HTML files (HTML templates). I wish I had the time for playing around with it, but it is not so at the moment. /gustav > I use CodeCharge and it is an excellent product, there's not much > documentation but they have several very good example sites and good online > support. Also, stick to CodeCharge rather than CodeCharge Studio. > PS if you decide to buy, Programmers Paradise has it cheaper than CodeCharge > for $127. >> You may wish to evaluate CodeCharge: >> >> http://www.codecharge.com/ >> >> There is a link to a bunch of on-line demos too. >> >> >> > My Sleep Disorder Analysis program is deep into beta testing >> > now, and I'd like to move it to the web so we could get beta testers >> > anywhere. I remember some thread on this and some good replies >> > with some simple steps to get going. Can anyone give me a lead on >> > this? From Jdemarco at hshhp.org Wed Mar 26 12:57:03 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 13:57:03 -0500 Subject: [AccessD] Access 2002 overides A97 as default app Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567B@TTNEXCHSRV1.hshhp.com> It's pretty neat. I've got an app that does something similar (might have come from this list). I add a shortcut to it to the SendTo menu and when you right-click an mdb and choose it it determines the correct version for you and opens the app in it. Same process he's using in this app I'm sure. Thanks, Jim DeMarco -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Wednesday, March 26, 2003 1:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 overides A97 as default app I forgot to mention that you can right-click on desktop icons and it will still give you the context menu, so you can choose whatever version you like. Michael R. Mattys www.mattysconsulting.com > > Christian Rosu made this for A2K/A97 > Just needs some more entries for 2002 > http://168.144.193.113/more/A97A2KREG.htm > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From StaRKeY at Wanadoo.nl Wed Mar 26 13:13:47 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Wed, 26 Mar 2003 20:13:47 +0100 Subject: [AccessD] Re: OT : References In-Reply-To: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: Hi Tomt, You set references to objectmodels, documentation is provided by the referred objectmodel application/container. Suppose you set a reference to Excel 9.0 all the objectinformation is kept inside Excel's VBA help or the provider (MS). All other available libs and their docs should be retreived through their provider if the objectbrowser is not giving enough info... Good luck, Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of t tom Sent: woensdag 26 maart 2003 07:36 To: accessd at databaseadvisors.com Subject: [AccessD] Re: OT : References Hi All Does anyone know where I get info on the "Available References" found in Access and VB. I can use the Object Browser but there must be better documentation somewhere! TIA Tomt -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Mar 26 13:31:14 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 14:31:14 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8567F@TTNEXCHSRV1.hshhp.com> Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 13:41:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 11:41:43 -0800 Subject: [AccessD] MSDE and replication Message-ID: Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Mar 26 14:01:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 15:01:11 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85682@TTNEXCHSRV1.hshhp.com> Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Wed Mar 26 14:02:48 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 26 Mar 2003 15:02:48 -0500 Subject: [AccessD] OT: oh no (list moderators please) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> Cross posted: accessd, dba-VB Now I'm getting the dreaded "email ontvangst bevestiging" message from the VB list!! Jim DeMarco *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Wed Mar 26 14:59:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 12:59:03 -0800 Subject: [AccessD] MSDE and replication Message-ID: I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgsax at ksu.edu Wed Mar 26 15:38:35 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 26 Mar 2003 15:38:35 -0600 Subject: [AccessD] OT: oh no (list moderators please) In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F99D85683@TTNEXCHSRV1.hshhp.com> Message-ID: <1048714716.7326.42.camel@sgsax-th4022c> It's been taken care of. Seth On Wed, 2003-03-26 at 14:02, Jim DeMarco wrote: > Cross posted: accessd, dba-VB > > Now I'm getting the dreaded "email ontvangst bevestiging" message from the VB list!! > > Jim DeMarco -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From jeffrey.demulling at usbank.com Wed Mar 26 15:47:23 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 15:47:23 -0600 Subject: [AccessD] Help populating a drop down box in A2K Message-ID: David, Your message made me think and I have gone from an MDB to an ADP. Much easier to deal with. Thanks for the help. "David McAfee" Sent by: accessd-bounces at databaseadvisors.com 03/25/2003 04:57 PM Please respond to accessd To: "'accessd at databaseadvisors.com'" cc: "'jeffrey.demulling at usbank.com'" Subject: RE: [AccessD] Help populating a drop down box in A2K Jeffrey, if a stored procedure (SPROC) is what populating the combo box (and you are in an ADP) then all you have to do is place the following in the combo box's OnEnter event: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere '" & YourParameter & "'" if you have no parameter to send to the SPROC, then it is even easier: Me.YourComboBox.RowSource = "EXEC YourSprocNameHere" or if it simply a view then just place the view's name in the combo's recordsource filed as you would a query. If you are not using an ADP, and instead are using an MDB, you should be able to simply put the name of the query as the rowsource for you combo Doesn't your query/sproc return the result set that you want for your combo? HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, March 25, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help populating a drop down box in A2K Hello all, I have the following code: Public Sub FillIssuer() Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdText As String Dim strList As String DoCmd.SetWarnings False DoCmd.OpenQuery "qryDeleteIssuers" DoCmd.SetWarnings True strList = "" con = setconnection con.Open cmdText = "SELECT tblIssuers.[Name], tblIssuers.[Number], tblIssuers.[Display] From tblIssuers ORDER BY tblIssuers.[Name]" RS.Open cmdText, con RS.MoveFirst While Not RS.EOF strList = "INSERT INTO tblDisplayIssuers ([Number], Name, Display) Values (" & RS("Number") & ", '" & RS("Name") & "', " & RS("Display") & ");" DoCmd.RunSQL (strList) RS.MoveNext Wend con.Close End Sub What I want to do is instead of walking through the recordset one record at a time, I would like to do one single Insert command. The data is being pulled from a SQL server and should be put into a local db table. I am using the returned data in a drop-down box. Any help or suggestions would be greatly appreciated._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Wed Mar 26 15:49:38 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 15:49:38 -0600 Subject: [AccessD] AXP and Stored Procs Message-ID: I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Wed Mar 26 16:13:11 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 26 Mar 2003 14:13:11 -0800 Subject: [AccessD] AXP and Stored Procs Message-ID: <657FB70438B7D311AF320090279C1801026D7987@EXCHMAIL> I simply click anywhere in the MDI window and hit F5 D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 1:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at denverdb.com Wed Mar 26 16:05:19 2003 From: chris at denverdb.com (Chris Mackin) Date: Wed, 26 Mar 2003 15:05:19 -0700 Subject: [AccessD] AXP and Stored Procs In-Reply-To: Message-ID: If you co to File->Connection, you don't even need to modify anything, Test it and close it it will reset everything, alternatively shut down the .adp and re-open. If neither of those work you either need to check the permissions on the connection (if you don't have permissions on it you won't see it) or make sure you're connecting to the right database. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff From jeffrey.demulling at usbank.com Wed Mar 26 16:52:12 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 26 Mar 2003 16:52:12 -0600 Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc and passing parameters via code Message-ID: One more question. How can I get the code below to work so that I can set the recordsource of the report to the referened stored proc and pass it the parameters that are required? Option Compare Database Private Sub Report_Close() Forms![frmReportsWeeklyRevenue].Visible = True End Sub Private Sub Report_Open(Cancel As Integer) Dim mystartdate As Date Dim myenddate As Date mystartdate = FirstofMonth([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) myenddate = CFMReportEndDate([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) Me.RecordSource = "dbo.SEL_qryClosedMTD" Me.InputParameters = "@stardate=" & mystartdate & ", @enddate=" & myendate varReportName = "rptWeeklyRevenueClosedMTD" varDisplayName = "Weekly Revenue - Closed Month to Date" DoCmd.Maximize End Sub TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Mar 26 17:24:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 26 Mar 2003 18:24:30 -0500 Subject: [AccessD] AXP and Stored Procs In-Reply-To: Message-ID: <000601c2f3ee$da42c490$8e01a8c0@Rock> There is also the possibility that you are creating these new sprocs under a different name than (dbo), in which case they sort weirdly and you see "mySproc (afuller)" or something similar. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 26, 2003 5:05 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP and Stored Procs If you co to File->Connection, you don't even need to modify anything, Test it and close it it will reset everything, alternatively shut down the .adp and re-open. If neither of those work you either need to check the permissions on the connection (if you don't have permissions on it you won't see it) or make sure you're connecting to the right database. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, March 26, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP and Stored Procs I have added some new Stored Procs to my SQL db. However I cannot see them in AXP (using ADP). I can only see the ones that were orginally in the SQL db when I first setup the ADP. Anyone know how I can refresh the ADP so I can see the new Stored Procs? TIA -Jeff _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Mar 26 18:28:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 11:28:29 +1100 Subject: [AccessD] A2K: VB Equivalent Message-ID: Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren From cfoust at infostatsystems.com Wed Mar 26 19:38:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Mar 2003 17:38:53 -0800 Subject: [AccessD] A2K: VB Equivalent Message-ID: Access has an Application Icon you can set from the Tools-->Startup menu or create and set the AppIcon property in code, if that's what you're looking for. I've never used the VB Screen object that I recall, so I can't help you there. Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, March 26, 2003 4:28 PM To: AccessD List Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 26 20:07:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Mar 2003 20:07:23 -0600 Subject: [AccessD] A2K: VB Equivalent Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Charlotte answered the icon question. Here's a function for the Twips per pixel. Put this in a module, then call it when your database starts up. Then you'll have two Global variables to represent the twips per pixel x and y. Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long Public intTwipsPerPixelX As Long Public intTwipsPerPixelY As Long Function GetTwipsPerPixel() Dim dwReturn dwReturn = GetDC(0) intTwipsPerPixelX = 1440 / GetDeviceCaps(dwReturn, 88) intTwipsPerPixelY = 1440 / GetDeviceCaps(dwReturn, 90) dwReturn = ReleaseDC(0, dwReturn) End Function -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/26/03 6:28 PM Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Wed Mar 26 20:07:18 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 27 Mar 2003 12:07:18 +1000 Subject: [AccessD] Fieldnames in a Recordset References: Message-ID: <007901c2f405$9dce9310$6465000a@venus> Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina From stuart at lexacorp.com.pg Wed Mar 26 20:20:07 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 27 Mar 2003 12:20:07 +1000 Subject: [AccessD] Fieldnames in a Recordset In-Reply-To: <007901c2f405$9dce9310$6465000a@venus> Message-ID: <3E82EC77.24660.622F83F@localhost> > Hi Everyone > > If someone could please help me here I'd be extremely grateful. > > I have a string which is a field name - ie str = "fieldname" > Then I open a recordset and want to retrieve the value of that field from > the recordset, but want to pass the name as the str, not use the > rst!fieldname=. I'm doing this because I'm looping through 30 odd fields > and don't want to have to type each one out, rather loop through the > controls and get the names this way. Hope this makes sense. > Use the rs("fieldname") structure ie rs(str) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Wed Mar 26 20:56:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 26 Mar 2003 21:56:22 -0500 Subject: [AccessD] MS sponsored webcast on creating .NET application Message-ID: <00b901c2f40c$868a9850$ceecffcc@SusanOne> http://www.microsoft.com/usa/webcasts/upcoming/1786.asp From davide at dalyn.co.nz Wed Mar 26 22:02:53 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 27 Mar 2003 16:02:53 +1200 Subject: [AccessD] A97 Security listing Message-ID: <5.2.0.9.0.20030327160036.00b3cc50@mail.dalyn.co.nz> Does anyone know of a tool that will give a list of objects and what security settings they have for each group? This is a one off exercise but we would like to list each group, then under the group list the Access objects (tables, queries etc), and alongside each object show what permissions have been set. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From mastercafe at ctv.es Wed Mar 26 22:02:21 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu, 27 Mar 2003 05:02:21 +0100 Subject: [AccessD] Fieldnames in a Recordset In-Reply-To: <007901c2f405$9dce9310$6465000a@venus> Message-ID: normally we uses on this format, String in variables. See the sample Function ChangeValue(Result as Variant, FieldName as string, RecSet as string) as result dim db as database dim rs as recordset set db=rs.opendatabase(recset) rs.edit rs.fields(fieldname) = RESULT rs.update rs.close End Function -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Selina Iddon Enviado el: jueves, 27 de marzo de 2003 03:07 Para: accessd at databaseadvisors.com Asunto: Re: [AccessD] Fieldnames in a Recordset Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Mar 26 22:15:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 26 Mar 2003 22:15:37 -0600 Subject: [AccessD] Fieldnames in a Recordset Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82472@main2.marlow.com> rs.field(strName).value Drew -----Original Message----- From: Selina Iddon To: accessd at databaseadvisors.com Sent: 3/26/03 8:07 PM Subject: Re: [AccessD] Fieldnames in a Recordset Hi Everyone If someone could please help me here I'd be extremely grateful. I have a string which is a field name - ie str = "fieldname" Then I open a recordset and want to retrieve the value of that field from the recordset, but want to pass the name as the str, not use the rst!fieldname=. I'm doing this because I'm looping through 30 odd fields and don't want to have to type each one out, rather loop through the controls and get the names this way. Hope this makes sense. Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Mar 27 00:00:18 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 17:00:18 +1100 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Message-ID: Thanks heaps Drew and Charlotte That answers my q's Now I have another Q :-) Is there an access version of the following from VB Case WM_LBUTTONDOWN Case WM_LBUTTONUP Case WM_LBUTTONDBLCLK I just want to trap mouse clicks I can do this at a form level with the Key_Down proprty But I want to do all this in the form Details and there is no Key_Down property for the detail section of a many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, 27 March 2003 1:07 PM To: 'AccessD List ' Subject: RE: [AccessD] A2K: VB Equivalent Charlotte answered the icon question. Here's a function for the Twips per pixel. Put this in a module, then call it when your database starts up. Then you'll have two Global variables to represent the twips per pixel x and y. Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long Public intTwipsPerPixelX As Long Public intTwipsPerPixelY As Long Function GetTwipsPerPixel() Dim dwReturn dwReturn = GetDC(0) intTwipsPerPixelX = 1440 / GetDeviceCaps(dwReturn, 88) intTwipsPerPixelY = 1440 / GetDeviceCaps(dwReturn, 90) dwReturn = ReleaseDC(0, dwReturn) End Function -----Original Message----- From: Darren DICK To: AccessD List Sent: 3/26/03 6:28 PM Subject: [AccessD] A2K: VB Equivalent Hello all I am doing something in access that was originally in VB I have 2 problems where I know of no equivalent in VBA Does anyone know of an alternative in Access to... VB's Me.Icon and VB's Screen.TwipsPerPixelX 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 stuart at lexacorp.com.pg Thu Mar 27 01:27:06 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 27 Mar 2003 17:27:06 +1000 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: References: <2F8793082E00D4119A1700B0D0216BF801D82471@main2.marlow.com> Message-ID: <3E83346A.9051.73C073F@localhost> > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at Optusnet.com.au Thu Mar 27 04:59:11 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 27 Mar 2003 21:59:11 +1100 Subject: [AccessD] Recommend pdf995 Message-ID: <000c01c2f44f$e64bdb80$54dd31d2@OfficePC> I have to give a quick plug to the support staff at Pd5995 - we have discussed several providers of pdf printers beforeon the list, and having bought a 10 user license for the pdf printer from them for a client this week to go with their new system, a couple of issues needed resolving and I found their support to be excellent. Emails were answered within 10 mins every time - spot on. (Not in any way related to me - just a happy customer). Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Thu Mar 27 05:37:03 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 27 Mar 2003 22:37:03 +1100 Subject: [AccessD] A2K: VB Equivalent In-Reply-To: <3E83346A.9051.73C073F@localhost> Message-ID: Hello all I'll explain what I am up to I found some code to put an icon in the systray written in VB Nothing too exciting about that, there are heaps of ways to do this. The code I found looked more promising than other versions and it was all code driven, no OCX's etc. It adds an icon to the systray, then calculates its position in the systray using some code in the originating form's, Form_MouseMove property. I have discovered this is fine in VB but only translates to the detail portion of an Access form(With or without form Headers/footers). The VB code uses the constants... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK in a case statement and once trapped you can run your code. I can't see any Access equivalent (Hence the post) Unfortunately I'm not good enough to trap the normal KeyCodes for Left Button, Right Button and double click anywhere other than a Procedure that exposes the KeyCode stuff. eg something like Private sub Form_KeyDown(KeyCode As Integer, Shift As Integer) I am sure there is a better way to do it and it has probably been done on this list. I just wanted to 'play' with it, without asking for a complete app that does it. But I've had enough, I think I'll use an OCX I saw and 'play' with that instead. Many thanks to all who responded. Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 27 March 2003 6:27 PM To: Darren DICK; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: VB Equivalent > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bheid at appdevgrp.com Thu Mar 27 07:28:43 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 27 Mar 2003 08:28:43 -0500 Subject: [AccessD] Report/Sub report question. SOLVED! Message-ID: <916187228923D311A6FE00A0CC3FAA30332F3A@ADGSERVER> Hi Jim, I really appreciated you looking at this with me. I got busy on the phone the other day and could not reply. One issue I had was that I actually had a many to many relationship. That is each contract on the main form had several records to it. So I ended up making another sub report for the "top" tier. After I did that, it still would not run properly for all scenarios. So I just started changing everything I could to see if something would work. On the main form, I had 2 groupings. The 1st grouping was by project, both header and footer was visible. The 2nd grouping had neither visible. I deleted both groupings and the report ran! So I restored and determined that the project grouping was the problem. But I needed that grouping. So I deleted the header and the report ran again. So I restored again and removed the one label and one bound field from that section and the report ran. I then recreated the two fields in that section and the report ran. So the issue seems to have been some sort of corruption or something in the project header of the main report. So the problem is not always what it seems. LOL. I posted all of the details in the hope that this may help someone in the future. Thanks again Jim. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, March 24, 2003 11:34 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Report/Sub report question. In that case, make sure the main report and the sub report have the Contract number as the link field between the two. The query criteria for the sub report needs to have the contract number, the tier code and the order field plus what ever else you want to display. The tier code for the sub report needs to specify "<>0" criteria. If it still doesn't work, send me a sample of the database and I'll take a look at it. Jim From DWUTKA at marlow.com Thu Mar 27 08:55:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 08:55:36 -0600 Subject: [AccessD] A2K: VB Equivalent Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82473@main2.marlow.com> Darren, the MiniCalendar puts an icon in the system tray....click the Computer/Moon icon when you are in cycle mode. Drew -----Original Message----- From: Darren DICK To: stuart at lexacorp.com.pg; accessd at databaseadvisors.com Sent: 3/27/03 5:37 AM Subject: RE: [AccessD] A2K: VB Equivalent Hello all I'll explain what I am up to I found some code to put an icon in the systray written in VB Nothing too exciting about that, there are heaps of ways to do this. The code I found looked more promising than other versions and it was all code driven, no OCX's etc. It adds an icon to the systray, then calculates its position in the systray using some code in the originating form's, Form_MouseMove property. I have discovered this is fine in VB but only translates to the detail portion of an Access form(With or without form Headers/footers). The VB code uses the constants... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK in a case statement and once trapped you can run your code. I can't see any Access equivalent (Hence the post) Unfortunately I'm not good enough to trap the normal KeyCodes for Left Button, Right Button and double click anywhere other than a Procedure that exposes the KeyCode stuff. eg something like Private sub Form_KeyDown(KeyCode As Integer, Shift As Integer) I am sure there is a better way to do it and it has probably been done on this list. I just wanted to 'play' with it, without asking for a complete app that does it. But I've had enough, I think I'll use an OCX I saw and 'play' with that instead. Many thanks to all who responded. Darren -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, 27 March 2003 6:27 PM To: Darren DICK; accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: VB Equivalent > Thanks heaps Drew and Charlotte > That answers my q's > > Now I have another Q :-) > > Is there an access version of the following from VB > Case WM_LBUTTONDOWN > Case WM_LBUTTONUP > Case WM_LBUTTONDBLCLK > > I just want to trap mouse clicks > I can do this at a form level with the Key_Down proprty > But I want to do all this in the form Details and there > is no Key_Down property for the detail section of a > Both the form and its Header, footer and Detail Section have separarte MouseDown, MouseUp , DoubleClick functions. Won't they do it? Why are you talking about Key_Down if you just want to trap mouse clicks? When you press a key, the current control receives the event (and the Form first if you have Preview on). Do you need to handle the detail separately to the header/ footer? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 27 09:43:19 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 09:43:19 -0600 Subject: [AccessD] Column count and width through code Message-ID: I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From mikedorism at ntelos.net Thu Mar 27 09:58:59 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 27 Mar 2003 10:58:59 -0500 Subject: [AccessD] Column count and width through code In-Reply-To: Message-ID: <005001c2f479$cbb370b0$51380cd8@hargrove.internal> Me.lstbox.ColumnWidths The value you pass it must be a string. For example, 3 columns with first one hidden, second one 1/2 inch and 3rd one 1 inch.... Me.lstbox.ColumnWidths = "0;.5;1" Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Zeller Sent: Thursday, March 27, 2003 10:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szeller at cce.umn.edu Thu Mar 27 09:58:56 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 09:58:56 -0600 Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc andpassing parameters via code Message-ID: Jeff, The method you are trying will not work although I no longer remember why exactly. You need to set the input parameters in the properties window directly. The way I do this is: 1. Private Sub Report_Open(Cancel As Integer) Me.RecordSource = "dbo.p_DM_NC_REG_BY_DATE_TO_EVENT_FY" 2. In the input parameters box on the properties window: @MyInputParameter1 = Forms!frmWiz!subcrit!txtParam_FY, @MyInputParameter2 = Forms!frmWiz!subcrit!txtParam_Desn where the parmeters get their value from a textbox on the form that calls the report. In my case these are hidden textboxes because I take what the user has chosen and format it as needed so that it passes correctly to my sproc. Optional: In the report, set the control source in the properties window to teh base table so that when you are building the sproc, you can see the fields in the field list. Otherwise, you can set it to the sproc or leave it blank. Note, that you can't set the recordsource and input parameters from the calling form b/c these can only be set when the report is open in design view. There is a work around to this where thorugh code you open the report in design view, assign the sproc and the parameters, save the report, and close the report. then in code open the report again. I found this way too cumbersome so eventually rejected it. --Susan -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Wednesday, March 26, 2003 4:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP ADP Report setting Recordsource to Stored Proc andpassing parameters via code One more question. How can I get the code below to work so that I can set the recordsource of the report to the referened stored proc and pass it the parameters that are required? Option Compare Database Private Sub Report_Close() Forms![frmReportsWeeklyRevenue].Visible = True End Sub Private Sub Report_Open(Cancel As Integer) Dim mystartdate As Date Dim myenddate As Date mystartdate = FirstofMonth([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) myenddate = CFMReportEndDate([Forms]![frmReportsWeeklyRevenue]![txtFromDate]) Me.RecordSource = "dbo.SEL_qryClosedMTD" Me.InputParameters = "@stardate=" & mystartdate & ", @enddate=" & myendate varReportName = "rptWeeklyRevenueClosedMTD" varDisplayName = "Weekly Revenue - Closed Month to Date" DoCmd.Maximize End Sub TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Thu Mar 27 10:01:35 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 27 Mar 2003 10:01:35 -0600 Subject: [AccessD] Column count and width through code In-Reply-To: References: Message-ID: <1048780896.8975.12.camel@sgsax-th4022c> Susan, Lo and behold, it turns out you want the ColumnWidths property. Like ColumnCount this property can be read or set at runtime. Look up help on "List Box Control Properties" for a full list of all properties. Seth On Thu, 2003-03-27 at 09:43, Susan Zeller wrote: > I have a listbox whose rowsource changes depending on other selections > from the user. In one case I need 3 columns, in the other case, 5 > columns. Can I set the number of columns and the width of the columns > through code? I found me.lstbox.columncount which I assume gives me the > count. But, I can't find the equivalent in code of "column widths" in > the properties window. I'm thinking this is simple, but it is escaping > me. I'm in Access 2002. > > --Susan -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From paul.hartland at fsmail.net Thu Mar 27 10:02:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 27 Mar 2003 16:02:39 +0000 Subject: [AccessD] Column count and width through code Message-ID: <20030327160239.KWJF16249.fep04-svc.ttys.com@localhost> Susan, I have A2002 and although and just ran a little test on a combo box with the following : me.combobox.columncount = 5 me.combobox.columnwidths = "0;1.0;2.0;3.0;4.0" see how you get on with that.... Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Thu Mar 27 10:06:57 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 27 Mar 2003 16:06:57 +0000 Subject: [AccessD] Column count and width through code Message-ID: <20030327160657.KWMB16249.fep04-svc.ttys.com@localhost> Sorry Susan, I messed up with the last code, the ColumnWidths property should be set like this Me.ComboBox.ColumnWidths = "0cm;1.0cm;2.0cm;3.0cm;4.0cm" Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From szeller at cce.umn.edu Thu Mar 27 10:10:19 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Thu, 27 Mar 2003 10:10:19 -0600 Subject: [AccessD] Column count and width through code Message-ID: Got it. The "cm" is the key. Without it, I couldn't get this to work. Thanks! --Susan -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, March 27, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column count and width through code Sorry Susan, I messed up with the last code, the ColumnWidths property should be set like this Me.ComboBox.ColumnWidths = "0cm;1.0cm;2.0cm;3.0cm;4.0cm" Paul From: "Susan Zeller" Date: Thu 27/Mar/2003 15:43 GMT To: Subject: [AccessD] Column count and width through code I have a listbox whose rowsource changes depending on other selections from the user. In one case I need 3 columns, in the other case, 5 columns. Can I set the number of columns and the width of the columns through code? I found me.lstbox.columncount which I assume gives me the count. But, I can't find the equivalent in code of "column widths" in the properties window. I'm thinking this is simple, but it is escaping me. I'm in Access 2002. --Susan Susan B. Zeller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Mar 27 10:17:32 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 11:17:32 -0500 Subject: [AccessD] MSDE and replication Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856AE@TTNEXCHSRV1.hshhp.com> Found it here: Microsoft Knowledge Base Article - 324992. Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From HollisVJ at pgdp.usec.com Thu Mar 27 11:16:11 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 27 Mar 2003 11:16:11 -0600 Subject: [AccessD] Rate for first time Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Mar 27 11:27:51 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 12:27:51 -0500 Subject: [AccessD] Rate for first time Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856B3@TTNEXCHSRV1.hshhp.com> There was a pretty good thread on this a while back so I'd check the archives, but in a nutshell $10 is far too low. I charged my first client (a not for profit) $35 hr. and that was only because they were on a limited budget and I wanted the gig. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Thu Mar 27 11:30:49 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 12:30:49 -0500 Subject: [AccessD] Rate for first time Message-ID: $10.00 an hour is WAY too low IMO. My first job I charged $35/hr. Now when I charge $65-70/hr. If I was to do it as a full time gig, I think I'd charge even more. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> HollisVJ at pgdp.usec.com 27-Mar-03 12:16:11 PM >>> I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia From scott.marcus at ae.ge.com Thu Mar 27 11:31:31 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu, 27 Mar 2003 12:31:31 -0500 Subject: [AccessD] Rate for first time Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D48@bwam02msx.ae.ge.com> Virginia, $10.00 is roughly $20,000 / year. Unskilled labor earns appoximately this amount. That is an extremely low rate...I don't care what part of the US we are talking about. You are in the US, right? I'm not sure what your skill level is so it is hard to say what would be fair.... Scott -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Mar 27 11:52:57 2003 From: john at winhaven.net (John Bartow) Date: Thu, 27 Mar 2003 11:52:57 -0600 Subject: [AccessD] Rate for first time In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 27, 2003 11:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Mar 27 11:44:15 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 27 Mar 2003 12:44:15 -0500 Subject: [AccessD] Rate for first time References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: <00ca01c2f488$7d588cc0$2a4afccc@SusanOne> http://www.databaseadvisors.com/newsletters/0107consultantcorner.htm Since this is your first project, you might consider asking someone here to help advise you -- in a mentor capacity or to actually work along beside you in the entire process until you get the hang of it. Just a thought -- especially if you're a tad worried about it. A consultant is an independent contractor. Susan H. I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Mar 27 11:46:12 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 09:46:12 -0800 Subject: [AccessD] Rate for first time Message-ID: That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Thu Mar 27 11:53:16 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Thu, 27 Mar 2003 08:53:16 -0900 Subject: [AccessD] Rate for first time Message-ID: Straight out of college I couldn't find a job, so I started consulting for $15 (I needed the money!). That was years ago, it's no longer my full time gig and I now have a great job. I still like contracting in my off time, but my personal time is valuable also, so now I never charge less than $50/hour, usually $75. I also cap my contracting hours per week at 20. Many factors weighed into how I came up with my hourly rate for contracting, few of which was what others were charging. Also, don't let the fact that this is your first gig affect your rate. * Don't forget the tax implications * If this is in additional to a full time job, you can either give a discount because you don't need the $$, or you can charge a premium because you are essentially working overtime every hour you are working for them (i.e. your FT job's OT rate after taxes). * What are you getting out of this? Experience? Exposure? Pleasure? Future growth and contracting opportunities? * What do you want out of this? Do they match the above? * How much cash would be worth it to you - after taxes! These questions will really help you peg a dollar amount. If the market rate is higher, then bump it up higher to match or barely undercut the market. If it is lower, does your skill match your above market rate? Just my method of determining my rate. It may not be right for everyone. Mark [Porter, Mark] -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 8:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Thu Mar 27 11:55:21 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 27 Mar 2003 11:55:21 -0600 Subject: [AccessD] Rate for first time Message-ID: Yes, $10.00 is too low. Keep the rate higher and bill less hours if you don't feel right about billing while "learning" something new. But you are establishing a relationship and once you set that rate, you will have a real hard time raising it later, so aim high. Only you can know what your free time is worth. When I do the occaisional outside moonlighting gig, I generally take my regularly hourly wage on my day job and double it. And then I adjust that number a bit up or down depending on how bad I want to work on the specific project. If I really don't want to do it, I set a pretty high rate and then I feel better about working on the project while I'm doing the work. My free time is worth a lot to me so I hate giving it up. Of course I have a full time day job that I am usually able to put in as many hours as I want to, so mostly I'm not needing the extra work either. If I were wanting more work, I'd probably have a bit of a lower rate so as to attract more business. I'd say that you should charge AT LEAST $25 an hour though no matter what or where. You can always bill less hours if you feel guilty about charging to much. Gary Kjos garykjos at hotmail.com >From: "Hollis,Virginia" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] Rate for first time >Date: Thu, 27 Mar 2003 11:16:11 -0600 > >I know this has been asked a zillion times.... > >What is a fair hourly rate for developers? I have been asked to do my first >outside developing for a company. Since this is my first time, is 10.00 >hour >too low? > >They are wanting it set up as a consultant, is that different than an >independent contractor? I am not sure what the difference would be tax >wise? >Any suggestions? > >Virginia >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From artful at rogers.com Thu Mar 27 11:56:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 27 Mar 2003 12:56:06 -0500 Subject: [AccessD] Rate for first time In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB066@exchange.pgdp> Message-ID: <007201c2f48a$23eec530$8e01a8c0@Rock> Murderous postal workers make more than that, you Virgin :-) Itinerant Romanian fleshbies make more than that. Ask $100/hr. Be prepared to negotiate. Remember that the moment you choose to freelance you forego all the emp-perks such as dental plan, etc. Therefore you got to pick up that slack, and if your hourly rate don't cover it then when your teeth fall out, which they most assuredly will do, you're on the hook for said expense. If you don't factor it in, you factor it out. Also consider the employer costs of giving you a cublicle and a box and requisite software. (IMO most firms have no idea what the software costs are likely to be: annual updates to MSDN, annual subscription costs to SQL groups etc., licences to distribute runtimes, it goes on and on and on.) I call this overhead and distribute the costs among my clients. If you only have one, then that client pays it all, over and above your hourly rate, or alternatively, you roll said costs into an aggregate that all your customers are expected to contribute to. Just my $.02 Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: March 27, 2003 12:16 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 27 12:01:53 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 12:01:53 -0600 Subject: [AccessD] Rate for first time Message-ID: Virginia, You will net less than $5.00 per hour! Are you that cheap?? I doubt it. More likely, you got the decimal point in the wrong place. Remember, as an outside consultant/independent contractor you are responsible for federal, state, and local tax withholding, both portions of Social Security (this amounts to over 16%), medical insurance, retirement, etc. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday 2003 Mar 27 11:16 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.marcus at ae.ge.com Thu Mar 27 12:14:30 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, RHI Consulting)) Date: Thu, 27 Mar 2003 13:14:30 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: <768A0EA6FF8CB34FA522978966E5D52E559D4A@bwam02msx.ae.ge.com> Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 27 12:24:30 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 27 Mar 2003 13:24:30 -0500 Subject: [AccessD] Rate for first time Message-ID: <01C2F464.334349F0.bob@renaissancesiding.com> Virginia When I first started taking on contract jobs, I knew that there were all sorts of hidden costs, just like everyone has pointed out. At the same time, I realized that I was a bit of a novice and would be learning while I worked. In order to ensure that the employer appreciated my worth, but still be fair, I charged $75.00 - and then discounted the jobs based upon my knowledge versus my learning. If everything that I did was what I already knew, I sometimes didn't even discount it at all. However, on one job, I saw that I would be doing many things that I had never done before, and that the knowledge I would learn would be of benefit to me for future jobs (that I would not be discounting), so I offered that contract with a 50% discount ... effectively working for $37.50 per hour. I not only got the contract, but they liked my honesty (and work) so much that they hired me full time. I still do some contract jobs, and the skills that I learn or fine-tune every day at my new career permit me to charge full price on those side jobs. A win-win situation for me; all because I priced my work at full value less a discount. As long as I'm on this topic, I'd like to thank EVERYONE on this list again, as this is where a great deal of my learning has come from, and put me in the position that I am today. The gurus are great - they have helped me with every single problem that I have presented ... and the lurkers and learners have helped me almost as much, because they ask the questions that I would have. Regards, Bob Gajewski On Thursday, March 27, 2003 12:32 PM, Marcus, Scott (GEAE, RHI Consulting) [SMTP:scott.marcus at ae.ge.com] wrote: > Virginia, > > $10.00 is roughly $20,000 / year. Unskilled labor earns appoximately this > amount. That is an extremely low rate...I don't care what part of the US we are > talking about. You are in the US, right? I'm not sure what your skill level is > so it is hard to say what would be fair... > > Scott > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Thursday, March 27, 2003 12:16 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Rate for first time > > > I know this has been asked a zillion times... > > What is a fair hourly rate for developers? I have been asked to do my first > outside developing for a company. Since this is my first time, is 10.00 hour too > low? > > They are wanting it set up as a consultant, is that different than an > independent contractor? I am not sure what the difference would be tax wise? Any > suggestions? > > Virginia > > << File: ATT00008.htm >> << File: ATT00009.txt >> From donald.a.Mcgillivray at mail.sprint.com Thu Mar 27 12:29:23 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Thu, 27 Mar 2003 12:29:23 -0600 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF010FDA4F@PKDWB01C.ad.sprint.com> Ok, I guess I really am clueless. I'm trying to intercept control values on a form prior to their being pushed to the underlying table so I can validate user entries and display my own error message and prompt for re-entry if necessary. I have a VERY simple bound form/subform. The main form has only two controls: txtPersonID and txtDate (bound to their respective fields) the combination of which defines a unique index in the underlying table; the subform contains the child records for the person/date combination specified on the main form. I've put code in the BeforeUpdate events of both the form and the date control (separately - not at the same time), and so far have been unable to get my code to fire when deliberately violating the person/date index rule. Instead, I get the default warning (from Jet, I think?) about the new record violating the table's indexing rules. I guess the record is getting pushed to the table BEFORE the BeforeUpdate event fires. Access then takes over, testing the validity of the entry and sending its own message, which (I promise) will only confuse my users. I have also tried using the form's BeforeInsert event, but that causes my code to fire at the first keystroke on the clean form (before there's any data to validate.) Obviously, I'm misunderstanding the use of these events for validation, or I'm adopting an incorrect strategy for dealing with this issue. Anybody out there willing to escort me out of the woods or offer alternative solutions? Thanks! From EdTesiny at oasas.state.ny.us Thu Mar 27 12:30:30 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 27 Mar 2003 13:30:30 -0500 Subject: [AccessD] OT: Test Message-ID: Haven't received any posts in 3 hrs, probably my network people foolin around again Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From budge at magicaldesk.com Thu Mar 27 12:47:27 2003 From: budge at magicaldesk.com (budge at magicaldesk.com) Date: Fri, 28 Mar 2003 02:47:27 +0800 Subject: [AccessD] OT: Test Message-ID: <20030327191154.4D24ECD7E@fetchmail001.magicaldesk.com.hk> An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Mar 27 12:54:07 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 27 Mar 2003 13:54:07 -0500 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <01C2F468.568EF220.bob@renaissancesiding.com> Donald It sounds like you're in the right area; it may just be the actual code that needs tweaking. Please post your code so that we can better assist you. Regards, Bob Gajewski On Thursday, March 27, 2003 13:29 PM, Mcgillivray, Donald [LTD] [SMTP:donald.a.Mcgillivray at mail.sprint.com] wrote: > Ok, I guess I really am clueless > > I'm trying to intercept control values on a form prior to their being pushed > to the underlying table so I can validate user entries and display my own > error message and prompt for re-entry if necessary. > > I have a VERY simple bound form/subform. The main form has only two > controls: txtPersonID and txtDate (bound to their respective fields) the > combination of which defines a unique index in the underlying table; the > subform contains the child records for the person/date combination specified > on the main form > > I've put code in the BeforeUpdate events of both the form and the date > control (separately - not at the same time), and so far have been unable to > get my code to fire when deliberately violating the person/date index rule > Instead, I get the default warning (from Jet, I think?) about the new record > violating the table's indexing rules. I guess the record is getting pushed > to the table BEFORE the BeforeUpdate event fires. Access then takes over, > testing the validity of the entry and sending its own message, which (I > promise) will only confuse my users. I have also tried using the form's > BeforeInsert event, but that causes my code to fire at the first keystroke > on the clean form (before there's any data to validate.) > > Obviously, I'm misunderstanding the use of these events for validation, or > I'm adopting an incorrect strategy for dealing with this issue. Anybody out > there willing to escort me out of the woods or offer alternative solutions? > > Thanks! > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jcolby at ColbyConsulting.com Thu Mar 27 13:14:32 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 14:14:32 -0500 Subject: [AccessD] Margins in IE In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856AE@TTNEXCHSRV1.hshhp.com> Message-ID: Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 27, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Found it here: Microsoft Knowledge Base Article - 324992. Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 3:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication I've never tried it and I wasn't clear on what you were asking. All I can suggest is that you try it. MSDE is SQL Server with some limitations and without the management tools. I'm not sure how you would handle replication under those circumstances. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Without requiring full SQL Server? If you're right that will be a great relief! Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 26, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MSDE and replication Replication is supported by SQL Server and the desktop engine, not just by Jet, so you should be able to use it with VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, March 26, 2003 11:31 AM To: AccessD (E-mail); VB List (E-mail) Subject: [AccessD] MSDE and replication Cross posted: AccessD & dba-VB Does anyone know if I can replicate a MSDE BE when using VB as FE or is it limited to Access ADPs? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3524 bytes Desc: not available URL: From accessd at brougham.co.uk Thu Mar 27 13:18:06 2003 From: accessd at brougham.co.uk (brougham Baker) Date: Thu, 27 Mar 2003 19:18:06 -0000 Subject: [AccessD] OT: Test References: Message-ID: <03d001c2f495$98fc2100$253c98d5@brougham.info> Tesiny, Ed wrote: > Haven't received any posts in 3 hrs, probably my network people foolin > around again Yup, looks like it from this end. All the mail you haven't had is queued up and our server will retry sending to you over the next few hours. Bro From Jdemarco at hshhp.org Thu Mar 27 13:18:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 27 Mar 2003 14:18:46 -0500 Subject: [AccessD] Margins in IE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856BC@TTNEXCHSRV1.hshhp.com> I copied the whole thing and pasted it into Word so I could print it (I also printed a cut off IE copy first of course). Jim DeMarco > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 2:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > I've never tried it and I wasn't clear on what you were asking. All I > can suggest is that you try it. MSDE is SQL Server with some > limitations and without the management tools. I'm not sure how you > would handle replication under those circumstances. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 12:01 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Without requiring full SQL Server? If you're right that will be a great > relief! > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 2:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Replication is supported by SQL Server and the desktop engine, not just > by Jet, so you should be able to use it with VB. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 11:31 AM > To: AccessD (E-mail); VB List (E-mail) > Subject: [AccessD] MSDE and replication > > > Cross posted: AccessD & dba-VB > > Does anyone know if I can replicate a MSDE BE when using VB as FE or is > it limited to Access ADPs? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT277343.txt >> *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From donald.a.Mcgillivray at mail.sprint.com Thu Mar 27 13:26:28 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [LTD]) Date: Thu, 27 Mar 2003 13:26:28 -0600 Subject: [AccessD] Data Validation on Form - A97 Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF010FDB2C@PKDWB01C.ad.sprint.com> Thanks, Bob Your confirmation of the validity of my approach inspired me to study my code more closely. I thought I'd chased down all the possible errors, before posting my request, but on closer examination I noticed an error in the syntax of the line that evaluated the form data. I fixed the line, and 'voila', it worked. Sorry for the false alarm, and many thanks for providing a nudge in the right direction. Don McGillivray -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Thursday, March 27, 2003 10:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Data Validation on Form - A97 Donald It sounds like you're in the right area; it may just be the actual code that needs tweaking. Please post your code so that we can better assist you. Regards, Bob Gajewski From CWortz at tea.state.tx.us Thu Mar 27 13:25:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 13:25:40 -0600 Subject: [AccessD] Margins in IE Message-ID: John, I haven't looked at this particular article, but other M$ webpages' source code that I have examined had everything in absolute pixels, not percentages. Thus, unless you have 23 inch monitors which seems to be the standard with M$ webheads (or can set your monitor for 1400 x 1000) you are out of luck. If you want to print the page, my suggestion is to save it to your PC as a Word document. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:15 > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > it free! http://www.eMailBoss.com << File: ATT873567.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Thu Mar 27 13:27:59 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 14:27:59 -0500 Subject: [AccessD] Margins in IE Message-ID: Copy and paste out of IE? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at ColbyConsulting.com 27-Mar-03 2:14:32 PM >>> Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? From jcolby at ColbyConsulting.com Thu Mar 27 13:28:46 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 14:28:46 -0500 Subject: [AccessD] Margins in IE In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856BC@TTNEXCHSRV1.hshhp.com> Message-ID: yea, I did that too. Seems like there should be a wrap setting in IE. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, March 27, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Margins in IE I copied the whole thing and pasted it into Word so I could print it (I also printed a cut off IE copy first of course). Jim DeMarco > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 2:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Margins in IE > > Answer me this. I went to this article, and the lines aren't wrapping. What a PITA that is. They don't wrap when printed either. So how do I get the lines to wrap in IE? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 11:18 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Found it here: Microsoft Knowledge Base Article - 324992. > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 3:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > I've never tried it and I wasn't clear on what you were asking. All I > can suggest is that you try it. MSDE is SQL Server with some > limitations and without the management tools. I'm not sure how you > would handle replication under those circumstances. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 12:01 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Without requiring full SQL Server? If you're right that will be a great > relief! > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, March 26, 2003 2:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] MSDE and replication > > > Replication is supported by SQL Server and the desktop engine, not just > by Jet, so you should be able to use it with VB. > > Charlotte Foust > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, March 26, 2003 11:31 AM > To: AccessD (E-mail); VB List (E-mail) > Subject: [AccessD] MSDE and replication > > > Cross posted: AccessD & dba-VB > > Does anyone know if I can replicate a MSDE BE when using VB as FE or is > it limited to Access ADPs? > > Thanks, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd> > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from HealthSource/Hudson Health > Plan (HS/HHP) that is confidential or privileged. If you are not the > intended recipient, you are hereby notified that any disclosure, > copying, distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HS/HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT277343.txt >> **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4028 bytes Desc: not available URL: From CWortz at tea.state.tx.us Thu Mar 27 13:38:48 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 13:38:48 -0600 Subject: [AccessD] Margins in IE Message-ID: John, If the M$ Webheads did things correctly, they would always set widths to percentages so the pages can adjust to your monitor. But as I said in my earlier response, they seem to always use absolute pixel counts that only work for 1400 pixel wide monitors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:29 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > yea, I did that too. Seems like there should be a wrap setting in IE. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 2:19 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > > I copied the whole thing and pasted it into Word so I could print it > (I also printed a cut off IE copy first of course). > > Jim DeMarco > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > > Sent: Thursday, March 27, 2003 2:15 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Margins in IE > > > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 11:18 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDE and replication > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > Thanks, > > > > Jim DeMarco > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Thu Mar 27 13:48:10 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu, 27 Mar 2003 19:48:10 +0000 (GMT) Subject: [AccessD] Margins in IE In-Reply-To: References: Message-ID: <1048794490.3e83557a633e9@hosea.qub.ac.uk> I usually set the text to the smallest size then pull the browser in tight which wraps the text. Works sometimes. Most of the time its cut and paste to word. I like site like 4guysfromrolla.com who offer a print page option. Martin Quoting "Wortz, Charles" : > John, > > If the M$ Webheads did things correctly, they would always set widths > to > percentages so the pages can adjust to your monitor. But as I said in > my earlier response, they seem to always use absolute pixel counts > that > only work for 1400 pixel wide monitors. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Thursday 2003 Mar 27 13:29 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Margins in IE > > > > yea, I did that too. Seems like there should be a wrap setting in > IE. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 2:19 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Margins in IE > > > > > > I copied the whole thing and pasted it into Word so I could print it > > (I also printed a cut off IE copy first of course). > > > > Jim DeMarco > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > > Sent: Thursday, March 27, 2003 2:15 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Margins in IE > > > > > > Answer me this. I went to this article, and the lines aren't > > wrapping. What a PITA that is. They don't wrap when printed > either. > > So how do I get the lines to wrap in IE? > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > > DeMarco > > > Sent: Thursday, March 27, 2003 11:18 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] MSDE and replication > > > > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > > > Thanks, > > > > > > Jim DeMarco > > > From Bryan_Carbonnell at cbc.ca Thu Mar 27 14:13:36 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 27 Mar 2003 15:13:36 -0500 Subject: [AccessD] Margins in IE Message-ID: This particular article it totally hosed. I have my monitor set to 1600 X 1280 and I still get unwrapped lines. I've always maintained that MS can't do web stuff very well and this just reinforces it for me. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 27-Mar-03 2:38:48 PM >>> John, If the M$ Webheads did things correctly, they would always set widths to percentages so the pages can adjust to your monitor. But as I said in my earlier response, they seem to always use absolute pixel counts that only work for 1400 pixel wide monitors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Thursday 2003 Mar 27 13:29 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > yea, I did that too. Seems like there should be a wrap setting in IE. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Thursday, March 27, 2003 2:19 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Margins in IE > > > I copied the whole thing and pasted it into Word so I could print it > (I also printed a cut off IE copy first of course). > > Jim DeMarco > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > > Sent: Thursday, March 27, 2003 2:15 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Margins in IE > > > > Answer me this. I went to this article, and the lines aren't > wrapping. What a PITA that is. They don't wrap when printed either. > So how do I get the lines to wrap in IE? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim > DeMarco > > Sent: Thursday, March 27, 2003 11:18 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDE and replication > > > > > > Found it here: Microsoft Knowledge Base Article - 324992. > > > > Thanks, > > > > Jim DeMarco > From cfoust at infostatsystems.com Thu Mar 27 14:58:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 12:58:58 -0800 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -----Original Message----- From: Marcus, Scott (GEAE, RHI Consulting) [mailto:scott.marcus at ae.ge.com] Sent: Thursday, March 27, 2003 10:15 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT:Building your business was... Rate for first time Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From klk at ksu.edu Thu Mar 27 15:22:26 2003 From: klk at ksu.edu (Keith L. Kovala) Date: Thu, 27 Mar 2003 15:22:26 -0600 Subject: [AccessD] Rate for first time In-Reply-To: Message-ID: <004d01c2f4a6$f8505d40$43588281@current> Small exaggeration there, but I think the point is well met. However to clarify, McPloyees are still making minimum wage, and managers are lucky to pull more than $7/hr. Keith L. Kovala -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 27, 2003 11:53 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, March 27, 2003 11:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia From CWortz at tea.state.tx.us Thu Mar 27 15:29:39 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 15:29:39 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Mar 27 15:35:30 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 27 Mar 2003 15:35:30 -0600 Subject: [AccessD] Rate for first time Message-ID: Keith, KSU is out in the middle of nowhere with 5,000 students competing for 100 jobs, so minimum wage prevails. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Keith L. Kovala [mailto:klk at ksu.edu] Sent: Thursday 2003 Mar 27 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time Small exaggeration there, but I think the point is well met. However to clarify, McPloyees are still making minimum wage, and managers are lucky to pull more than $7/hr. Keith L. Kovala -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, March 27, 2003 11:53 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time YIKES! Where do you live? $10 an hour is just about what you get working at a McDonalds these days! ;o) You have a lot more training and overhead than $10 an hour. Think of it this way: You may have some of these things -but business wise you need to BUY: ODE, Wise Install, SageKey Scripts, a decent Help writing program (price it at RoboHelp-worst case), a good PC, desk, office furnishings, accountant... after 6 months you'll need to buy a real life! ;o) In the U.S. try $65/hour for starters. If you're uncomfortable with billing the whole amount because it took longer than you thought then only bill a portion of the hours. Never bill too low of a rate. I bill according to customer size and what I'm doing: 65-120. For non-profits, I donate half back after payment (which is agreed upon ahead of time). IRC there is an article in one the Many-to-Many newsletters on this, check it out it is very good advice. HTH JB From JHewson at karta.com Thu Mar 27 15:41:36 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 27 Mar 2003 15:41:36 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> I work for a company that contracts my database development services to clients. My rates to develop Access databases range from $65 to $125 per hour depending on the location of the customer (San Antonio vs DC), location of the work (customer site vs my office) and complexity of the project. I can assure you, I do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, March 27, 2003 3:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgsax at ksu.edu Thu Mar 27 15:55:57 2003 From: sgsax at ksu.edu (Seth Galitzer) Date: 27 Mar 2003 15:55:57 -0600 Subject: [AccessD] Rate for first time In-Reply-To: References: Message-ID: <1048802158.8893.96.camel@sgsax-th4022c> That's 20,000 students, thank you very much. Although not all of them are probably looking for jobs at the same time. :) Seth On Thu, 2003-03-27 at 15:35, Wortz, Charles wrote: > Keith, > > KSU is out in the middle of nowhere with 5,000 students competing for > 100 jobs, so minimum wage prevails. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Keith L. Kovala [mailto:klk at ksu.edu] > Sent: Thursday 2003 Mar 27 15:22 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Rate for first time > > Small exaggeration there, but I think the point is well met. However to > clarify, McPloyees are still making minimum wage, and managers are lucky > to pull more than $7/hr. > > Keith L. Kovala > > -- Seth Galitzer sgsax at ksu.edu Computing Specialist http://puma.agron.ksu.edu/~sgsax Dept. of Plant Pathology Kansas State University From thevigil at kabelfoon.nl Thu Mar 27 16:17:01 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Thu, 27 Mar 2003 23:17:01 +0100 Subject: [AccessD] Breakpoint SOLVED References: <1091FC4177258B40BC4B712C053AF57D1256D0@excincybe03.cinergy.com> Message-ID: <015801c2f4ae$b3832b40$115b2d3e@jester> Thanks for the suggestion. I didn't try it. I started up my PC, after giving it a day rest and.... the problem was solved without doing anything.... Bert-Jan ----- Original Message ----- From: "Ehlers, Rick" To: Sent: Wednesday, March 26, 2003 1:04 PM Subject: RE: [AccessD] Breakpoint > Bert-Jan, > > Under Access 2000 - Tools - Startup - Advanced, there is a checkbox to turn off and on the use of special Access keys. I have been burned when testing code that if the box is not checked, the code won't stop at the breakpoint. The other problem I have is if I set a breakpoint and then toggle it back off later and leave the startup option unchecked, my "phantom" breakpoint is still active, even after I close the application. This never occurred under Access 97. Must be a "feature". > > HTH > > Rick Ehlers > Energy Merchant Business Unit > Power Business Information > 4th & Main - Room 540A > Phone: (513) 287-3406 > EMail: rhehlers at cinergy.com > > -----Original Message----- > From: Bert-Jan Brinkhuis [mailto:thevigil at kabelfoon.nl] > Sent: Tuesday, March 25, 2003 4:56 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Breakpoint > > > Hi Group, > > while trying to solve something i was troubling with i placed a breakpoint > in the code to see how the code was executed. > But while running the code Access won't jump to the breakpoint...? > > It does in other databases on the same PC? > > I use A2k on a Windows 2000 professional machine > > Bert-Jan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Thu Mar 27 16:17:23 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Thu, 27 Mar 2003 23:17:23 +0100 Subject: [AccessD] for each.... SOLVED References: <015201c2f319$73b3f260$115b2d3e@jester> Message-ID: <015901c2f4ae$b3d717a0$115b2d3e@jester> I started up my PC, after giving it a day rest and.... the problem was solved without doing anything.... Bert-Jan ----- Original Message ----- From: "Bert-Jan Brinkhuis" To: Sent: Tuesday, March 25, 2003 10:56 PM Subject: [AccessD] for each.... > Hi group. > > The strangest thing is happening to me (which i was unable to solve the past > hour ;-( ): > The following code used in one event is working fine and in the other not: > > dim ctl as control > > for eacht ctl in me.detail.controls > debug.print ctl.name > next > > When it is working fine it lists all controls in the detailsection... that > is what i want > When it doesn't work fine fine it only lists 1 control? > > Why? > > And why it does lists that specific control i do not know? I gave it another > tab index and i replaced it on the form but still it will list the same > control (i am rewriting someone elses database, so i do not know if that > control was created first on that form, but i suspect that is the thing... > does access keep another (hidden) order of controls on a form?) > > And while i was trying to solve this i found another strange thing..... (i > will start a different thread for this aswell) > I placed a breakpoint in the code to see how it was executed..... and it > didn't jump to the breakpoint...?? And it does in other databases on the > same PC! > > Bert-Jan > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Thu Mar 27 16:55:50 2003 From: joconnell at indy.rr.com (Joe O'Connell) Date: Thu, 27 Mar 2003 17:55:50 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time Message-ID: <004201c2f4b4$1f2675a0$6601a8c0@joe.indy.rr.com> The "rule of thumb" that I have always used is to charge a daily rate that is equal to 1% of an employees salary. If a person is paid $60,000 per year, the daily rate is $600 -- or $75 per hour ($85 in NYC because it is only a 7 hour day). Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Wortz, Charles To: accessd at databaseadvisors.com Date: Thursday, March 27, 2003 5:12 PM Subject: RE: [AccessD] OT:Building your business was... Rate for first time I just so happen to be working on our db for contractors this afternoon and can report that the hourly rate we pay for full-time contractors varies from about $40 to over $100. However, all of them come to us from contracting companies, so the individual only receives a portion of the rate. Some of them are salaried employees of the contracting company but most are sub-contractors. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Mar 27 14:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT:Building your business was... Rate for first time I'm not an independent. I work full time as a salaried developer and contract and consult on the side. In my previous job, I actually worked as a contract employee for the feds, but my employer was the contractor, so I had the best of both worlds ... until they lost the contract. I could have stayed on with the new contractor but knew it would never work because I have a bad habit of saying exactly what I think, regardless of how exalted the other person thinks they are. So I went out and found myself this job. I've been lucky so far. As soon as one job begins to pall, I fall into another that gives me new experience and that I like even better. At the same time, I sometimes work for a company that provides contact employees, but that is strictly part-time when it occurs. I have a friend who is a project manager, so she finds projects and then gets them to add me on as the database person on the project. As long as I can work evenings and weekends, it works beautifully. Charlotte Foust -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Thu Mar 27 17:07:38 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 27 Mar 2003 17:07:38 -0600 Subject: [AccessD] Trapping an ODBC error from MS SQL server Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBF8@cpixchng-1.cpiqpc.net> I am copying data from a vendor's MS SQL server table to an in-house SQL server table. Right now I have a pass-through query setup in A97 to copy the data after certain other criteria are met. The vendor table has a Unique ID field that I am copying. I have setup the id field on our table to be unique and to ignore duplicate values. The problem is I get an ODBC error each time the query runs then another message telling me the dupicate values were ignored. The data gets copied just fine. My question is, is there a way in A97 to get the error number that SQL generates so I know to ignore this error. If I trap for the Access error it is just the standard ODBC call failed error which could be anything - Or - could I rewrite my SQL statement so it doesn't try to copy duplicate records following is my current sql statement: INSERT INTO tblDepositsFromVendor (DepositID, DepositDate, AccountNumber, DepositAmount) SELECT deposit_id, deposit_date, account_number, deposit_amount FROM vendorserver.venderdatabase.dbo.cw_deposits thanks Rusty Hammond From mastercafe at ctv.es Thu Mar 27 17:43:48 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Fri, 28 Mar 2003 00:43:48 +0100 Subject: [AccessD] Manage Thermal Printers In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBBF8@cpixchng-1.cpiqpc.net> Message-ID: We are looking for how to control Epson Tm88 family printers or Samsung SRP 350 printers from A2k. We are checking de Epson OPOS software and solve a big part of this, but was totally uncompatible with SRP350. We look the printer control using ASCII sequences like DLE -EOT n but don't undestand how to manipulate. Any knows where we check information about this?? Thanks Juan Men?ndez Mastercafe SL From wdhindman at bellsouth.net Thu Mar 27 17:56:05 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 18:56:05 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time References: <768A0EA6FF8CB34FA522978966E5D52E559D4A@bwam02msx.ae.ge.com> Message-ID: <004001c2f4bc$6e120960$6101a8c0@amd2k512> MessageMarcus ...its a constant, never ending process that you really have to work at ...you have to set aside time almost every day to "market" yourself, something that doesn't usually come naturally to those of us who gravitate toward database development as a career choice ...buy a copy of "Guerilla Marketing" ...its an inexpensive staple at every bookstore and worth its weight in gold a thousand times over ...at least it has been for me :) ...I do a bi-weekly newsletter for both current and past clients ...bugger together a few relevant articles off the net and cut it down to their level ...put in a few personal bits to give them that warm, fuzzy feeling ...some relevant humor ...usually one page double sided ...takes no more than an hour or so but you'd be amazed at how it keeps your face in front of them ...and past clients are the very best resource you have for capturing new clients ...as well as new work from them. ...I also just "drop by" whenever I have a few minutes and am in the neighborhood ...never impose, never stay long ..."how're things going ...blah, blah, blah" ...you know them, they know you ...its not like selling something ...but I always leave a few cards ...and ALWAYS touch bases with the 2nd level while you're there ...if the Secretary likes you, you can bet others there will ...between the newsletters and the "drop-ins" I manage to get more than enough referrals to replace the work that is at its end ...and the work you get by referral usually commands better prices because someone they know has already vouched for your work (which is the primary reason you never cut your hourly rate ...it gets passed on along with every referral ...cut your hours if you must but never that rate) :) ...advertising has rarely worked for me ...couple lines in the Yellow Pages will get you a few calls and less work ...the net is filled with people buying work at rates that won't feed the cat much less me so I've never used it for marketing. ...startup can be rough ...if you can't afford some dry spells you shouldn't look to consulting for a living ...make a list of everyone you know ...then let them know you're looking for database development work ...it can be absolutely amazing who you don't know that your friends do ...and lucrative :) ...volunteer your time with non-profits but always invoice them for it with your hourly rate and an N/C notation ...they have a LOT of contacts ...make them happy and they'll help you along the way ...just remember to be patient ...the people who work for non-profits tend to have disconnects with the real world ...so treat them just as you would any other business even though you're not getting paid ...get it in writing ...spec the job as well as remedies for any changes along the way ...else you'll never FINISH that gratis work and build the type of relationship you need to turn them into a referral system for you. ...just my experience ...others certainly have succeeded doing just the opposite ...just remember to have a bit of fun along the way ...otherwise you might as well be drawing that steady paycheck and bennies :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Marcus, Scott (GEAE, RHI Consulting) To: 'accessd at databaseadvisors.com' Sent: Thursday, March 27, 2003 1:14 PM Subject: [AccessD] OT:Building your business was... Rate for first time Virginia brings up an interestig subject which I would like to expand on. I've been an independent for many years and have been lucky(maybe not so lucky) enough to have full-time contract's. My current project is comming to an end and I'm without work. How do all you independents go about building your business? I know I'm late in doing this, but up until now I've worked for a client that doesn't want me for less than 40 hours. Scott Marcus -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 12:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Rate for first time That is far too low. That's what they might pay a student intern. For an experienced developer, rates range from $50 (low) to as high as $250 (high IMHO). My rate varies between $75 if I want to do the work and $150 if I'm not overly eager. For a first time, somewhere between $35 and $45 sounds about right to me, depending on your qualifications. A consultant tends to be called in intermittently over an indeterminate period, while an independent contractor is actually working under a contract with rates, any benefits and term of contract spelled out and agreed to. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, March 27, 2003 9:16 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Rate for first time I know this has been asked a zillion times.... What is a fair hourly rate for developers? I have been asked to do my first outside developing for a company. Since this is my first time, is 10.00 hour too low? They are wanting it set up as a consultant, is that different than an independent contractor? I am not sure what the difference would be tax wise? Any suggestions? Virginia ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Thu Mar 27 19:23:40 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 20:23:40 -0500 Subject: [AccessD] Replication - A2K Message-ID: I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From DWUTKA at marlow.com Thu Mar 27 19:37:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 19:37:23 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B4@main2.marlow.com> Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 19:46:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 20:46:04 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824B4@main2.marlow.com> Message-ID: Why would the replication slow things down? The FE/BE running locally speeds things up by a factor of two. Replication simply allows me to run the BE/FE locally on every machine. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, March 27, 2003 8:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3232 bytes Desc: not available URL: From cfoust at infostatsystems.com Thu Mar 27 19:47:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Mar 2003 17:47:58 -0800 Subject: [AccessD] Replication - A2K Message-ID: Drew, That makes no sense. It's the back end that gets replicated, which gives the user a local backend to work with. That has to be faster than a LAN-based back end. It isn't like the replicas are synced constantly. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 5:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 19:54:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 19:54:52 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> True, replication wouldn't slow down the normal 'running' processes, but I'm adding in the sync time to replicate it on every database. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > Why would the replication slow things down? The FE/BE running locally > speeds things up by a factor of two. Replication simply allows me to run > the BE/FE locally on every machine. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Thursday, March 27, 2003 8:37 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Replication - A2K > > > Just out of curiousity, what all have you tried to speed things up? It > sounds like you want to replicate a database to run 'locally' on > everyone's > machine. I would be willing to be that would slow things down on it's > own, > even if the db is running locally. > > Are all of the users on a LAN, or are some accessing this through a VPN? > In > that case I could see replication being used. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:24 PM > To: AccessD > Subject: [AccessD] Replication - A2K > > > I need any info / experiences anyone can share re replication. My > insurance > client has a functioning database now that is SLOOOOOooooow. They came > from > a "flat file" where they had basically a single table with 125+ fields to > a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter > how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time > (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development > copy > of the db on his desktop and it is about twice as fast. Therefore he > thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> From michael.mattys at adelphia.net Thu Mar 27 20:03:18 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 27 Mar 2003 21:03:18 -0500 Subject: [AccessD] Replication - A2K References: Message-ID: <01bb01c2f4ce$351ae2f0$6401a8c0@default> John, I have a few things I've collected on A97 that you might look at (Rep FAQ, Partial Rep Wizard, etc) Want me to send this stuff to you? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Thursday, March 27, 2003 8:23 PM Subject: [AccessD] Replication - A2K > I need any info / experiences anyone can share re replication. My insurance > client has a functioning database now that is SLOOOOOooooow. They came from > a "flat file" where they had basically a single table with 125+ fields to a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development copy > of the db on his desktop and it is about twice as fast. Therefore he thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davide at dalyn.co.nz Thu Mar 27 20:07:36 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 28 Mar 2003 14:07:36 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> John, I have had experiences with two replicated databases. One on a local lan, the other replicating via dial up network. Both in A97. According to Arthur, A2K (Jet 4) is more stable. My main experience on the lan was that the database corrupted frequently. All the research I could find pinned it down to a faulty network but I am not a network techo so I had to leave it to the IT department. Eventually we ended up converting to SQL. However, the corruptions were due to the BE being on a server. In your case if the BE is on the local machines (and the users don't need up to date information) then indirect synchronization should work fine (as opposed to direct synchronization - fewer opportunities for corruption across the network. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 27/03/2003, you wrote: >I need any info / experiences anyone can share re replication. My insurance >client has a functioning database now that is SLOOOOOooooow. They came from >a "flat file" where they had basically a single table with 125+ fields to a >fully relational FE/BE with of course much expanded functionality - and of >course the speed isn't anywhere close to the same as the old. No matter how >you explain, the user doesn't know what goes on behind the scenes, and >doesn't care. All they know is that it is slower. Plus they are adding >more employees (up to about 25 now from under 20 when I started the >project - and still climbing). > >They will probably go to SQl Server someday but now is not the time (money). >I have been discussing options with them and explained to the tech contact >the idea behind replication. He has been running a FE / BE development copy >of the db on his desktop and it is about twice as fast. Therefore he thinks >that replication might solve their speed issues for the short term (for a >year or so) until such time as they could make the move to SQL Server. > >So I need info. I have done replication one time, just on my own system, >just to see how it worked - and that was a long time ago. So I need to >start a thread with anyone who has current experience on how to set it up, >what is involved, any good reference material to read, would it work to >merge the BE/FE back in and also replicate design changes, etc. > >Anyone with info out there? > >Thanks, > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:13:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:13:27 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> Message-ID: Yea, but that time is taken out of the server database, not the workstation database. I don't care about that time. In fact though, the replication data is a TINY amount of data compared to the normal load of full on bound table queries, all the combos etc. So the total network load should drop drastically as well. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, March 27, 2003 8:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K True, replication wouldn't slow down the normal 'running' processes, but I'm adding in the sync time to replicate it on every database. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > Why would the replication slow things down? The FE/BE running locally > speeds things up by a factor of two. Replication simply allows me to run > the BE/FE locally on every machine. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Thursday, March 27, 2003 8:37 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Replication - A2K > > > Just out of curiousity, what all have you tried to speed things up? It > sounds like you want to replicate a database to run 'locally' on > everyone's > machine. I would be willing to be that would slow things down on it's > own, > even if the db is running locally. > > Are all of the users on a LAN, or are some accessing this through a VPN? > In > that case I could see replication being used. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 7:24 PM > To: AccessD > Subject: [AccessD] Replication - A2K > > > I need any info / experiences anyone can share re replication. My > insurance > client has a functioning database now that is SLOOOOOooooow. They came > from > a "flat file" where they had basically a single table with 125+ fields to > a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter > how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time > (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development > copy > of the db on his desktop and it is about twice as fast. Therefore he > thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3688 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Thu Mar 27 20:13:42 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:13:42 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <01bb01c2f4ce$351ae2f0$6401a8c0@default> Message-ID: Yes please. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Thursday, March 27, 2003 9:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K John, I have a few things I've collected on A97 that you might look at (Rep FAQ, Partial Rep Wizard, etc) Want me to send this stuff to you? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "AccessD" Sent: Thursday, March 27, 2003 8:23 PM Subject: [AccessD] Replication - A2K > I need any info / experiences anyone can share re replication. My insurance > client has a functioning database now that is SLOOOOOooooow. They came from > a "flat file" where they had basically a single table with 125+ fields to a > fully relational FE/BE with of course much expanded functionality - and of > course the speed isn't anywhere close to the same as the old. No matter how > you explain, the user doesn't know what goes on behind the scenes, and > doesn't care. All they know is that it is slower. Plus they are adding > more employees (up to about 25 now from under 20 when I started the > project - and still climbing). > > They will probably go to SQl Server someday but now is not the time (money). > I have been discussing options with them and explained to the tech contact > the idea behind replication. He has been running a FE / BE development copy > of the db on his desktop and it is about twice as fast. Therefore he thinks > that replication might solve their speed issues for the short term (for a > year or so) until such time as they could make the move to SQL Server. > > So I need info. I have done replication one time, just on my own system, > just to see how it worked - and that was a long time ago. So I need to > start a thread with anyone who has current experience on how to set it up, > what is involved, any good reference material to read, would it work to > merge the BE/FE back in and also replicate design changes, etc. > > Anyone with info out there? > > Thanks, > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3108 bytes Desc: not available URL: From DWUTKA at marlow.com Thu Mar 27 20:14:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 20:14:46 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B6@main2.marlow.com> I realize that, I know that immediate processes will speed up, but replication is going to add to the over all processing time. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, March 27, 2003 7:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Drew, That makes no sense. It's the back end that gets replicated, which gives the user a local backend to work with. That has to be faster than a LAN-based back end. It isn't like the replicas are synced constantly. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 5:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replication - A2K Just out of curiousity, what all have you tried to speed things up? It sounds like you want to replicate a database to run 'locally' on everyone's machine. I would be willing to be that would slow things down on it's own, even if the db is running locally. Are all of the users on a LAN, or are some accessing this through a VPN? In that case I could see replication being used. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 7:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Thu Mar 27 20:20:56 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 21:20:56 -0500 Subject: [AccessD] Replication - A2K References: <2F8793082E00D4119A1700B0D0216BF801D824B5@main2.marlow.com> Message-ID: <00a301c2f4d0$aa541fd0$6101a8c0@amd2k512> ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:23:37 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:23:37 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> Message-ID: I'll have to brush up on the terminology again. Indirect being dropping "files" into a shared directory, as opposed to trying to actually perform the replication "live" into the BE? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Thursday, March 27, 2003 9:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K John, I have had experiences with two replicated databases. One on a local lan, the other replicating via dial up network. Both in A97. According to Arthur, A2K (Jet 4) is more stable. My main experience on the lan was that the database corrupted frequently. All the research I could find pinned it down to a faulty network but I am not a network techo so I had to leave it to the IT department. Eventually we ended up converting to SQL. However, the corruptions were due to the BE being on a server. In your case if the BE is on the local machines (and the users don't need up to date information) then indirect synchronization should work fine (as opposed to direct synchronization - fewer opportunities for corruption across the network. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 At 27/03/2003, you wrote: >I need any info / experiences anyone can share re replication. My insurance >client has a functioning database now that is SLOOOOOooooow. They came from >a "flat file" where they had basically a single table with 125+ fields to a >fully relational FE/BE with of course much expanded functionality - and of >course the speed isn't anywhere close to the same as the old. No matter how >you explain, the user doesn't know what goes on behind the scenes, and >doesn't care. All they know is that it is slower. Plus they are adding >more employees (up to about 25 now from under 20 when I started the >project - and still climbing). > >They will probably go to SQl Server someday but now is not the time (money). >I have been discussing options with them and explained to the tech contact >the idea behind replication. He has been running a FE / BE development copy >of the db on his desktop and it is about twice as fast. Therefore he thinks >that replication might solve their speed issues for the short term (for a >year or so) until such time as they could make the move to SQL Server. > >So I need info. I have done replication one time, just on my own system, >just to see how it worked - and that was a long time ago. So I need to >start a thread with anyone who has current experience on how to set it up, >what is involved, any good reference material to read, would it work to >merge the BE/FE back in and also replicate design changes, etc. > >Anyone with info out there? > >Thanks, > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3596 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Thu Mar 27 20:37:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:37:54 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <00a301c2f4d0$aa541fd0$6101a8c0@amd2k512> Message-ID: Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Thursday, March 27, 2003 9:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4944 bytes Desc: not available URL: From DWUTKA at marlow.com Thu Mar 27 20:39:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 20:39:06 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B7@main2.marlow.com> Is that a hint? I've been swamped lately, and quite frankly found a pretty killer 'sniper' game that I've been playing on what little free time I have! I PROMISE to have the archives up by this weekend. (maybe I'll work on them a bit tonight.) Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 27, 2003 8:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...if JC's clients are fairly independent of other's changes to the data, then replication running on a ten minute interval for instance, would definitely provide local speed improvements ...but independence is the real question JC has to answer ...if the insurance company can function using ten minute old data, then the sync updates would consume a practically unnoticed amount of time compared to the effects of localized data access. ...ime most clients desire data concurrency over speed but for those that don't, I believe Arthur Fuller has several long posts in the archives that address successfully setting up and maintaining such functionality. ...of course that would mean jc'd need access to the old archives :))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 8:54 PM Subject: RE: [AccessD] Replication - A2K > True, replication wouldn't slow down the normal 'running' processes, but I'm > adding in the sync time to replicate it on every database. > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:46 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Replication - A2K > > > > Why would the replication slow things down? The FE/BE running locally > > speeds things up by a factor of two. Replication simply allows me to run > > the BE/FE locally on every machine. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Thursday, March 27, 2003 8:37 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Replication - A2K > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > sounds like you want to replicate a database to run 'locally' on > > everyone's > > machine. I would be willing to be that would slow things down on it's > > own, > > even if the db is running locally. > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > In > > that case I could see replication being used. > > > > Drew > > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Thursday, March 27, 2003 7:24 PM > > To: AccessD > > Subject: [AccessD] Replication - A2K > > > > > > I need any info / experiences anyone can share re replication. My > > insurance > > client has a functioning database now that is SLOOOOOooooow. They came > > from > > a "flat file" where they had basically a single table with 125+ fields to > > a > > fully relational FE/BE with of course much expanded functionality - and of > > course the speed isn't anywhere close to the same as the old. No matter > > how > > you explain, the user doesn't know what goes on behind the scenes, and > > doesn't care. All they know is that it is slower. Plus they are adding > > more employees (up to about 25 now from under 20 when I started the > > project - and still climbing). > > > > They will probably go to SQl Server someday but now is not the time > > (money). > > I have been discussing options with them and explained to the tech contact > > the idea behind replication. He has been running a FE / BE development > > copy > > of the db on his desktop and it is about twice as fast. Therefore he > > thinks > > that replication might solve their speed issues for the short term (for a > > year or so) until such time as they could make the move to SQL Server. > > > > So I need info. I have done replication one time, just on my own system, > > just to see how it worked - and that was a long time ago. So I need to > > start a thread with anyone who has current experience on how to set it up, > > what is involved, any good reference material to read, would it work to > > merge the BE/FE back in and also replicate design changes, etc. > > > > Anyone with info out there? > > > > Thanks, > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Thu Mar 27 20:50:46 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 27 Mar 2003 21:50:46 -0500 Subject: [AccessD] Replication - A2K References: <2F8793082E00D4119A1700B0D0216BF801D824B7@main2.marlow.com> Message-ID: <00cc01c2f4d4$d5073a60$6101a8c0@amd2k512> "I PROMISE to have the archives up by this weekend." Drew ...just thought that was worth highlighting! :))))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 9:39 PM Subject: RE: [AccessD] Replication - A2K > Is that a hint? I've been swamped lately, and quite frankly found a pretty > killer 'sniper' game that I've been playing on what little free time I have! > I PROMISE to have the archives up by this weekend. (maybe I'll work > on them a bit tonight.) > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Thursday, March 27, 2003 8:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Thu Mar 27 20:57:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:57:59 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From jcolby at ColbyConsulting.com Thu Mar 27 20:57:59 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 21:57:59 -0500 Subject: [AccessD] [dba-SQLServer]MSDE Replication - Crossposted Message-ID: On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 21:19:29 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 21:19:29 -0600 Subject: [AccessD] Replication - A2K Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824B9@main2.marlow.com> Watch it, or I'll be sure to 'block' BellSouth IP Addresses! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, March 27, 2003 8:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K "I PROMISE to have the archives up by this weekend." Drew ...just thought that was worth highlighting! :))))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, March 27, 2003 9:39 PM Subject: RE: [AccessD] Replication - A2K > Is that a hint? I've been swamped lately, and quite frankly found a pretty > killer 'sniper' game that I've been playing on what little free time I have! > I PROMISE to have the archives up by this weekend. (maybe I'll work > on them a bit tonight.) > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Thursday, March 27, 2003 8:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Thu Mar 27 21:31:38 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 27 Mar 2003 21:31:38 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> References: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> Message-ID: <315103156.20030327213138@charter.net> JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron From jcolby at ColbyConsulting.com Thu Mar 27 21:50:08 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Thu, 27 Mar 2003 22:50:08 -0500 Subject: [AccessD] OT:Building your business was... Rate for first time In-Reply-To: <315103156.20030327213138@charter.net> Message-ID: Ron, Compensation (in which I include salary) depends very much on where you are. Places like NYC or San Francisco command as much as 50% higher salary than other lower cost areas. That said, you'd have to be in a low cost area for $40k to be a good salary for the job description you quoted. That said, times are tough right now which means that lots of people with your qualifications (or better) are unemployed and willing to take jobs at less that they would have 2 years ago. When I got to Connecticut I "accepted" a job at $60k with a description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. One way or the other, 40K is probably low during good times. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen Sent: Thursday, March 27, 2003 10:32 PM To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4012 bytes Desc: not available URL: From accessd at shaw.ca Thu Mar 27 22:22:53 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 27 Mar 2003 20:22:53 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: Hi John: I recently convinced a client to go to a SQL2000 BE with a 12 user/connection license. The price was only $1600.00 CAN. Not at all expensive considering the features and performance boost. SQL of course handles everything, row-locking, all the queries, backups even replication. The performance is awesome and they are still under the delusion that I am a god...that will pass quick enough. They have about 30 potential users. This should be no problem as I just finished on SQL7, after five years, on an off-and-on government contract and they were a 10 user/connection license and 65 users, province wide. The application had to be designed with these limitations in mind but SQL worked amazingly well. Time-outs were very rare. Sadly, the application has just been replaced with a massive Oracle system, covering the whole Ministry, implemented by an equally massive System House. The branch client fought hard to keep their program but... My recommendation is to try and convince them to go SQL. If they wouldn't pay for MS SQL maybe an Access, Apache and MySQL combo will be the ticket. Apache and MySQL are free and runs on NT, 2000 and even Windows98. :-| (The latter is an unsubstantiated statement from a acquaintance.) The replication issue is unmanaged but a Windows2000 server has that functionality built in...I have read about it but never tried it. Hope this helps Jim Creative Systems Design -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Thursday, March 27, 2003 5:24 PM To: AccessD Subject: [AccessD] Replication - A2K I need any info / experiences anyone can share re replication. My insurance client has a functioning database now that is SLOOOOOooooow. They came from a "flat file" where they had basically a single table with 125+ fields to a fully relational FE/BE with of course much expanded functionality - and of course the speed isn't anywhere close to the same as the old. No matter how you explain, the user doesn't know what goes on behind the scenes, and doesn't care. All they know is that it is slower. Plus they are adding more employees (up to about 25 now from under 20 when I started the project - and still climbing). They will probably go to SQl Server someday but now is not the time (money). I have been discussing options with them and explained to the tech contact the idea behind replication. He has been running a FE / BE development copy of the db on his desktop and it is about twice as fast. Therefore he thinks that replication might solve their speed issues for the short term (for a year or so) until such time as they could make the move to SQL Server. So I need info. I have done replication one time, just on my own system, just to see how it worked - and that was a long time ago. So I need to start a thread with anyone who has current experience on how to set it up, what is involved, any good reference material to read, would it work to merge the BE/FE back in and also replicate design changes, etc. Anyone with info out there? Thanks, John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Mar 27 22:21:57 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 27 Mar 2003 22:21:57 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824BE@main2.marlow.com> Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew From davide at dalyn.co.nz Thu Mar 27 22:23:20 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 28 Mar 2003 16:23:20 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: References: <5.2.0.9.0.20030328140155.00b1b9e0@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030328162232.00b1b9e0@mail.dalyn.co.nz> Correct - The replication white paper has a good section on this in it. David At 27/03/2003, you wrote: >I'll have to brush up on the terminology again. Indirect being dropping >"files" into a shared directory, as opposed to trying to actually perform >the replication "live" into the BE? > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Thursday, March 27, 2003 9:08 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Replication - A2K > > >John, > >I have had experiences with two replicated databases. One on a local lan, >the other replicating via dial up network. Both in A97. According to >Arthur, A2K (Jet 4) is more stable. > >My main experience on the lan was that the database corrupted >frequently. All the research I could find pinned it down to a faulty >network but I am not a network techo so I had to leave it to the IT >department. Eventually we ended up converting to SQL. However, the >corruptions were due to the BE being on a server. In your case if the BE >is on the local machines (and the users don't need up to date information) >then indirect synchronization should work fine (as opposed to direct >synchronization - fewer opportunities for corruption across the network. > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 >At 27/03/2003, you wrote: > >I need any info / experiences anyone can share re replication. My >insurance > >client has a functioning database now that is SLOOOOOooooow. They came >from > >a "flat file" where they had basically a single table with 125+ fields to a > >fully relational FE/BE with of course much expanded functionality - and of > >course the speed isn't anywhere close to the same as the old. No matter >how > >you explain, the user doesn't know what goes on behind the scenes, and > >doesn't care. All they know is that it is slower. Plus they are adding > >more employees (up to about 25 now from under 20 when I started the > >project - and still climbing). > > > >They will probably go to SQl Server someday but now is not the time >(money). > >I have been discussing options with them and explained to the tech contact > >the idea behind replication. He has been running a FE / BE development >copy > >of the db on his desktop and it is about twice as fast. Therefore he >thinks > >that replication might solve their speed issues for the short term (for a > >year or so) until such time as they could make the move to SQL Server. > > > >So I need info. I have done replication one time, just on my own system, > >just to see how it worked - and that was a long time ago. So I need to > >start a thread with anyone who has current experience on how to set it up, > >what is involved, any good reference material to read, would it work to > >merge the BE/FE back in and also replicate design changes, etc. > > > >Anyone with info out there? > > > >Thanks, > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >---------------------------------------------------- > >Is email taking over your day? Manage your time with eMailBoss. > >Try it free! http://www.eMailBoss.com > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >---------------------------------------------------- >Is email taking over your day? Manage your time with eMailBoss. >Try it free! http://www.eMailBoss.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Mar 28 01:24:07 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 02:24:07 -0500 Subject: [AccessD] Replication - A2K References: Message-ID: <000f01c2f4fb$04dc4bb0$6101a8c0@amd2k512> ...just a note jc ...www.trigeminal.com is loaded with replication info, code, and tools ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 27, 2003 9:37 PM Subject: RE: [AccessD] Replication - A2K > Precisely (on both counts). There are about 25 users of the database. > Virtually ALL of the users are actively editing specific cases. Each case > can be handled by anyone, i.e. the first examiner available in the phone > queue picks up the phone, opens the record for the person that the phone > call is about. In the process of taking the call, info is usually entered > into "contact" logs, i.e. info about the phone call. Each claimant's file > has an assigned "Examiner" who "runs" the case. That person has to make > phone calls to physicians, witnesses, employers etc. Those phone calls also > get data logged about them. > > As you can see from the description, there is not a high degree of > concurrency where several people will be in the same case at the same time. > My observation of the operation is that there is a very random pattern of > data entry since the incoming phone calls are random. There is also a > fairly predictive data entry since a case has to be worked, however this > side of the operation is not necessarily data entry intensive, nor holding > records open for long periods of time. The Examiner calls the physician and > requests a doc. Notes that fact in the log, moves on to the next claim. > > It seems that this type of operation would be perfect for replication, on a > 15 minute (or even longer) replication schedule. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Thursday, March 27, 2003 9:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Fri Mar 28 02:41:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 03:41:00 -0500 Subject: [AccessD] String Manip Help Message-ID: <000501c2f505$c25de450$6101a8c0@amd2k512> ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." From jmoss111 at bellsouth.net Fri Mar 28 03:19:00 2003 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 28 Mar 2003 03:19:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time References: <353A32F9B331D411BB8F00A0C9FC503701294ADF@NT04> <315103156.20030327213138@charter.net> Message-ID: <014301c2f50b$115fc690$4cbb5041@jlmoss> Ron, Monster.com has a salary site that shows salary by zip code and job decription. jm ----- Original Message ----- From: "Ron Allen" To: "Jim Hewson" Sent: Thursday, March 27, 2003 9:31 PM Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time > JH> I work for a company that contracts my database development services to > JH> clients. My rates to develop Access databases range from $65 to $125 per > JH> hour depending on the location of the customer (San Antonio vs DC), location > JH> of the work (customer site vs my office) and complexity of the project. I > JH> can assure you, I do not get the full amount. Most of database developers > JH> (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer with > no degree who turned his hobby into a profession, but I have sometimes > wondered where that salary range, all things being equal, falls for > positions of this type. I'm very happy where I'm at, but when speaking > to others I sometimes get the feeling that I'm underpaid and sometimes > get the impression that I'm overcompensated. It would be nice to have > some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > 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 Mar 28 03:19:27 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 28 Mar 2003 21:19:27 +1200 Subject: [AccessD] Access 2002 and imperial measurements Message-ID: <70F3D727890C784291D8433E9C418F290389CD@server.bondsoftware.co.nz> I'm sure this is simple, but I can't figure it. New box, Win XP Pro, Office XP Pro, no other versions of Office installed. The supplier of the box installed the lot for me. This country went metric measurements twenty-something years ago but my teeth are long enough to be still more comfortable in inches. Managed to change Word 2002 to inches (Tool>Options>General) but how do I do the same for Access 2002? Having to do things on reports and forms in centimetres is painful, particularly when I am supporting versions of a package in both A2000 and A2002. TIA Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 From dmcafee at pacbell.net Fri Mar 28 03:36:08 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Fri, 28 Mar 2003 01:36:08 -0800 Subject: [AccessD] String Manip Help In-Reply-To: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: Warning: Late at night AND OTTMH! :D SELECT CSZ: Left(YourField,Left(YourField,Instr(1,YourField,"/")-1), Country: Right(YourField,(Len(YourField) - Instr(1,YourField,"/"))) FROM SomeTable HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 28, 2003 12:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] String Manip Help ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." From paul.hartland at fsmail.net Fri Mar 28 03:58:04 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 9:58:04 +0000 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> I work in the UK for the equivalent of around $30K, with no pension plan, no dental plan, and no health plan.....they expect me to do overtime for nothing........I'm seriously thinking about coming to america to work, after what I have heard on this thread..... From: Ron Allen Date: Fri 28/Mar/2003 03:31 GMT To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e JH> I work for a company that contracts my database development services to JH> clients. My rates to develop Access databases range from $65 to $125 per JH> hour depending on the location of the customer (San Antonio vs DC), location JH> of the work (customer site vs my office) and complexity of the project. I JH> can assure you, I do not get the full amount. Most of database developers JH> (Oracle, Access, SQL Server, etc.) are salaried. I have a couple of questions in this thread. First, I am a salaried developer. I work with SQL Server, Oracle, Access, Visual Basic, and do all kinds of incidental but necessary stuff too (DOS batch files, UNIX shell scripts, manual and other writing, even some very basic graphics work for manual illustration screen shots and program icons and such). I have an excellent health benefits package, dental plan, vision plan, pension plan, 401K, and yearly cost of living raises plus yearly profit-based bonuses. I work a base 37.5 hours per week, and receive either comp time or time and a half at my employer's discretion for any hours beyond that in any given week. I don't want to quote my actual salary quite so publically, but let's assume for argument's sake that its about $40K/yr. I feel I am doing very well for a self-taught programmer with no degree who turned his hobby into a profession, but I have sometimes wondered where that salary range, all things being equal, falls for positions of this type. I'm very happy where I'm at, but when speaking to others I sometimes get the feeling that I'm underpaid and sometimes get the impression that I'm overcompensated. It would be nice to have some solid idea. Second, I have considered attempting some consulting work on the side. I understand the need to decide on a reasonable rate and then stick by it. What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From DWUTKA at marlow.com Fri Mar 28 03:59:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 03:59:52 -0600 Subject: [AccessD] String Manip Help Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> Sounds like you need to use InStr or InStrRev. something like Left([MyField],InStr(1,[MyField],"/")-1) -----Original Message----- From: William Hindman To: accessd at databaseadvisors.com Sent: 3/28/03 2:41 AM Subject: [AccessD] String Manip Help ...record field in table has a data string formatted like "city, state, zip /country" (without quotes) ...need to run an update query to remove the " /country" from each record where "country" can be any length ...any ideas appreciated :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Mar 28 04:33:07 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 10:33:07 +0000 Subject: [AccessD] A2000 - A2002 Message-ID: <20030328103307.EKBY4369.fep02-svc.ttys.com@localhost> To all, We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... Thanks in advance Paul Hartland IT Developer/Programmer __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From wdhindman at bellsouth.net Fri Mar 28 05:49:49 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 06:49:49 -0500 Subject: [AccessD] String Manip Help SOLVED References: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> Message-ID: <000501c2f520$22f7a9d0$6101a8c0@amd2k512> Drew/David ...thanks for putting my brain back in gear ...forgot to mention that the " /Country" part of the string was often missing ...so I stuck it inside an IIf and it works exactly as needed :))))))))) IIf(InStr(1,[tblEMSINV]![CSZ]," \")>0,Left([tblEMSINV]![CSZ],InStr(1,[tblEMSINV]![CSZ],"\")-1),[tblEMSINV]![ CSZ]) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Drew Wutka" To: Sent: Friday, March 28, 2003 4:59 AM Subject: RE: [AccessD] String Manip Help > Sounds like you need to use InStr or InStrRev. > > something like > > Left([MyField],InStr(1,[MyField],"/")-1) > > > > -----Original Message----- > From: William Hindman > To: accessd at databaseadvisors.com > Sent: 3/28/03 2:41 AM > Subject: [AccessD] String Manip Help > > ...record field in table has a data string formatted like "city, state, > zip > /country" (without quotes) > ...need to run an update query to remove the " /country" from each > record > where "country" can be any length > ...any ideas appreciated :) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, > the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Fri Mar 28 06:02:57 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 07:02:57 -0500 Subject: [AccessD] A2000 - A2002 References: <20030328103307.EKBY4369.fep02-svc.ttys.com@localhost> Message-ID: <000a01c2f521$f91257d0$6101a8c0@amd2k512> Paul ...you didn't make it clear whether you replaced your hardware as well as your software in the upgrade ...I had a similar experience with one client LAN set up your way but others have been fine ...finally tracked it down to a loss of network connection on one workstation ...turned out its server connection was loose in the LAN Switch's first connector which was exposed to inadvertent contact by others in the client's office ...they were literally knocking it off the LAN without realizing it ...needless to say I replaced the connector and moved the switch location ...bugger of a problem to track down :( ...anyway, I'd be looking for a loss of network connection high among other suspects ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: To: Sent: Friday, March 28, 2003 5:33 AM Subject: [AccessD] A2000 - A2002 > To all, > > We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... > > Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... > > Thanks in advance > > Paul Hartland > IT Developer/Programmer > > __________________________________________________________________________ > Join Freeserve http://www.freeserve.com/time/ > > Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. > > > _______________________________________________ > 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 Mar 28 06:05:09 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 28 Mar 2003 22:05:09 +1000 Subject: [AccessD] String Manip Help In-Reply-To: References: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: <3E84C715.2916.2E8BA82@localhost> > Warning: Late at night AND OTTMH! :D > > SELECT CSZ: Left(YourField,Left(YourField,Instr(1,YourField,"/")-1), > Country: Right(YourField,(Len(YourField) - Instr(1,YourField,"/"))) > FROM SomeTable > Or more simply: SELECT CSZ: Left(YourField,Instr(YourField,"/")-1), Country: Mid(YourField,InstYourField,"/")+1) FROM SomeTable -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From paul.hartland at fsmail.net Fri Mar 28 06:07:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 12:07:05 +0000 Subject: [AccessD] A2000 - A2002 Message-ID: <20030328120705.OFAL22532.fep07-svc.ttys.com@localhost> I will look into that as, we did upgrade all our hardware as well.....Never thought of something like that..... Cheers Paul From: "William Hindman" Date: Fri 28/Mar/2003 12:02 GMT To: Subject: Re: [AccessD] A2000 - A2002 Paul ...you didn't make it clear whether you replaced your hardware as well as your software in the upgrade ...I had a similar experience with one client LAN set up your way but others have been fine ...finally tracked it down to a loss of network connection on one workstation ...turned out its server connection was loose in the LAN Switch's first connector which was exposed to inadvertent contact by others in the client's office ...they were literally knocking it off the LAN without realizing it ...needless to say I replaced the connector and moved the switch location ...bugger of a problem to track down :( ...anyway, I'd be looking for a loss of network connection high among other suspects ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: To: Sent: Friday, March 28, 2003 5:33 AM Subject: [AccessD] A2000 - A2002 > To all, > > We have recently upgraded from Windows NT & MS Office 2000, to Windows 2000 Servers, Windows XP workstations and MS Office XP. Since we upgraded around a week ago now, My Access application has crashed twice, and has had to be manually repaired, and tries to email the error to Microsoft..... > > Has any else had similar experiences and can tell me whats happening, and how to get around the problem...... > > Thanks in advance > > Paul Hartland > IT Developer/Programmer > > __________________________________________________________________________ > Join Freeserve http://www.freeserve.com/time/ > > Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From wdhindman at bellsouth.net Fri Mar 28 06:35:16 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 07:35:16 -0500 Subject: [AccessD] Access 2002 and imperial measurements References: <70F3D727890C784291D8433E9C418F290389CD@server.bondsoftware.co.nz> Message-ID: <002401c2f526$7cc4a660$6101a8c0@amd2k512> ...the measurement system is based upon your regional settings in the xp control panel ...you can customize it to use the English measurements while leaving everything else localized ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Stephen Bond" To: Sent: Friday, March 28, 2003 4:19 AM Subject: [AccessD] Access 2002 and imperial measurements > > I'm sure this is simple, but I can't figure it. > > New box, Win XP Pro, Office XP Pro, no other versions of Office installed. The supplier of the box installed the lot for me. This country went metric measurements twenty-something years ago but my teeth are long enough to be still more comfortable in inches. Managed to change Word 2002 to inches (Tool>Options>General) but how do I do the same for Access 2002? Having to do things on reports and forms in centimetres is painful, particularly when I am supporting versions of a package in both A2000 and A2002. > > TIA > > Stephen Bond > Otatara, South Island, New Zealand > tel 03 213 1256 fax 03 213 0123 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Mar 28 07:01:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 14:01:14 +0100 Subject: [AccessD] AccessD Conference - Call for Papers In-Reply-To: <002701c2f3b0$12be72e0$0300a8c0@S856> References: <002701c2f3b0$12be72e0$0300a8c0@S856> Message-ID: <13017986923.20030328140114@cactus.dk> Hi Lembit Not much response on this great initiative ... As M?nchen is less than one hour's flight away let me make an preliminary reservation! I'll have to get back with presentation details. /gustav > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > Depending on the number of participants, the presentations will be held at > either my house or a nearby location. > Please send > Title and short Abstract of your presentation to > dba-conf at databaseadvisors.com > thank you > Lembit > Lembit Soobik From gustav at cactus.dk Fri Mar 28 07:21:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 14:21:02 +0100 Subject: [AccessD] Manage Thermal Printers In-Reply-To: References: Message-ID: <19619175182.20030328142102@cactus.dk> Hi Juan If you can't obtain a proper Windows driver you'll have to fall back to write directly to the printer - you may even have to do that anyway as Windows printing may turn out to be too slow for your purpose; direct printing is very much faster and for applications like POS every second counts. In that case, team up with a good portion of patience and an old dog experienced with matrix printers who is familiar with printing codes. You can learn it yourself, of course, but it is very boring and time consuming. /gustav > We are looking for how to control Epson Tm88 family printers or Samsung SRP > 350 printers from A2k. We are checking de Epson OPOS software and solve a > big part of this, but was totally uncompatible with SRP350. > We look the printer control using ASCII sequences like DLE -EOT n but don't > undestand how to manipulate. Any knows where we check information about > this?? > Thanks > Juan Men?ndez > Mastercafe SL From Jdemarco at hshhp.org Fri Mar 28 07:23:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:23:26 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.com> John, MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, March 27, 2003 9:58 PM To: AccessD Cc: SQLServer Subject: [AccessD] MSDE Replication - Crossposted On a related note... MDSE claims to support replication. I don't know enough about MDSE, never mind replication, to understand the issues - but... If each workstation ran MSDE and the server runs MSDE, then you have effectively created SQL Server for more than "5 simultaneous users". Since each user is now hitting a SQL Server Be on their own machine, with only replication data going to the main BE on the server, it certainly sounds like you could get fairly decent performance for 10 or 20 users. John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Fri Mar 28 07:26:18 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 08:26:18 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: <000f01c2f4fb$04dc4bb0$6101a8c0@amd2k512> Message-ID: Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, March 28, 2003 2:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Replication - A2K ...just a note jc ...www.trigeminal.com is loaded with replication info, code, and tools ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "John W. Colby" To: Sent: Thursday, March 27, 2003 9:37 PM Subject: RE: [AccessD] Replication - A2K > Precisely (on both counts). There are about 25 users of the database. > Virtually ALL of the users are actively editing specific cases. Each case > can be handled by anyone, i.e. the first examiner available in the phone > queue picks up the phone, opens the record for the person that the phone > call is about. In the process of taking the call, info is usually entered > into "contact" logs, i.e. info about the phone call. Each claimant's file > has an assigned "Examiner" who "runs" the case. That person has to make > phone calls to physicians, witnesses, employers etc. Those phone calls also > get data logged about them. > > As you can see from the description, there is not a high degree of > concurrency where several people will be in the same case at the same time. > My observation of the operation is that there is a very random pattern of > data entry since the incoming phone calls are random. There is also a > fairly predictive data entry since a case has to be worked, however this > side of the operation is not necessarily data entry intensive, nor holding > records open for long periods of time. The Examiner calls the physician and > requests a doc. Notes that fact in the log, moves on to the next claim. > > It seems that this type of operation would be perfect for replication, on a > 15 minute (or even longer) replication schedule. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Thursday, March 27, 2003 9:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Replication - A2K > > > ...if JC's clients are fairly independent of other's changes to the data, > then replication running on a ten minute interval for instance, would > definitely provide local speed improvements ...but independence is the real > question JC has to answer ...if the insurance company can function using ten > minute old data, then the sync updates would consume a practically unnoticed > amount of time compared to the effects of localized data access. > > ...ime most clients desire data concurrency over speed but for those that > don't, I believe Arthur Fuller has several long posts in the archives that > address successfully setting up and maintaining such functionality. > > ...of course that would mean jc'd need access to the old archives :))))) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, March 27, 2003 8:54 PM > Subject: RE: [AccessD] Replication - A2K > > > > True, replication wouldn't slow down the normal 'running' processes, but > I'm > > adding in the sync time to replicate it on every database. > > > > Drew > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:46 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Replication - A2K > > > > > > Why would the replication slow things down? The FE/BE running locally > > > speeds things up by a factor of two. Replication simply allows me to > run > > > the BE/FE locally on every machine. > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > > Sent: Thursday, March 27, 2003 8:37 PM > > > To: 'accessd at databaseadvisors.com' > > > Subject: RE: [AccessD] Replication - A2K > > > > > > > > > Just out of curiousity, what all have you tried to speed things up? It > > > sounds like you want to replicate a database to run 'locally' on > > > everyone's > > > machine. I would be willing to be that would slow things down on it's > > > own, > > > even if the db is running locally. > > > > > > Are all of the users on a LAN, or are some accessing this through a VPN? > > > In > > > that case I could see replication being used. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > > Sent: Thursday, March 27, 2003 7:24 PM > > > To: AccessD > > > Subject: [AccessD] Replication - A2K > > > > > > > > > I need any info / experiences anyone can share re replication. My > > > insurance > > > client has a functioning database now that is SLOOOOOooooow. They came > > > from > > > a "flat file" where they had basically a single table with 125+ fields > to > > > a > > > fully relational FE/BE with of course much expanded functionality - and > of > > > course the speed isn't anywhere close to the same as the old. No matter > > > how > > > you explain, the user doesn't know what goes on behind the scenes, and > > > doesn't care. All they know is that it is slower. Plus they are adding > > > more employees (up to about 25 now from under 20 when I started the > > > project - and still climbing). > > > > > > They will probably go to SQl Server someday but now is not the time > > > (money). > > > I have been discussing options with them and explained to the tech > contact > > > the idea behind replication. He has been running a FE / BE development > > > copy > > > of the db on his desktop and it is about twice as fast. Therefore he > > > thinks > > > that replication might solve their speed issues for the short term (for > a > > > year or so) until such time as they could make the move to SQL Server. > > > > > > So I need info. I have done replication one time, just on my own > system, > > > just to see how it worked - and that was a long time ago. So I need to > > > start a thread with anyone who has current experience on how to set it > up, > > > what is involved, any good reference material to read, would it work to > > > merge the BE/FE back in and also replicate design changes, etc. > > > > > > Anyone with info out there? > > > > > > Thanks, > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ---------------------------------------------------- > > > Is email taking over your day? Manage your time with eMailBoss. > > > Try it free! http://www.eMailBoss.com << File: ATT109592.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5400 bytes Desc: not available URL: From nancy.lytle at auatac.com Fri Mar 28 07:28:18 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 28 Mar 2003 08:28:18 -0500 Subject: [AccessD] Set Read only on Form Load Message-ID: Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function From CWortz at tea.state.tx.us Fri Mar 28 07:33:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 07:33:00 -0600 Subject: [AccessD] Replication - A2K Message-ID: John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday 2003 Mar 27 20:38 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com From Jdemarco at hshhp.org Fri Mar 28 07:33:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:33:57 -0500 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856DA@TTNEXCHSRV1.hshhp.com> >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where you are. Places like NYC or San Francisco command as much as 50% higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good salary for the job description you quoted. That said, times are tough right now which means that lots of people with your qualifications (or better) are unemployed and willing to take jobs at less that they would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development services to > JH> clients. My rates to develop Access databases range from $65 to $125 per > JH> hour depending on the location of the customer (San Antonio vs DC), location > JH> of the work (customer site vs my office) and complexity of the project. I > JH> can assure you, I do not get the full amount. Most of database developers > JH> (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer with> > no degree who turned his hobby into a profession, but I have sometimes > wondered where that salary range, all things being equal, falls for > positions of this type. I'm very happy where I'm at, but when speaking > to others I sometimes get the feeling that I'm underpaid and sometimes > get the impression that I'm overcompensated. It would be nice to have > some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From paul.hartland at fsmail.net Fri Mar 28 07:35:10 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 28 Mar 2003 13:35:10 +0000 Subject: [AccessD] Set Read only on Form Load Message-ID: <20030328133510.OGUC22532.fep07-svc.ttys.com@localhost> Nancy, You could try something similar to the following. 1. Create a new module 2. Declare a public variable something like pubCallingForm 3. In the OnOpen or OnLoad event put pubCallingForm = "frmName" (frmName being the name of your form) 4. put you code into a module with the following changes Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!pubCallingForm.AllowAdditions = False Forms!pubCallingForm.AllowDeletions = False Forms!pubCallingForm.AllowDesignChanges = False Forms!pubCallingForm.AllowEdits = False Else Forms!pubCallingForm.AllowAdditions = True Forms!pubCallingForm.AllowDeletions = True Forms!pubCallingForm.AllowDesignChanges = True Forms!pubCallingForm.AllowEdits = True End If End Function I have used something similar to the above, but can't find the exact code, this is off the top of my head and untested, but should get you in the right direction. Paul From: "Nancy Lytle" Date: Fri 28/Mar/2003 13:28 GMT To: "Accessd" Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From mikedorism at ntelos.net Fri Mar 28 07:39:56 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 08:39:56 -0500 Subject: [AccessD] Set Read only on Form Load In-Reply-To: Message-ID: <002801c2f52f$895a26d0$67310cd8@hargrove.internal> Pass in the name of the form... Public Function fcnFormLoad(strForm AS String) Call fcnUserGroup If fcnUserGroup = "RO" Then Forms(strForm).AllowAdditions = False Forms(strForm).AllowDeletions = False Forms(strForm).AllowDesignChanges = False Forms(strForm).AllowEdits = False Else Forms(strForm).AllowAdditions = True Forms(strForm).AllowDeletions = True Forms(strForm).AllowDesignChanges = True Forms(strForm).AllowEdits = True End If End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, March 28, 2003 08:28 AM To: Accessd Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Fri Mar 28 07:39:51 2003 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Fri, 28 Mar 2003 14:39:51 +0100 Subject: [AccessD] Set Read only on Form Load References: Message-ID: <008e01c2f52f$85780aa0$115b2d3e@jester> This is from the top of my head and not tested.... public function fcnFormLoad(frm as form) call fcnUserGroup if fcnUserGroup="RO" Then frm.alloAdditions=FALSE and so on... HTH Bert-Jan ----- Original Message ----- From: "Nancy Lytle" To: "Accessd" Sent: Friday, March 28, 2003 2:28 PM Subject: [AccessD] Set Read only on Form Load > Is it possible to create a function, like what I have below so that the code > can be stuck in the On Load or On Open event of any form I want? Obviously > the Me is the problem here but I'm not sure the easiest way to go about > this. > > Thanks in advance for any guidance. > > Nancy Lytle > > Current code attempt: > > Public Function fcnFormLoad() > Call fcnUserGroup > If fcnUserGroup = "RO" Then > Forms!Me.AllowAdditions = False > Forms!Me.AllowDeletions = False > Forms!Me.AllowDesignChanges = False > Forms!Me.AllowEdits = False > Else > Forms!Me.AllowAdditions = True > Forms!Me.AllowDeletions = True > Forms!Me.AllowDesignChanges = True > Forms!Me.AllowEdits = True > End If > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Mar 28 07:49:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 28 Mar 2003 13:49:54 -0000 Subject: [AccessD] MSDE Replication - Crossposted References: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.com> Message-ID: <00bc01c2f530$e9935f20$9111758f@aine> Its not a five connection limit. Its concurrent processing threads. (between 5 and 8) As more threads are added performance is throttled. You could have 400 users. Provided 390 or so of them are doing nothing performance will fly. As I said before the Technical Editor of the book we did was building one with, he said 200-300 users. Martin ----- Original Message ----- From: "Jim DeMarco" To: "accessd" Sent: Friday, March 28, 2003 1:23 PM Subject: RE: [AccessD] MSDE Replication - Crossposted > John, > > MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 9:58 PM > To: AccessD > Cc: SQLServer > Subject: [AccessD] MSDE Replication - Crossposted > > > On a related note... > > MDSE claims to support replication. I don't know enough about MDSE, never > mind replication, to understand the issues - but... > > If each workstation ran MSDE and the server runs MSDE, then you have > effectively created SQL Server for more than "5 simultaneous users". Since > each user is now hitting a SQL Server Be on their own machine, with only > replication data going to the main BE on the server, it certainly sounds > like you could get fairly decent performance for 10 or 20 users. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Fri Mar 28 07:56:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 08:56:26 -0500 Subject: [AccessD] MSDE Replication - Crossposted Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856DB@TTNEXCHSRV1.hshhp.com> Martin, Do you know if he is using replication or just controlling the threads on live data? Thanks, Jim DeMarco -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Friday, March 28, 2003 8:50 AM To: accessd Subject: Re: [AccessD] MSDE Replication - Crossposted Its not a five connection limit. Its concurrent processing threads. (between 5 and 8) As more threads are added performance is throttled. You could have 400 users. Provided 390 or so of them are doing nothing performance will fly. As I said before the Technical Editor of the book we did was building one with, he said 200-300 users. Martin ----- Original Message ----- From: "Jim DeMarco" To: "accessd" Sent: Friday, March 28, 2003 1:23 PM Subject: RE: [AccessD] MSDE Replication - Crossposted > John, > > MSDE is SQL Server is it not? The KB article I posted yesterday gets into this a bit. Yes it will help with the 5 connection limit provided replication or more than 5 machines does not happen at the same time. If you use indirect this may not be an issue. We're looking into the same thing via a VB front-end. > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Thursday, March 27, 2003 9:58 PM > To: AccessD > Cc: SQLServer > Subject: [AccessD] MSDE Replication - Crossposted > > > On a related note... > > MDSE claims to support replication. I don't know enough about MDSE, never > mind replication, to understand the issues - but... > > If each workstation ran MSDE and the server runs MSDE, then you have > effectively created SQL Server for more than "5 simultaneous users". Since > each user is now hitting a SQL Server Be on their own machine, with only > replication data going to the main BE on the server, it certainly sounds > like you could get fairly decent performance for 10 or 20 users. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From tomadatn at bellsouth.net Fri Mar 28 07:57:25 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Fri, 28 Mar 2003 07:57:25 -0600 Subject: [AccessD] Sql 7 - Corrupt Views ... continued References: <2F8793082E00D4119A1700B0D0216BF801D824BF@main2.marlow.com> <000501c2f520$22f7a9d0$6101a8c0@amd2k512> Message-ID: <000601c2f531$f75a0630$6400000a@dogbert2k> I've posted a couple of items asking if anyone has had any problems with Sql 7 and corrupt views. So far no one else seems to have found this bug/feature. Plowing ahead with this first in the universe coverage (you heard it here first folks!), I thought I'd bring you up to date. At first I thought it might be caused by Access 2000 ADP. I used both that and the Enterprise manager to make changes in views. I then decided to eliminate the Access question by never changing a view with Access, just using it to review data (Being able to sort is absolutely essential in my opinion. Although the view can not be sorted, you can move columns around and then wipe as many as you wish and hit the A-Z button. Wonderful really.). I can now report that I am still hitting corrupt views. However they're a little different now. Now I open them (it's mainly one complicated view now) in Enterprise Manager and the Sql view looks corrupt. It cuts off before the From and following parts. However it runs ok (Previously the view looked ok but showed bad data. Any change at that point would correct it - eg. take out a field and put it back in.) Note that I can still generate Sql scripts from the database window and the scripts are just fine. Now when I delete the Sql statements that show in the EM, and paste the old complete code back in, it looks ok in design, and will run ok with the !, but when I save it and reopen in Design it looks corrupt again. I will test deleting the View, closing the EM, the reopening and recreating with Sql Server Query Analyzer. One poster recommended that. Sql Server is running on an NT 4 server with the latest NT service pack installed. It jammed up about a week ago and the Administrator brought the server all the way down and back up then did some Admin clean up stuff. I'm working on a database maintained by Epicor (formerly platinum) with about 1,000 tables. Note: I usually combine all the fields and apply universal criteria in a "Base" query, then use it in other specilized queries. When the Base query corrupted (Sql looked good, data looked like poo-poo, I found I had to revise the other queries using it to fix the problem all down the line. Now that the corruption has changed (data looks good, Sql looks like poo-poo) I find I don't have to fix the downline views. Note2: A few tables have too many indexes to link to from an Access Mdb. I found that I can make a view, showing all fields with the table name & "_vw" and get by the index problem. Note3: I've really gotten to like the ADP. It's much more flexible, faster and easier to use for a variety of development tasks. However I also use an Mdb from time to time. Eg. I created a view and wanted to show the records where field 1 didn't equal field 2. I couldn't seem to do it in a view directly so I just exported the view to excel, imported the excel file into an Mdb, and added the criteria and had the answer in about a minute. I might learn how to do that later in an Adp but got the job done quickly by using an Mdb. If anyone has any comments or experience with this I'd appreciate hearing from them. Tom (Viva la Access!!! Long live Jet!!!!) Adams From gustav at cactus.dk Fri Mar 28 08:02:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 15:02:45 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <000501c2f505$c25de450$6101a8c0@amd2k512> References: <000501c2f505$c25de450$6101a8c0@amd2k512> Message-ID: <11221677781.20030328150245@cactus.dk> Hi William Is this "our William" turning into early weekend lazy mode?? We have a TV show/quiz here where two of three friends must guess if the third (isolated in a sound proof box) can answer a given question or not .. Do I need to go on? /gustav > ...record field in table has a data string formatted like "city, state, zip > /country" (without quotes) > ...need to run an update query to remove the " /country" from each record > where "country" can be any length > ...any ideas appreciated :) From Lembit.Soobik at t-online.de Fri Mar 28 07:51:13 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 14:51:13 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856> <13017986923.20030328140114@cactus.dk> Message-ID: <02d001c2f531$18ea3500$0300a8c0@S856> Thank you, Gustav, looking forward to see you here Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: "Lembit Soobik" Sent: Friday, March 28, 2003 2:01 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hi Lembit > > Not much response on this great initiative ... > > As M?nchen is less than one hour's flight away let me make an > preliminary reservation! > > I'll have to get back with presentation details. > > /gustav > > > > The 3rd AccessD Conference will be held > > August-08 through August-10 2003 > > in Freising / Germany (near Munich) > > > Depending on the number of participants, the presentations will be held at > > either my house or a nearby location. > > > Please send > > Title and short Abstract of your presentation to > > dba-conf at databaseadvisors.com > > > thank you > > Lembit > > > Lembit Soobik > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From susanj at sgmeet.com Fri Mar 28 09:09:09 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 09:09:09 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856D9@TTNEXCHSRV1.hshhp.c om> Message-ID: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan From HollisVJ at pgdp.usec.com Fri Mar 28 09:11:03 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 09:11:03 -0600 Subject: [AccessD] Table of checks Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB079@exchange.pgdp> If a table used for requesting assistance has numerous fields that will be listed as checkboxes or yes/no type fields is it better to list them all in the same table? There may be up to 20 or so total. Would the help needed list & the areas list be in the same table with the Request? They can check more then one of the items. If they do check - mouse for the problem and the review shows they need to order a new mouse, later on the coordinator will order the mouse and needs to track the brand, vendor, etc for the mouse order. For example: RequestID EmployeeID (from tblEmployee) (This group lists the help needed) Chair Monitor Mouse (This group lists areas) Neck Finger Shoulder The requestor marks all areas Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Fri Mar 28 09:21:18 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 10:21:18 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday 2003 Mar 27 20:38 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Precisely (on both counts). There are about 25 users of the database. Virtually ALL of the users are actively editing specific cases. Each case can be handled by anyone, i.e. the first examiner available in the phone queue picks up the phone, opens the record for the person that the phone call is about. In the process of taking the call, info is usually entered into "contact" logs, i.e. info about the phone call. Each claimant's file has an assigned "Examiner" who "runs" the case. That person has to make phone calls to physicians, witnesses, employers etc. Those phone calls also get data logged about them. As you can see from the description, there is not a high degree of concurrency where several people will be in the same case at the same time. My observation of the operation is that there is a very random pattern of data entry since the incoming phone calls are random. There is also a fairly predictive data entry since a case has to be worked, however this side of the operation is not necessarily data entry intensive, nor holding records open for long periods of time. The Examiner calls the physician and requests a doc. Notes that fact in the log, moves on to the next claim. It seems that this type of operation would be perfect for replication, on a 15 minute (or even longer) replication schedule. John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3540 bytes Desc: not available URL: From bob at renaissancesiding.com Fri Mar 28 09:45:55 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 28 Mar 2003 10:45:55 -0500 Subject: [AccessD] Need most recent record from many Message-ID: <01C2F517.3648D170.bob@renaissancesiding.com> Susan If you are using autonumber keys, you *may* be able to just use a quick query as your source with the autonumber field set to sort descending ... not very safe, though. You probably should have a date/time stamp field in the many table for LastUpdated with a default value of Now() ... then use a quick query as your source with the LastUpdated field set to sort descending. Regards, Bob Gajewski On Friday, March 28, 2003 10:09 AM, Susan Jones [SMTP:susanj at sgmeet.com] wrote: > I hope this is so easy I'll be embarrassed I even asked, but.. > I have a query that links two tables with a one-to-many relationship. My > problem is that I want to pull only the most current record on the many > side. I know this has to be something easy, but I'm either blind to it or > just not able to figure out where to start looking. I tried to access the > archives, but the link takes me to the mail options page > Thanks! > Susan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From CWortz at tea.state.tx.us Fri Mar 28 09:58:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 09:58:00 -0600 Subject: [AccessD] Need most recent record from many Message-ID: Susan, I assume you have a date field on the many side. If so then Max(datefield) will get the latest date. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Jones [mailto:susanj at sgmeet.com] Sent: Friday 2003 Mar 28 09:09 To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan From nancy.lytle at auatac.com Fri Mar 28 09:59:58 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 28 Mar 2003 10:59:58 -0500 Subject: [AccessD] Set Read only on Form Load - In-Reply-To: <002801c2f52f$895a26d0$67310cd8@hargrove.internal> Message-ID: Thanks for the help I took your advice, Doris and Paul, and did the following - Created a variable Public pubCallingForm As String is the Declarations section of a module I use for Global stuff - On the form Open event I put Public Sub Form_Open(Cancel As Integer) pubCallingForm = "" 'resets the variable pubCallingForm = "frmAdministration" call fcnFormLoad End Sub -Created this function in the Globals module Public Function fcnFormLoad() Call fcnUserGroup MsgBox pubCallingForm If fcnUserGroup = "RO" Then Forms(pubCallingForm).AllowAdditions = False Forms(pubCallingForm).AllowDeletions = False Forms(pubCallingForm).AllowEdits = False Else Forms(pubCallingForm).AllowAdditions = True Forms(pubCallingForm).AllowDeletions = True Forms(pubCallingForm).AllowEdits = True End If End Function I appreciate the assistance, Paul got me going and Doris got me straight on using Forms(variable).etc Thanks again, Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Friday, March 28, 2003 8:40 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Set Read only on Form Load Pass in the name of the form... Public Function fcnFormLoad(strForm AS String) Call fcnUserGroup If fcnUserGroup = "RO" Then Forms(strForm).AllowAdditions = False Forms(strForm).AllowDeletions = False Forms(strForm).AllowDesignChanges = False Forms(strForm).AllowEdits = False Else Forms(strForm).AllowAdditions = True Forms(strForm).AllowDeletions = True Forms(strForm).AllowDesignChanges = True Forms(strForm).AllowEdits = True End If End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, March 28, 2003 08:28 AM To: Accessd Subject: [AccessD] Set Read only on Form Load Is it possible to create a function, like what I have below so that the code can be stuck in the On Load or On Open event of any form I want? Obviously the Me is the problem here but I'm not sure the easiest way to go about this. Thanks in advance for any guidance. Nancy Lytle Current code attempt: Public Function fcnFormLoad() Call fcnUserGroup If fcnUserGroup = "RO" Then Forms!Me.AllowAdditions = False Forms!Me.AllowDeletions = False Forms!Me.AllowDesignChanges = False Forms!Me.AllowEdits = False Else Forms!Me.AllowAdditions = True Forms!Me.AllowDeletions = True Forms!Me.AllowDesignChanges = True Forms!Me.AllowEdits = True End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Fri Mar 28 09:59:00 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri, 28 Mar 2003 09:59:00 -0600 Subject: [AccessD] Insert code in report Message-ID: <002c01c2f542$f7a00020$0800a8c0@LapRFV> Hi, We are designing a utility that opens any assigned report at another external MDB in design mode view, makes some changes to it, and then opens the report in preview. Since there were made changes to the report design and those changes should be discarded on closing the report, I would like to insert via code a function to close the external report without saving the changes. I know how to do that with. DoCmd.Close acReport, rp, acSaveNo The problem is I am accessing a report in another external db. Any suggestions? Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Fri Mar 28 10:05:43 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 11:05:43 -0500 Subject: [AccessD] Cross posted to dbaSQL: Listbox question Message-ID: <019601c2f543$e2cee8e0$8e01a8c0@Rock> I have a listbox that is populated with a minimum of 2 rows and 5 columns, with the first two being of interest. The data source is a stored procedure. How do I grab the values from the rows and columns? (The listbox is read-only, so it doesn't matter whether a row is selected or not.) Presumably I refer to the row and col location using array syntax but I can't quite get it yet. Something like: Row1Col1 = myListbox(0,1) ' something like this? TIA, Arthur "Prediction is difficult, especially of the future." - Werner Heisenberg From CWortz at tea.state.tx.us Fri Mar 28 10:10:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 10:10:26 -0600 Subject: [AccessD] Replication - A2K Message-ID: John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday 2003 Mar 28 09:21 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > They need an answer, and can't afford SQL Server. This is an answer. > To not look at the realistic options because of the 1 in 1000 (or > whatever) occurrence is not realistic. > > I am certainly open to other options. However they just spent 8 > months moving an old creaky flat file to a relational MDB FE/BE. They > don't have a budget for a $10,000 solution at the moment. What > solution can they get for $500? Moving to SQl Server will be $5k or > more. They don't have that, they have said so. I have done all of > the typical "make sure the fields are indexed" things. > > So rather than saying "this solution doesn't work", why don't you > suggest a solution that does? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Friday, March 28, 2003 8:33 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Replication - A2K > > > John, > > But what about the situation where a customer calls back five minutes > later with additional information and gets a different examiner? How > is > the second examiner going to be able to get to the customer's data if > you replicate on a 15 minute schedule? This may not be a common > occurrence, but it does happen and you need to be able to handle it. > And don't expect the customer to remember the name of the first > examiner, that solution is a non-starter. > > Charles Wortz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Fri Mar 28 10:11:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:11:04 -0500 Subject: [AccessD] MDB Replication and Upsizing to SQL Server - Crossposted Message-ID: One question I forgot to ask. How does replication affect the upsizing to SQL Server? I tried replication once long ago and seem to remember being unable to directly upsize anymore due to the random autonumber PK. SQL Server (or the upsize wizard) didn't know how to handle that, so I had to build queries to get back a straight autonumber before upsizing. Does anyone know whether a random autonumber PK can be upsized to SQL Server now? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From susanj at sgmeet.com Fri Mar 28 10:25:39 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 10:25:39 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: Message-ID: <5.1.1.6.2.20030328101026.02baedd8@mail.calpha.com> Didn't know about Max(datefield) and am excited about that, but I don't think I worded my question correctly, because both your's and Bob's suggestions make sense, but for the whole query. I need each record on the one side to match up to one record on the many side (where I need the most recent record of a group). Example - we have a group of members that have made dues payments for as few as one year (new member) up to an unlimited number of years and want to link only to the most recent year's dues information. This group uses an expiration date to determine a current member, so it can cover more than one calendar year. What I have been doing is sorting the information first by the primary key then descending by the received date and appending the information to a table with properties to only accept a unique primary key. So, theoretically, the first record will be the most current and be the only one written to the table. If this is the only way to work this situation, I'll set it up to execute whenever the db is opened and it will be static. Not ideal, but if we know the limitations we can work with it. I'd like to be able to access this information through a query and skip the append step and this is where I feel I must be missing something. Hmmm... If a store wanted to access only the most recent transaction for a certain customer say for billing purposes, how would they do that? Grouping somehow and then using the Max function? Thanks, Susan At 09:58 AM 3/28/03, you wrote: >Susan, > >I assume you have a date field on the many side. If so then >Max(datefield) will get the latest date. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us From jcolby at ColbyConsulting.com Fri Mar 28 10:11:04 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:11:04 -0500 Subject: [AccessD] [dba-SQLServer] MDB Replication and Upsizing to SQL Server - Crossposted Message-ID: One question I forgot to ask. How does replication affect the upsizing to SQL Server? I tried replication once long ago and seem to remember being unable to directly upsize anymore due to the random autonumber PK. SQL Server (or the upsize wizard) didn't know how to handle that, so I had to build queries to get back a straight autonumber before upsizing. Does anyone know whether a random autonumber PK can be upsized to SQL Server now? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Fri Mar 28 10:28:38 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 11:28:38 -0500 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: RE: [AccessD] Replication - A2KAnd perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Fri Mar 28 10:51:37 2003 From: john at winhaven.net (John Bartow) Date: Fri, 28 Mar 2003 10:51:37 -0600 Subject: [AccessD] OT:Building your business was... Rate for first time In-Reply-To: <315103156.20030327213138@charter.net> Message-ID: Ron, I hire subcontractors for things I can't pick up without a huuge delay, or things I just don't care to learn or for that matter do at all. Also, sometimes I just find another contractor and turn the whole thing over to them rather than subcontract it. Depends on my relationship with the client. HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen Sent: Thursday, March 27, 2003 9:32 PM To: Jim Hewson Subject: Re[2]: [AccessD] OT:Building your business was... Rate for first time What I have concerns about is, what happens when a client needs something that I don't know how to do without learning first or (shudder) what happens if I screw something up? I'm a little dual personality about my skills; I'm proud that I'm come as far as I have with no formal training and no credentials, but it also causes me to think twice about trying independent work. So the question is, I'm actually pretty good, but am I good enough? How do you tell, other than by jumping in? Should that affect the rate at all? Thanks for any considered response. Ron From cfoust at infostatsystems.com Fri Mar 28 10:37:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 08:37:31 -0800 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: About 5 years ago, I was trying to hire and Access developer and got resumes that included one from an MD from China who had built himself a database, and a PhD from Pakistan, ditto. It was amazing to see who responded to an ad for an Access developer. Yikes. They were certainly overqualified, but not, unfortunately, in the database area. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Mar 28 10:43:25 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 28 Mar 2003 11:43:25 -0500 Subject: [AccessD] Need most recent record from many References: <5.1.1.6.2.20030328101026.02baedd8@mail.calpha.com> Message-ID: <021f01c2f549$36d79130$154afccc@SusanOne> Totals view on your grouping field, but it won't work with extraneous fields. If you need to show other data, you may need a subquery. Susan H. > Didn't know about Max(datefield) and am excited about that, but I don't > think I worded my question correctly, because both your's and Bob's > suggestions make sense, but for the whole query. I need each record on the > one side to match up to one record on the many side (where I need the most > recent record of a group). > > Example - we have a group of members that have made dues payments for as > few as one year (new member) up to an unlimited number of years and want to > link only to the most recent year's dues information. This group uses an > expiration date to determine a current member, so it can cover more than > one calendar year. What I have been doing is sorting the information first > by the primary key then descending by the received date and appending the > information to a table with properties to only accept a unique primary > key. So, theoretically, the first record will be the most current and be > the only one written to the table. If this is the only way to work this > situation, I'll set it up to execute whenever the db is opened and it will > be static. Not ideal, but if we know the limitations we can work with > it. I'd like to be able to access this information through a query and > skip the append step and this is where I feel I must be missing > something. Hmmm... If a store wanted to access only the most recent > transaction for a certain customer say for billing purposes, how would they > do that? Grouping somehow and then using the Max function? > > Thanks, > Susan > > At 09:58 AM 3/28/03, you wrote: > >Susan, > > > >I assume you have a date field on the many side. If so then > >Max(datefield) will get the latest date. > > > >Charles Wortz > >Software Development Division > >Texas Education Agency > >1701 N. Congress Ave > >Austin, TX 78701-1494 > >512-463-9493 > >CWortz at tea.state.tx.us > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Fri Mar 28 10:45:56 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 08:45:56 -0800 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 8:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Mar 28 11:01:30 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 12:01:30 -0500 Subject: [AccessD] Cross posted to dbaSQL: Listbox question In-Reply-To: <019601c2f543$e2cee8e0$8e01a8c0@Rock> Message-ID: <007801c2f54b$b1714ce0$67310cd8@hargrove.internal> Row1Col1 = myListbox.Column(1,0) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, March 28, 2003 11:06 AM To: AccessD Subject: [AccessD] Cross posted to dbaSQL: Listbox question I have a listbox that is populated with a minimum of 2 rows and 5 columns, with the first two being of interest. The data source is a stored procedure. How do I grab the values from the rows and columns? (The listbox is read-only, so it doesn't matter whether a row is selected or not.) Presumably I refer to the row and col location using array syntax but I can't quite get it yet. Something like: Row1Col1 = myListbox(0,1) ' something like this? TIA, Arthur "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 28 11:04:03 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 11:04:03 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttim e Message-ID: What we look for in contractors is experience doing the type of work we want done. If your resume says you have worked on similar projects using similar tools, you get an interview. Otherwise you go into the circular file no matter how many degrees you have. What we look for in employees is both past work experience and potential to grow. So degrees do count there. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Mar 28 10:46 To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttim e I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust From HollisVJ at pgdp.usec.com Fri Mar 28 11:27:50 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 11:27:50 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07E@exchange.pgdp> Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Fri Mar 28 11:32:22 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 28 Mar 2003 17:32:22 -0000 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856> <13017986923.20030328140114@cactus.dk> Message-ID: <002901c2f54f$fddf0c30$f59f7dc2@D8TZHN0J> Hello Lembit, I also would love to attend, please put me down as a participant. Looking forward to it, Mark ----- Original Message ----- From: "Gustav Brock" To: "Lembit Soobik" Sent: Friday, March 28, 2003 1:01 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hi Lembit > > Not much response on this great initiative ... > > As M?nchen is less than one hour's flight away let me make an > preliminary reservation! > > I'll have to get back with presentation details. > > /gustav > > > > The 3rd AccessD Conference will be held > > August-08 through August-10 2003 > > in Freising / Germany (near Munich) > > > Depending on the number of participants, the presentations will be held at > > either my house or a nearby location. > > > Please send > > Title and short Abstract of your presentation to > > dba-conf at databaseadvisors.com > > > thank you > > Lembit > > > Lembit Soobik > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Fri Mar 28 11:40:48 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 11:40:48 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia From scotttgage at yahoo.com Fri Mar 28 11:42:38 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Fri, 28 Mar 2003 09:42:38 -0800 (PST) Subject: [AccessD] TIME BOMB Message-ID: <20030328174238.57488.qmail@web10405.mail.yahoo.com> Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com From MPorter at acsalaska.com Fri Mar 28 11:46:42 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 28 Mar 2003 08:46:42 -0900 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Fri Mar 28 11:45:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 09:45:10 -0800 Subject: [AccessD] TIME BOMB Message-ID: I think you're asking for trouble using that subject line. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Friday, March 28, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Fri Mar 28 11:57:08 2003 From: greggs at msn.com (gregg steinbrenner) Date: Fri, 28 Mar 2003 11:57:08 -0600 Subject: [AccessD] TIME BOMB In-Reply-To: <20030328174238.57488.qmail@web10405.mail.yahoo.com> Message-ID: I like the # of days method with pop up reminders when the database is opened for the last 10 days. Also, you can use the same system for customer that want to lease software by the month giving them new passwords to extend their time bomb period. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Gage Sent: Friday, March 28, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Mar 28 11:57:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 18:57:53 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <002701c2f3b0$12be72e0$0300a8c0@S856><13017986923.20030328140114@cactus.dk> <002901c2f54f$fddf0c30$f59f7dc2@D8TZHN0J> Message-ID: <03a001c2f553$8e8840a0$0300a8c0@S856> Great, Mark, looking forward to see you again. now, if it continues with that speed (2 in two days), will have a lot in August :) Lembit Soobik ----- Original Message ----- From: "Mark L. Breen" To: Sent: Friday, March 28, 2003 6:32 PM Subject: Re: [AccessD] AccessD Conference - Call for Papers > Hello Lembit, > > I also would love to attend, please put me down as a participant. > > Looking forward to it, > > Mark > > > > ----- Original Message ----- > From: "Gustav Brock" > To: "Lembit Soobik" > Sent: Friday, March 28, 2003 1:01 PM > Subject: Re: [AccessD] AccessD Conference - Call for Papers > > > > Hi Lembit > > > > Not much response on this great initiative ... > > > > As M?nchen is less than one hour's flight away let me make an > > preliminary reservation! > > > > I'll have to get back with presentation details. > > > > /gustav > > > > > > > The 3rd AccessD Conference will be held > > > August-08 through August-10 2003 > > > in Freising / Germany (near Munich) > > > > > Depending on the number of participants, the presentations will be held > at > > > either my house or a nearby location. > > > > > Please send > > > Title and short Abstract of your presentation to > > > dba-conf at databaseadvisors.com > > > > > thank you > > > Lembit > > > > > Lembit Soobik > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Fri Mar 28 11:59:02 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 12:59:02 -0500 Subject: [AccessD] AccessD Conference - Call for Papers In-Reply-To: <02d001c2f531$18ea3500$0300a8c0@S856> Message-ID: <01bc01c2f553$b7187800$8e01a8c0@Rock> I don't know whether I will have enough money to attend, but I sure would love to. In the meantime, put me down for a paper on SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager. If I can't actually attend I'll send files etc. and log in via VNC or TS or whatever :-) Arthur "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin From HollisVJ at pgdp.usec.com Fri Mar 28 12:01:38 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 12:01:38 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07F@exchange.pgdp> I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Mar 28 12:06:27 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 28 Mar 2003 19:06:27 +0100 Subject: [AccessD] AccessD Conference - Call for Papers References: <01bc01c2f553$b7187800$8e01a8c0@Rock> Message-ID: <03c001c2f554$c10c9340$0300a8c0@S856> thank you, Arthur. hope you can make it here. its sure worth. Lembit Soobik ----- Original Message ----- From: "Arthur Fuller" To: Sent: Friday, March 28, 2003 6:59 PM Subject: RE: [AccessD] AccessD Conference - Call for Papers > I don't know whether I will have enough money to attend, but I sure would > love to. In the meantime, put me down for a paper on SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) in the absence of Enterprise > Manager. If I can't actually attend I'll send files etc. and log in via VNC > or TS or whatever :-) > > Arthur > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Fri Mar 28 12:06:47 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 13:06:47 -0500 Subject: [AccessD] TIME BOMB In-Reply-To: Message-ID: <01be01c2f554$ccb1d660$8e01a8c0@Rock> CIA trackin' you right now! Yo, toast! Soon they'll know everywhere you've flown, every dinner, every strip-club credit-card purchase, &c. :-) "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: March 28, 2003 12:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] TIME BOMB I think you're asking for trouble using that subject line. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Friday, March 28, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] TIME BOMB Hello all: I need a good .mde time bomb. Total file size, number of records, days from install. What do you think. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Mar 28 12:08:24 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 13:08:24 -0500 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e In-Reply-To: Message-ID: <01bf01c2f555$06748500$8e01a8c0@Rock> I think that it is indicative of a trend. In the absence of intelligent assessment, certs will suffice. Not that I have any, you understand, but I do detect the trend. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 28, 2003 12:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Mar 28 12:10:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:10:13 -0500 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99E54F63@TTNEXCHSRV1.hshhp.com> One last comment from me before you do this Virginia. I've seen it mentioned in this thread already but I'll say it again for good measure. It's not a bad idea to tell them that $50 is discounted off your usual rate of $75 an hour. As mentioned, this will give you room to grow and add some value to your work. If the company is on the East coast they probably will not blink at that ($100/hr. or more is not unusual for consultants here). Jim DeMarco -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 1:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Fri Mar 28 12:11:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Mar 2003 10:11:10 -0800 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: Don't believe RFPs. Trust me, they do not necessarily go to the person who meets all the credential requirements. Charlotte Foust -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, March 28, 2003 9:47 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Fri Mar 28 12:15:09 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri, 28 Mar 2003 11:15:09 -0700 Subject: [AccessD] Blacksburg In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB07F@exchange.pgdp> Message-ID: How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Mar 28 12:16:58 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:16:58 -0500 Subject: Certs - was Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttim e Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856ED@TTNEXCHSRV1.hshhp.com> This "trend" might just be due to the glut of unemployed persons carrying these certs. Employers know they're out there and can get them now. When the job market levels out again you may see a change in this. I still look for a person who can do the job (based on past performance) first and foremost. Jim DeMarco -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, March 28, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttim e I think that it is indicative of a trend. In the absence of intelligent assessment, certs will suffice. Not that I have any, you understand, but I do detect the trend. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Porter, Mark Sent: March 28, 2003 12:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Fri Mar 28 12:27:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 19:27:27 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: <837560018.20030328192727@cactus.dk> Hi Susan As always, it's easy when you know how ... Here is one method: SELECT tblMember.*, (SELECT TOP 1 datReceived FROM tblPayment WHERE (tblMember.ID = tblPayment.MemberID) ORDER BY datReceived DESC;) AS LastPayment FROM tblMember; /gustav > I hope this is so easy I'll be embarrassed I even asked, but... > I have a query that links two tables with a one-to-many relationship. My > problem is that I want to pull only the most current record on the many > side. I know this has to be something easy, but I'm either blind to it or > just not able to figure out where to start looking. I tried to access the > archives, but the link takes me to the mail options page. > Thanks! > Susan From HollisVJ at pgdp.usec.com Fri Mar 28 12:34:09 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 12:34:09 -0600 Subject: [AccessD] OT Blacksburg Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB080@exchange.pgdp> Ok, this way OT, but had to share... When we were first married my husband was stationed in Norfolk, Va. I was making a collect call to my parents when the operator asked me my name, I told her, "Virginia", we got into a big tadoo because she kept insisting for my name, not the state. I use to joke about having the address: Virginia Virginia Beach Blvd Virginia Beach, Virginia -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 28, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] Blacksburg How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Fri Mar 28 12:34:36 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Fri, 28 Mar 2003 13:34:36 -0500 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <833956F5C117124A89417638FDB112904FB40F@goexchange.pghcorning.com> I agree with Jim on that one. I have a quick little motivating story to pass on, hope it helps a little. I was out with some buddy's of mine having a few beers and ran into an engineer who needed a database built for Document Control. We started BS'ing and well he made me an offer. Keep in mind I was still a student in college but told him of my Access experience and he offered me $100/hr to develop, on the spot without even checking my resume, grades, prior access applications, or contacts. And that was in the Low cost of living city of Pittsburgh. As I mentioned it was over a few beers and though it would never solidify into anything, I mean after all we all have made great promises and told great stories while holding a beer in our hand. That is until I got an email Monday from him asking when we can sit down and talk about what his requirements were, and what he expected out of the application. I haven't done a side project since I landed a full time position but imagine I could do it at the same price without a problem. The money isn't as good being Salaried, but it is nice to have benefits, and a steady paycheck. Rich -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 1:10 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime One last comment from me before you do this Virginia. I've seen it mentioned in this thread already but I'll say it again for good measure. It's not a bad idea to tell them that $50 is discounted off your usual rate of $75 an hour. As mentioned, this will give you room to grow and add some value to your work. If the company is on the East coast they probably will not blink at that ($100/hr. or more is not unusual for consultants here). Jim DeMarco -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 1:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Mar 28 12:37:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Mar 2003 19:37:34 +0100 Subject: [AccessD] OT: VB dll rookie Message-ID: <3238167211.20030328193734@cactus.dk> Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav From Jdemarco at hshhp.org Fri Mar 28 12:44:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 28 Mar 2003 13:44:17 -0500 Subject: [AccessD] OT: VB dll rookie Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> Gustav, Our VB is very slow. I'd be happy to help you though as I use VB to create DLLs quite often. In a nutshell, if you're comfortable writing classes you already know enough to put a DLL together. Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 28, 2003 1:38 PM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From chris at denverdb.com Fri Mar 28 12:45:52 2003 From: chris at denverdb.com (Chris Mackin) Date: Fri, 28 Mar 2003 11:45:52 -0700 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3238167211.20030328193734@cactus.dk> Message-ID: Very simple, just open VB and Select Newm choices will come up as to what you want to build, select ActiveX dll and you're on your way. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, March 28, 2003 11:38 AM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Mar 28 13:04:46 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 28 Mar 2003 14:04:46 -0500 Subject: [AccessD] Need most recent record from many Message-ID: <01C2F532.FDF75550.bob@renaissancesiding.com> Gustav "it's easy when you know how .. " OUCH! I know my methods are often novice-level, but that was brutal :) Bob Gajewski On Friday, March 28, 2003 13:27 PM, Gustav Brock [SMTP:gustav at cactus.dk] wrote: > Hi Susan > > As always, it's easy when you know how .. > Here is one method: > > > > SELECT > tblMember.*, > (SELECT TOP 1 > datReceived > FROM > tblPayment > WHERE > (tblMember.ID = tblPayment.MemberID) > ORDER BY > datReceived DESC;) AS LastPayment > FROM > tblMember; > > > > /gustav > > > > I hope this is so easy I'll be embarrassed I even asked, but.. > > I have a query that links two tables with a one-to-many relationship. My > > problem is that I want to pull only the most current record on the many > > side. I know this has to be something easy, but I'm either blind to it or > > just not able to figure out where to start looking. I tried to access the > > archives, but the link takes me to the mail options page > > Thanks! > > Susan > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > . > From jeffrey.demulling at usbank.com Fri Mar 28 13:05:05 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 13:05:05 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From subs at solution-providers.ie Fri Mar 28 13:29:43 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 28 Mar 2003 19:29:43 -0000 Subject: [AccessD] Serial Communications - Cross Posted VB and Access Message-ID: <007301c2f560$6315bdf0$219f7dc2@D8TZHN0J> Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Mar 28 13:45:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:45:51 -0600 Subject: [AccessD] Need most recent record from many Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C0@main2.marlow.com> Sorry about the archives...William is going to hold my feet to the fire to get them back online this weekend. As far as your issue is concerned, I would recommend Using the Max function, however, it may work well to use a subquery. Drew -----Original Message----- From: Susan Jones [mailto:susanj at sgmeet.com] Sent: Friday, March 28, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Mar 28 13:46:44 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 28 Mar 2003 13:46:44 -0600 Subject: [AccessD] OT:Building your business was... Rate for firsttime Message-ID: Virginia, Sorry, I must have misread your message since I got the impression you said you were in Virginia. (Too many Virgins to keep straight! ) Blacksburg is in the toe of Virginia, the home of Virginia Polytechnic Institute and State University a.k.a. Virginia Tech. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 12:02 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz From DWUTKA at marlow.com Fri Mar 28 13:51:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:51:52 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C1@main2.marlow.com> I agree, however, experience only comes with time. During the first years, you end up making sacrifices because of the lack of 'experience'. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, March 28, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e I make good money as a "pure" Access developer, and I don't have anything but experience as my credentials. I've found that have a solid decade or more of database experience and years of being employed as an Access developer, not just being able to talk the talk, has served me in good stead. I bring that to the table and we never even discuss academic qualifications. Any business that feels they have to pay more for a degree isn't worth working for. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 8:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for first tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 13:57:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:57:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C2@main2.marlow.com> Go for it. Keep one thing in mind, when you take on a development project, be it a full time or contract position. There is ALWAYS a way to do something, and, more importantly, there is usually a better way too! What I mean by that, is that when you walk into a situation where you are saying 'I am here to do yadda yadda', you MUST extrude the confidence that you can do whatever is asked of you, and that you know the best way to do it. That is the beauty of resources like the List. Just knowing about the List gives you the backing needed to follow through with claims of 'guru-ness'. If we (as a group) can't solve a problem, I quite frankly would be flabbergasted! Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 11:28 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, March 28, 2003 5:34 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime >>times are tough right now << Very true. We just hired a junior level Access developer (job was posted on Hotjobs.com) and I got resumes from all over the world and from every kind of over qualified person (Masters in CS, Project mgrs with 10+ yrs. experience, experienced web developers, etc.). But it truly depends on where you're living. Here in NYC area that's a starting salary at junior level and maybe a bit low at that. If you want to do consulting you really have no choice except to jump right in do you? Unless you can find work on someone else's project to get some experience. Concern yourself with what you already know how to do and how that can help the prospective client. If a client asks for something you don't know you can tell them you'll research what it takes to to what they need. If your research tells you you can do it great, if not let them know up front. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, March 27, 2003 10:50 PM > To: accessd at databaseadvisors.com > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime > > Ron, > > Compensation (in which I include salary) depends very much on where > you are. Places like NYC or San Francisco command as much as 50% > higher salary than other lower cost areas. > > That said, you'd have to be in a low cost area for $40k to be a good > salary for the job description you quoted. That said, times are tough > right now which means that lots of people with your qualifications (or > better) are unemployed and willing to take jobs at less that they > would have 2 years ago. > > When I got to Connecticut I "accepted" a job at $60k with a > description similar to what you describe. That was at the low end. In the boonies in Alabama or the likes that would probably have been in the stratosphere. As my brother-in-law said (in the suburbs around Nashville) - making $60 k a year (which he was) he was up there with the doctors and lawyers. > > One way or the other, 40K is probably low during good times. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen > Sent: Thursday, March 27, 2003 10:32 PM > To: Jim Hewson > Subject: Re[2]: [AccessD] OT:Building your business was... Rate for > first time > > > JH> I work for a company that contracts my database development > JH> services to clients. My rates to develop Access databases range > JH> from $65 to $125 per hour depending on the location of the > JH> customer (San Antonio vs DC), location of the work (customer site > JH> vs my office) and complexity of the project. I can assure you, I > JH> do not get the full amount. Most of database developers (Oracle, Access, SQL Server, etc.) are salaried. > > I have a couple of questions in this thread. > > First, I am a salaried developer. I work with SQL Server, Oracle, > Access, Visual Basic, and do all kinds of incidental but necessary > stuff too (DOS batch files, UNIX shell scripts, manual and other > writing, even some very basic graphics work for manual illustration > screen shots and program icons and such). I have an excellent health > benefits package, dental plan, vision plan, pension plan, 401K, and > yearly cost of living raises plus yearly profit-based bonuses. I work > a base 37.5 hours per week, and receive either comp time or time and a > half at my employer's discretion for any hours beyond that in any > given week. I don't want to quote my actual salary quite so > publically, but let's assume for argument's sake that its about > $40K/yr. I feel I am doing very well for a self-taught programmer > with> > no degree who turned his hobby into a profession, but I have > sometimes wondered where that salary range, all things being equal, > falls for positions of this type. I'm very happy where I'm at, but > when speaking to others I sometimes get the feeling that I'm underpaid > and sometimes get the impression that I'm overcompensated. It would be > nice to have some solid idea. > > Second, I have considered attempting some consulting work on the side. > I understand the need to decide on a reasonable rate and then stick by > it. What I have concerns about is, what happens when a client needs > something that I don't know how to do without learning first or > (shudder) what happens if I screw something up? I'm a little dual > personality about my skills; I'm proud that I'm come as far as I have > with no formal training and no credentials, but it also causes me to > think twice about trying independent work. So the question is, I'm > actually pretty good, but am I good enough? How do you tell, other > than by jumping in? Should that affect the rate at all? > > Thanks for any considered response. > > Ron > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT281399.txt >> ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 13:59:29 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 13:59:29 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C3@main2.marlow.com> It probably is a trend. Gotta love it! Drew -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, March 28, 2003 11:47 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Regarding the qualifications comments, it's not just the corporate world. I just had to pass on bidding a contract because in the RFP it was specified that the VB developer hold a MCSD and 5 years experience. Further education or experience was not substitutable for the cert. The scope of the job didn't warrant 5 years experience, let alone a cert. I do not even know anyone in my area with the MCSD that I could pass it on to either. I do hope this isn't an indicator of a trend. Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, March 27, 2003 7:22 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rst tim e Ron, I am in a similar situation, though I do contract stuff on the side, and work a LOT more hours (well, I used too, lately I have only worked 45 hours a week). I am a little over your 'argument's sake' salary, if I only work 40 hours a week. I consider myself to be making about 60% of what I should be making. However, with the current job market, it's extremely difficult to find other work. In fact, I just was turned down for a job recently. Right now the market is flooded with all sorts of IT folks, and most of them have degrees and certifications. I have very little faith in either of those, personally. However, even though most companies are hiring off of experience versus quals, it seems as if they are paying more for quals then knowledge/capabilities. I'm afraid that's just part of the business world. It's hard to nail down, but I'm pretty sure the problem lies with Accounts in general. They find it nearly impossible to quantify someone's value by their knowledge or capabilities, however, it is very easy for them to quantify someones education. For example, have you ever seen a salary comparison sheet that showed something like this: Knowledge: Salary: Genius. Can't stump this guy/girl. $250,000 Extremely smart, learns everything thrown at him/her. $180,000 Pretty smart, knows what he's paid to do and a little more. $110,000 Smart, knows his/her job. $70,000 Average, can do his/her job as long as there are instructions. $40,000 A little slow, needs to constantly be shown what to do. $25,000 Pretty stupid, can barely do his/her job with lots of help. $10,000 Dumb as a post, can barely tie his/her shoes. -$1,000 Of course you haven't seen a salary list like that. Instead, salary lists are made up of a job title, along with certifications and degrees. Obviously a perfect system! . What I like most about being employed full time though, is I get to work on random stuff during idle time (when there is idle time), so I am constantly learning! Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:04:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:04:00 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C4@main2.marlow.com> Just so you know, I personally don't think $35 is low. My personal rates are as such: Access/VB/ASP combinations-$100 an hour (IF and ONLY IF I personally know the person. otherwise it's $150...though I have only ever done 1 job at that rate, and it was pretty small). VB Alone (including VB with Access as a db only (BE)) $75, or if it's a complex VB project, it gets shot up to $100. Access Alone $50. If it is a friend, VB goes to $50, and Access goes to $35. However, that is because I do not put ANY priority on them, they get done when they get done, and I am also allowed to be very 'liberal' with my hours. I drop my rates for those situations because I work full time, so I am not dependant on the money, and also I feel it is just being good business. I am reducing my rates because the commitment isn't 100%. Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 12:02 PM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for fi rsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:08:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:08:17 -0600 Subject: [AccessD] OT Blacksburg Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C5@main2.marlow.com> That is pretty funny. In the Navy, there are a few 'enlisted' rates E-3 and below (E-4 and above are called by their specialty, such as Machinist Mate, or Electricians Mate, etc.). E-3's and below are Firemen, Seamen, or Airmen. (Based on the job they are in. Mechanics and machinists are firemen, electricians and cooks are seamen, and guys that work on the planes are airmen). I knew an electrian who's last name was Seamen. (Seamen Seamen.....talk about the ribbing he got!) Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, March 28, 2003 12:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT Blacksburg Ok, this way OT, but had to share... When we were first married my husband was stationed in Norfolk, Va. I was making a collect call to my parents when the operator asked me my name, I told her, "Virginia", we got into a big tadoo because she kept insisting for my name, not the state. I use to joke about having the address: Virginia Virginia Beach Blvd Virginia Beach, Virginia -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Friday, March 28, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] Blacksburg How interesting, You answered you're own question with your name, Blacksburg is in Virginia, it's the home of Virginia Tech. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Friday, March 28, 2003 11:02 AM To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 11:28 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Well, I don't make anywhere even near 40K a year. That is very interesting to know, how underpayed I really am and what they are getting for next to nothing :-(. I have a degree and some experience - so I fit somewhere in between, I do not have the experience most have on the list. My databases all turn out to be very similar. I am going to do the job as a contractor, it will be nights & weekends. Still need to discuss the pay with the company - this has been a big help. I especially liked the (Virgin comment & I am "cheap" LOL) I really got a good laugh out of that :-). When I got my personalized license plates I wanted my name on the plate - well Virginia was too many characters - sure didn't want to abbreviate and use "Virgin". Anyway, this is a big step for me. Like Ron, there is always that worry of messing up or running into a problem I can't solve. It is different developing where I work full time, I am here to fix the problems or even add new features the user wants. Still undecided on the fee - thinking somewhere in the 25-35 range or a bit higher for negotiating purposes, sure not 10.00! Like someone suggested, start high & negotiate from there. Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Mar 28 14:08:49 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 28 Mar 2003 14:08:49 -0600 Subject: [AccessD] OT:Building your business was... Rate for fi rsttime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB085@exchange.pgdp> LOL. That is ok. See I even get a geography lesson out the deal - that should be worth an extra 50.00 hr. I imagine the rate is about the same for our area... -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, Sorry, I must have misread your message since I got the impression you said you were in Virginia. (Too many Virgins to keep straight! ) Blacksburg is in the toe of Virginia, the home of Virginia Polytechnic Institute and State University a.k.a. Virginia Tech. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday 2003 Mar 28 12:02 To: 'accessd at databaseadvisors.com' Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime I am in the Mid West, but the company is in the East. Thank you, I will do that - 50.00 it is. I guess everyone felt like this their first time. Curious - where is Blacksburg? Virginia -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, March 28, 2003 11:41 AM To: accessd at databaseadvisors.com Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for firsttime Virginia, I don't know whether you are in a high cost area near DC, or a lower cost area such as Blacksburg, but I suggest starting at $50 or higher, not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody with your experience. Charles Wortz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Mar 28 14:10:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 28 Mar 2003 14:10:15 -0600 Subject: [AccessD] OT: VB dll rookie Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> What exactly are you trying to do? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, March 28, 2003 12:38 PM To: Access Developer Subject: [AccessD] OT: VB dll rookie Hi All I may be in a need of programming some dll files using some external libraries. Having never done so (I'm an Access guy) could some of you VB gurus please point me into the right direction (I'm lazy too) regarding the best (preferably cheap) tool capable of this - and perhaps a link to an on-line crash course? It's only for building dlls, not for programming self contained VB apps. I don't subscribe to our VB list but guess I should. Is it running as well as this list? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Mar 28 14:13:31 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 15:13:31 -0500 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: Message-ID: <002d01c2f566$843f3780$c8350cd8@hargrove.internal> Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Fri Mar 28 14:15:22 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 29 Mar 2003 08:15:22 +1200 Subject: [AccessD] Access 2002 and imperial measurements Message-ID: <70F3D727890C784291D8433E9C418F290389CE@server.bondsoftware.co.nz> Duh. That's my senior moment for the week. Thanks Bill. It's Saturday, I think I'll go mow the lawn. Stephen Bond -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Saturday, 29 March 2003 12:35 a.m. To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2002 and imperial measurements ...the measurement system is based upon your regional settings in the xp control panel ...you can customize it to use the English measurements while leaving everything else localized ...HTH :) From jeffrey.demulling at usbank.com Fri Mar 28 14:23:22 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 14:23:22 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Fri Mar 28 14:51:03 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 28 Mar 2003 15:51:03 -0500 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: Message-ID: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> Yes that is what I meant. To resolve the problem you need to find out the answers to the following questions... 1) Does she have MDAC 2.7 installed? 2) Did you create a SQL data connection (either a System DSN or a User DSN) on her machine? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 03:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Fri Mar 28 15:04:49 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Fri, 28 Mar 2003 21:04:49 +0000 (GMT) Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED In-Reply-To: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> References: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> Message-ID: <1048885489.3e84b8f12481c@hosea.qub.ac.uk> The adress escapes me at the moment but theres a download on MS which tells you the versions of all the MDAC stuff you have loaded. Sorry I cant remember the address. Martin Quoting Mike and Doris Manning : > Yes that is what I meant. To resolve the problem you need to find out > the > answers to the following questions... > > 1) Does she have MDAC 2.7 installed? > 2) Did you create a SQL data connection (either a System DSN or a User > DSN) > on her machine? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jeffrey.demulling at usbank.com > Sent: Friday, March 28, 2003 03:23 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED > > > > Do you mean MDAC 2.7? > > > > "Mike and Doris Manning" > Sent by: accessd-bounces at databaseadvisors.com > > > 03/28/2003 02:13 PM > Please respond to accessd > > > > To: accessd at databaseadvisors.com > cc: > Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE > INITIALIZED > > > > Does she have the latest MDAC update installed? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jeffrey.demulling at usbank.com > Sent: Friday, March 28, 2003 02:05 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED > > > I have an AXP ADP FE (saved in A2K format) that connects to a SQL > server. > Everything works fine on my machine, on a machine with A2K, but when I > try > using the file with a machine that was setup with the run-time version I > get > the error: "DATA PROVIDER COULD NOT BE INITIALIZED". > > The user is opening a form and when she clicks on a drop-down box that > has a > rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct > permissions on the SQL server side for the SP) and a rowsourcetype = > Table/View/StoredProc. > > Any ideas or suggestions would be greatly appreciated. > > TIA_______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > From mastercafe at ctv.es Fri Mar 28 15:11:45 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Fri, 28 Mar 2003 22:11:45 +0100 Subject: [AccessD] Objetcs manipulation In-Reply-To: Message-ID: Hi group, we are making dinamics forms for a graphical enviroment with access. There are some method to manipulate a Form and create any circle or square or some object into it?? We need put some pictures into a form, depending of list on the drive. Other question is If is possible to use DirectX8 controls on A2k?? Thanks and regards Juan Menendez Mastercafe SL From wdhindman at bellsouth.net Fri Mar 28 15:18:28 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 16:18:28 -0500 Subject: [AccessD] String Manip Help References: <000501c2f505$c25de450$6101a8c0@amd2k512> <11221677781.20030328150245@cactus.dk> Message-ID: <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> ...aw shucks ...can't put a thang over on y'all no more :((((((( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Gustav Brock" To: "William Hindman" Sent: Friday, March 28, 2003 9:02 AM Subject: Re: [AccessD] String Manip Help > Hi William > > Is this "our William" turning into early weekend lazy mode?? > > We have a TV show/quiz here where two of three friends must guess if > the third (isolated in a sound proof box) can answer a given question > or not .. > Do I need to go on? > > /gustav > > > > ...record field in table has a data string formatted like "city, state, zip > > /country" (without quotes) > > ...need to run an update query to remove the " /country" from each record > > where "country" can be any length > > ...any ideas appreciated :) > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From susanj at sgmeet.com Fri Mar 28 15:21:26 2003 From: susanj at sgmeet.com (Susan Jones) Date: Fri, 28 Mar 2003 15:21:26 -0600 Subject: [AccessD] Need most recent record from many In-Reply-To: <837560018.20030328192727@cactus.dk> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> Hi Gustav, Getting closer...This returns the information, but only for the most recent record, not for each member. So, I think I need to add grouping. Doing that I've been able to pull the right record for each member in one query, but then I have to link it back to the main table using two fields as secondary keys to pull the primary key in order to continue pulling information which seems circular and not good programming. Susan At 12:27 PM 3/28/03, you wrote: >Hi Susan > >As always, it's easy when you know how ... >Here is one method: > > > >SELECT > tblMember.*, > (SELECT TOP 1 > datReceived > FROM > tblPayment > WHERE > (tblMember.ID = tblPayment.MemberID) > ORDER BY > datReceived DESC;) AS LastPayment >FROM > tblMember; > > > >/gustav From wdhindman at bellsouth.net Fri Mar 28 15:35:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 28 Mar 2003 16:35:52 -0500 Subject: [AccessD] OT:Building your business was... Rate forfirsttime References: Message-ID: <006901c2f572$01bd5f60$6101a8c0@amd2k512> ...not to be discouraging Virginia but good housekeepers here make $25 an hour and there is no shortage of work ...doing database development for that kind of money is a quick way to the poor house ...have you looked into the taxes and fees you get tagged with as an independent business person ...the extra insurance you have to carry ...the unpaid hours you put in to developing proposals, bids, and just plain marketing ...if you are doing this as a hobby, ok ...but if you plan to make money at it ...make money! :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Wortz, Charles" To: Sent: Friday, March 28, 2003 12:40 PM Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate forfirsttime > Virginia, > > I don't know whether you are in a high cost area near DC, or a lower > cost area such as Blacksburg, but I suggest starting at $50 or higher, > not $25-35. Even in Blacksburg $25 an hour seems cheap for somebody > with your experience. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Friday 2003 Mar 28 11:28 > To: 'accessd at databaseadvisors.com' > Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for > firsttime > > Well, I don't make anywhere even near 40K a year. That is very > interesting to know, how underpayed I really am and what they are > getting for next to nothing :-(. I have a degree and some experience - > so I fit somewhere in between, I do not have the experience most have on > the list. My databases all turn out to be very similar. > > I am going to do the job as a contractor, it will be nights & weekends. > Still need to discuss the pay with the company - this has been a big > help. I especially liked the (Virgin comment & I am "cheap" LOL) I > really got a good laugh out of that :-). When I got my personalized > license plates I wanted my name on the plate - well Virginia was too > many characters - sure didn't want to abbreviate and use "Virgin". > > Anyway, this is a big step for me. Like Ron, there is always that worry > of messing up or running into a problem I can't solve. It is different > developing where I work full time, I am here to fix the problems or even > add new features the user wants. > > Still undecided on the fee - thinking somewhere in the 25-35 range or a > bit higher for negotiating purposes, sure not 10.00! Like someone > suggested, start high & negotiate from there. > > Virginia > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Mar 28 15:59:26 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 13:59:26 -0800 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED References: <004401c2f56b$c25e7030$c8350cd8@hargrove.internal> <1048885489.3e84b8f12481c@hosea.qub.ac.uk> Message-ID: <3E84C5BE.5010607@shaw.ca> An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Mar 28 16:02:42 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:02:42 -0800 Subject: [AccessD] Objetcs manipulation References: Message-ID: <3E84C682.6040503@shaw.ca> Have a look through Stephan Lebans site for graphics http://www.lebans.com/imageclass.htm MastercafeCTV wrote: >Hi group, we are making dinamics forms for a graphical enviroment with >access. >There are some method to manipulate a Form and create any circle or square >or some object into it?? We need put some pictures into a form, depending of >list on the drive. >Other question is If is possible to use DirectX8 controls on A2k?? > > >Thanks and regards > >Juan Menendez >Mastercafe SL > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at ColbyConsulting.com Fri Mar 28 16:33:20 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Fri, 28 Mar 2003 17:33:20 -0500 Subject: [AccessD] Serial Communications - Cross Posted VB and Access In-Reply-To: <007301c2f560$6315bdf0$219f7dc2@D8TZHN0J> Message-ID: Mark, Whenever I need to do serial stuff I use the mscomm.dll that comes with VB. It "listens" to one comm port, but it also raises events for all the things that need attention. I then wrap that in my own WithEvents class to do anything specific I need to do. Other than this Dll I don't know of any brilliant software. I used to use something called CrystalComm that was a library written in C I believe and provided all of the various functions need to initialize and manipulate the com ports as well as transfer files using the old transfer protocols from the late 80s & early 90s. Not sure if it is even available anymore. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 28, 2003 2:30 PM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Serial Communications - Cross Posted VB and Access Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland ---------------------------------------------------------------------------- ---- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Mar 28 16:42:03 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:42:03 -0800 Subject: [AccessD] OT:Building your business was... Rate for fi rst tim e References: Message-ID: <3E84CFBB.9040406@shaw.ca> A lot of small companies snap up MCSD's, so they can maintain their Microsoft Certified Partners status. They need at least two on staff and some number of MCP's. So I can see that as a requirement in staffing certain positions or perhaps bidding on contracts. ie you bid on a contract and say you are an MCP. Porter, Mark wrote: >Regarding the qualifications comments, it's not just the corporate world. I >just had to pass on bidding a contract because in the RFP it was specified >that the VB developer hold a MCSD and 5 years experience. Further education >or experience was not substitutable for the cert. > >The scope of the job didn't warrant 5 years experience, let alone a cert. I >do not even know anyone in my area with the MCSD that I could pass it on to >either. > >I do hope this isn't an indicator of a trend. > >Mark > >-----Original Message----- >From: Drew Wutka [mailto:DWUTKA at marlow.com] >Sent: Thursday, March 27, 2003 7:22 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: Re[2]: [AccessD] OT:Building your business was... Rate for >fi rst tim e > > >Ron, I am in a similar situation, though I do contract stuff on the side, >and work a LOT more hours (well, I used too, lately I have only worked 45 >hours a week). > >I am a little over your 'argument's sake' salary, if I only work 40 hours a >week. I consider myself to be making about 60% of what I should be making. >However, with the current job market, it's extremely difficult to find other >work. In fact, I just was turned down for a job recently. Right now the >market is flooded with all sorts of IT folks, and most of them have degrees >and certifications. I have very little faith in either of those, >personally. However, even though most companies are hiring off of >experience versus quals, it seems as if they are paying more for quals then >knowledge/capabilities. I'm afraid that's just part of the business world. >It's hard to nail down, but I'm pretty sure the problem lies with Accounts >in general. They find it nearly impossible to quantify someone's value by >their knowledge or capabilities, however, it is very easy for them to >quantify someones education. > >For example, have you ever seen a salary comparison sheet that showed >something like this: > >Knowledge: >Salary: >Genius. Can't stump this guy/girl. >$250,000 >Extremely smart, learns everything thrown at him/her. >$180,000 >Pretty smart, knows what he's paid to do and a little more. >$110,000 >Smart, knows his/her job. >$70,000 >Average, can do his/her job as long as there are instructions. $40,000 >A little slow, needs to constantly be shown what to do. $25,000 >Pretty stupid, can barely do his/her job with lots of help. >$10,000 >Dumb as a post, can barely tie his/her shoes. >-$1,000 > >Of course you haven't seen a salary list like that. Instead, salary lists >are made up of a job title, along with certifications and degrees. >Obviously a perfect system! . > >What I like most about being employed full time though, is I get to work on >random stuff during idle time (when there is idle time), so I am constantly >learning! > >Drew > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >This transmittal may contain confidential information intended solely for >the addressee. If you are not the intended recipient, you are hereby >notified that you have received this transmittal in error; any review, >dissemination, distribution or copying of this transmittal is strictly >prohibited. If you have received this communication in error, please notify >us immediately by reply or by telephone (collect at 907-564-1000) and ask to >speak with the message sender. In addition, please immediately delete this >message and all attachments. Thank you. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Fri Mar 28 16:54:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 14:54:46 -0800 Subject: [AccessD] Table of checks References: <618EB4D6DDCDD3119B0A00508B6FD37A08ECB079@exchange.pgdp> Message-ID: <3E84D2B6.6000001@shaw.ca> An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Fri Mar 28 17:07:07 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 28 Mar 2003 17:07:07 -0600 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Message-ID: First: Marty thanks for the link. She has version 2.5 SP1 (2.51.5303.5) for the MDAC. On my machine I have version 2.6 RTM (2.60.6526.3) Now I am not sure what connection string you are referring to. The ADP connection interface looks like the following: MartyConnelly Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 03:59 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED MDAC Component Checker http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en How about a peek at your connection string too? Mwp.Reid at Queens-Belfast.AC.UK wrote: The adress escapes me at the moment but theres a download on MS which tells you the versions of all the MDAC stuff you have loaded. Sorry I cant remember the address. Martin Quoting Mike and Doris Manning : Yes that is what I meant. To resolve the problem you need to find out the answers to the following questions... 1) Does she have MDAC 2.7 installed? 2) Did you create a SQL data connection (either a System DSN or a User DSN) on her machine? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 03:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Do you mean MDAC 2.7? "Mike and Doris Manning" Sent by: accessd-bounces at databaseadvisors.com 03/28/2003 02:13 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: RE: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED Does she have the latest MDAC update installed? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Friday, March 28, 2003 02:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED I have an AXP ADP FE (saved in A2K format) that connects to a SQL server. Everything works fine on my machine, on a machine with A2K, but when I try using the file with a machine that was setup with the run-time version I get the error: "DATA PROVIDER COULD NOT BE INITIALIZED". The user is opening a form and when she clicks on a drop-down box that has a rowsource = dbo.SEL_Offices_AlphaSort (yes she does have the correct permissions on the SQL server side for the SP) and a rowsourcetype = Table/View/StoredProc. Any ideas or suggestions would be greatly appreciated. TIA_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8748 bytes Desc: not available URL: From stuart at lexacorp.com.pg Fri Mar 28 18:00:38 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Mar 2003 10:00:38 +1000 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3238167211.20030328193734@cactus.dk> Message-ID: <3E856EC6.17288.15F228@localhost> > Hi All > > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > > It's only for building dlls, not for programming self contained VB apps. > > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? > At the risk of getting repititive. If you're looking at building DLLs and leveraging your BASIC programiing skills, look at PB/Win from http://www.powerbasic.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Fri Mar 28 19:01:24 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Mar 2003 20:01:24 -0500 Subject: [AccessD] Just checking In-Reply-To: <3E856EC6.17288.15F228@localhost> Message-ID: <022701c2f58e$b839c4b0$8e01a8c0@Rock> I have sent several msgs to both AccessD and dbaSQL and seen none of them so far, so this is just a check to make sure I'm getting through. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin From martyconnelly at shaw.ca Fri Mar 28 20:25:56 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 18:25:56 -0800 Subject: [AccessD] DATA PROVIDER COULD NOT BE INITIALIZED References: Message-ID: <3E850434.5050602@shaw.ca> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8748 bytes Desc: not available URL: From davesharpe2 at cox.net Fri Mar 28 20:58:38 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Fri, 28 Mar 2003 21:58:38 -0500 Subject: [AccessD] Just checking References: <022701c2f58e$b839c4b0$8e01a8c0@Rock> Message-ID: <002401c2f59f$1990a430$1d270a44@bcs006137> Arthur I have 12 mgs from you on Accessd since March 22. Nothing I could be of assistance with in them though. Dave ----- Original Message ----- From: Arthur Fuller To: accessd at databaseadvisors.com Sent: Friday, March 28, 2003 8:01 PM Subject: [AccessD] Just checking I have sent several msgs to both AccessD and dbaSQL and seen none of them so far, so this is just a check to make sure I'm getting through. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Fri Mar 28 21:45:41 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 29 Mar 2003 00:45:41 -0300 Subject: [AccessD] Re: OT : References In-Reply-To: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> References: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: On Tue, 25 Mar 2003 23:36:16 -0700, t tom wrote: > Hi All > > > Does anyone know where I get info on the "Available References" found in > Access and VB. > I can use the Object Browser but there must be better documentation > somewhere! > > > TIA > Tomt > You may try this code... *** Function InfoRef() Dim msg As String Dim item_ref As Reference ' On Error Resume Next ' For Each item_ref In References If item_ref.IsBroken Then msg = "Broken reference:" & vbCrLf & item_ref.FullPath Else msg = "Reference: " & item_ref.Name & vbCrLf _ & "Location: " & item_ref.FullPath & vbCrLf & _ "Version: " & item_ref.Major & "." & item_ref.Minor & vbCrLf & _ "GUIDs of broken references:" & item_ref.Guid End If Debug.Print msg Next item_ref End Function *** HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From martyconnelly at shaw.ca Sat Mar 29 00:54:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Mar 2003 22:54:06 -0800 Subject: [AccessD] Cute A Word 2003 Document Translation Webservice available References: <000c01c2f362$00d37d80$132b9244@cg.shawcable.net> Message-ID: <3E85430E.6030009@shaw.ca> There is a self contained document machine translation web service available in Word 2003 from Google and World Lingo even does Chinese, Japanese and Korean. Open up the document in Word then select Tools--> Research This brings up a Research sidebar in Search For: Type Google then select Translation options or select translation from combobox with All Reference Books Or just ALT + left click on document or word in document to bring up Reseach sidebar. After selecting translate it displays a returned xml to html translation in an IE window that you can then cut and paste back into word. Attached is a short translation of BackEnd Upgrader Document in German Das Hinterupgrader.doc Handy if you need some quick rough translation of documentation for international clients. But wait there is more. Build Your Own Research Library with Office 2003 and the Google Web Service API or Attach your own Web Service http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office03062003.asp From gustav at cactus.dk Sat Mar 29 04:08:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:08:43 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> References: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> <5.1.1.6.2.20030328151606.02fd4aa8@mail.calpha.com> Message-ID: <1674629346.20030329110843@cactus.dk> Hi Susan I assumed the two tables were related with a unique MemberID. If not, this may be the moment where you reveal your table designs for the audience ... Also, if more than one payment can happen for one member on one day, the subquery may return more than one record, adjust the subquery to include sorting on the primary key of the payments table as shown: SELECT tblMember.*, (SELECT TOP 1 datReceived FROM tblPayment WHERE (tblMember.ID = tblPayment.MemberID) ORDER BY datReceived DESC, tblPayment.ID;) AS LastPayment FROM tblMember; /gustav > Getting closer...This returns the information, but only for the most recent > record, not for each member. So, I think I need to add grouping. Doing > that I've been able to pull the right record for each member in one query, > but then I have to link it back to the main table using two fields as > secondary keys to pull the primary key in order to continue pulling > information which seems circular and not good programming. > Susan > At 12:27 PM 3/28/03, you wrote: >>Hi Susan >> >>As always, it's easy when you know how ... >>Here is one method: >> >> >> >>SELECT >> tblMember.*, >> (SELECT TOP 1 >> datReceived >> FROM >> tblPayment >> WHERE >> (tblMember.ID = tblPayment.MemberID) >> ORDER BY >> datReceived DESC;) AS LastPayment >>FROM >> tblMember; >> >> From gustav at cactus.dk Sat Mar 29 04:16:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:16:05 +0100 Subject: [AccessD] Need most recent record from many In-Reply-To: <01C2F532.FDF75550.bob@renaissancesiding.com> References: <01C2F532.FDF75550.bob@renaissancesiding.com> Message-ID: <345071762.20030329111605@cactus.dk> Hi Bob Oh, it wasn't meant so, of course - hopefully Susan is not embarrassed. Believe me, my "book" has bunches of blank pages - among these are those describing how Williams' brain is functioning. /gustav > > "it's easy when you know how .. " > OUCH! I know my methods are often novice-level, but that was brutal :) > > Bob Gajewski > On Friday, March 28, 2003 13:27 PM, Gustav Brock [SMTP:gustav at cactus.dk] wrote: >> Hi Susan >> >> As always, it's easy when you know how .. >> Here is one method: >> >> >> >> SELECT >> tblMember.*, >> (SELECT TOP 1 >> datReceived >> FROM >> tblPayment >> WHERE >> (tblMember.ID = tblPayment.MemberID) >> ORDER BY >> datReceived DESC;) AS LastPayment >> FROM >> tblMember; >> >> >> >> /gustav >> >> >> > I hope this is so easy I'll be embarrassed I even asked, but.. >> > I have a query that links two tables with a one-to-many relationship. My >> > problem is that I want to pull only the most current record on the many >> > side. I know this has to be something easy, but I'm either blind to it or >> > just not able to figure out where to start looking. I tried to access the >> > archives, but the link takes me to the mail options page From gustav at cactus.dk Sat Mar 29 04:37:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:37:17 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F99D856F4@TTNEXCHSRV1.hshhp.com> Message-ID: <916343311.20030329113717@cactus.dk> Hi Jim > Our VB is very slow. Slow? Would you recommend looking for alternatives to VB? > I'd be happy to help you though as I use VB to create DLLs quite > often. In a nutshell, if you're comfortable writing classes you > already know enough to put a DLL together. Thanks. Just wanted to stay off possible traps when dealing with dlls. /gustav > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > It's only for building dlls, not for programming self contained VB apps. > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? From gustav at cactus.dk Sat Mar 29 04:47:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:47:55 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF801D824C6@main2.marlow.com> Message-ID: <1836981038.20030329114755@cactus.dk> Hi Drew > What exactly are you trying to do? It is for modifying a third-party app with an exposed API. When the app launches it looks for add-on custom dlls which can add new or modified features to the app or adjust the GUI (forms, menus, etc.) Those add-on dlls are recommended to be built in Visual Studio (which I neither have) but any environment capable of compiling a dll can be used: VB, C++, even Delphi. However, for years I haven't programmed in anything else but Access, I have never done any C/C++, and Delphi/Pascal is far away - that's why I thought of VB. /gustav From gustav at cactus.dk Sat Mar 29 04:52:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 11:52:34 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <13686104889590913243d0567@global.net.pg> References: <13686104889590913243d0567@global.net.pg> Message-ID: <157260670.20030329115234@cactus.dk> Hi Stuart Thanks - I remember this and it certainly sounds like an alternative. I guess the cost is lower than for VB? Or would it be Visual Studio? I'm not updated with the Microsoft programming environments. /gustav >> I may be in a need of programming some dll files using some external >> libraries. > At the risk of getting repititive. If you're looking at building DLLs and leveraging your > BASIC programiing skills, look at PB/Win from http://www.powerbasic.com From accessd at shaw.ca Sat Mar 29 06:03:19 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 04:03:19 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: RE: [AccessD] Replication - A2KHi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------------- -- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 29 06:13:22 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 04:13:22 -0800 Subject: [AccessD] RE:OT log files In-Reply-To: <01C2F532.FDF75550.bob@renaissancesiding.com> Message-ID: Hi All: This is a totally off topic question but I am sure a few individuals knows the good solutions. Is there any inexpensive solution to monitoring the log files on my server...these are the remote access log files not the log event files. TIA Jim From gustav at cactus.dk Sat Mar 29 07:05:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 14:05:32 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> References: <000501c2f505$c25de450$6101a8c0@amd2k512> <003701c2f56f$93a9a9e0$6101a8c0@amd2k512> Message-ID: <12815238541.20030329140532@cactus.dk> Oops William, you lost me completely - what (rap) language is this? /gustav > ...aw shucks ...can't put a thang over on y'all no more :((((((( From stuart at lexacorp.com.pg Sat Mar 29 07:21:10 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Mar 2003 23:21:10 +1000 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <157260670.20030329115234@cactus.dk> References: <13686104889590913243d0567@global.net.pg> Message-ID: <3E862A66.20018.2F2E3BF@localhost> > Hi Stuart > > Thanks - I remember this and it certainly sounds like an alternative. > > I guess the cost is lower than for VB? > Or would it be Visual Studio? I'm not updated with the Microsoft > programming environments. > PB/Win 7 - $199 - purchase online and download online (about 3.5MB) See http://www.powerbasic.com/products/pbdll32/ Visual Basic - supplied on multiple CDs - not available online AFAIK. VB 6 Pro - around $500 (if you can find it) , Enterprise Edition around $800-900. Visual Sudio Net Pro $1000, Enterprise $1800, Enterprise Architect $2500 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sat Mar 29 09:16:05 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:16:05 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <3E862A66.20018.2F2E3BF@localhost> Message-ID: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur From artful at rogers.com Sat Mar 29 09:17:14 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:17:14 -0500 Subject: [AccessD] Just checking In-Reply-To: <002401c2f59f$1990a430$1d270a44@bcs006137> Message-ID: <026c01c2f606$47503270$8e01a8c0@Rock> It's no longer a problem, but thanks very much for checking. Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sat Mar 29 09:29:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 10:29:00 -0500 Subject: [AccessD] String Manip Help In-Reply-To: <12815238541.20030329140532@cactus.dk> Message-ID: <027301c2f607$ec370d30$8e01a8c0@Rock> Aw, shucks = Sacre bleu (or anything else that merely makes noise, such as "Um..." or "Eh..." Thang = southern US for "thing" Put a thang over = playfully deceive Y'all = you all (another weird southern US expression, particularly when intended as singular, but aw shucks, that's just the way they talk down there) No more = any longer Subsituting English for Southern, you get, "I am no longer able to playfully deceive you." HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: March 29, 2003 8:06 AM To: William Hindman Subject: Re: [AccessD] String Manip Help Oops William, you lost me completely - what (rap) language is this? /gustav > ...aw shucks ...can't put a thang over on y'all no more :((((((( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Sat Mar 29 10:01:43 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 29 Mar 2003 11:01:43 -0500 Subject: [AccessD] Need most recent record from many In-Reply-To: <5.1.1.6.2.20030328090012.02bbeb30@mail.calpha.com> Message-ID: Similar questions have come up before. I believe that what is required to do this is a correlated sub-query. There is an example on my much neglected web site, www.goodhall.info/steve. Click on the "Useful Software" button and scroll down to the last item on the page. While this does not specifically address the question of dates, the basic technique will do what you want. I may have a date specific example somewhere in my files. If I find it, I will send it along. Now that I have finished my Master's degree, I suppose I could find some time to update the web site. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Jones Sent: Friday, March 28, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Need most recent record from many I hope this is so easy I'll be embarrassed I even asked, but... I have a query that links two tables with a one-to-many relationship. My problem is that I want to pull only the most current record on the many side. I know this has to be something easy, but I'm either blind to it or just not able to figure out where to start looking. I tried to access the archives, but the link takes me to the mail options page. Thanks! Susan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Sat Mar 29 10:18:51 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Sat, 29 Mar 2003 17:18:51 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: We don't know any control for this, but we use Common Dialog control to take a file, then InstrRev from the file that they select using the \(slash position) right in the Filename indicate. See the code Function RetrieveDirName(InitialDir as string) as string Screen.PreviousControl.SetFocus CtrlCmmDialog.DialogTitle = "Select a file" CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" CtrlCmmDialog.DefaultExt = ".*" CtrlCmmDialog.Filename = "" CtrlCmmDialog.InitDir = InitialDir CtrlCmmDialog.ShowOpen If CtrlCmmDialog.Filename <> "" Then RetrieveDirName = Left(CtrlCmmDialog.Filename, InStrRev(CtrlCmmDialog.Filename, "\") - 1) else retrieveDiaName="NULL" End If Exit Function End Function Sometimes we use the FileSearch control if know the name of the file that need its DirName Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller Enviado el: s?bado, 29 de marzo de 2003 16:16 Para: accessd at databaseadvisors.com Asunto: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Sat Mar 29 10:25:30 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 29 Mar 2003 09:25:30 -0700 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: Arthur, Here's a modified version if something I downloaded from PlanetSourceCode a while back, it allows you to specify the initial folder that's selected and you can specify the text that appears for the user. Chris Mackin Denver Database Consulting, LLC www.denverdb.com '******************************* Option Compare Database Option Explicit Private Const BIF_RETURNONLYFSDIRS = 1 Private Const BIF_DONTGOBELOWDOMAIN = 2 Private Const MAX_PATH = 260 Private Declare Function SHBrowseForFolder Lib _ "shell32" (lpbi As BrowseInfo) As Long Private Declare Function SHGetPathFromIDList Lib _ "shell32" (ByVal pidList As Long, ByVal lpBuffer _ As String) As Long 'Private Declare Function lstrcat Lib "kernel32" _ Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As String) As Long Private Type BrowseInfo hWndOwner As Long pidlRoot As Long pszDisplayName As Long strTitle As String ulFlags As Long lpfnCallback As Long lParam As Long iImage As Long End Type Public Const LMEM_FIXED = &H0 'added Public Const LMEM_ZEROINIT = &H40 'added Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added Public Declare Function LocalAlloc Lib "kernel32" _ (ByVal uFlags As Long, _ ByVal uBytes As Long) As Long 'added Public Declare Function LocalFree Lib "kernel32" _ (ByVal hMem As Long) As Long 'added Public Declare Function lstrcpyA Lib "kernel32" _ (lpString1 As Any, lpString2 As Any) As Long 'added Public Declare Function lstrlenA Lib "kernel32" _ (lpString As Any) As Long 'added Public Declare Sub CopyMemory Lib "kernel32" _ Alias "RtlMoveMemory" _ (pDest As Any, _ pSource As Any, _ ByVal dwLength As Long) 'added Public Const BFFM_INITIALIZED = 1 'added Public Const WM_USER = &H400 'added 'Selects the specified folder. If the wParam 'parameter is FALSE, the lParam parameter is the 'PIDL of the folder to select , or it is the path 'of the folder if wParam is the C value TRUE (or 1). 'Note that after this message is sent, the browse 'dialog receives a subsequent BFFM_SELECTIONCHANGED 'message. Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) Public Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Any) As Long Public Function GetFolder(strPath As String, Optional strTitle As String = "Select Folder") As String Dim lpIDList As Long Dim sBuffer As String Dim szTitle As String Dim lpPath As Long Dim tBrowseInfo As BrowseInfo With tBrowseInfo .hWndOwner = Application.hWndAccessApp .pidlRoot = 0 .strTitle = strTitle .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) lpPath = LocalAlloc(LPTR, Len(strPath) + 1) CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 .lParam = lpPath End With lpIDList = SHBrowseForFolder(tBrowseInfo) If (lpIDList) Then sBuffer = Space(MAX_PATH) SHGetPathFromIDList lpIDList, sBuffer sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If GetFolder = sBuffer End Function Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ ByVal uMsg As Long, _ ByVal lParam As Long, _ ByVal lpData As Long) As Long 'Callback for the Browse STRING method. 'On initialization, set the dialog's 'pre-selected folder from the pointer 'to the path allocated as bi.lParam, 'passed back to the callback as lpData param. Select Case uMsg Case BFFM_INITIALIZED Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) Case Else End Select End Function Private Function FARPROC(pfn As Long) As Long 'This workaround is needed as you can't assign 'AddressOf directly to a member of a user- 'defined type, but you can assign it to another 'long and use that (as returned here) FARPROC = pfn End Function '************************************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 29, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Mar 29 10:27:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 08:27:05 -0800 Subject: [AccessD] Code to get a directory name via navigation References: <026b01c2f606$1e42b4c0$8e01a8c0@Rock> Message-ID: <3E85C959.1070107@shaw.ca> Do you mean Browse to a Folder and return its name. http://www.mvps.org/access/api/api0002.htm Arthur Fuller wrote: >I have the ADH code that lets you pick a filename by nivagating to it, but >it seems none of the args lets you request a directory name instead of a >filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just >have to find it.) > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Sat Mar 29 09:47:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 16:47:41 +0100 Subject: [AccessD] String Manip Help In-Reply-To: <027301c2f607$ec370d30$8e01a8c0@Rock> References: <027301c2f607$ec370d30$8e01a8c0@Rock> Message-ID: <6724967661.20030329164741@cactus.dk> Thanks Arthur - got it now! /gustav > Aw, shucks = Sacre bleu (or anything else that merely makes noise, such as > "Um..." or "Eh..." > Thang = southern US for "thing" > Put a thang over = playfully deceive > Y'all = you all (another weird southern US expression, particularly when > intended as singular, but aw shucks, that's just the way they talk down > there) > No more = any longer > Subsituting English for Southern, you get, "I am no longer able to playfully > deceive you." > HTH, > Arthur > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: March 29, 2003 8:06 AM > To: William Hindman > Subject: Re: [AccessD] String Manip Help > Oops William, you lost me completely - what (rap) language is this? > /gustav >> ...aw shucks ...can't put a thang over on y'all no more :((((((( From gustav at cactus.dk Sat Mar 29 10:54:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 17:54:37 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: References: Message-ID: <14728983075.20030329175437@cactus.dk> Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from PlanetSourceCode a > while back, it allows you to specify the initial folder that's selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ > lpString2 As String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) > Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As String = > "Select Folder") As String > Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) > End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* From chris at denverdb.com Sat Mar 29 11:20:07 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 29 Mar 2003 10:20:07 -0700 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <14728983075.20030329175437@cactus.dk> Message-ID: Gustav, To be honest I have no idea why that part of the code would fail for you. If it matters I'm running A2k on a Win2k box. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 29, 2003 9:55 AM To: Chris Mackin Subject: Re: [AccessD] Code to get a directory name via navigation Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from PlanetSourceCode a > while back, it allows you to specify the initial folder that's selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ > lpString2 As String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) > Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As String = > "Select Folder") As String > Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) > End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 29 11:33:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:33:07 -0500 Subject: [AccessD] Code to render ShortFileName Message-ID: <028801c2f619$42d2ed10$8e01a8c0@Rock> Anybody got code to paste into Access that derives a short file name (i.e. everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? Ideally, I would like to use the ADH code to grab a filename then call a function that shortens the filename appropriately. TIA, Arthur From Jdemarco at hshhp.org Sat Mar 29 11:38:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sat, 29 Mar 2003 12:38:54 -0500 Subject: [AccessD] OT: VB dll rookie Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> Sorry that should have read our VB list is very slow (VB is fine for ActiveX components). If you are looking into VB you can use VB 6 and the syntax is about identical to VBA for the most part. The Learning Edition of VB which is less expensive may do the trick for you. Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Saturday, March 29, 2003 5:37 AM To: Jim DeMarco Subject: Re: [AccessD] OT: VB dll rookie Hi Jim > Our VB is very slow. Slow? Would you recommend looking for alternatives to VB? > I'd be happy to help you though as I use VB to create DLLs quite > often. In a nutshell, if you're comfortable writing classes you > already know enough to put a DLL together. Thanks. Just wanted to stay off possible traps when dealing with dlls. /gustav > I may be in a need of programming some dll files using some external > libraries. > Having never done so (I'm an Access guy) could some of you VB gurus > please point me into the right direction (I'm lazy too) regarding the > best (preferably cheap) tool capable of this - and perhaps a link to > an on-line crash course? > It's only for building dlls, not for programming self contained VB apps. > I don't subscribe to our VB list but guess I should. Is it running as > well as this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Sat Mar 29 11:57:05 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 11:57:05 -0600 Subject: [AccessD] Word Automation merges Message-ID: I'm making some document templates to distribute and if the document is saved with the data showing it shows the last set used until the show data/merge fields switch is switched back and forth. Kind of dismays the end user. I was thinking of just saving the document with the switch set to show merge fields and adding a command to the autmation that switched it over to view the data. (Manually this works OK.) Anyone know what the Word command is to switch between these modes? Anyone have a better idea? A97 and W97 TIA JB From artful at rogers.com Sat Mar 29 11:47:05 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:47:05 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: <029201c2f61b$36a30b40$8e01a8c0@Rock> That does the trick! Thanks a bunch. A. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 29, 2003 11:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Arthur, Here's a modified version if something I downloaded from PlanetSourceCode a while back, it allows you to specify the initial folder that's selected and you can specify the text that appears for the user. Chris Mackin Denver Database Consulting, LLC www.denverdb.com '******************************* Option Compare Database Option Explicit Private Const BIF_RETURNONLYFSDIRS = 1 Private Const BIF_DONTGOBELOWDOMAIN = 2 Private Const MAX_PATH = 260 Private Declare Function SHBrowseForFolder Lib _ "shell32" (lpbi As BrowseInfo) As Long Private Declare Function SHGetPathFromIDList Lib _ "shell32" (ByVal pidList As Long, ByVal lpBuffer _ As String) As Long 'Private Declare Function lstrcat Lib "kernel32" _ Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As String) As Long Private Type BrowseInfo hWndOwner As Long pidlRoot As Long pszDisplayName As Long strTitle As String ulFlags As Long lpfnCallback As Long lParam As Long iImage As Long End Type Public Const LMEM_FIXED = &H0 'added Public Const LMEM_ZEROINIT = &H40 'added Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added Public Declare Function LocalAlloc Lib "kernel32" _ (ByVal uFlags As Long, _ ByVal uBytes As Long) As Long 'added Public Declare Function LocalFree Lib "kernel32" _ (ByVal hMem As Long) As Long 'added Public Declare Function lstrcpyA Lib "kernel32" _ (lpString1 As Any, lpString2 As Any) As Long 'added Public Declare Function lstrlenA Lib "kernel32" _ (lpString As Any) As Long 'added Public Declare Sub CopyMemory Lib "kernel32" _ Alias "RtlMoveMemory" _ (pDest As Any, _ pSource As Any, _ ByVal dwLength As Long) 'added Public Const BFFM_INITIALIZED = 1 'added Public Const WM_USER = &H400 'added 'Selects the specified folder. If the wParam 'parameter is FALSE, the lParam parameter is the 'PIDL of the folder to select , or it is the path 'of the folder if wParam is the C value TRUE (or 1). 'Note that after this message is sent, the browse 'dialog receives a subsequent BFFM_SELECTIONCHANGED 'message. Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const BFFM_SETSELECTIONW As Long = (WM_USER + 103) Public Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Any) As Long Public Function GetFolder(strPath As String, Optional strTitle As String = "Select Folder") As String Dim lpIDList As Long Dim sBuffer As String Dim szTitle As String Dim lpPath As Long Dim tBrowseInfo As BrowseInfo With tBrowseInfo .hWndOwner = Application.hWndAccessApp .pidlRoot = 0 .strTitle = strTitle .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) lpPath = LocalAlloc(LPTR, Len(strPath) + 1) CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 .lParam = lpPath End With lpIDList = SHBrowseForFolder(tBrowseInfo) If (lpIDList) Then sBuffer = Space(MAX_PATH) SHGetPathFromIDList lpIDList, sBuffer sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If GetFolder = sBuffer End Function Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ ByVal uMsg As Long, _ ByVal lParam As Long, _ ByVal lpData As Long) As Long 'Callback for the Browse STRING method. 'On initialization, set the dialog's 'pre-selected folder from the pointer 'to the path allocated as bi.lParam, 'passed back to the callback as lpData param. Select Case uMsg Case BFFM_INITIALIZED Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) Case Else End Select End Function Private Function FARPROC(pfn As Long) As Long 'This workaround is needed as you can't assign 'AddressOf directly to a member of a user- 'defined type, but you can assign it to another 'long and use that (as returned here) FARPROC = pfn End Function '************************************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, March 29, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Mar 29 11:50:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 29 Mar 2003 12:50:30 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: <029301c2f61b$b0553800$8e01a8c0@Rock> Doesn't fail for me either (winXP). Only limit I noticed is the code won't let you create a directory -- but in the current circumstance I can live with that. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Mackin Sent: March 29, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Gustav, To be honest I have no idea why that part of the code would fail for you. If it matters I'm running A2k on a Win2k box. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, March 29, 2003 9:55 AM To: Chris Mackin Subject: Re: [AccessD] Code to get a directory name via navigation Hi Chris Great! Never located a function where the initial folder could be set. However, this line fails: .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) How should BrowseCallbackProcStr() be called and when? /gustav > Here's a modified version if something I downloaded from > PlanetSourceCode a > while back, it allows you to specify the initial folder that's > selected and > you can specify the text that appears for the user. > Chris Mackin > Denver Database Consulting, LLC > www.denverdb.com > '******************************* > Option Compare Database > Option Explicit > Private Const BIF_RETURNONLYFSDIRS = 1 > Private Const BIF_DONTGOBELOWDOMAIN = 2 > Private Const MAX_PATH = 260 > Private Declare Function SHBrowseForFolder Lib _ > "shell32" (lpbi As BrowseInfo) As Long > Private Declare Function SHGetPathFromIDList Lib _ > "shell32" (ByVal pidList As Long, ByVal lpBuffer _ > As String) As Long > 'Private Declare Function lstrcat Lib "kernel32" _ > Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As > String) As Long > Private Type BrowseInfo > hWndOwner As Long > pidlRoot As Long > pszDisplayName As Long > strTitle As String > ulFlags As Long > lpfnCallback As Long > lParam As Long > iImage As Long > End Type > Public Const LMEM_FIXED = &H0 'added > Public Const LMEM_ZEROINIT = &H40 'added > Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added > Public Declare Function LocalAlloc Lib "kernel32" _ > (ByVal uFlags As Long, _ > ByVal uBytes As Long) As Long 'added > Public Declare Function LocalFree Lib "kernel32" _ > (ByVal hMem As Long) As Long 'added > Public Declare Function lstrcpyA Lib "kernel32" _ > (lpString1 As Any, lpString2 As Any) As Long 'added > Public Declare Function lstrlenA Lib "kernel32" _ > (lpString As Any) As Long 'added > Public Declare Sub CopyMemory Lib "kernel32" _ > Alias "RtlMoveMemory" _ > (pDest As Any, _ > pSource As Any, _ > ByVal dwLength As Long) 'added > Public Const BFFM_INITIALIZED = 1 'added > Public Const WM_USER = &H400 'added > 'Selects the specified folder. If the wParam > 'parameter is FALSE, the lParam parameter is the > 'PIDL of the folder to select , or it is the path > 'of the folder if wParam is the C value TRUE (or 1). > 'Note that after this message is sent, the browse > 'dialog receives a subsequent BFFM_SELECTIONCHANGED > 'message. > Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const > BFFM_SETSELECTIONW As Long = (WM_USER + 103) > Public Declare Function SendMessage Lib "user32" _ > Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ > ByVal wParam As Long, lParam As Any) As Long > Public Function GetFolder(strPath As String, Optional strTitle As > String = "Select Folder") As String Dim lpIDList As Long > Dim sBuffer As String > Dim szTitle As String > Dim lpPath As Long > Dim tBrowseInfo As BrowseInfo > With tBrowseInfo > .hWndOwner = Application.hWndAccessApp > .pidlRoot = 0 > .strTitle = strTitle > .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN > .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) > lpPath = LocalAlloc(LPTR, Len(strPath) + 1) > CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 > .lParam = lpPath > End With > lpIDList = SHBrowseForFolder(tBrowseInfo) > If (lpIDList) Then > sBuffer = Space(MAX_PATH) > SHGetPathFromIDList lpIDList, sBuffer > sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If > GetFolder = sBuffer > End Function > Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ > ByVal uMsg As Long, _ > ByVal lParam As Long, _ > ByVal lpData As Long) As Long > 'Callback for the Browse STRING method. > 'On initialization, set the dialog's > 'pre-selected folder from the pointer > 'to the path allocated as bi.lParam, > 'passed back to the callback as lpData param. > Select Case uMsg > Case BFFM_INITIALIZED > Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) > Case Else > End Select > End Function > Private Function FARPROC(pfn As Long) As Long > 'This workaround is needed as you can't assign > 'AddressOf directly to a member of a user- > 'defined type, but you can assign it to another > 'long and use that (as returned here) > FARPROC = pfn > End Function > '************************************************* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Sat Mar 29 12:10:32 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 13:10:32 -0500 Subject: [AccessD] Word Automation merges References: Message-ID: <056601c2f61e$7e5b2730$6401a8c0@default> This might help Code for Word templates... http://www.mvps.org/access/modules/mdl0043.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "AccessD" Sent: Saturday, March 29, 2003 12:57 PM Subject: [AccessD] Word Automation merges > I'm making some document templates to distribute and if the document is > saved with the data showing it shows the last set used until the show > data/merge fields switch is switched back and forth. Kind of dismays the end > user. > > I was thinking of just saving the document with the switch set to show merge > fields and adding a command to the autmation that switched it over to view > the data. (Manually this works OK.) Anyone know what the Word command is to > switch between these modes? > > Anyone have a better idea? > > A97 and W97 > > TIA > JB > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From subs at solution-providers.ie Sat Mar 29 12:10:11 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Sat, 29 Mar 2003 18:10:11 -0000 Subject: [AccessD] Serial Communications - Cross Posted VB and Access References: Message-ID: <007201c2f61e$71192400$11ff869f@D8TZHN0J> Thanks John, I did download some code from PSC and it is using mscomm.dll. I guess I just wondered was there a wrapper for the wrapper. A heavy duty cardboard box with glossy shiney paper over the plastic bag the product comes in. I will probably use the mscomm, I was just worried that I will lose some of the data, I am aware enough that I do not know enough about buffers etc to gurantee that it is bullet proof Thanks anyway, Mark ----- Original Message ----- From: John W. Colby To: accessd at databaseadvisors.com Sent: Friday, March 28, 2003 10:33 PM Subject: RE: [AccessD] Serial Communications - Cross Posted VB and Access Mark, Whenever I need to do serial stuff I use the mscomm.dll that comes with VB. It "listens" to one comm port, but it also raises events for all the things that need attention. I then wrap that in my own WithEvents class to do anything specific I need to do. Other than this Dll I don't know of any brilliant software. I used to use something called CrystalComm that was a library written in C I believe and provided all of the various functions need to initialize and manipulate the com ports as well as transfer files using the old transfer protocols from the late 80s & early 90s. Not sure if it is even available anymore. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, March 28, 2003 2:30 PM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [AccessD] Serial Communications - Cross Posted VB and Access Hello All, I have to receive serial communications from a scanner and compare it to the data that was just printed. I have downloaded a few different bits of software from www.planet-source-code.com that all work to a lesser or greater extent. Basically, at this stage I can receive data from the serial port. However, the client is happy to purchase an OCX or some other such tools to enhance the reliability of this project. There are a few utilities out there for between Euro 100 and Euro 500. The purpose of this email is to ask you guys have you used any such tools or utilities and if so, would you care to pass on the details? To state my question again, I can listen to the serial port now, but I just wondered was there some brialliant piece of software that I simply should not ignore. As usual, thanks in advance for your time and attention, Mark Breen Solution Providers Ireland ------------------------------------------------------------------------------ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Sat Mar 29 12:14:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 10:14:43 -0800 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: Message-ID: Hi Jaun and others: I have been using a similar function for years but, while we are on the subject, the dialog window always pops up in the top left corner of the screen. My question is, is there a way to control the dialog windows position of the current screen??? Like say, center of the screen.(?) I would greatly appreciate anyone's insight into this annoying little problem. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Saturday, March 29, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation We don't know any control for this, but we use Common Dialog control to take a file, then InstrRev from the file that they select using the \(slash position) right in the Filename indicate. See the code Function RetrieveDirName(InitialDir as string) as string Screen.PreviousControl.SetFocus CtrlCmmDialog.DialogTitle = "Select a file" CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" CtrlCmmDialog.DefaultExt = ".*" CtrlCmmDialog.Filename = "" CtrlCmmDialog.InitDir = InitialDir CtrlCmmDialog.ShowOpen If CtrlCmmDialog.Filename <> "" Then RetrieveDirName = Left(CtrlCmmDialog.Filename, InStrRev(CtrlCmmDialog.Filename, "\") - 1) else retrieveDiaName="NULL" End If Exit Function End Function Sometimes we use the FileSearch control if know the name of the file that need its DirName Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller Enviado el: s?bado, 29 de marzo de 2003 16:16 Para: accessd at databaseadvisors.com Asunto: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 29 12:20:31 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 19:20:31 +0100 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <029301c2f61b$b0553800$8e01a8c0@Rock> References: <029301c2f61b$b0553800$8e01a8c0@Rock> Message-ID: <14534137487.20030329192031@cactus.dk> Hi Arthur So what does your code look like? How do you set/pick this variable? /gustav > Doesn't fail for me either (winXP) .. >> '******************************* >> Option Compare Database >> Option Explicit >> Private Const BIF_RETURNONLYFSDIRS = 1 >> Private Const BIF_DONTGOBELOWDOMAIN = 2 >> Private Const MAX_PATH = 260 >> Private Declare Function SHBrowseForFolder Lib _ >> "shell32" (lpbi As BrowseInfo) As Long >> Private Declare Function SHGetPathFromIDList Lib _ >> "shell32" (ByVal pidList As Long, ByVal lpBuffer _ >> As String) As Long >> 'Private Declare Function lstrcat Lib "kernel32" _ >> Alias "lstrcatA" (ByVal lpString1 As String, ByVal _ lpString2 As >> String) As Long >> Private Type BrowseInfo >> hWndOwner As Long >> pidlRoot As Long >> pszDisplayName As Long >> strTitle As String >> ulFlags As Long >> lpfnCallback As Long >> lParam As Long >> iImage As Long >> End Type >> Public Const LMEM_FIXED = &H0 'added >> Public Const LMEM_ZEROINIT = &H40 'added >> Public Const LPTR = (LMEM_FIXED Or LMEM_ZEROINIT) 'added >> Public Declare Function LocalAlloc Lib "kernel32" _ >> (ByVal uFlags As Long, _ >> ByVal uBytes As Long) As Long 'added >> Public Declare Function LocalFree Lib "kernel32" _ >> (ByVal hMem As Long) As Long 'added >> Public Declare Function lstrcpyA Lib "kernel32" _ >> (lpString1 As Any, lpString2 As Any) As Long 'added >> Public Declare Function lstrlenA Lib "kernel32" _ >> (lpString As Any) As Long 'added >> Public Declare Sub CopyMemory Lib "kernel32" _ >> Alias "RtlMoveMemory" _ >> (pDest As Any, _ >> pSource As Any, _ >> ByVal dwLength As Long) 'added >> Public Const BFFM_INITIALIZED = 1 'added >> Public Const WM_USER = &H400 'added >> 'Selects the specified folder. If the wParam >> 'parameter is FALSE, the lParam parameter is the >> 'PIDL of the folder to select , or it is the path >> 'of the folder if wParam is the C value TRUE (or 1). >> 'Note that after this message is sent, the browse >> 'dialog receives a subsequent BFFM_SELECTIONCHANGED >> 'message. >> Public Const BFFM_SETSELECTIONA As Long = (WM_USER + 102) Public Const >> BFFM_SETSELECTIONW As Long = (WM_USER + 103) >> Public Declare Function SendMessage Lib "user32" _ >> Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ >> ByVal wParam As Long, lParam As Any) As Long >> Public Function GetFolder(strPath As String, Optional strTitle As >> String = "Select Folder") As String Dim lpIDList As Long >> Dim sBuffer As String >> Dim szTitle As String >> Dim lpPath As Long >> Dim tBrowseInfo As BrowseInfo >> With tBrowseInfo >> .hWndOwner = Application.hWndAccessApp >> .pidlRoot = 0 >> .strTitle = strTitle >> .ulFlags = BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN >> .lpfnCallback = FARPROC(AddressOf BrowseCallbackProcStr) >> lpPath = LocalAlloc(LPTR, Len(strPath) + 1) >> CopyMemory ByVal lpPath, ByVal strPath, Len(strPath) + 1 >> .lParam = lpPath >> End With >> lpIDList = SHBrowseForFolder(tBrowseInfo) >> If (lpIDList) Then >> sBuffer = Space(MAX_PATH) >> SHGetPathFromIDList lpIDList, sBuffer >> sBuffer = Left(sBuffer, InStr(sBuffer, vbNullChar) - 1) End If >> GetFolder = sBuffer >> End Function >> Private Function BrowseCallbackProcStr(ByVal hWnd As Long, _ >> ByVal uMsg As Long, _ >> ByVal lParam As Long, _ >> ByVal lpData As Long) As Long >> 'Callback for the Browse STRING method. >> 'On initialization, set the dialog's >> 'pre-selected folder from the pointer >> 'to the path allocated as bi.lParam, >> 'passed back to the callback as lpData param. >> Select Case uMsg >> Case BFFM_INITIALIZED >> Call SendMessage(hWnd, BFFM_SETSELECTIONA, True, ByVal lpData) >> Case Else >> End Select >> End Function >> Private Function FARPROC(pfn As Long) As Long >> 'This workaround is needed as you can't assign >> 'AddressOf directly to a member of a user- >> 'defined type, but you can assign it to another >> 'long and use that (as returned here) >> FARPROC = pfn >> End Function >> '************************************************* From martyconnelly at shaw.ca Sat Mar 29 12:19:23 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:19:23 -0800 Subject: [AccessD] Code to render ShortFileName References: <028801c2f619$42d2ed10$8e01a8c0@Rock> Message-ID: <3E85E3AB.50301@shaw.ca> Here is code to translate short and long filenames http://www.mvps.org/access/api/api0020.htm Are you writing the same code as me, seems like you are following me to the same spots, I am writing routine to create a directory file structure from a hierarchical table structure to place files. Arthur Fuller wrote: >Anybody got code to paste into Access that derives a short file name (i.e. >everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? >Ideally, I would like to use the ADH code to grab a filename then call a >function that shortens the filename appropriately. > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sat Mar 29 12:26:43 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:26:43 -0800 Subject: [AccessD] OT: VB dll rookie References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> Message-ID: <3E85E563.1090209@shaw.ca> An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Sat Mar 29 12:37:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Mar 2003 10:37:05 -0800 Subject: [AccessD] OT: VB dll rookie References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> <3E85E563.1090209@shaw.ca> Message-ID: <3E85E7D1.3060305@shaw.ca> An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Sat Mar 29 12:44:27 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 13:44:27 -0500 Subject: [AccessD] Code to get a directory name via navigation References: Message-ID: <058101c2f623$3c0df0b0$6401a8c0@default> Hi Jim Since common dialogs seem to position themselves in the upper left of the hwndOwner, the solution is to open a form dedicated to common dialogs and then position the form before calling the dialog. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Saturday, March 29, 2003 1:14 PM Subject: RE: [AccessD] Code to get a directory name via navigation > Hi Jaun and others: > > I have been using a similar function for years but, while we are on the > subject, the dialog window always pops up in the top left corner of the > screen. My question is, is there a way to control the dialog windows > position of the current screen??? Like say, center of the screen.(?) > > I would greatly appreciate anyone's insight into this annoying little > problem. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV > Sent: Saturday, March 29, 2003 8:19 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Code to get a directory name via navigation > > > We don't know any control for this, but we use Common Dialog control to take > a file, then InstrRev from the file that they select using the \(slash > position) right in the Filename indicate. > > See the code > Function RetrieveDirName(InitialDir as string) as string > Screen.PreviousControl.SetFocus > CtrlCmmDialog.DialogTitle = "Select a file" > CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" > CtrlCmmDialog.DefaultExt = ".*" > CtrlCmmDialog.Filename = "" > CtrlCmmDialog.InitDir = InitialDir > CtrlCmmDialog.ShowOpen > If CtrlCmmDialog.Filename <> "" Then > RetrieveDirName = Left(CtrlCmmDialog.Filename, > InStrRev(CtrlCmmDialog.Filename, "\") - 1) > else > retrieveDiaName="NULL" > End If > Exit Function > End Function > > > Sometimes we use the FileSearch control if know the name of the file that > need its DirName > > Regards > > Juan Menendez > Mastercafe SL > > -----Mensaje original----- > De: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller > Enviado el: s?bado, 29 de marzo de 2003 16:16 > Para: accessd at databaseadvisors.com > Asunto: [AccessD] Code to get a directory name via navigation > > > I have the ADH code that lets you pick a filename by nivagating to it, but > it seems none of the args lets you request a directory name instead of a > filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just > have to find it.) > > TIA, > Arthur > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 29 13:10:48 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 13:10:48 -0600 Subject: [AccessD] Word Automation merges In-Reply-To: <056601c2f61e$7e5b2730$6401a8c0@default> Message-ID: Not what I'm looking for. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, March 29, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Word Automation merges This might help Code for Word templates... http://www.mvps.org/access/modules/mdl0043.htm Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: "AccessD" Sent: Saturday, March 29, 2003 12:57 PM Subject: [AccessD] Word Automation merges > I'm making some document templates to distribute and if the document is > saved with the data showing it shows the last set used until the show > data/merge fields switch is switched back and forth. Kind of dismays the end > user. > > I was thinking of just saving the document with the switch set to show merge > fields and adding a command to the autmation that switched it over to view > the data. (Manually this works OK.) Anyone know what the Word command is to > switch between these modes? > > Anyone have a better idea? > > A97 and W97 > > TIA > JB > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Mar 29 12:48:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Mar 2003 19:48:00 +0100 Subject: [AccessD] OT: VB dll rookie In-Reply-To: <3E85E7D1.3060305@shaw.ca> References: <22F1CCD5171D17419CB37FEEE09D5F99D85714@TTNEXCHSRV1.hshhp.com> <3E85E563.1090209@shaw.ca> <3E85E7D1.3060305@shaw.ca> Message-ID: <17335786498.20030329194800@cactus.dk> Thanks Marty! > One other thing about VB 6 you can get CD via downgrading. /gustav From michael.mattys at adelphia.net Sat Mar 29 13:02:17 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 29 Mar 2003 14:02:17 -0500 Subject: [AccessD] Word Automation merges References: Message-ID: <059201c2f625$b8595400$6401a8c0@default> John, You could try SendKeys "{F9}" Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Saturday, March 29, 2003 2:10 PM Subject: RE: [AccessD] Word Automation merges > Not what I'm looking for. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Saturday, March 29, 2003 12:11 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Word Automation merges > > > This might help > > Code for Word templates... > http://www.mvps.org/access/modules/mdl0043.htm > > Michael R. Mattys > www.mattysconsulting.com > > ----- Original Message ----- > From: "John Bartow" > To: "AccessD" > Sent: Saturday, March 29, 2003 12:57 PM > Subject: [AccessD] Word Automation merges > > > > I'm making some document templates to distribute and if the document is > > saved with the data showing it shows the last set used until the show > > data/merge fields switch is switched back and forth. Kind of dismays the > end > > user. > > > > I was thinking of just saving the document with the switch set to show > merge > > fields and adding a command to the autmation that switched it over to view > > the data. (Manually this works OK.) Anyone know what the Word command is > to > > switch between these modes? > > > > Anyone have a better idea? > > > > A97 and W97 > > > > TIA > > JB > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 29 13:18:03 2003 From: john at winhaven.net (John Bartow) Date: Sat, 29 Mar 2003 13:18:03 -0600 Subject: [AccessD] Word Automation merges In-Reply-To: Message-ID: Found it in Help - once I could get the bloody help to open! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, March 29, 2003 11:57 AM To: AccessD Subject: [AccessD] Word Automation merges I'm making some document templates to distribute and if the document is saved with the data showing it shows the last set used until the show data/merge fields switch is switched back and forth. Kind of dismays the end user. I was thinking of just saving the document with the switch set to show merge fields and adding a command to the autmation that switched it over to view the data. (Manually this works OK.) Anyone know what the Word command is to switch between these modes? Anyone have a better idea? A97 and W97 TIA JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Mar 29 15:27:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 29 Mar 2003 13:27:31 -0800 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <058101c2f623$3c0df0b0$6401a8c0@default> Message-ID: Michael: Thank you for your information. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, March 29, 2003 10:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code to get a directory name via navigation Hi Jim Since common dialogs seem to position themselves in the upper left of the hwndOwner, the solution is to open a form dedicated to common dialogs and then position the form before calling the dialog. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Saturday, March 29, 2003 1:14 PM Subject: RE: [AccessD] Code to get a directory name via navigation > Hi Jaun and others: > > I have been using a similar function for years but, while we are on the > subject, the dialog window always pops up in the top left corner of the > screen. My question is, is there a way to control the dialog windows > position of the current screen??? Like say, center of the screen.(?) > > I would greatly appreciate anyone's insight into this annoying little > problem. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV > Sent: Saturday, March 29, 2003 8:19 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Code to get a directory name via navigation > > > We don't know any control for this, but we use Common Dialog control to take > a file, then InstrRev from the file that they select using the \(slash > position) right in the Filename indicate. > > See the code > Function RetrieveDirName(InitialDir as string) as string > Screen.PreviousControl.SetFocus > CtrlCmmDialog.DialogTitle = "Select a file" > CtrlCmmDialog.Filter = "Al file types (*.*)|*.*" > CtrlCmmDialog.DefaultExt = ".*" > CtrlCmmDialog.Filename = "" > CtrlCmmDialog.InitDir = InitialDir > CtrlCmmDialog.ShowOpen > If CtrlCmmDialog.Filename <> "" Then > RetrieveDirName = Left(CtrlCmmDialog.Filename, > InStrRev(CtrlCmmDialog.Filename, "\") - 1) > else > retrieveDiaName="NULL" > End If > Exit Function > End Function > > > Sometimes we use the FileSearch control if know the name of the file that > need its DirName > > Regards > > Juan Menendez > Mastercafe SL > > -----Mensaje original----- > De: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]En nombre de Arthur Fuller > Enviado el: s?bado, 29 de marzo de 2003 16:16 > Para: accessd at databaseadvisors.com > Asunto: [AccessD] Code to get a directory name via navigation > > > I have the ADH code that lets you pick a filename by nivagating to it, but > it seems none of the args lets you request a directory name instead of a > filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just > have to find it.) > > TIA, > Arthur > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Mar 29 16:40:17 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 30 Mar 2003 08:40:17 +1000 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <028801c2f619$42d2ed10$8e01a8c0@Rock> Message-ID: <3E86AD71.11191.24DA1C@localhost> > Anybody got code to paste into Access that derives a short file name (i.e. > everything shortened to 8 letters ala c:\Progr~1\Micro~1\Micro~2\etc.)? > Ideally, I would like to use the ADH code to grab a filename then call a > function that shortens the filename appropriately. > Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sun Mar 30 06:24:45 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 07:24:45 -0500 Subject: [AccessD] Earth to AccessD Message-ID: <02d901c2f6b7$595cd7a0$8e01a8c0@Rock> Just wondering if everyone's gone fishing. Haven't seen any activity in the past 12 hours. From StaRKeY at Wanadoo.nl Sun Mar 30 06:29:55 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sun, 30 Mar 2003 14:29:55 +0200 Subject: [AccessD] Earth to AccessD In-Reply-To: <02d901c2f6b7$595cd7a0$8e01a8c0@Rock> Message-ID: Arthur, I see this happen almost every weekend... very few emails... but hey it IS the weekend:-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: zondag 30 maart 2003 14:25 To: AccessD Subject: [AccessD] Earth to AccessD Just wondering if everyone's gone fishing. Haven't seen any activity in the past 12 hours. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Message is tested virus free Virus Database (VPS): 28-3-2003 Tested on: 30-3-2003 14:29:55 (c) 2000-2003 ALWIL Software. http://www.avast.com From artful at rogers.com Sun Mar 30 09:22:22 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 10:22:22 -0500 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <3E86AD71.11191.24DA1C@localhost> Message-ID: <02eb01c2f6d0$29514e60$8e01a8c0@Rock> Thanks. I'll take it for a spin right now. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: March 29, 2003 5:40 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: Re: [AccessD] Code to render ShortFileName > Anybody got code to paste into Access that derives a short file name > (i.e. everything shortened to 8 letters ala > c:\Progr~1\Micro~1\Micro~2\etc.)? Ideally, I would like to use the ADH > code to grab a filename then call a function that shortens the > filename appropriately. > Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 30 09:30:09 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 10:30:09 -0500 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <3E86AD71.11191.24DA1C@localhost> Message-ID: <02ec01c2f6d1$3f9b3810$8e01a8c0@Rock> It seems to work well, but I think MS must have changed the rules since I last looked: ? shortpath("e:\program files\microsoft sql server\mssql\data") e:\PROGRA~1\MI6841~1\mssql\data Not that I care; if it works, fine. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: March 29, 2003 5:40 PM To: Arthur Fuller; accessd at databaseadvisors.com Subject: Re: [AccessD] Code to render ShortFileName Here's something I've just written (took all of 2 minutes): Public Declare Function GetShortPathName Lib "kernel32" _ Alias "GetShortPathNameA" _ (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, _ ByVal cchBuffer As Long) _ As Long Function ShortPath(Longpath As String) Dim strShortpath As String * 255 Dim lngResult As Long lngResult = GetShortPathName(Longpath, strShortpath, 255) ShortPath = strShortpath End Function From andy at minstersystems.co.uk Sun Mar 30 11:33:42 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 30 Mar 2003 18:33:42 +0100 Subject: [AccessD] Earth to AccessD In-Reply-To: Message-ID: <000001c2f6e2$82776620$b274d0d5@andypc> There is life out here...but not as you know it. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of StaRKeY > Sent: 30 March 2003 13:30 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Earth to AccessD > > > Arthur, > > I see this happen almost every weekend... very few emails... > but hey it IS the weekend:-) > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Arthur Fuller > Sent: zondag 30 maart 2003 14:25 > To: AccessD > Subject: [AccessD] Earth to AccessD > > > Just wondering if everyone's gone fishing. Haven't seen any > activity in the past 12 hours. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > > --- > > Message is tested virus free > Virus Database (VPS): 28-3-2003 > Tested on: 30-3-2003 14:29:55 > > (c) 2000-2003 ALWIL Software. > http://www.avast.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From chizotz at charter.net Sun Mar 30 12:56:42 2003 From: chizotz at charter.net (Ron Allen) Date: Sun, 30 Mar 2003 12:56:42 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e In-Reply-To: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> References: <20030328095804.CEHA3712.fep03-svc.ttys.com@localhost> Message-ID: <1417795796.20030330125642@charter.net> John, jm, Drew, Paul, all the others, thank you for your replies to my questions. I had the feeling that the monetary compensation side of my arrangement was a bit on the low side. I don't think that all the other benefits I get can be topped, though, and the overriding concern for me is that I am happy working for and with the people I do. I enjoy my job, and normally get out of bed looking forward to the day. I have worked at places where I dreaded the alarm because it meant another day in hell was starting, and that is no way to live. So for the moment at least I'm satisfied, all things considered. From rusty.hammond at cpiqpc.com Sun Mar 30 13:14:30 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 30 Mar 2003 13:14:30 -0600 Subject: [AccessD] Code to get a directory name via navigation Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBC05@cpixchng-1.cpiqpc.net> Arthur, Just fyi, the ADH (A2K Desktop Edition) talks about how the windows common dialog does not support getting just a path but that you can use the Office File Open/File Save common dialog to do this. I just happened to be needing this same info today. I found it on pages 1253 and 1254. Rusty -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, March 29, 2003 9:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to get a directory name via navigation I have the ADH code that lets you pick a filename by nivagating to it, but it seems none of the args lets you request a directory name instead of a filename. Anyone have code to do this? (Or if it's elsewhere in ADH I just have to find it.) TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Mar 30 13:17:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:17:20 -0500 Subject: [AccessD] Earth to AccessD In-Reply-To: <000001c2f6e2$82776620$b274d0d5@andypc> Message-ID: <032501c2f6f0$fc878900$8e01a8c0@Rock> I don't know anything about life, Andy, except that it's what happens while you're making plans. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: March 30, 2003 12:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Earth to AccessD There is life out here...but not as you know it. Andy Lacey http://www.minstersystems.co.uk From artful at rogers.com Sun Mar 30 13:24:16 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:24:16 -0500 Subject: [AccessD] Code to get a directory name via navigation In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A4EBC05@cpixchng-1.cpiqpc.net> Message-ID: <032801c2f6f1$f409a820$8e01a8c0@Rock> Thanks for the pointer. I will re-read said pages. "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: March 30, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Code to get a directory name via navigation Arthur, Just fyi, the ADH (A2K Desktop Edition) talks about how the windows common dialog does not support getting just a path but that you can use the Office File Open/File Save common dialog to do this. I just happened to be needing this same info today. I found it on pages 1253 and 1254. Rusty From artful at rogers.com Sun Mar 30 13:28:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 30 Mar 2003 14:28:20 -0500 Subject: [AccessD] OT: Outlook question Message-ID: <032901c2f6f2$8605c9c0$8e01a8c0@Rock> I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur From sgoodhall at comcast.net Sun Mar 30 13:57:41 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 30 Mar 2003 14:57:41 -0500 Subject: [AccessD] OT: Outlook question In-Reply-To: <032901c2f6f2$8605c9c0$8e01a8c0@Rock> Message-ID: Yes you can. You need to have the Outlook files (.ost, .pst, .pab) on a network drive and map it from each of the systems. I have a drive mapped directly to the mail file directory so I don't have to worry about paths. I don't believe you will be able to have Outlook open on more than one system at a time. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, March 30, 2003 2:28 PM To: AccessD Subject: [AccessD] OT: Outlook question I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sun Mar 30 14:33:24 2003 From: john at winhaven.net (John Bartow) Date: Sun, 30 Mar 2003 14:33:24 -0600 Subject: [AccessD] OT: Outlook question In-Reply-To: Message-ID: Also, if you do it this way, make sure you have your network connection up before opening Outlook. Otherwise it gets ugly. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Goodhall Sent: Sunday, March 30, 2003 1:58 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Outlook question Yes you can. You need to have the Outlook files (.ost, .pst, .pab) on a network drive and map it from each of the systems. I have a drive mapped directly to the mail file directory so I don't have to worry about paths. I don't believe you will be able to have Outlook open on more than one system at a time. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, March 30, 2003 2:28 PM To: AccessD Subject: [AccessD] OT: Outlook question I have 3 development boxes, all of which have winXP installed, plus Office (one box I keep in Office 2000 mode, the other two are in Office 2002 mode). Question: Can I point all instances of Outlook at the same Outlook file? Such that I can see all messages, and reply to any, from any box that I happen to be working on, without redundancy and file-locking issues? If so, how so? At the moment, I only grab email from one box, but this sucks. I want to be able to share a single Outlook file system from all three boxes, and reply or send new from any box, and see the current data from any box. Anyone done this? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Mar 30 17:03:36 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Mar 2003 09:03:36 +1000 Subject: [AccessD] Code to render ShortFileName In-Reply-To: <02ec01c2f6d1$3f9b3810$8e01a8c0@Rock> References: <3E86AD71.11191.24DA1C@localhost> Message-ID: <3E880468.10689.2F4CE5@localhost> > It seems to work well, but I think MS must have changed the rules since I > last looked: > > ? shortpath("e:\program files\microsoft sql server\mssql\data") > e:\PROGRA~1\MI6841~1\mssql\data > > Looks like it. They've probably found that some people have more than 9 directories starting with the name Microsoft in Program Files, thanks to their brilliant default directory naming scheme. I just ran a test on my E:\Program Files (W2k, NTFS) I've got four directories that start with tthe word Microsoft that return ...\MICROS~x\ Anything new I add now that starts with "Micros" gets MI and a four digit hex number. Later: This got ime interested so I just did a search: http://www.microsoft.com/technet/prodtechnol/windows2000pro/reskit/part3/proch17.as p "Windows NT and Windows 2000 do not use the same algorithm to create long and short file names as Windows 95 and Windows 98. However, on computers that use a multiple-boot process to start these operating systems, files that you create when running one operating system can be accessed when running another." ..... "When there are five or more files that can result in duplicate short file names, Windows 2000 uses a slightly different method for creating short file names. For the fifth and subsequent files, Windows 2000: Uses only the first two letters of the LFN. Generates the next four letters of the short file name by mathematically manipulating the remaining letters of the LFN. Appends ~1 (or another number, if necessary, to avoid a duplicate file name) to the result. This method substantially improves performance when Windows 2000 must create short file names for a large number of files with similar LFNs. Windows 2000 uses this method to create short names for files on both FAT and NTFS volumes. " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From d.dick at uws.edu.au Sun Mar 30 18:40:42 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 31 Mar 2003 10:40:42 +1000 Subject: [AccessD] A2K: Send Email with HTML body Message-ID: Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren From mastercafe at ctv.es Sun Mar 30 20:01:26 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon, 31 Mar 2003 04:01:26 +0200 Subject: [AccessD] A2K: Send Email with HTML body In-Reply-To: Message-ID: We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: fathsmtp.hlp Type: application/octet-stream Size: 16948 bytes Desc: not available URL: From harkins at iglou.com Sun Mar 30 19:51:08 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 30 Mar 2003 20:51:08 -0500 Subject: [AccessD] VBE Message-ID: <001c01c2f72a$637f4f10$f1ecffcc@SusanOne> Did the VBE first show up in 97 or 2000? Susan H. From jcolby at ColbyConsulting.com Sun Mar 30 20:13:03 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Sun, 30 Mar 2003 21:13:03 -0500 Subject: [AccessD] VBE In-Reply-To: <001c01c2f72a$637f4f10$f1ecffcc@SusanOne> Message-ID: 2k John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, March 30, 2003 8:51 PM To: AccessD at databaseadvisors.com Subject: [AccessD] VBE Did the VBE first show up in 97 or 2000? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1756 bytes Desc: not available URL: From d.dick at uws.edu.au Sun Mar 30 20:45:07 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 31 Mar 2003 12:45:07 +1000 Subject: [AccessD] A2K: Send Email with HTML body In-Reply-To: Message-ID: Thanks Juan But I wanted to do it all from Access not from HTM Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Monday, 31 March 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 31 07:37:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 08:37:45 -0500 Subject: [AccessD] Replication - A2K Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571C@TTNEXCHSRV1.hshhp.com> Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Mon Mar 31 07:41:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 08:41:16 -0500 Subject: [AccessD] A2K: Send Email with HTML body Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571D@TTNEXCHSRV1.hshhp.com> If you are using Outlook you can automate the creation of the message and set the HTMLBody (probably misnamed here) to your HTML code. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Sunday, March 30, 2003 9:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body Thanks Juan But I wanted to do it all from Access not from HTM Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MastercafeCTV Sent: Monday, 31 March 2003 12:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Send Email with HTML body We are using Fath Software control to send mail and runs perfectly. Admir Hodzic Fath Software www.fathsoft.com fathsoft at fathsoft.com Check this person if you need some questions about the control. We include the main help where you can look that HTML format is possible. We know this company because we use its control to develope our solutions. Regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Darren DICK Enviado el: lunes, 31 de marzo de 2003 02:41 Para: AccessD List Asunto: [AccessD] A2K: Send Email with HTML body Hello all How do I send an email with HTML 'embedded' into the body of the email? All from within Access. You know the types of email I mean...? the Ones we all get as SPAM, that when we preview them they 'appear' as a web page in our preview panes. Will I have to buy a 3rd party control OCX etc? 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 electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From canalesh at bsci.com Mon Mar 31 08:13:42 2003 From: canalesh at bsci.com (Canales, Hector) Date: Mon, 31 Mar 2003 09:13:42 -0500 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <710D973D39A2D111A5EE00805F9FD2BB021C6363@quipr1.bscexc1.bsci.com> Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector From Jdemarco at hshhp.org Mon Mar 31 08:24:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 09:24:01 -0500 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8571F@TTNEXCHSRV1.hshhp.com> Try the Mid function: sEmpCode = Mid$(sBarCode, 2, Len(sBardcode) - 3) HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Canales, Hector [mailto:canalesh at bsci.com] Sent: Monday, March 31, 2003 9:14 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From paul.hartland at fsmail.net Mon Mar 31 08:24:13 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 31 Mar 2003 14:24:13 +0000 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: <20030331142413.GPAG3950.fep04-svc.ttys.com@localhost> Try some code similar to the following myfield = mid(barcode,2,len(trim(barcode))-3) Paul From: "Canales, Hector" Date: Mon 31/Mar/2003 14:13 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Mon Mar 31 08:25:38 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 31 Mar 2003 08:25:38 -0600 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? Message-ID: Hi Hector, Have a look at the Mid function. Mid(fieldname,starting position,length) mid(yourfield,2,7) would give you positions 2 through 8 of your 10 character scan result field. You can get more involved by also combining Mid with Len or InStr functions to make it more flexible, but if your fields are always the same length you maybe don't need to. Good luck, Gary Kjos garykjos at hotmail.com >From: "Canales, Hector" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] How to subtract first digit and last two numbers from a >barcode? Date: Mon, 31 Mar 2003 09:13:42 -0500 > > Hi List, >I need help, I am creating a combo box where the user will scan an employee >ID and the ID number needs to mach with the employee ID on the >tblEmployees. >The problem is that the barcode it has extra numbers. >Example: >%061207502 (This is what scans) >0612075 (this are the numbers that I need) >%1008937007 (This is what scans) >10089370 (this are the numbers that I need) >%100239505 (This is what scans) >1002395 (this are the numbers that I need) >%0601443503 (This is what scans) >06014435 (this are the numbers that I need) > >How can I tell Access to subtract the first digit (%) and the last 2 >numbers >(XX), and >Just match the reaming numbers? >It is the first time I am working with Access, it could be something simple >but I'm having a hard time. > >Thank you, >Hector >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From mastercafe at ctv.es Mon Mar 31 08:39:11 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon, 31 Mar 2003 16:39:11 +0200 Subject: [AccessD] How to subtract first digit and last two numbers from a barcode? In-Reply-To: <710D973D39A2D111A5EE00805F9FD2BB021C6363@quipr1.bscexc1.bsci.com> Message-ID: Take only the middle text, see the code mid(txtString, 2,7) with this take part from txtString regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Canales, Hector Enviado el: lunes, 31 de marzo de 2003 16:14 Para: 'accessd at databaseadvisors.com' Asunto: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 31 09:32:57 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 31 Mar 2003 16:32:57 +0100 Subject: [AccessD] Updating queries with linked tables Message-ID: <61F915314798D311A2F800A0C9C8318803956689@dibble.observatory.donnslaw.co.uk> Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 09:43:12 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 09:43:12 -0600 Subject: [AccessD] Updating queries with linked tables Message-ID: Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz From szeller at cce.umn.edu Mon Mar 31 09:45:00 2003 From: szeller at cce.umn.edu (Susan Zeller) Date: Mon, 31 Mar 2003 09:45:00 -0600 Subject: [AccessD] Sql 7 - Corrupt Views ... continued Message-ID: Tom, First of all, I still have no idea what is causing your problem. But, here's a few comments. I have moved to creating all views in Query Analyzer. I've found that EM doesn't let me do as fancy of syntax as I want. It often balks at even simple case statements. The same thing in QA creats and executes just fine. Also, you can sort in a view. You just need to add "Select Top 100 Percent" before your field list. --Susan -----Original Message----- From: Tom Adams [mailto:tomadatn at bellsouth.net] Sent: Friday, March 28, 2003 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Sql 7 - Corrupt Views ... continued I've posted a couple of items asking if anyone has had any problems with Sql 7 and corrupt views. So far no one else seems to have found this bug/feature. Plowing ahead with this first in the universe coverage (you heard it here first folks!), I thought I'd bring you up to date. At first I thought it might be caused by Access 2000 ADP. I used both that and the Enterprise manager to make changes in views. I then decided to eliminate the Access question by never changing a view with Access, just using it to review data (Being able to sort is absolutely essential in my opinion. Although the view can not be sorted, you can move columns around and then wipe as many as you wish and hit the A-Z button. Wonderful really.). I can now report that I am still hitting corrupt views. However they're a little different now. Now I open them (it's mainly one complicated view now) in Enterprise Manager and the Sql view looks corrupt. It cuts off before the From and following parts. However it runs ok (Previously the view looked ok but showed bad data. Any change at that point would correct it - eg. take out a field and put it back in.) Note that I can still generate Sql scripts from the database window and the scripts are just fine. Now when I delete the Sql statements that show in the EM, and paste the old complete code back in, it looks ok in design, and will run ok with the !, but when I save it and reopen in Design it looks corrupt again. I will test deleting the View, closing the EM, the reopening and recreating with Sql Server Query Analyzer. One poster recommended that. Sql Server is running on an NT 4 server with the latest NT service pack installed. It jammed up about a week ago and the Administrator brought the server all the way down and back up then did some Admin clean up stuff. I'm working on a database maintained by Epicor (formerly platinum) with about 1,000 tables. Note: I usually combine all the fields and apply universal criteria in a "Base" query, then use it in other specilized queries. When the Base query corrupted (Sql looked good, data looked like poo-poo, I found I had to revise the other queries using it to fix the problem all down the line. Now that the corruption has changed (data looks good, Sql looks like poo-poo) I find I don't have to fix the downline views. Note2: A few tables have too many indexes to link to from an Access Mdb. I found that I can make a view, showing all fields with the table name & "_vw" and get by the index problem. Note3: I've really gotten to like the ADP. It's much more flexible, faster and easier to use for a variety of development tasks. However I also use an Mdb from time to time. Eg. I created a view and wanted to show the records where field 1 didn't equal field 2. I couldn't seem to do it in a view directly so I just exported the view to excel, imported the excel file into an Mdb, and added the criteria and had the answer in about a minute. I might learn how to do that later in an Adp but got the job done quickly by using an Mdb. If anyone has any comments or experience with this I'd appreciate hearing from them. Tom (Viva la Access!!! Long live Jet!!!!) Adams _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Mar 31 10:00:32 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 31 Mar 2003 17:00:32 +0100 Subject: [AccessD] Updating queries with linked tables Message-ID: <61F915314798D311A2F800A0C9C831880395668E@dibble.observatory.donnslaw.co.uk> Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 10:00:35 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 11:00:35 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com From CWortz at tea.state.tx.us Mon Mar 31 10:11:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 10:11:00 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com From harkins at iglou.com Mon Mar 31 10:20:11 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 11:20:11 -0500 Subject: [AccessD] Updating queries with linked tables References: <61F915314798D311A2F800A0C9C8318803956689@dibble.observatory.donnslaw.co.uk> Message-ID: <004101c2f7a1$6a8101b0$364afccc@SusanOne> Updating queries with linked tablesHow are you combining your tables? Susan H. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 10:25:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 10:25:38 -0600 Subject: [AccessD] Updating queries with linked tables Message-ID: Roz, I admit that I have never tried updating both Access and SQL Server tables at the same time so I have not run into your problem. But one solution that will work is to move the local tables to the BE, use SQL Server Security to protect the data, and convert the MDBs to ADPs. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 10:01 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Updating queries with linked tables Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz From Lambert.Heenan at AIG.com Mon Mar 31 10:29:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 11:29:29 -0500 Subject: [AccessD] Updating queries with linked tables Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DC@xlivmbx12.aig.com> Have you considered a form with a Tab control on it? Each page of the tab control can then have it's own sub-form, one linked to the SQL data and one to the local data. Lambert > -----Original Message----- > From: Roz Clarke [SMTP:roz.clarke at donnslaw.co.uk] > Sent: Monday, March 31, 2003 10:33 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Updating queries with linked tables > > Dear all > > I have a SQL database which stores core information about members of staff > here - name, department, phone extn. etc. > > I need to publish this information out to several different departments, > all of whom need to be able to update the data. At the same time, they > each have local data requirements which have to be updated alongside the > core data. I was going to put these in Access databases and give each > department it's own. > > What I'm finding (and I can't believe I never hit this before) is that > although the SQL tables can be updated through the Access FE, and the > local tables can be updated, combine them and wallop, not updateable. Even > if all the key fields are included in the query. > > The amount of info is about 50/50 and it would be highly user-unfriendly > to split the data onto separate forms. Is unbound the only way forward??? > > TIA > > Roz > << File: ATT6481684.txt >> From accessd at shaw.ca Mon Mar 31 10:35:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 08:35:57 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D8571C@TTNEXCHSRV1.hshhp.com> Message-ID: RE: [AccessD] Replication - A2KHi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz -------------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Mon Mar 31 10:55:02 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 08:55:02 -0800 Subject: [AccessD] Fix what the wizards miss when you upsize Access apps to SQL Server Message-ID: <002e01c2f7a6$4622e900$b615010a@FHTAPIA> For those of you upsizing your Access Db's here is a great article to go by when you stick to the wizards... :D and it's written by none other than resident Arthur Fuller :D (watch for wrap) http://www.techrepublic.com/article.jhtml?id=r00720030331afu01.htm&fromtm=e0 19 tinyURL http://tinyurl.com/8iq7 -Francisco http://rcm.netfirms.com From my.lists at verizon.net Mon Mar 31 10:55:02 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 08:55:02 -0800 Subject: [AccessD] [dba-SQLServer] Fix what the wizards miss when you upsize Access apps to SQL Server Message-ID: <002e01c2f7a6$4622e900$b615010a@FHTAPIA> For those of you upsizing your Access Db's here is a great article to go by when you stick to the wizards... :D and it's written by none other than resident Arthur Fuller :D (watch for wrap) http://www.techrepublic.com/article.jhtml?id=r00720030331afu01.htm&fromtm=e0 19 tinyURL http://tinyurl.com/8iq7 -Francisco http://rcm.netfirms.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 11:08:56 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 12:08:56 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: In fact I was just appending the same data twice. I have a unique index on a combination of fields that should prevent the data from going in a second time. This was just a test of that index to make sure the data would not go in again. In fact though the user may end up importing several different files, one after another. The entire process is to ask the user to find the file, copy it to a specific file name in a specific directory so that the link works correctly, copy the original to a backup directory, then run the append queries to get the data out of the spreadsheets and into the table. From there a "all records in the previous" and "all records NOT in the previous" will be run for reporting purposes. It shouldn't matter what I am doing though. If it runs once, it should run a million times. It may very well come back and say "X records could not be appended..." because of the unique index, but it should NOT give me this "numeric overflow" error. According to help that means that "the data is too big for a btrieve field" or some such. IOW, one of those useless error messages. The fact that the data actually imports makes it even more suspicious. I just don't want to send out work that pops up useless error messages and has to be exited and reloaded in order to work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 31, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3456 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 11:26:45 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 12:26:45 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Charlotte and I are having a brief discussion off list of how SQL can solve some bloat problems. Now, I find SQL superior to DAO/ADO almost everytime and would rather work in SQL if given the choice. However, I have seen discussions about performance right here on this list -- do any of you think DAO/ADO performs faster than SQL? If so, can you provide some statistics? SUsan H. From Jdemarco at hshhp.org Mon Mar 31 11:38:18 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 12:38:18 -0500 Subject: [AccessD] Replication - A2K Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.com> I believe we couldn't get A97 to replicate over the Internet at all so we tried converting the app to A2K2 and that would only work over VPN. We had a developer talk to M$ on the phone or via e-mail for a week or two and the VPN was the only way it would work (M$ could not get replication to work over the Internet either, FYI). If you had a non-VPN replication working do you have any "secrets" to share? Thanks, Jim DeMarco -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 11:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz _____ Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at ColbyConsulting.com Mon Mar 31 11:39:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 12:39:27 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: Susan, I think this is a non-debate. MS tells us that SQL will perform faster than DAO, and ADO performs even slower than DAO (for MDBs). The problem with DAO at any rate is that you have to set up loops to work with the data set a record at a time. SQL performs operations on sets of data "all at once". I have no idea why SQL or DAO would make a difference "bloatwise". John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 12:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] SQL vs DAO -- rattling cages Charlotte and I are having a brief discussion off list of how SQL can solve some bloat problems. Now, I find SQL superior to DAO/ADO almost everytime and would rather work in SQL if given the choice. However, I have seen discussions about performance right here on this list -- do any of you think DAO/ADO performs faster than SQL? If so, can you provide some statistics? SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2324 bytes Desc: not available URL: From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 11:53:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 18:53:07 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049133187.3e8880835fd66@hosea.qub.ac.uk> Step one is to define how bloat is caused. Dont think DAO or SQL figure there. How would the choice here bloat the database as a direct result of your choice? Different tools for different jobs DAO which is the default with Access 11 which indicates that even MS recogise thats it the better language for MDBs. SQL within an MDB yes. ADO when working on SQL Server via ADPs and the web SQL. Nope. When working with SQL Server on the web for instance its SPs all the way. Indirect SQL of course but inside the code. No. Martin Quoting "John W. Colby" : > Susan, > > I think this is a non-debate. MS tells us that SQL will perform faster > than > DAO, and ADO performs even slower than DAO (for MDBs). The problem with > DAO > at any rate is that you have to set up loops to work with the data set > a > record at a time. SQL performs operations on sets of data "all at > once". > > I have no idea why SQL or DAO would make a difference "bloatwise". > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Monday, March 31, 2003 12:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] SQL vs DAO -- rattling cages > > > Charlotte and I are having a brief discussion off list of how SQL can > solve > some bloat problems. Now, I find SQL superior to DAO/ADO almost > everytime > and would rather work in SQL if given the choice. However, I have seen > discussions about performance right here on this list -- do any of you > think > DAO/ADO performs faster than SQL? If so, can you provide some > statistics? > > SUsan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > From Jdemarco at hshhp.org Mon Mar 31 12:03:09 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 13:03:09 -0500 Subject: [AccessD] ADP vs Access mdb/SQL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85738@TTNEXCHSRV1.hshhp.com> We had an app (mdb FE/mdb BE) that was performing horribly across a WAN. We moved the BE into SQL Server 2K which helped a bit but I'm wondering if converting the FE to an ADP would do this one step better (this after reading Arthur's excellent article on TechRepublic.com, thanks to Francisco for the pointer). Anyone have an idea? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JHewson at karta.com Mon Mar 31 12:17:51 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 31 Mar 2003 12:17:51 -0600 Subject: [AccessD] How to subtract first digit and last two numbers fr om abarcode? Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294AE9@NT04> Also, take a look how the devices are scanning. They may not be scanning correctly or the barcodes may have been developed wrong. Jim -----Original Message----- From: MastercafeCTV [mailto:mastercafe at ctv.es] Sent: Monday, March 31, 2003 8:39 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to subtract first digit and last two numbers from abarcode? Take only the middle text, see the code mid(txtString, 2,7) with this take part from txtString regards Juan Menendez Mastercafe SL -----Mensaje original----- De: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]En nombre de Canales, Hector Enviado el: lunes, 31 de marzo de 2003 16:14 Para: 'accessd at databaseadvisors.com' Asunto: [AccessD] How to subtract first digit and last two numbers from a barcode? Hi List, I need help, I am creating a combo box where the user will scan an employee ID and the ID number needs to mach with the employee ID on the tblEmployees. The problem is that the barcode it has extra numbers. Example: %061207502 (This is what scans) 0612075 (this are the numbers that I need) %1008937007 (This is what scans) 10089370 (this are the numbers that I need) %100239505 (This is what scans) 1002395 (this are the numbers that I need) %0601443503 (This is what scans) 06014435 (this are the numbers that I need) How can I tell Access to subtract the first digit (%) and the last 2 numbers (XX), and Just match the reaming numbers? It is the first time I am working with Access, it could be something simple but I'm having a hard time. Thank you, Hector _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Mon Mar 31 12:28:22 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 10:28:22 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: <004d01c2f7b3$5022cda0$b615010a@FHTAPIA> Susan, umm... no offense but... step away from the POT... I hope you have a prescription for that ;o) -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Mon Mar 31 12:34:06 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 31 Mar 2003 10:34:06 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: Message-ID: <003601c2f7b4$1c9de900$0100a8c0@CX615377A> Jim, I too am interested in Replication and have an opportunity to use it if I can figure out how to do it over a dial in connection. Do any of your users dial in to update their databases? If so I would be interested in how you set it up. Thanks. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Monday, March 31, 2003 8:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Mon Mar 31 12:46:38 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 10:46:38 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: Hi John: You have not exceeded the maximum of 65000 records by any chance? Just a thought Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3688 bytes Desc: not available URL: From accessd at shaw.ca Mon Mar 31 12:46:37 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 10:46:37 -0800 Subject: [AccessD] Updating queries with linked tables In-Reply-To: <61F915314798D311A2F800A0C9C831880395668E@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: I have worked in a similar environment, a combination of Access and SQL backends. I had to use unbound forms, ADO connections strings. The recordsets that supplied the information to the forms were bound or unbound depending on their requirement. For straight viewing CursorType: adOpenStatic and LockType: adLockReadOnly, generally displayed in List format. For adding and updating CursorType: adOpenDynamic and LockType: adLockPessimistic, generally displayed in Form format because there is a single or small subset of records. You can easily update both or either data sources by changing or swapping the connection strings. This process requires a few more steps but you get the added flexibility and performance. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, March 31, 2003 8:01 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Updating queries with linked tables Charles Sorry for the vague. I am still a little wiped out from the weekend. Access XP, SQL 7. It's a 1:1 relationship - how do I tell it that?! It's not an update query as such, just a normal select statement behind a form. Thanks Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 31 March 2003 16:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating queries with linked tables Roz, Are you saying you have an Access db (version?) with a local table and a link to a table in SQL Server (version?) and you are trying to update both in one update query? If so, remember that the rules of updating generally do not allow the updating of the one side of a one-to-many relationship. If you do have a one-to-many relationship you need to use two update queries, one for each side. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Mar 31 09:33 To: 'accessd at databaseadvisors.com' Subject: [AccessD] Updating queries with linked tables Dear all I have a SQL database which stores core information about members of staff here - name, department, phone extn. etc. I need to publish this information out to several different departments, all of whom need to be able to update the data. At the same time, they each have local data requirements which have to be updated alongside the core data. I was going to put these in Access databases and give each department it's own. What I'm finding (and I can't believe I never hit this before) is that although the SQL tables can be updated through the Access FE, and the local tables can be updated, combine them and wallop, not updateable. Even if all the key fields are included in the query. The amount of info is about 50/50 and it would be highly user-unfriendly to split the data onto separate forms. Is unbound the only way forward??? TIA Roz _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Mon Mar 31 12:57:52 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 31 Mar 2003 10:57:52 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> Message-ID: <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. From accessd at shaw.ca Mon Mar 31 13:06:53 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 11:06:53 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.com> Message-ID: RE: [AccessD] Replication - A2KHi Jim: Thank you very much for that information. Bare with me for a while and I will see if I can dig up any information on the tests ran. Unfortunately, the tests never developed into a full project. I suspect most of the original detail was lost; I do remember that there was some issues but at one point the connection stabilized. The test bed was two computers, each with different BE databases, one Master, one Replicate and it looped out to our ISP and back again. (It might have been through a VPN connection but as a company developer I was not involved with the infrastructure.) Arthur Fuller did a project on replication a few years back and it sounded quite successful. I am again not sure of any details so Arthur would have to provide those. Sorry that I can not be of more help Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 9:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K I believe we couldn't get A97 to replicate over the Internet at all so we tried converting the app to A2K2 and that would only work over VPN. We had a developer talk to M$ on the phone or via e-mail for a week or two and the VPN was the only way it would work (M$ could not get replication to work over the Internet either, FYI). If you had a non-VPN replication working do you have any "secrets" to share? Thanks, Jim DeMarco -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 11:36 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi Jim: No, the Access97 replication is done straight through the phone lines. The government has been using it's own internal network, first through fast dedicated phone lines and finally an 'Ubiquity' fiber-optic connection that now covers most of the province. I have ran Access97 through the net and noticed no major problems but it was only a test and not under full load. It should be stable in the current versions of Access, even running across the net. VPN would be good to secure the connections but I am not sure that it would be any more or less stable than a standard internet connection. Jim ---Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, March 31, 2003 5:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim are you doing Internet replication then? If so are you using a VPN? We've encountered some difficulties in running replication over the Net on A97. Which version are you using? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, March 29, 2003 7:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Hi John: I have been running a Access replication application for five years. There are basically three government offices with about forty total individuals. The program has both an automatic and manual replication process programmed in. I have one BE db with one table that is centeral to the process. This is the file that supplies all the invoice numbers. It is linked to each site by its URL address. As soon as a ne record is created, the program goes looking for the next number. If the lines are glogged, that can take about 30 seconds. I come in every so often and clean up any duplications because sometimes the timing is off. The issue only comes up once every couple months or so. The cost to permentantly resolve the problem, with a nice SQL BE, is prohibitive so the clients have settled on this type of solution. There simply is no other inexpensive solution. The cost is either on a expensive product or an expensive programming process. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, March 28, 2003 8:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K And perhaps the situation is simply different. People don't call to file claims, they fill out paperwork and submit it. Not that your situation won't occur, of course it will. I can certainly ask how often it occurs but having spent 8 months on site I didn't get that it happened "several times a day". People call to "check" on their claim that is already in the system - having been entered from a claim form. The folks handling the phones do take info over the phone, but mostly it is "fill out this form and mail it in", or "get your doctor to fill out this form and mail it in" or "get your employer to fill out this form and send it in". No paperwork, no claim! So people "calling back with info" simply isn't a common occurrence since they don't ask for verbal information other than current address and the likes. I will certainly advise them of the facts behind the synchronization of course. I get the feeling they will live with the occasional "out of sync" info in order to get a doubling of effective speed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 11:10 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, I'm not saying your solution doesn't work. I pointed out a situation that will arise and that they need to have some procedure in place to handle it. Whether that procedure is within your solution or something they will have to handle manually is for them to decide. As to how often such calls occur, all I can say is when I worked for my Dad in his insurance agency it happened several times a day that somebody would call to file a claim but didn't have all the information the agent needed so they would have to call back later with the additional information. I doubt that human nature has changed much in the intervening years. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday 2003 Mar 28 09:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K They need an answer, and can't afford SQL Server. This is an answer. To not look at the realistic options because of the 1 in 1000 (or whatever) occurrence is not realistic. I am certainly open to other options. However they just spent 8 months moving an old creaky flat file to a relational MDB FE/BE. They don't have a budget for a $10,000 solution at the moment. What solution can they get for $500? Moving to SQl Server will be $5k or more. They don't have that, they have said so. I have done all of the typical "make sure the fields are indexed" things. So rather than saying "this solution doesn't work", why don't you suggest a solution that does? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, March 28, 2003 8:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K John, But what about the situation where a customer calls back five minutes later with additional information and gets a different examiner? How is the second examiner going to be able to get to the customer's data if you replicate on a 15 minute schedule? This may not be a common occurrence, but it does happen and you need to be able to handle it. And don't expect the customer to remember the name of the first examiner, that solution is a non-starter. Charles Wortz ---------------------------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Mon Mar 31 13:05:26 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 14:05:26 -0500 Subject: [AccessD] Microsoft Tech Manual guidelines Message-ID: <007e01c2f7b8$7d792650$8e01a8c0@Rock> Heard some talk lately about this, and had to confess I know nothing about it. Is there a free URL to grab said? Is it a commercial document one must pay for? Etc. "Prediction is difficult, especially of the future." - Werner Heisenberg From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:12:56 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:12:56 +0100 (BST) Subject: [AccessD] Microsoft Tech Manual guidelines In-Reply-To: <007e01c2f7b8$7d792650$8e01a8c0@Rock> References: <007e01c2f7b8$7d792650$8e01a8c0@Rock> Message-ID: <1049137976.3e889338c3486@hosea.qub.ac.uk> Arthur I have a copy of their Tech Writing Guidlelines but was told it is confidential to MS. Perhaps theres something else. Martin Quoting Arthur Fuller : > Heard some talk lately about this, and had to confess I know nothing > about > it. Is there a free URL to grab said? Is it a commercial document one > must > pay for? Etc. > > "Prediction is difficult, especially of the future." > - Werner Heisenberg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Mar 31 13:26:23 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 11:26:23 -0800 Subject: [AccessD] Replication - A2K In-Reply-To: <003601c2f7b4$1c9de900$0100a8c0@CX615377A> Message-ID: RE: [AccessD] Replication - A2KDoug: Yes they did but they used a Term server for this type of roving connections. A FE ran on their laptops and the/a BE resided on the termserver(s). A couple of termservers, across the province, were setup for this process and then their BE databases were synchronized. The office people of course connected to their local BE. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Monday, March 31, 2003 10:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replication - A2K Jim, I too am interested in Replication and have an opportunity to use it if I can figure out how to do it over a dial in connection. Do any of your users dial in to update their databases? If so I would be interested in how you set it up. Thanks. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmmtbig at bellsouth.net Mon Mar 31 13:38:41 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 31 Mar 2003 14:38:41 -0500 Subject: [AccessD] IIf in query discussion Message-ID: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2412 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 13:42:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 11:42:52 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Mar 31 13:45:55 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 13:45:55 -0600 Subject: [AccessD] IIf in query discussion Message-ID: References please! Unless we know what this "Access expert" said, it is hard to comment on it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Monday 2003 Mar 31 13:39 To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:51:44 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:51:44 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049140304.3e889c509e97e@hosea.qub.ac.uk> Does this help http://msdn.microsoft.com/library/default.asp?url=/library/en- us/dnacbk02/html/odc_4009c15.asp Martin Quoting Charlotte Foust : > Actually, we're talking about SQL DDL as opposed to manipulating > objects > with DAO or ADO. > > Charlotte Foust > > -----Original Message----- > From: Francisco H Tapia [mailto:my.lists at verizon.net] > Sent: Monday, March 31, 2003 10:58 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] SQL vs DAO -- rattling cages > > > Speaking MDB's, and SQL as in SQL code, then you're tapping the JET > engine in all 3 cases be it by query or 2 diffrent forms of code. > When > access an MDB via code, DAO is always faster, but ADO is more suitable > if you will also be tapping into other data stores such as SQL Server > or > Oracle. In reguards to database bloat, an MDB will bloat because of > the > required database space to store a temporary file be it sql or code. > > IF you mean SQL as in SQL Server, then the advantages are many, but > one > that comes to mind is the tempdb which is very useful because it holds > all the data temorarily when using groupby's or order by's in your SQL > code, of course you can't access this via DAO unless of course you > have > the table linked to a MDB. > > -Francisco > http://rcm.netfirms.com > > On Monday, March 31, 2003 9:26 AM [GMT-8], > Susan Harkins wrote: > > : Charlotte and I are having a brief discussion off list of how SQL > can > : solve some bloat problems. Now, I find SQL superior to DAO/ADO > almost > : everytime and would rather work in SQL if given the choice. However, > : I have seen discussions about performance right here on this list -- > : do any of you think DAO/ADO performs faster than SQL? If so, can you > : provide some statistics? > : > : 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 CWortz at tea.state.tx.us Mon Mar 31 13:53:31 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 13:53:31 -0600 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Charlotte, DDL - Data Definition Language; define tables, fields, etc. DML - Data Manipulation Language; Select, Update, etc. So if you are creating recordsets, then DAO and ADO are comparable to DDL. If you are selecting or updating data, then DAO and ADO are comparable to DML. Which is your discussion about? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday 2003 Mar 31 13:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. From Lambert.Heenan at AIG.com Mon Mar 31 10:13:19 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 11:13:19 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DB@xlivmbx12.aig.com> Well, whenever I start getting inconsistent behavior such as you describe, I'm, inclined to backup the Db and then decompile it, compact it and repair it. With luck that will sort it out. SP2 is the latest for A97, AFIK. Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 11:01 AM > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > but > is really a long int, i.e. no decimal points. I am linking the > spreadsheet, > whereupon I see that the datatype of the field is dbl. I build a base > query > that runs these fields through a clng() to convert them to long integers. > I > then append the data into a table. The append process works the first > time > it is run, then the second time, I get a Numeric Overflow. I get the > overflow between the "you are about to..." warning and the "X records did > not append..." error. In fact that second error never occurs. Once the > error occurs, I have to shut down the db and re-open it, whereupon the > query > will run successfully one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Mar 31 13:59:40 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 31 Mar 2003 20:59:40 +0100 (BST) Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: References: Message-ID: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> DDL - Data Definition Language; define tables, fields, etc. So hows does this cause bloat?? Martin From john at winhaven.net Mon Mar 31 14:14:43 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 14:14:43 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Message-ID: MessageYou probably need to give us more details but I tend to agree in philosophy with the idea that IIF should not be used unless necessary. But in practice it is sometimes necessary. I have it used it mostly when querying a pre-existing database which is poorly normalized (hmmm, that might be an oxy-moron). I use it as a guideline not a rule though, the only "rule" I tend to have is to never rule out anything. I think the biggest drawback beyond speed is that its Access specific and they can be difficult to read. I think "spreadsheet people" love it though. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1024 bytes Desc: not available URL: From patrickh at parkindustries.com Mon Mar 31 14:06:36 2003 From: patrickh at parkindustries.com (Patrick Hollermann) Date: Mon, 31 Mar 2003 14:06:36 -0600 Subject: [AccessD] Printing record set displayed in from in a report Message-ID: Hello All, I have had a database given to me that is split into a FE of Access XP and a BE of SQL. There is a form that is bound to a table and presents the record data to the screen through the selected form. The user wants to print the current record set through a report from a button on the form. The form displays the complete record but the report will print about half of the information from the screen. The problem I am running into is that when I call the report from the form I get more than just the current record, Access wants to print the entire table. I think I am missing the connection between the SQL record set presented in the form and the Report. My starting question is how do I refer to the record set, currently displayed on the form, as I get the report open. The Report is currently bound to the same SQL table the form is bound to. Can you refer to a form's record set in the report property? This selective printing thing is new to me and any direction or helpful hints are greatly appreciated. Thanks! Patrick L. Hollermann Park Industries, Inc. PO Box 188 St. Cloud MN 56302 Phone 320-229-3384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Mon Mar 31 14:08:09 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 31 Mar 2003 15:08:09 -0500 Subject: [AccessD] IIf in query discussion References: Message-ID: <004201c2f7c1$414624e0$6401a8c0@default> I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Mar 31 14:11:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:11:05 -0600 Subject: [AccessD] OT:Building your business was... Rate for first tim e Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D0@main2.marlow.com> You definitely can't sacrifice happiness for money. Too many people put faith in money over happiness, and look where it leads them. (Okay, they're rich, bad example...). Just kidding. I personally love my job too, and definitely consider myself underpaid. Even though I love my job, I still want to move, because I am getting EXTREMELY annoyed with the people I work for. Drew -----Original Message----- From: Ron Allen [mailto:chizotz at charter.net] Sent: Sunday, March 30, 2003 12:57 PM To: paul.hartland at fsmail.net Subject: Re: [AccessD] OT:Building your business was... Rate for first tim e John, jm, Drew, Paul, all the others, thank you for your replies to my questions. I had the feeling that the monetary compensation side of my arrangement was a bit on the low side. I don't think that all the other benefits I get can be topped, though, and the overriding concern for me is that I am happy working for and with the people I do. I enjoy my job, and normally get out of bed looking forward to the day. I have worked at places where I dreaded the alarm because it meant another day in hell was starting, and that is no way to live. So for the moment at least I'm satisfied, all things considered. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:13:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:13:04 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> From john at winhaven.net Mon Mar 31 14:27:32 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 14:27:32 -0600 Subject: [AccessD] Reports - No Data Message-ID: How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB From DWUTKA at marlow.com Mon Mar 31 14:15:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:15:35 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D824D2@main2.marlow.com> The latest SP was 2b. Not sure why you are having this problem though. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, March 31, 2003 10:01 AM To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Mon Mar 31 14:22:20 2003 From: chris at denverdb.com (Chris Mackin) Date: Mon, 31 Mar 2003 13:22:20 -0700 Subject: [AccessD] IIf in query discussion In-Reply-To: <004201c2f7c1$414624e0$6401a8c0@default> Message-ID: One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 14:23:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:23:54 -0500 Subject: [AccessD] VBE In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that looks and feels like the one in Excel / Word / VB. That is an entire environment, completely different from the one that came with A97 and before. The one that comes with A2K and later (and VB) is an object with properties that can be manipulated, methods that can be called etc. The one in A97 is an editor, and it edits VBA, but it in no way resembles what comes after. Or maybe I read her question wrong. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2580 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 14:20:33 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:20:33 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> Message-ID: <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> I'm not really concerned about bloat at this point -- I'm just interested in opinions about which performs faster: DAO or SQL. Susan H. > Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine > in all 3 cases be it by query or 2 diffrent forms of code. When access an > MDB via code, DAO is always faster, but ADO is more suitable if you will > also be tapping into other data stores such as SQL Server or Oracle. In > reguards to database bloat, an MDB will bloat because of the required > database space to store a temporary file be it sql or code. > > IF you mean SQL as in SQL Server, then the advantages are many, but one that > comes to mind is the tempdb which is very useful because it holds all the > data temorarily when using groupby's or order by's in your SQL code, of > course you can't access this via DAO unless of course you have the table > linked to a MDB. > > -Francisco > http://rcm.netfirms.com > > On Monday, March 31, 2003 9:26 AM [GMT-8], > Susan Harkins wrote: > > : Charlotte and I are having a brief discussion off list of how SQL can > : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost > : everytime and would rather work in SQL if given the choice. However, > : I have seen discussions about performance right here on this list -- > : do any of you think DAO/ADO performs faster than SQL? If so, can you > : provide some statistics? > : > : SUsan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Mon Mar 31 14:24:58 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:24:58 -0500 Subject: [AccessD] IIf in query discussion References: <003701c2f7bd$2256aae0$6501a8c0@tbig3> Message-ID: <006101c2f7c3$c632b310$dae6ffcc@SusanOne> Rookie mistake? I don't know if I'd call it that. Data's unique and the situation matters as much as anything else. An Iif might slow things down, BUT if you're not working with tons of data and it's the solution you think of first and there's no perception of a performance hit, what's rookie about it? Susan H. Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Mon Mar 31 14:25:50 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:25:50 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages References: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> Message-ID: <006401c2f7c3$c706f300$dae6ffcc@SusanOne> SQL doesn't. Susan H. > DDL - Data Definition Language; define tables, fields, etc. > > > So hows does this cause bloat?? > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at ColbyConsulting.com Mon Mar 31 14:27:31 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:27:31 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: Nope, just starting to append records. And where did you get 65K records maximum? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi John: You have not exceeded the maximum of 65000 records by any chance? Just a thought Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow In fact I was just appending the same data twice. I have a unique index on a combination of fields that should prevent the data from going in a second time. This was just a test of that index to make sure the data would not go in again. In fact though the user may end up importing several different files, one after another. The entire process is to ask the user to find the file, copy it to a specific file name in a specific directory so that the link works correctly, copy the original to a backup directory, then run the append queries to get the data out of the spreadsheets and into the table. From there a "all records in the previous" and "all records NOT in the previous" will be run for reporting purposes. It shouldn't matter what I am doing though. If it runs once, it should run a million times. It may very well come back and say "X records could not be appended..." because of the unique index, but it should NOT give me this "numeric overflow" error. According to help that means that "the data is too big for a btrieve field" or some such. IOW, one of those useless error messages. The fact that the data actually imports makes it even more suspicious. I just don't want to send out work that pops up useless error messages and has to be exited and reloaded in order to work. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, March 31, 2003 11:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow JC, You got me confused when you say "The append process works the first time it is run, then the second time, I get a Numeric Overflow." What are you doing the second time? Appending the same data to the same records, or appending some other data to some other records, or what? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John W. Colby [mailto:jcolby at ColbyConsulting.com] Sent: Monday 2003 Mar 31 10:01 To: AccessD Subject: [AccessD] Access 97 - Numeric field overflow Guys, It's been awhile since I have dealt with A97. I am doing an import of data from excel spreadsheets. The data in the spreadsheet is a dbl datatype, but is really a long int, i.e. no decimal points. I am linking the spreadsheet, whereupon I see that the datatype of the field is dbl. I build a base query that runs these fields through a clng() to convert them to long integers. I then append the data into a table. The append process works the first time it is run, then the second time, I get a Numeric Overflow. I get the overflow between the "you are about to..." warning and the "X records did not append..." error. In fact that second error never occurs. Once the error occurs, I have to shut down the db and re-open it, whereupon the query will run successfully one time, then the error again. I am at SP2 for A97, and I don't remember what the latest SP is for A97. Has anyone ever seen this problem? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: ATT00097.txt >> ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3720 bytes Desc: not available URL: From dwaters at usinternet.com Mon Mar 31 14:33:56 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Mar 2003 14:33:56 -0600 Subject: [AccessD] Reports - No Data In-Reply-To: Message-ID: <000b01c2f7c4$da33e540$de1811d8@DanWaters> John, I often setup up a recordset using the same criteria that the report uses. If the recordset has no records, then I display a useful message, otherwise the report displays. One of my reports will print out a full sheet 'form' for each record in the recordset. It could be that many records will be printed. In that case, I use the number of records in the recordset to report to the user how many sheets will be printed, and they can push Yes or No to say if they really want to print that many. (i.e. There are 132 records based on your search criteria. Do you want to print a sheet for each record?) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, March 31, 2003 2:28 PM To: AccessD Subject: [AccessD] Reports - No Data How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Mar 31 14:35:10 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Mar 2003 14:35:10 -0600 Subject: [AccessD] VBE In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: <000c01c2f7c5$093261f0$de1811d8@DanWaters> I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 14:36:25 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:36:25 -0500 Subject: [AccessD] VBE References: <2F8793082E00D4119A1700B0D0216BF801D824D1@main2.marlow.com> Message-ID: <00b401c2f7c5$7063c580$dae6ffcc@SusanOne> I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? From harkins at iglou.com Mon Mar 31 14:38:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:38:01 -0500 Subject: [AccessD] Printing record set displayed in from in a report References: Message-ID: <00b501c2f7c5$714fd330$dae6ffcc@SusanOne> Printing record set displayed in from in a reportYou have a report already -- and you just want to pass that one record to the report? Try OpenReport's WHERE argument to pass the record's primary key. Susan H. Hello All, I have had a database given to me that is split into a FE of Access XP and a BE of SQL. There is a form that is bound to a table and presents the record data to the screen through the selected form. The user wants to print the current record set through a report from a button on the form. The form displays the complete record but the report will print about half of the information from the screen. The problem I am running into is that when I call the report from the form I get more than just the current record, Access wants to print the entire table. I think I am missing the connection between the SQL record set presented in the form and the Report. My starting question is how do I refer to the record set, currently displayed on the form, as I get the report open. The Report is currently bound to the same SQL table the form is bound to. Can you refer to a form's record set in the report property? This selective printing thing is new to me and any direction or helpful hints are greatly appreciated. Thanks! Patrick L. Hollermann Park Industries, Inc. PO Box 188 St. Cloud MN 56302 Phone 320-229-3384 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Mar 31 14:38:01 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 31 Mar 2003 14:38:01 -0600 Subject: [AccessD] Reports - No Data Message-ID: John, For those of my users that want to have a piece of paper to file, I print the first page of the report with a big message that there was no data for that time period. Have a hidden message that you unhide on the OnNoData event. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday 2003 Mar 31 14:28 To: AccessD Subject: [AccessD] Reports - No Data How do you handle reports with no data? I have an A97 app that I want to make it more clear to the user that the report has no data and then not display it to them. I use the OnNoDate event to display a message box and set cancel to true. Is there a better, more meaningful way? JB From BBarabash at TappeConstruction.com Mon Mar 31 14:46:42 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 31 Mar 2003 14:46:42 -0600 Subject: [AccessD] IIf in query discussion Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 14:39:29 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 15:39:29 -0500 Subject: [AccessD] VBE References: Message-ID: <00ec01c2f7c6$8b726330$dae6ffcc@SusanOne> No, that's the question I asked. It's been a long time since I used 97 JC -- I just really don't remember. Susan H. > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that > looks and feels like the one in Excel / Word / VB. That is an entire > environment, completely different from the one that came with A97 and > before. The one that comes with A2K and later (and VB) is an object with > properties that can be manipulated, methods that can be called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way resembles > what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at ColbyConsulting.com Mon Mar 31 14:46:28 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 15:46:28 -0500 Subject: [AccessD] VBE In-Reply-To: <00b401c2f7c5$7063c580$dae6ffcc@SusanOne> Message-ID: Susan, I am working in A97 right now. the editor in A97 is just a window under the Access database (a child window). In A2K and above, the VBE is a separate "program" that opens and is in the toolbar. That editor had child windows which can display all kinds of different things. The windows can be docked or undocked etc. I never worked in A95 so I can't help you there and A2 is just a vague memory. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 3:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2368 bytes Desc: not available URL: From Jdemarco at hshhp.org Mon Mar 31 14:46:51 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 15:46:51 -0500 Subject: [AccessD] IIf in query discussion Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8574B@TTNEXCHSRV1.hshhp.com> True that sometimes Iif is the tool for the job but: IIf is also available in VB/VBA so it's not necessarily Access specific. I attended a Ken Getz demo last year and he showed some performance analyses one of which was a comparison of IIf vs. If...End If used in functions in standard code modules. The If...End If was 50-70% faster than IIf depending on the conditions being evaluated. Don't forget that an Iif statement evaluates all conditions which can also degrade performance. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, March 31, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion You probably need to give us more details but I tend to agree in philosophy with the idea that IIF should not be used unless necessary. But in practice it is sometimes necessary. I have it used it mostly when querying a pre-existing database which is poorly normalized (hmmm, that might be an oxy-moron). I use it as a guideline not a rule though, the only "rule" I tend to have is to never rule out anything. I think the biggest drawback beyond speed is that its Access specific and they can be difficult to read. I think "spreadsheet people" love it though. JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, March 31, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] IIf in query discussion Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Mar 31 14:52:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:52:15 -0600 Subject: [AccessD] IIf in query discussion Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8252F@main2.marlow.com> Completely agree. I would add to that, however, that if you are going to Nest IIF statements, to instead use an If Then Else structure within a function, because nested IIF's can be a REAL pain to backtrack through. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 2:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion Rookie mistake? I don't know if I'd call it that. Data's unique and the situation matters as much as anything else. An Iif might slow things down, BUT if you're not working with tons of data and it's the solution you think of first and there's no perception of a performance hit, what's rookie about it? Susan H. Recently I read an article by an Access expert who suggested that using 'iif' in a query is a rookie mistake. I've made that mistake. My question: Does using 'iif' in a query just slow done processing, or, does it have more substantial consequences? TIA, Myke ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:54:11 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:54:11 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82530@main2.marlow.com> I thought that you could talk to the VBE in 97. (Honestly never tried it, so I could very easily have been mistaken). Hmmmmm.... Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:24 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor that > looks and feels like the one in Excel / Word / VB. That is an entire > environment, completely different from the one that came with A97 and > before. The one that comes with A2K and later (and VB) is an object with > properties that can be manipulated, methods that can be called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way resembles > what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119689.txt >> From DWUTKA at marlow.com Mon Mar 31 14:54:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:54:55 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82531@main2.marlow.com> That's Excel's limit to the number of 'rows' it can have. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119699.txt >> From DWUTKA at marlow.com Mon Mar 31 14:57:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:57:14 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82532@main2.marlow.com> Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 14:58:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 14:58:44 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82533@main2.marlow.com> Quite honestly, no. I have seen 'screen shots' of Access 2. (Have a book on it...don't know where I found it, but I perused it one day). I would still call 97's a VBE. It just doesn't have a 'project viewer'. Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 2:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You get > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you call > the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Mar 31 15:00:07 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 31 Mar 2003 16:00:07 -0500 Subject: [AccessD] VBE Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D8574C@TTNEXCHSRV1.hshhp.com> I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at ColbyConsulting.com Mon Mar 31 15:06:20 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:06:20 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82531@main2.marlow.com> Message-ID: Ohhh. No, nothing like that many rows. A few hundred. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:55 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow That's Excel's limit to the number of 'rows' it can have. Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119699.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4060 bytes Desc: not available URL: From jcolby at ColbyConsulting.com Mon Mar 31 15:07:35 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:07:35 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DB@xlivmbx12.aig.com> Message-ID: Interestingly, I imported the data into A2K and the problem exists there as well. Truly weird. In A2K I am at SP3 so I know I am up to date. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Monday, March 31, 2003 11:13 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Well, whenever I start getting inconsistent behavior such as you describe, I'm, inclined to backup the Db and then decompile it, compact it and repair it. With luck that will sort it out. SP2 is the latest for A97, AFIK. Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 11:01 AM > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > but > is really a long int, i.e. no decimal points. I am linking the > spreadsheet, > whereupon I see that the datatype of the field is dbl. I build a base > query > that runs these fields through a clng() to convert them to long integers. > I > then append the data into a table. The append process works the first > time > it is run, then the second time, I get a Numeric Overflow. I get the > overflow between the "you are about to..." warning and the "X records did > not append..." error. In fact that second error never occurs. Once the > error occurs, I have to shut down the db and re-open it, whereupon the > query > will run successfully one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2860 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 15:13:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:13:37 -0800 Subject: [AccessD] VBE Message-ID: I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:16:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:16:17 -0800 Subject: [AccessD] VBE Message-ID: You could talk to it with a reference to the extensibility library, I believe. Didn't The Access Web have a class wizard that used the VBE reference? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 12:54 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I thought that you could talk to the VBE in 97. (Honestly never tried it, so I could very easily have been mistaken). Hmmmmm.... Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 2:24 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor > that looks and feels like the one in Excel / Word / VB. That is an > entire environment, completely different from the one that came with > A97 and before. The one that comes with A2K and later (and VB) is an > object with properties that can be manipulated, methods that can be > called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way > resembles what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. > > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT119689.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:17:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:17:55 -0800 Subject: [AccessD] VBE Message-ID: Someone I know used to refer to it as the IDE (Integrated Development Environment) in 97. I've never understood the real distinction, but the interface changed between 97 and 2000. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 12:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE No, that's the question I asked. It's been a long time since I used 97 JC -- I just really don't remember. Susan H. > Hmm... the VBE that Susan is asking about (I think!) is the VB Editor > that looks and feels like the one in Excel / Word / VB. That is an > entire environment, completely different from the one that came with > A97 and before. The one that comes with A2K and later (and VB) is an > object with properties that can be manipulated, methods that can be > called etc. > > The one in A97 is an editor, and it edits VBA, but it in no way > resembles what comes after. > > Or maybe I read her question wrong. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, March 31, 2003 3:13 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] VBE > > > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? > > Drew > > > -----Original Message----- > > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > > Sent: Sunday, March 30, 2003 8:13 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] VBE > > > > 2k > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Sunday, March 30, 2003 8:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] VBE > > > > > > Did the VBE first show up in 97 or 2000? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > ---------------------------------------------------- > > Is email taking over your day? Manage your time with eMailBoss. Try > > it free! http://www.eMailBoss.com << File: ATT117608.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com > ------------------------------------------------------------------------ ---- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 15:21:51 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 13:21:51 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: Message-ID: John: From someone on this list...need the archive. Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K records > maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique index > on a combination of fields that should prevent the data from going in a > second time. This was just a test of that index to make sure the data > would not go in again. > > In fact though the user may end up importing several different files, one > after another. The entire process is to ask the user to find the file, > copy it to a specific file name in a specific directory so that the link > works correctly, copy the original to a backup directory, then run the > append queries to get the data out of the spreadsheets and into the table. > From there a "all records in the previous" and "all records NOT in the > previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it should > run a million times. It may very well come back and say "X records could > not be appended..." because of the unique index, but it should NOT give me > this "numeric overflow" error. According to help that means that "the > data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error messages and > has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the field > is dbl. I build a base query that runs these fields through a clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second time, > I get a Numeric Overflow. I get the overflow between the "you are about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to shut > down the db and re-open it, whereupon the query will run successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << File: > ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3908 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 15:20:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:20:08 -0800 Subject: [AccessD] VBE Message-ID: Susan, As I recall, Access 2.0 and Access 95 had similar code editing to 97. The big difference there was that the language was no longer AccessBasic and I believe intellisense got introduced in 95. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, March 31, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I thought it was 97 Drew -- I don't have it installed so I can't check. Have you seen 95 and before -- there's a huge difference in the way you interact with modules before the VBE. Susan H. > Really? I would consider the code environment in 97 to be a VBE. You > get VB like menus, it is a VB environment. Sure, it doesn't show up > exactly like VB, but I have always called it the VBE. > > Just curious, have I been wrong all this time, and if so, what do you > call the VB environment in 97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 15:18:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 16:18:51 -0500 Subject: [AccessD] VBE References: Message-ID: <016301c2f7cb$7a816f80$dae6ffcc@SusanOne> I trust you. :) That 'window' is basically the same all the earlier versions were -- just a window into the code module. FWIW, it took me forever to adjust to the VBE. :) Susan H. > Susan, > > I am working in A97 right now. the editor in A97 is just a window under the > Access database (a child window). In A2K and above, the VBE is a separate > "program" that opens and is in the toolbar. That editor had child windows > which can display all kinds of different things. The windows can be docked > or undocked etc. I never worked in A95 so I can't help you there and A2 is > just a vague memory. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, March 31, 2003 3:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. Have > you seen 95 and before -- there's a huge difference in the way you interact > with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You get > > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > > like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you call > > the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Kenneth.Stoker at pnl.gov Mon Mar 31 15:22:38 2003 From: Kenneth.Stoker at pnl.gov (Stoker, Kenneth E) Date: Mon, 31 Mar 2003 13:22:38 -0800 Subject: [AccessD] VBE Message-ID: <249C1CB246997C48BB74963CCD361C1B69B6F5@pnlmse28.pnl.gov> I have to agree. But I also have dual monitors, which I know many don't have. It is really nice to have the VBE on one screen and my form/report/query etc on my main screen. If I had a single monitor setup, I probably wouldn't be as keen on it. Ken Stoker Technology Commercialization Information Systems Administrator PH: (509) 375-3758 FAX: (509) 375-6731 E-mail: Kenneth.Stoker at pnl.gov -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 1:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 15:24:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 13:24:24 -0800 Subject: [AccessD] SQL vs DAO -- rattling cages Message-ID: Neither. I was talking about manipualating objects (i.e., CREATE TABLE), not creating recordsets or manipulating data. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, March 31, 2003 11:54 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Charlotte, DDL - Data Definition Language; define tables, fields, etc. DML - Data Manipulation Language; Select, Update, etc. So if you are creating recordsets, then DAO and ADO are comparable to DDL. If you are selecting or updating data, then DAO and ADO are comparable to DML. Which is your discussion about? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday 2003 Mar 31 13:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages Actually, we're talking about SQL DDL as opposed to manipulating objects with DAO or ADO. Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Monday, March 31, 2003 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL vs DAO -- rattling cages Speaking MDB's, and SQL as in SQL code, then you're tapping the JET engine in all 3 cases be it by query or 2 diffrent forms of code. When access an MDB via code, DAO is always faster, but ADO is more suitable if you will also be tapping into other data stores such as SQL Server or Oracle. In reguards to database bloat, an MDB will bloat because of the required database space to store a temporary file be it sql or code. IF you mean SQL as in SQL Server, then the advantages are many, but one that comes to mind is the tempdb which is very useful because it holds all the data temorarily when using groupby's or order by's in your SQL code, of course you can't access this via DAO unless of course you have the table linked to a MDB. -Francisco http://rcm.netfirms.com On Monday, March 31, 2003 9:26 AM [GMT-8], Susan Harkins wrote: : Charlotte and I are having a brief discussion off list of how SQL can : solve some bloat problems. Now, I find SQL superior to DAO/ADO almost : everytime and would rather work in SQL if given the choice. However, : I have seen discussions about performance right here on this list -- : do any of you think DAO/ADO performs faster than SQL? If so, can you : provide some statistics? : : SUsan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 15:26:54 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:26:54 -0500 Subject: [AccessD] VBE In-Reply-To: <016301c2f7cb$7a816f80$dae6ffcc@SusanOne> Message-ID: FWIW, me too! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 4:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE I trust you. :) That 'window' is basically the same all the earlier versions were -- just a window into the code module. FWIW, it took me forever to adjust to the VBE. :) Susan H. > Susan, > > I am working in A97 right now. the editor in A97 is just a window under the > Access database (a child window). In A2K and above, the VBE is a separate > "program" that opens and is in the toolbar. That editor had child windows > which can display all kinds of different things. The windows can be docked > or undocked etc. I never worked in A95 so I can't help you there and A2 is > just a vague memory. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, March 31, 2003 3:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. Have > you seen 95 and before -- there's a huge difference in the way you interact > with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You get > > VB like menus, it is a VB environment. Sure, it doesn't show up exactly > > like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you call > > the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2688 bytes Desc: not available URL: From davide at dalyn.co.nz Mon Mar 31 15:26:20 2003 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 01 Apr 2003 09:26:20 +1200 Subject: [AccessD] Replication - A2K In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85735@TTNEXCHSRV1.hshhp.c om> Message-ID: <5.2.0.9.0.20030401091330.00b38828@mail.dalyn.co.nz> A97 replication works over the internet but you need to allow anonymous users to log in - this opens the server to all and sundry who will do all sorts of undesirable things to it. We use VPN over a dial up network and it works ok. We use indirect synchronization to protect the data files from corruption over the lines. David Emerson Dalyn Software New Zealand At 31/03/2003, you wrote: >I believe we couldn't get A97 to replicate over the Internet at all so we >tried converting the app to A2K2 and that would only work over VPN. We >had a developer talk to M$ on the phone or via e-mail for a week or two >and the VPN was the only way it would work (M$ could not get replication >to work over the Internet either, FYI). If you had a non-VPN replication >working do you have any "secrets" to share? > >Thanks, > >Jim DeMarco >-----Original Message----- >From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >Sent: Monday, March 31, 2003 11:36 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Hi Jim: > >No, the Access97 replication is done straight through the phone lines. The >government has been using it's own internal network, first through fast >dedicated phone lines and finally an 'Ubiquity' fiber-optic connection >that now covers most of the province. I have ran Access97 through the net >and noticed no major problems but it was only a test and not under full load. > >It should be stable in the current versions of Access, even running across >the net. VPN would be good to secure the connections but I am not sure >that it would be any more or less stable than a standard internet connection. > >Jim > > ---Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Monday, March 31, 2003 5:38 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Jim are you doing Internet replication then? If so are you using a >VPN? We've encountered some difficulties in running replication over the >Net on A97. Which version are you using? > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan >-----Original Message----- >From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >Sent: Saturday, March 29, 2003 7:03 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >Hi John: > >I have been running a Access replication application for five years. There >are basically three government offices with about forty total individuals. >The program has both an automatic and manual replication process >programmed in. I have one BE db with one table that is centeral to the >process. This is the file that supplies all the invoice numbers. It is >linked to each site by its URL address. As soon as a ne record is created, >the program goes looking for the next number. If the lines are glogged, >that can take about 30 seconds. > >I come in every so often and clean up any duplications because sometimes >the timing is off. The issue only comes up once every couple months or so. >The cost to permentantly resolve the problem, with a nice SQL BE, is >prohibitive so the clients have settled on this type of solution. > >There simply is no other inexpensive solution. The cost is either on a >expensive product or an expensive programming process. > >HTH >Jim >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby >Sent: Friday, March 28, 2003 8:29 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >And perhaps the situation is simply different. People don't call to file >claims, they fill out paperwork and submit it. Not that your situation >won't occur, of course it will. I can certainly ask how often it occurs >but having spent 8 months on site I didn't get that it happened "several >times a day". People call to "check" on their claim that is already in >the system - having been entered from a claim form. The folks handling >the phones do take info over the phone, but mostly it is "fill out this >form and mail it in", or "get your doctor to fill out this form and mail >it in" or "get your employer to fill out this form and send it in". No >paperwork, no claim! So people "calling back with info" simply isn't a >common occurrence since they don't ask for verbal information other than >current address and the likes. > >I will certainly advise them of the facts behind the synchronization of >course. I get the feeling they will live with the occasional "out of >sync" info in order to get a doubling of effective speed. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles >Sent: Friday, March 28, 2003 11:10 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >John, > >I'm not saying your solution doesn't work. I pointed out a situation that >will arise and that they need to have some procedure in place to handle >it. Whether that procedure is within your solution or something they will >have to handle manually is for them to decide. > >As to how often such calls occur, all I can say is when I worked for my >Dad in his insurance agency it happened several times a day that somebody >would call to file a claim but didn't have all the information the agent >needed so they would have to call back later with the additional >information. I doubt that human nature has changed much in the >intervening years. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > -----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] >On Behalf Of John W. Colby >Sent: Friday 2003 Mar 28 09:21 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >They need an answer, and can't afford SQL Server. This is an answer. To >not look at the realistic options because of the 1 in 1000 (or whatever) >occurrence is not realistic. > >I am certainly open to other options. However they just spent 8 months >moving an old creaky flat file to a relational MDB FE/BE. They don't have >a budget for a $10,000 solution at the moment. What solution can they get >for $500? Moving to SQl Server will be $5k or more. They don't have >that, they have said so. I have done all of the typical "make sure the >fields are indexed" things. > >So rather than saying "this solution doesn't work", why don't you suggest >a solution that does? > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On >Behalf Of Wortz, Charles >Sent: Friday, March 28, 2003 8:33 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Replication - A2K > >John, > >But what about the situation where a customer calls back five minutes >later with additional information and gets a different examiner? How is >the second examiner going to be able to get to the customer's data if >you replicate on a 15 minute schedule? This may not be a common >occurrence, but it does happen and you need to be able to handle it. >And don't expect the customer to remember the name of the first >examiner, that solution is a non-starter. > >Charles Wortz > > >---------- >Is email taking over your day? Manage your time with eMailBoss. Try it >free! http://www.eMailBoss.com > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health >Plan (HS/HHP) that is confidential or privileged. If you are not the >intended recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HS/HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************************** > > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from HealthSource/Hudson Health >Plan (HS/HHP) that is confidential or privileged. If you are not the >intended recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HS/HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************************** >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Mon Mar 31 15:33:40 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 31 Mar 2003 16:33:40 -0500 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Ok. I think it's time now to see the SQL your using for the append, and perhaps a sample of the data that is resulting in the overload error. Have you tried importing just one row or data each time? Importing one half of the rows and then the other half? i.e. can you pin it down to a real error of some sort in the data, like a double that is greater 2^16? Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 4:08 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Interestingly, I imported the data into A2K and the problem exists there > as well. Truly weird. > > In A2K I am at SP3 so I know I am up to date. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Monday, March 31, 2003 11:13 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > Well, whenever I start getting inconsistent behavior such as you describe, > I'm, inclined to backup the Db and then decompile it, compact it and > repair > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 11:01 AM > > To: AccessD > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > Guys, > > > > It's been awhile since I have dealt with A97. I am doing an import of > > data > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > but > > is really a long int, i.e. no decimal points. I am linking the > > spreadsheet, > > whereupon I see that the datatype of the field is dbl. I build a base > > query > > that runs these fields through a clng() to convert them to long > integers. > > I > > then append the data into a table. The append process works the first > > time > > it is run, then the second time, I get a Numeric Overflow. I get the > > overflow between the "you are about to..." warning and the "X records > did > > not append..." error. In fact that second error never occurs. Once the > > error occurs, I have to shut down the db and re-open it, whereupon the > > query > > will run successfully one time, then the error again. > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > Has anyone ever seen this problem? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > From harkins at iglou.com Mon Mar 31 15:37:33 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 16:37:33 -0500 Subject: [AccessD] VBE References: Message-ID: <01ae01c2f7cd$bea78080$dae6ffcc@SusanOne> That's probably it Charlotte -- the switch from AB to VBA -- I expect that's what I'm thinking of. Susan H. > Susan, > > As I recall, Access 2.0 and Access 95 had similar code editing to 97. > The big difference there was that the language was no longer AccessBasic > and I believe intellisense got introduced in 95. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. > Have you seen 95 and before -- there's a huge difference in the way you > interact with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You > > > get VB like menus, it is a VB environment. Sure, it doesn't show up > > exactly like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you > > call the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Mon Mar 31 15:46:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:46:06 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82534@main2.marlow.com> I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 15:46:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:46:50 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82535@main2.marlow.com> Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tomadatn at bellsouth.net Mon Mar 31 15:50:08 2003 From: tomadatn at bellsouth.net (Tom Adams) Date: Mon, 31 Mar 2003 15:50:08 -0600 Subject: [AccessD] Access 97 - Numeric field overflow References: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Message-ID: <000f01c2f7cf$805e4d70$6400000a@dogbert2k> Also check the table you're imporing into. I've had a corrupt table/Autonumber that went off the charts and gave this error. ----- Original Message ----- From: "Heenan, Lambert" To: Sent: Monday, March 31, 2003 3:33 PM Subject: RE: [AccessD] Access 97 - Numeric field overflow > Ok. I think it's time now to see the SQL your using for the append, and > perhaps a sample of the data that is resulting in the overload error. Have > you tried importing just one row or data each time? Importing one half of > the rows and then the other half? i.e. can you pin it down to a real error > of some sort in the data, like a double that is greater 2^16? > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 4:08 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > > Interestingly, I imported the data into A2K and the problem exists there > > as well. Truly weird. > > > > In A2K I am at SP3 so I know I am up to date. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > > Lambert > > Sent: Monday, March 31, 2003 11:13 AM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > > > > Well, whenever I start getting inconsistent behavior such as you describe, > > I'm, inclined to backup the Db and then decompile it, compact it and > > repair > > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > > > Lambert > > > > > -----Original Message----- > > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > > Sent: Monday, March 31, 2003 11:01 AM > > > To: AccessD > > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > > > Guys, > > > > > > It's been awhile since I have dealt with A97. I am doing an import of > > > data > > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > > but > > > is really a long int, i.e. no decimal points. I am linking the > > > spreadsheet, > > > whereupon I see that the datatype of the field is dbl. I build a base > > > query > > > that runs these fields through a clng() to convert them to long > > integers. > > > I > > > then append the data into a table. The append process works the first > > > time > > > it is run, then the second time, I get a Numeric Overflow. I get the > > > overflow between the "you are about to..." warning and the "X records > > did > > > not append..." error. In fact that second error never occurs. Once the > > > error occurs, I have to shut down the db and re-open it, whereupon the > > > query > > > will run successfully one time, then the error again. > > > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > > > Has anyone ever seen this problem? > > > > > > John W. Colby > > > Colby Consulting > > > www.ColbyConsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 15:51:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:51:20 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82536@main2.marlow.com> Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> From DWUTKA at marlow.com Mon Mar 31 15:52:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 15:52:44 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82537@main2.marlow.com> I have dual monitors, and I like have VB 6 in one screen, Access (97) in another, and my HTML editor in the last. That's handy. However, I use 97 WAY more then I use A2k, so I can't remember if I have ever even bothered to move the VBE in A2k to another screen. Drew -----Original Message----- From: Stoker, Kenneth E [mailto:Kenneth.Stoker at pnl.gov] Sent: Monday, March 31, 2003 3:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I have to agree. But I also have dual monitors, which I know many don't have. It is really nice to have the VBE on one screen and my form/report/query etc on my main screen. If I had a single monitor setup, I probably wouldn't be as keen on it. Ken Stoker Technology Commercialization Information Systems Administrator PH: (509) 375-3758 FAX: (509) 375-6731 E-mail: Kenneth.Stoker at pnl.gov -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 1:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 15:56:57 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 16:56:57 -0500 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038974DF@xlivmbx12.aig.com> Message-ID: No, I haven't gotten that far, though that will be next. I defined the fields that were double as long int, not int so anything up to +/- 2 billion should go and I have visually looked at the data to make user none of the fields exceed that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Monday, March 31, 2003 4:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Ok. I think it's time now to see the SQL your using for the append, and perhaps a sample of the data that is resulting in the overload error. Have you tried importing just one row or data each time? Importing one half of the rows and then the other half? i.e. can you pin it down to a real error of some sort in the data, like a double that is greater 2^16? Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Monday, March 31, 2003 4:08 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Interestingly, I imported the data into A2K and the problem exists there > as well. Truly weird. > > In A2K I am at SP3 so I know I am up to date. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Monday, March 31, 2003 11:13 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > Well, whenever I start getting inconsistent behavior such as you describe, > I'm, inclined to backup the Db and then decompile it, compact it and > repair > it. With luck that will sort it out. SP2 is the latest for A97, AFIK. > > Lambert > > > -----Original Message----- > > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > > Sent: Monday, March 31, 2003 11:01 AM > > To: AccessD > > Subject: [AccessD] Access 97 - Numeric field overflow > > > > Guys, > > > > It's been awhile since I have dealt with A97. I am doing an import of > > data > > from excel spreadsheets. The data in the spreadsheet is a dbl datatype, > > but > > is really a long int, i.e. no decimal points. I am linking the > > spreadsheet, > > whereupon I see that the datatype of the field is dbl. I build a base > > query > > that runs these fields through a clng() to convert them to long > integers. > > I > > then append the data into a table. The append process works the first > > time > > it is run, then the second time, I get a Numeric Overflow. I get the > > overflow between the "you are about to..." warning and the "X records > did > > not append..." error. In fact that second error never occurs. Once the > > error occurs, I have to shut down the db and re-open it, whereupon the > > query > > will run successfully one time, then the error again. > > > > I am at SP2 for A97, and I don't remember what the latest SP is for A97. > > > > Has anyone ever seen this problem? > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3288 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Mar 31 16:07:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 14:07:14 -0800 Subject: [AccessD] VBE Message-ID: To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 16:07:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 14:07:52 -0800 Subject: [AccessD] VBE Message-ID: Because if you close an object in 97, then its code module is also closed. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Mar 31 16:33:39 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 16:33:39 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <004201c2f7c1$414624e0$6401a8c0@default> Message-ID: SQL can usually handle the things I work on so typically good SQL works in a normalized DB. Other wise I would create a function with a if-then or select case. I can't remember using a parameter to replace an IIF buts whatever fits the bill. In the long run its something you have to decide on. It really depends on the situation and a lot of what people do is just personal preference. If it works for you its OK by me! BTW, I responded quickly and I didn't notice the "rookie" part. That's kind of harsh. I guess I'll aways be a rookie :o) I just meant that IIFs are cludgy to read and slow to operate (which of course doesn't really matters a lot with today's PCs). JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 2:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:22:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:22:53 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82538@main2.marlow.com> The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:23:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:23:22 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82539@main2.marlow.com> Oh, I see what you mean there. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE Because if you close an object in 97, then its code module is also closed. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Why can't you toggle back and forth between design and code in 97? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 3:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I'm just the opposite. I LOVE the VBE IDE in A2k and higher. I like being able to toggle back and forth between code and the design interface. I hate it when I have to work in A97. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 1:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 16:28:12 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 14:28:12 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D82536@main2.marlow.com> Message-ID: Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 16:42:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 16:42:25 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253A@main2.marlow.com> Sure. When I get it setup to work on wolfwares, I'll make that change. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 17:03:30 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 17:03:30 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253B@main2.marlow.com> Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:26:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:26:34 -0500 Subject: [AccessD] IIf in query discussion In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> Message-ID: Brett, 100% Agreement here. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, March 31, 2003 3:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] IIf in query discussion I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 17:27:21 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 15:27:21 -0800 Subject: [AccessD] Access 97 - Numeric field overflow In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8253B@main2.marlow.com> Message-ID: Drew: Yes I am... here is the code fragment from the search Form tag: ... ... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:32:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:32:41 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <1049140780.3e889e2c648ff@hosea.qub.ac.uk> Message-ID: Bugs ACC2000: Manipulating Objects with DAO May Cause Database Bloat http://support.microsoft.com/default.aspx?scid=kb;en-us;197953 Same true for ADO. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL vs DAO -- rattling cages DDL - Data Definition Language; define tables, fields, etc. So hows does this cause bloat?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Mar 31 17:38:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 31 Mar 2003 18:38:54 -0500 Subject: [AccessD] VBE In-Reply-To: <01ae01c2f7cd$bea78080$dae6ffcc@SusanOne> Message-ID: Susan, Charles and Charlotte are correct. A2 was Access Basic and was still written mostly in Assembler. VBA was introduced in A95, continued through A97. The VBA in Access was not the same as in Word and Excel. VBE was introduced with A2000 and up, and is the same flavor of VBA for all Office Products. I have all versions of Access installed currently (including 1.1). If you need any screen shots, let me know. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] VBE That's probably it Charlotte -- the switch from AB to VBA -- I expect that's what I'm thinking of. Susan H. > Susan, > > As I recall, Access 2.0 and Access 95 had similar code editing to 97. > The big difference there was that the language was no longer AccessBasic > and I believe intellisense got introduced in 95. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] VBE > > > I thought it was 97 Drew -- I don't have it installed so I can't check. > Have you seen 95 and before -- there's a huge difference in the way you > interact with modules before the VBE. > > Susan H. > > > > Really? I would consider the code environment in 97 to be a VBE. You > > > get VB like menus, it is a VB environment. Sure, it doesn't show up > > exactly like VB, but I have always called it the VBE. > > > > Just curious, have I been wrong all this time, and if so, what do you > > call the VB environment in 97? > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mar 31 17:35:27 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 Apr 2003 09:35:27 +1000 Subject: [AccessD] IIf in query discussion In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8252F@main2.marlow.com> Message-ID: <3E895D5F.15012.29620F@localhost> Me 3. I quite often use a number of SUM(IIF(condition,1,0)) in totalling queries to give several different count results in one run Also, if you need to nest IIF statements, functions are definitely more appropriate. I personally find IF THEN ELSEIF... a pain in the *rse to debug/maintain. SELECT CASE is a much more elegant structure. > Completely agree. I would add to that, however, that if you are going to > Nest IIF statements, to instead use an If Then Else structure within a > function, because nested IIF's can be a REAL pain to backtrack through. > > Drew > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, March 31, 2003 2:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] IIf in query discussion > > > Rookie mistake? I don't know if I'd call it that. Data's unique and the > situation matters as much as anything else. An Iif might slow things down, > BUT if you're not working with tons of data and it's the solution you think > of first and there's no perception of a performance hit, what's rookie about > it? > > Susan H. > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, does > it have more substantial consequences? > > TIA, > Myke > > > > > ---------------------------------------------------------------------------- > ---- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Mon Mar 31 17:47:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 17:47:56 -0600 Subject: [AccessD] Access 97 - Numeric field overflow Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253C@main2.marlow.com> Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...

... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Mar 31 18:02:18 2003 From: john at winhaven.net (John Bartow) Date: Mon, 31 Mar 2003 18:02:18 -0600 Subject: [AccessD] IIf in query discussion In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C701@TAPPEEXCH01> Message-ID: Well said. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, March 31, 2003 2:47 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] IIf in query discussion I have heard the argument that IIf is too slow, but in actual practice haven't seen much of a performance degradation. ADH says to avoid them in code when using functions as the truepart or falsepart arguments, because both of them fire everytime, regardless of the condition. For example: If x = 1 Then y = DoThis() Else y = DoThat() End If Only DoThis will fire if x = 1. However, translated to an IIf: y = IIf(x = 1, DoThis(), DoThat()) DoThis() AND DoThat() will both fire! Not only is this a performance hog, but it can also result in an error condition in this case if DoThat() blows up when x = 1. On the other hand, I see no value in replacing IIf in a Query with VBA code. IIf is part of the VBA compiled C libraries, and should execute far quicker than a VBA function (just guessing, haven't tested it). Nested IIfs? I would use the custom function, if for no other reason than readability. -----Original Message----- From: Chris Mackin [mailto:chris at denverdb.com] Sent: Monday, March 31, 2003 2:22 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] IIf in query discussion One alternative is to create a Public Function that returns what you need, probably using either an If..Then or a Select Case statement. From a programming standpoint I think nested IIF's are a nightmare to read, so anything beyond one or two levels of nesting gets turned into a Function. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Monday, March 31, 2003 1:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] IIf in query discussion I may learn something new here. What are the alternatives? Functions with paramarray variables? More precise SQL statements? Else? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Bartow" To: Sent: Monday, March 31, 2003 3:14 PM Subject: RE: [AccessD] IIf in query discussion > MessageYou probably need to give us more details but I tend to agree in > philosophy with the idea that IIF should not be used unless necessary. But > in practice it is sometimes necessary. I have it used it mostly when > querying a pre-existing database which is poorly normalized (hmmm, that > might be an oxy-moron). I use it as a guideline not a rule though, the only > "rule" I tend to have is to never rule out anything. > > I think the biggest drawback beyond speed is that its Access specific and > they can be difficult to read. I think "spreadsheet people" love it though. > > JB > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:39 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] IIf in query discussion > > > Recently I read an article by an Access expert who suggested that using > 'iif' in a query is a rookie mistake. > > I've made that mistake. > > My question: Does using 'iif' in a query just slow done processing, or, > does it have more substantial consequences? > > TIA, > Myke > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 31 18:40:55 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 31 Mar 2003 16:40:55 -0800 Subject: [AccessD] GET an POST In-Reply-To: <2F8793082E00D4119A1700B0D0216BF801D8253C@main2.marlow.com> Message-ID: Thanks Drew: I will set it up appropriately and test it on Wednesday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:48 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...
... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 18:44:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 16:44:59 -0800 Subject: [AccessD] VBE Message-ID: That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at ColbyConsulting.com Mon Mar 31 18:53:27 2003 From: jcolby at ColbyConsulting.com (John W. Colby) Date: Mon, 31 Mar 2003 19:53:27 -0500 Subject: [AccessD] VBE In-Reply-To: Message-ID: well... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 31, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4136 bytes Desc: not available URL: From DWUTKA at marlow.com Mon Mar 31 18:55:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 18:55:03 -0600 Subject: [AccessD] GET an POST Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253E@main2.marlow.com> Okay. (It should actually work now, it just is only going to get results up until mid to late 2001 (as the indexer catches up....)). Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] GET an POST Thanks Drew: I will set it up appropriately and test it on Wednesday. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:48 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, here's what you should have: Search:
The IP Address you have was with my old ISP. Just use the domain name. (Right now, going to www.wolfwares.com will swap to an IP Address in your browser (trying to get that fixed....), but the path works fine. Also, you want the method to be Post, so it sends the information through as a form. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Drew: Yes I am... here is the code fragment from the search Form tag: ...
... You should be able to receive and manage the query string variable 'SearchString'. There might be so other issues but this is the sending syntax. I have never had a chance to actually test the process of transferring a query string to a remote site but this is the setting as read. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 3:04 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Actually Jim, are you putting this into an HTML form? If so, can you just name the 'search' button 'Search', with a value of 'Search', and then the 'textbox' name as SearchString (as you have it). Right now, my ASP page looks for that value for the submit button, to do the search. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, March 31, 2003 4:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access 97 - Numeric field overflow Hi Drew: I was not trying to imply you should get on to the archive issue. I was just stating an observation. While we are on the subject, could you set your index page to check for an incoming query strings, named 'SearchString'; I think it is variable name you use. If the value is null, display normally else, fill SearchString variable from the contents of the received query string 'SearchString' and process the search. I guess the content/memo field should be the default field for searching? What do you think? This will/should only be a short-term fix until a more permanent home for the archive can be found. Thank you so much for all your work and effort. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 1:51 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access 97 - Numeric field overflow Okay, the archive will be fully available sometime very early Wednesday morning. I was working on writing the new ASP interface (well, the code behind it), and discovered that my indexer was chopping off the last letter of each word it was indexing. Long story. So after fixing that bug, I had to re-index the Memo fields. At 2 pm today, it had indexed 10,000 records (a little more...but close enough), and I 'restarted' the indexer last night at 3 am. So in about 11 hours it did 10,000, there are about 40,000 records in the database, so it's going to be about 33 hours from 2 this afternoon. (Also, the searching is there, just not totally complete....it'll take me a few hours to finish up the pages themselves, probably do that tonight) Drew > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Monday, March 31, 2003 3:22 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > John: From someone on this list...need the archive. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 12:28 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Nope, just starting to append records. And where did you get 65K > records maximum? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 1:47 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > Hi John: > > You have not exceeded the maximum of 65000 records by any chance? > > Just a thought > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Monday, March 31, 2003 9:09 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > In fact I was just appending the same data twice. I have a unique > index on a combination of fields that should prevent the data from going > in a second time. This was just a test of that index to make sure the > data would not go in again. > > In fact though the user may end up importing several different > files, one after another. The entire process is to ask the user to find > the file, copy it to a specific file name in a specific directory so that > the link works correctly, copy the original to a backup directory, then > run the append queries to get the data out of the spreadsheets and into > the table. From there a "all records in the previous" and "all records > NOT in the previous" will be run for reporting purposes. > > It shouldn't matter what I am doing though. If it runs once, it > should run a million times. It may very well come back and say "X records > could not be appended..." because of the unique index, but it should NOT > give me this "numeric overflow" error. According to help that means that > "the data is too big for a btrieve field" or some such. IOW, one of those > useless error messages. The fact that the data actually imports makes it > even more suspicious. > > I just don't want to send out work that pops up useless error > messages and has to be exited and reloaded in order to work. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Monday, March 31, 2003 11:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Access 97 - Numeric field overflow > > > JC, > > You got me confused when you say "The append process works the first > time it is run, then the second time, I get a Numeric Overflow." > What > are you doing the second time? Appending the same data to the same > records, or appending some other data to some other records, or > what? > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: John W. Colby [mailto:jcolby at ColbyConsulting.com] > Sent: Monday 2003 Mar 31 10:01 > To: AccessD > Subject: [AccessD] Access 97 - Numeric field overflow > > Guys, > > It's been awhile since I have dealt with A97. I am doing an import > of > data from excel spreadsheets. The data in the spreadsheet is a dbl > datatype, but is really a long int, i.e. no decimal points. I am > linking the spreadsheet, whereupon I see that the datatype of the > field > is dbl. I build a base query that runs these fields through a > clng() to > convert them to long integers. I then append the data into a table. > The append process works the first time it is run, then the second > time, > I get a Numeric Overflow. I get the overflow between the "you are > about > to..." warning and the "X records did not append..." error. In fact > that second error never occurs. Once the error occurs, I have to > shut > down the db and re-open it, whereupon the query will run > successfully > one time, then the error again. > > I am at SP2 for A97, and I don't remember what the latest SP is for > A97. > > Has anyone ever seen this problem? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00050.txt >> << > File: ATT00097.txt >> > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. > Try it free! http://www.eMailBoss.com << File: ATT00125.txt >> << > File: ATT119867.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Mar 31 18:57:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 18:57:52 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D8253F@main2.marlow.com> It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Mon Mar 31 19:01:19 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Mar 2003 20:01:19 -0500 Subject: [AccessD] VBE In-Reply-To: Message-ID: <3E889E8F.17343.28FDE18@localhost> On 31 Mar 2003 at 16:44, Charlotte Foust wrote: > That's like saying that programming Word and Access is the same, you > just have a different object model to deal with! Ther are. H*ll, If I can figure it out.... :-)) -- Bryan Carbonnell - carbonnb at sympatico.ca Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe producing bigger and better idiots. So far, the Universe is winning. - Mark Mischler. From DMcAfee at haascnc.com Mon Mar 31 19:41:17 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 17:41:17 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee From cfoust at infostatsystems.com Mon Mar 31 19:45:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 17:45:32 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: Loop through the CurrentProject.AllForms collection. Charlotte Foust -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Monday, March 31, 2003 5:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Mar 31 19:46:39 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 31 Mar 2003 17:46:39 -0800 Subject: [AccessD] VBE Message-ID: But when you program Word from within Access, you still have to use the Word object model. You aren't programming Access, you're programming Word. It isn't the same thing at all. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 4:58 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Mar 31 19:55:19 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 20:55:19 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> Message-ID: <027201c2f7f1$c16a3fa0$dae6ffcc@SusanOne> Dim frm As Form Dim ctl As ComboBox Dim strObject As String Dim strList As String Dim aob As AccessObject Dim obj As Object Set frm = formname Set ctl = comboboxname strObject = ctl.ListIndex Set obj = CurrentData.AllForms On Error Resume Next For Each aob In obj strList = aob & ";" & strList Next ctl.RowSource = strList should list the forms in a combo box -- but it won't be sorted in any particular order -- and I'm not sure about that strList statement -- had margueritas for supper. :) Ah crap - -you're using 97 -- I don't think this will work in 97 -- AllForms is new to 2000 isn't it? In that case, try Dim db As DAO.Database Dim cnt As DAO.Container Dim doc As DAO.Document Dim strTemp as String Dim strList As STring Set db = CurrentDB Set cnt = db.Containers!Forms For Each doc In cnt.Documents strTemp = doc.Name & ";" & strTemp Next combobox.RowSource = strList Susan H. > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Mon Mar 31 19:57:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 20:57:07 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In-Reply-To: <657FB70438B7D311AF320090279C1801026D7999@EXCHMAIL> Message-ID: <016401c2f7f1$ffff5de0$8e01a8c0@Rock> Public Sub ListForms() Dim i As Integer Dim Frm As AccessObject For Each Frm In CurrentProject.AllForms i = i + 1 Debug.Print i, Frm.Name Next Set Frm = Nothing End Sub "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: March 31, 2003 8:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Mar 31 20:16:00 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 18:16:00 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D799A@EXCHMAIL> Thanks :) for the archives (from Help): Sub AllForms() Dim obj As AccessObject, dbs As Object Set dbs = Application.CurrentProject ' Search for open AccessObject objects in AllForms collection. For Each obj In dbs.AllForms If obj.IsLoaded = TRUE then ' Print name of obj. Debug.Print obj.Name End If Next obj End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, March 31, 2003 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How do I list all forms in an ADP (no MSysObjects) Loop through the CurrentProject.AllForms collection. Charlotte Foust -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Monday, March 31, 2003 5:41 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In an Access 97 MDB, I can use the following SQL statement to list all forms in an MDB: SELECT MSysobjects.Name FROM MSysobjects WHERE (((MSysobjects.Type)= -32768)) ORDER BY MSysobjects.Name; I know there are no local tables in an ADP, but somehow, somewhere, Access must be keeping this information. Is there an equivalent way of doing the same (either SQL or VBA) in an ADP? TIA David McAfee -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2661 bytes Desc: not available URL: From harkins at iglou.com Mon Mar 31 20:12:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 21:12:09 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <016401c2f7f1$ffff5de0$8e01a8c0@Rock> Message-ID: <029a01c2f7f4$1be7eb60$dae6ffcc@SusanOne> Guys I don't think 97 supports AllForms, does it? Susan H. > Public Sub ListForms() > Dim i As Integer > Dim Frm As AccessObject > For Each Frm In CurrentProject.AllForms > i = i + 1 > Debug.Print i, Frm.Name > Next > Set Frm = Nothing > End Sub > > > "Those who would sacrifice liberty for security deserve neither." > -- Benjamin Franklin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: March 31, 2003 8:41 PM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) > > > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DMcAfee at haascnc.com Mon Mar 31 20:26:28 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 31 Mar 2003 18:26:28 -0800 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) Message-ID: <657FB70438B7D311AF320090279C1801026D799B@EXCHMAIL> No I am actually using A2K (ADP). I originally did something similar in an A97 MDB. Couldn't I create an ADO recordset (or Array) and add the obj.Name to it as I loop, then sort it (ascending) prior to assigning the recordset to a listbox? PS You have to try one of my margaritas one day (maybe the next US Access-D conference). I make a great strawberry and raspberry (fresh from the garden) blended margarita! TIA David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, March 31, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How do I list all forms in an ADP (no MSysObjects) should list the forms in a combo box -- but it won't be sorted in any particular order -- and I'm not sure about that strList statement -- had margueritas for supper. :) Ah crap - -you're using 97 -- I don't think this will work in 97 -- AllForms is new to 2000 isn't it? In that case, try Dim db As DAO.Database Dim cnt As DAO.Container Dim doc As DAO.Document Dim strTemp as String Dim strList As STring Set db = CurrentDB Set cnt = db.Containers!Forms For Each doc In cnt.Documents strTemp = doc.Name & ";" & strTemp Next combobox.RowSource = strList Susan H. > In an Access 97 MDB, I can use the following SQL statement to list all forms > in an MDB: > > SELECT MSysobjects.Name > FROM MSysobjects > WHERE (((MSysobjects.Type)= -32768)) > ORDER BY MSysobjects.Name; > > I know there are no local tables in an ADP, but somehow, somewhere, Access > must be keeping this information. Is there an equivalent way of doing the > same (either SQL or VBA) in an ADP? > > > TIA > > David McAfee > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhalljr at starpower.net Mon Mar 31 20:18:17 2003 From: rjhalljr at starpower.net (Bob Hall) Date: Mon, 31 Mar 2003 21:18:17 -0500 Subject: [AccessD] SQL vs DAO -- rattling cages In-Reply-To: <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> References: <002101c2f7aa$b7e6ea60$ade6ffcc@SusanOne> <006f01c2f7b7$6eb35ec0$b615010a@FHTAPIA> <006001c2f7c3$c55c2930$dae6ffcc@SusanOne> Message-ID: <20030401021817.GA1198@sten.alder.net> On Mon, Mar 31, 2003 at 03:20:33PM -0500, Susan Harkins wrote: > I'm not really concerned about bloat at this point -- I'm just interested in > opinions about which performs faster: DAO or SQL. Susan, Optimized, compiled SQL is *much* faster than DAO for processing large counts of rows. Unoptimized SQL still seems to be faster on the few occasions when I've bothered to time it. My rule of thumb is to go ahead & use ADO or DAO if I already have a recordset open and I'm only working with a few rows. Otherwise, I go with SQL. The difference between optimized and unoptimized SQL is important. A sufficiently complex SQL statement operating on reasonably large tables may take all night to run if it is executed with the database Execute method or in a temporary TableDef. Put the same SQL statement in a query so the Rushmore optimizer can tweak it, and it will take about ten minutes. SQL is a specialized sub-language that does only a few things, and has been bummed to do them well and fast. VBA, in combination with the object hierarchy of your choice, is a general purpose language that would probably break if it were as tense as SQL. SQL is like a Peterbilt, good for hauling lots a data long distances over open roads but awkward for narrow streets and tight corners. VBA is like a Mitsubishi; not as efficient as a Peter for long hauls, but able to take smaller amounts of data more places and do more things with it. Bob Hall From artful at rogers.com Mon Mar 31 20:32:28 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 31 Mar 2003 21:32:28 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) In-Reply-To: <029a01c2f7f4$1be7eb60$dae6ffcc@SusanOne> Message-ID: <016d01c2f7f6$f0d399d0$8e01a8c0@Rock> Too many tequilas there Susan. ADP was previously declared :-) A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: March 31, 2003 9:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] How do I list all forms in an ADP (no MSysObjects) Guys I don't think 97 supports AllForms, does it? Susan H. From harkins at iglou.com Mon Mar 31 20:38:49 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 31 Mar 2003 21:38:49 -0500 Subject: [AccessD] How do I list all forms in an ADP (no MSysObjects) References: <657FB70438B7D311AF320090279C1801026D799B@EXCHMAIL> Message-ID: <004401c2f7f7$ed6e8060$aee6ffcc@SusanOne> > > Couldn't I create an ADO recordset (or Array) and add the obj.Name to it as > I loop, then sort it (ascending) prior to assigning the recordset to a > listbox? =======I seem to recall a sorting solution, but off the top of my head, I can't recall what it was or where I saw it -- I'll try to remember in the morning -- remind me if I forget. > > PS You have to try one of my margaritas one day (maybe the next US Access-D > conference). I make a great strawberry and raspberry (fresh from the garden) > blended margarita! =======I just like them plan -- but would certainly be willing to try something new! ;) Susan H. From DWUTKA at marlow.com Mon Mar 31 20:47:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 31 Mar 2003 20:47:35 -0600 Subject: [AccessD] VBE Message-ID: <2F8793082E00D4119A1700B0D0216BF801D82540@main2.marlow.com> Actually, you're still using VBA. The language is still the same. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 7:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE But when you program Word from within Access, you still have to use the Word object model. You aren't programming Access, you're programming Word. It isn't the same thing at all. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 4:58 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE It is the same, you just have a different 'default' object. You can program stuff for Word within Access, and Access within Word, right? Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE That's like saying that programming Word and Access is the same, you just have a different object model to deal with! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE The language is almost identical, you just have a different object model to deal with. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, March 31, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE To learn what in, Drew? Access VBA programming isn't the same as VB anyhow. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 1:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE I think the VB 6.0 'look' in A2k and up feels funny in Access because it appears to 'seperate' the code from the objects. In VB 6.0 itself, you work on the VB forms in the same environment, so there is no disconnect. Same with Access 97. However, in A2k and up, you have this 'split', where the code is worked on 'seperately'. Personally I think it's a bad environment to learn in. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, March 31, 2003 3:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I thought it was just me. Love the IDE in VB 6.0 but feels weird in Access! Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, March 31, 2003 3:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Me too. In fact, when I started using VB 6.0, and was presented with an interface slightly different from what I was used to in Access 97, it took a little to get used too, but I learned to like VB 6.0's VBE. However, when I then started messing with Access 2000, I found that I didn't like that same 'VBE' style in Access....I prefered the way Access 97 handled things. One thing that I love being able to do in Access 97, is to have a form open, with it's code page just beneath it. Let's you edit or run your code without having to flip flop windows. Drew -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Monday, March 31, 2003 2:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VBE I always called it Nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 31, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] VBE Really? I would consider the code environment in 97 to be a VBE. You get VB like menus, it is a VB environment. Sure, it doesn't show up exactly like VB, but I have always called it the VBE. Just curious, have I been wrong all this time, and if so, what do you call the VB environment in 97? Drew > -----Original Message----- > From: John W. Colby [mailto:jcolby at colbyconsulting.com] > Sent: Sunday, March 30, 2003 8:13 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] VBE > > 2k > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Sunday, March 30, 2003 8:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] VBE > > > Did the VBE first show up in 97 or 2000? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ---------------------------------------------------- > Is email taking over your day? Manage your time with eMailBoss. Try > it free! http://www.eMailBoss.com << File: ATT117608.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com